32 #ifndef pqRenderViewModule_h 33 #define pqRenderViewModule_h 61 pqServer* server, QObject* parent = NULL);
64 pqRenderView(
const QString& tname,
const QString& group,
const QString& name,
85 void resetCenterOfRotation();
90 bool getOrientationAxesVisibility()
const;
95 bool getOrientationAxesInteractivity()
const;
100 QColor getOrientationAxesLabelColor()
const;
105 QColor getOrientationAxesOutlineColor()
const;
118 return this->UseMultipleRepresentationSelection;
124 bool getCenterAxesVisibility()
const;
129 void getCenterOfRotation(
double center[3])
const;
157 void clearUndoStack();
162 void resetViewDirection(
163 double look_x,
double look_y,
double look_z,
double up_x,
double up_y,
double up_z);
171 virtual void setCursor(
const QCursor&);
179 void selectPointsOnSurface(
200 void selectFrustum(
int rectangle[4]);
201 void selectFrustumPoints(
int rectangle[4]);
213 void selectPolygonPoints(
220 void selectPolygonCells(
225 void updateInteractionMode(
int mode);
229 void setOrientationAxesVisibility(
bool visible);
232 void setOrientationAxesInteractivity(
bool interactive);
235 void setOrientationAxesLabelColor(
const QColor&);
238 void setOrientationAxesOutlineColor(
const QColor&);
244 void setCenterOfRotation(
double x,
double y,
double z);
248 void setCenterAxesVisibility(
bool visible);
261 this->UseMultipleRepresentationSelection = b;
267 void linkToOtherView();
294 void onResetCameraEvent();
300 void onUndoStackChanged();
305 void onInteractionModeChange();
318 void fakeUndoRedo(
bool redo,
bool self);
325 void fakeInteraction(
bool start);
340 pqInternal* Internal;
341 void selectOnSurfaceInternal(
int rect[4], QList<pqOutputPort*>&,
bool select_points,
342 int selectionModifier,
bool select_blocks);
343 void selectPolygonInternal(vtkIntArray* polygon, QList<pqOutputPort*>&,
bool select_points,
344 int selectionModifier,
bool select_blocks);
346 void emitSelectionSignal(QList<pqOutputPort*>);
347 void collectSelectionPorts(vtkCollection* selectedRepresentations,
348 vtkCollection* selectionSources, QList<pqOutputPort*>& pqPorts,
int selectionModifier,
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
virtual void resetCamera()=0
Resets the camera to include all visible data.
void setUseMultipleRepresentationSelection(bool b)
Set whether selection will be done on multiple representations.
bool getResetCenterWithCamera() const
Get whether resetCamera() resets the center of rotation as well.
virtual void redo()
Called to redo interaction.
Superclass for all view proxies.
bool UseMultipleRepresentationSelection
bool getUseMultipleRepresentationSelection() const
Get whether selection will be done on multiple representations.
void resetCenterOfRotationIfNeeded()
Resets center of rotation if this->ResetCenterWithCamera is true.
void setCenterOfRotation(double xyz[3])
virtual bool canUndo() const
Returns true if undo can be done.
implementation for View that includes render window and renderers.
void setResetCenterWithCamera(bool b)
Get/Set whether resetCamera() resets the center of rotation as well.
virtual bool canRedo() const
Returns true if redo can be done.
pqRenderViewBase is an abstract base class for all render-view based views.
virtual void undo()
Called to undo interaction.
bool ResetCenterWithCamera
virtual bool supportsUndo() const
Returns if this view module can support undo/redo.
virtual void initialize()
Use this method to initialize the pqObject state using the underlying vtkSMProxy. ...
virtual QWidget * createWidget()
Creates a new instance of the QWidget subclass to be used to show this view.
static QString renderViewType()
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...