4 #ifndef pqRenderViewSelectionReaction_h 5 #define pqRenderViewSelectionReaction_h 57 SELECT_SURFACE_CELLS_TOOLTIP
65 QActionGroup* modifierGroup =
nullptr);
78 void selectedCustomBox(
int xmin,
int ymin,
int xmax,
int ymax);
79 void selectedCustomBox(
const int region[4]);
90 virtual void actionTriggered(
bool val);
103 virtual void setView(
pqView* view);
113 virtual void beginSelection();
119 virtual void endSelection();
124 virtual void preSelection();
129 virtual void fastPreSelection();
135 virtual void onMouseStop();
140 virtual void clearSelectionCache();
146 virtual void selectionChanged(
vtkObject*,
unsigned long,
void* calldata);
152 virtual void onMouseMove();
158 virtual void onLeftButtonRelease();
159 virtual void onWheelRotate();
160 virtual void onRightButtonPressed();
161 virtual void onRightButtonRelease();
177 virtual void UpdateTooltip();
182 virtual void cleanupObservers();
186 QPointer<pqRenderView> View;
187 QPointer<pqDataRepresentation> Representation;
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.