22 #ifndef vtkPVContextView_h 23 #define vtkPVContextView_h 26 #include "vtkPVClientServerCoreRenderingModule.h" 28 #include "vtkSmartPointer.h" 30 class vtkAbstractContextItem;
33 class vtkContextInteractorStyle;
36 class vtkInformationIntegerKey;
37 class vtkRenderWindow;
38 class vtkRenderWindowInteractor;
45 void PrintSelf(ostream& os, vtkIndent indent);
64 vtkGetObjectMacro(ContextView, vtkContextView);
70 virtual vtkAbstractContextItem* GetContextItem() = 0;
73 vtkGetObjectMacro(RenderWindow, vtkRenderWindow);
82 virtual void SetupInteractor(vtkRenderWindowInteractor*);
83 vtkRenderWindowInteractor* GetInteractor();
104 vtkSetMacro(UseOffscreenRenderingForScreenshots,
bool);
105 vtkBooleanMacro(UseOffscreenRenderingForScreenshots,
bool);
106 vtkGetMacro(UseOffscreenRenderingForScreenshots,
bool);
118 virtual void SetUseOffscreenRendering(
bool);
119 vtkBooleanMacro(UseOffscreenRendering,
bool);
120 vtkGetMacro(UseOffscreenRendering,
bool);
138 vtkSelection* GetSelection();
155 virtual void Render(
bool interactive);
167 virtual bool MapSelectionToInput(vtkSelection*);
176 void OnStartRender();
192 vtkSmartPointer<vtkSelection> SelectionClone;
193 vtkNew<vtkContextInteractorStyle> InteractorStyle;
196 vtkSelection* GetSelectionImplementation(T* chart);
void PrintSelf(ostream &os, vtkIndent indent)
baseclass for all ParaView views.
vtkContextView * ContextView
vtkPVContextView adopts vtkContextView so that it can be used in ParaView configurations.
virtual void Initialize(unsigned int id)
Initialize the view with an identifier.
vtkChartRepresentation is the base representation for charting representations.
bool UseOffscreenRenderingForScreenshots
exporter used by certain views to export data as a CSV file.
virtual void StillRender()=0
Triggers a high-resolution render.
bool UseOffscreenRendering
virtual void Update()
Overridden to not call Update() directly on the input representations, instead use ProcessViewRequest...
virtual void InteractiveRender()=0
Triggers a interactive render.
vtkRenderWindow * RenderWindow