ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cvRenderViewSelectionReaction.h File Reference

Simplified selection reaction class aligned with ParaView architecture. More...

#include <QtGlobal>
#include <QAction>
#include <QCursor>
#include <QObject>
#include <QPointer>
#include <QShortcut>
#include <QTimer>
#include "cvSelectionData.h"
#include "qPCL.h"
#include <vtkSmartPointer.h>
#include <vtkWeakPointer.h>
Include dependency graph for cvRenderViewSelectionReaction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cvRenderViewSelectionReaction
 cvRenderViewSelectionReaction handles all selection modes in a single class More...
 

Namespaces

 PclUtils
 

Detailed Description

Simplified selection reaction class aligned with ParaView architecture.

This class combines the functionality of the original cvSelectionReaction and cvRenderViewSelectionTool into a single, streamlined class that directly mirrors ParaView's pqRenderViewSelectionReaction pattern.

Architecture Goals:

  • Single class manages all selection logic (like ParaView)
  • Static ActiveReaction ensures only one selection mode is active
  • Direct cursor/style management without external dependencies
  • Clean state transitions via beginSelection()/endSelection()

Reference: ParaView/Qt/ApplicationComponents/pqRenderViewSelectionReaction.h

Definition in file cvRenderViewSelectionReaction.h.