33 pqServer* server, QObject* parent =
nullptr);
36 pqRenderView(
const QString& tname,
const QString& group,
const QString& name,
54 void resetCamera(
bool closest =
false,
double offsetRatio = 0.9)
override;
59 virtual void resetCenterOfRotation();
64 virtual void resetParallelScale();
69 virtual bool getOrientationAxesVisibility()
const;
74 virtual bool getOrientationAxesInteractivity()
const;
79 virtual QColor getOrientationAxesLabelColor()
const;
84 virtual QColor getOrientationAxesOutlineColor()
const;
96 return this->UseMultipleRepresentationSelection;
102 virtual bool getCenterAxesVisibility()
const;
107 virtual void getCenterOfRotation(
double center[3])
const;
143 virtual void clearUndoStack();
148 virtual void resetViewDirection(
149 double look_x,
double look_y,
double look_z,
double up_x,
double up_y,
double up_z);
150 virtual void adjustView(
const int& adjustType,
const double& angle);
151 virtual void adjustAzimuth(
const double&
value);
152 virtual void adjustElevation(
const double& value);
153 virtual void adjustRoll(
const double& value);
154 virtual void adjustZoom(
const double& value);
155 virtual void applyIsometricView();
156 virtual void resetViewDirectionToPositiveX();
157 virtual void resetViewDirectionToNegativeX();
158 virtual void resetViewDirectionToPositiveY();
159 virtual void resetViewDirectionToNegativeY();
160 virtual void resetViewDirectionToPositiveZ();
161 virtual void resetViewDirectionToNegativeZ();
170 virtual void setCursor(
const QCursor&);
171 virtual QCursor cursor();
179 void setCursorVisible(
bool visible);
180 bool cursorVisible();
184 virtual void selectCellsOnSurface(
int rectangle[4],
186 virtual void selectPointsOnSurface(
int rectangle[4],
210 virtual void selectFrustumCells(
212 virtual void selectFrustumPoints(
214 virtual void selectFrustumBlocks(
229 virtual void selectPolygonPoints(
231 virtual void selectPolygonCells(
237 void updateInteractionMode(
int mode);
241 virtual void setOrientationAxesVisibility(
bool visible);
244 virtual void setOrientationAxesInteractivity(
bool interactive);
247 virtual void setOrientationAxesLabelColor(
const QColor&);
250 virtual void setOrientationAxesOutlineColor(
const QColor&);
256 virtual void setCenterOfRotation(
double x,
double y,
double z);
259 this->setCenterOfRotation(xyz[0], xyz[1], xyz[2]);
263 virtual void setParallelScale(
double scale);
266 virtual void setCenterAxesVisibility(
bool visible);
279 this->UseMultipleRepresentationSelection = b;
285 virtual void linkToOtherView();
291 void undo()
override;
297 void redo()
override;
307 virtual void updateInteractionMode(
pqOutputPort* opPort);
313 virtual void onInteractionModeChange();
318 virtual void onGenericFilmicPresetsChange();
321 virtual void onResetCameraEvent();
327 virtual void onUndoStackChanged();
333 virtual void fakeUndoRedo(
bool redo,
bool self);
340 virtual void fakeInteraction(
bool start);
361 void selectOnSurfaceInternal(
int rect[4], QList<pqOutputPort*>&,
bool select_points,
362 int selectionModifier,
bool select_blocks,
const char* array =
nullptr);
364 void selectPolygonInternal(
vtkIntArray* polygon, QList<pqOutputPort*>&,
bool select_points,
365 int selectionModifier,
bool select_blocks);
367 void emitSelectionSignal(QList<pqOutputPort*> outputPorts,
int selectionModifier);
369 void collectSelectionPorts(
vtkCollection* selectedRepresentations,
370 vtkCollection* selectionSources, QList<pqOutputPort*>& pqPorts,
int selectionModifier,
376 pqInternal* Internal;
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...
void initialize() override
Use this method to initialize the pqObject state using the underlying vtkSMProxy. ...
virtual void redo()
Called to redo interaction.
Superclass for all view proxies.
bool UseMultipleRepresentationSelection
QWidget * createWidget() override
Creates a new instance of the QWidget subclass to be used to show this view.
bool supportsUndo() const override
Returns if this view module can support undo/redo.
virtual void setUseMultipleRepresentationSelection(bool b)
Set whether selection will be done on multiple representations.
bool supportsCapture() const override
Returns if this view module can support image capture.
virtual void setResetCenterWithCamera(bool b)
Get/Set whether resetCamera() resets the center of rotation as well.
virtual void resetCenterOfRotationIfNeeded()
Resets center of rotation if this->ResetCenterWithCamera is true.
virtual bool getUseMultipleRepresentationSelection() const
Get whether selection will be done on multiple representations.
virtual bool canUndo() const
Returns true if undo can be done.
implementation for View that includes render window and renderers.
virtual void setCenterOfRotation(double xyz[3])
virtual bool getResetCenterWithCamera() const
Get 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 void resetCamera(bool closest=false, double offsetRatio=0.9)=0
Resets the camera to include all visible data.
static QString renderViewType()
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...