4 #ifndef pqRenderViewSelectionReaction_h 5 #define pqRenderViewSelectionReaction_h 56 SELECT_SURFACE_CELLS_TOOLTIP
64 QActionGroup* modifierGroup =
nullptr);
77 void selectedCustomBox(
int xmin,
int ymin,
int xmax,
int ymax);
78 void selectedCustomBox(
const int region[4]);
89 virtual void actionTriggered(
bool val);
102 virtual void setView(
pqView* view);
112 virtual void beginSelection();
118 virtual void endSelection();
123 virtual void preSelection();
128 virtual void fastPreSelection();
134 virtual void onMouseStop();
139 virtual void clearSelectionCache();
145 virtual void selectionChanged(
vtkObject*,
unsigned long,
void* calldata);
151 virtual void onMouseMove();
157 virtual void onLeftButtonRelease();
158 virtual void onWheelRotate();
159 virtual void onRightButtonPressed();
160 virtual void onRightButtonRelease();
176 virtual void UpdateTooltip();
181 virtual void cleanupObservers();
185 QPointer<pqRenderView> View;
186 QPointer<pqDataRepresentation> Representation;
187 QMetaObject::Connection RepresentationConnection;
189 int PreviousRenderViewMode;
191 unsigned long ObserverIds[6];
193 QTimer MouseMovingTimer;
195 int MousePosition[2];
196 bool DisablePreSelection =
false;
198 QShortcut* CopyToolTipShortcut =
nullptr;
199 QString PlainTooltipText;
201 static QPointer<pqRenderViewSelectionReaction> ActiveReaction;
Proxy for a representations.
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
virtual int getSelectionModifier()
Get the current state of selection modifier, if any.
virtual void updateEnableState()
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a PQ abstraction of a generic view module.
pqRenderViewSelectionReaction handles various selection modes available on RenderViews.
Generric reaction for creating selections on views.