37 #include "vtkSetGet.h" 48 class vtkSMSourceProxy;
61 PV_SELECTION_DEFAULT = 0,
70 vtkSMViewProxy* getViewProxy()
const;
74 virtual vtkView* getClientSideView()
const;
94 {
return this->ViewType; }
98 static int computeMagnification(
const QSize& fullsize, QSize& viewsize);
102 virtual void render();
105 virtual void forceRender();
108 void cancelPendingRenders();
133 virtual QSize getSize();
142 virtual vtkImageData* captureImage(
int magnification);
147 virtual vtkImageData* captureImage(
const QSize& size);
150 bool writeImage(
const QString& filename,
const QSize&,
int quality=-1);
156 int getNumberOfRepresentations()
const;
159 int getNumberOfVisibleRepresentations()
const;
160 int getNumberOfVisibleDataRepresentations()
const;
167 QList<pqRepresentation*> getRepresentations()
const;
176 virtual void emitSelectionSignals(
bool frustum);
182 void updateDataEvent();
204 void canUndoChanged(
bool);
207 void canRedoChanged(
bool);
217 void selectionModeChanged(
bool frustum);
225 void beginProgress();
234 void progress(
const QString& message,
int percent_progress);
242 void multipleSelected(QList<pqOutputPort*> opports);
246 void onRepresentationsChanged();
249 void onRepresentationVisibilityChanged(
bool);
265 void onBeginRender();
276 pqView(
const QString& type,
277 const QString& group,
279 vtkSMViewProxy* view,
281 QObject* parent=NULL);
290 virtual QWidget* createWidget() = 0;
295 pqViewInternal* Internal;
pqOutputPort is a server manager model item for an output port of any pqPipelineSource item...
virtual void redo()
Called to redo interaction.
This is PQ representation for a single representation.
This is a PQ abstraction of a generic view module.
virtual bool canUndo() const
Returns true if undo can be done.
virtual void resetDisplay()
Called to reset the view's display.
This class represents any registered Server Manager proxy.
virtual bool canRedo() const
Returns true if redo can be done.
QString getViewType() const
Returns the type of this view module.
virtual void initialize()
PQ representation for a vtkSMProxy that can be involved in a pipeline.
virtual void undo()
Called to undo interaction.
virtual bool supportsUndo() const
Returns if this view module can support undo/redo.
pqUndoStack represents a vtkSMUndoStack along with a a vtkSMUndoStackBuilder.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...