22 #include <pqSelectionReaction.h>
24 #include <vtkSmartPointer.h>
25 #include <vtkWeakPointer.h>
30 #include <QPushButton>
37 class pqDataRepresentation;
38 class vtkSMRepresentationProxy;
39 class vtkSMSourceProxy;
149 QPointer<pqRenderView>
View;
@ View
Definition: SalomePyQt.h:80
For more information see QT documentation.
Definition: SUIT_Application.h:42
SPV3D_CADSelection handles various selection modes available on RenderViews.
Definition: SPV3D_CADSelection.h:50
void selectionChanged(vtkObject *, unsigned long, void *calldata)
callback called when the vtkPVRenderView is done with selection.
Definition: SPV3D_CADSelection.cxx:426
void beginSelection()
starts the selection i.e.
Definition: SPV3D_CADSelection.cxx:192
void onRightButtonPress()
Disable preselection during rotation using the right button.
Definition: SPV3D_CADSelection.cxx:322
QMetaObject::Connection RepresentationConnection
Definition: SPV3D_CADSelection.h:151
~SPV3D_CADSelection() override
Definition: SPV3D_CADSelection.cxx:85
Q_DISABLE_COPY(SPV3D_CADSelection) QPointer< pqRenderView > View
int MousePosition[2]
Definition: SPV3D_CADSelection.h:157
unsigned long ObserverIds[4]
Definition: SPV3D_CADSelection.h:156
void setRepresentation(pqDataRepresentation *representation)
Called when the active representation changes.
Definition: SPV3D_CADSelection.cxx:166
void onLeftButtonRelease()
callback called for click events when in 'interactive selection' modes.
Definition: SPV3D_CADSelection.cxx:313
void onRightButtonRelease()
Definition: SPV3D_CADSelection.cxx:328
virtual void actionTriggered(bool val)
For checkable actions, this calls this->beginSelection() or this->endSelection() is val is true or fa...
Definition: SPV3D_CADSelection.cxx:138
void endSelection()
finishes the selection.
Definition: SPV3D_CADSelection.cxx:238
SPV3D_CADSelection(QObject *parent, pqRenderView *view, SelectionMode mode)
If view is nullptr, this reaction will track the active-view maintained by pqActiveObjects.
Definition: SPV3D_CADSelection.cxx:48
int getSelectionModifier()
Definition: SPV3D_CADSelection.cxx:441
void cleanupObservers()
cleans up observers.
Definition: SPV3D_CADSelection.cxx:464
QComboBox * selectionComboBox
Definition: SPV3D_CADSelection.h:158
void setView(pqView *view)
Called when this object was created with nullptr as the view and the active view changes.
Definition: SPV3D_CADSelection.cxx:151
vtkWeakPointer< vtkObject > ObservedObject
Definition: SPV3D_CADSelection.h:155
vtkSMRepresentationProxy * CurrentRepresentation
Definition: SPV3D_CADSelection.h:152
void SetMode(const SPV3D_CADSelection::SelectionMode mode)
Set the selectionMode.
Definition: SPV3D_CADSelection.cxx:91
int PreviousRenderViewMode
Definition: SPV3D_CADSelection.h:154
QPointer< pqDataRepresentation > Representation
Definition: SPV3D_CADSelection.h:150
SelectionMode Mode
Definition: SPV3D_CADSelection.h:153
bool DisablePreSelection
Definition: SPV3D_CADSelection.h:159
void updateEnableState()
Definition: SPV3D_CADSelection.cxx:97
void fastSelection(bool presel=false)
makes fast selection.
Definition: SPV3D_CADSelection.cxx:334
SelectionMode
Definition: SPV3D_CADSelection.h:55
@ SELECT_EDGES
Definition: SPV3D_CADSelection.h:58
@ SELECT_VERTICES
Definition: SPV3D_CADSelection.h:59
@ SELECT_FACES
Definition: SPV3D_CADSelection.h:57
@ SELECT_SOLIDS
Definition: SPV3D_CADSelection.h:56
void onMouseMove()
callback called for mouse move events when in 'interactive selection' modes.
Definition: SPV3D_CADSelection.cxx:278