|
ParaView
|
implementation for View that includes render window and renderers. More...
#include <vtkSMRenderViewProxy.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| vtkSMRepresentationProxy * | Pick (int x, int y) |
| virtual bool | IsSelectionAvailable () |
| void | ZoomTo (vtkSMProxy *representation) |
| vtkPVGenericRenderWindowInteractor * | GetInteractor () |
| vtkRenderWindow * | GetRenderWindow () |
| vtkRenderer * | GetRenderer () |
| vtkCamera * | GetActiveCamera () |
| void | SynchronizeCameraProperties () |
| virtual bool | LastRenderWasInteractive () |
| double | GetZBufferValue (int x, int y) |
| bool | SelectSurfaceCells (int region[4], vtkCollection *selectedRepresentations, vtkCollection *selectionSources, bool multiple_selections=false) |
| bool | SelectSurfacePoints (int region[4], vtkCollection *selectedRepresentations, vtkCollection *selectionSources, bool multiple_selections=false) |
| bool | SelectFrustumCells (int region[4], vtkCollection *selectedRepresentations, vtkCollection *selectionSources, bool multiple_selections=false) |
| bool | SelectFrustumPoints (int region[4], vtkCollection *selectedRepresentations, vtkCollection *selectionSources, bool multiple_selections=false) |
| void | ResetCamera () |
| void | ResetCamera (double bounds[6]) |
| virtual const char * | IsSelectVisibleCellsAvailable () |
| virtual const char * | IsSelectVisiblePointsAvailable () |
| virtual vtkSMRepresentationProxy * | CreateDefaultRepresentation (vtkSMProxy *, int) |
Static Public Member Functions | |
| static vtkSMRenderViewProxy * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkSMRenderViewProxy * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkSMRenderViewProxy () | |
| ~vtkSMRenderViewProxy () | |
| virtual void | MarkDirty (vtkSMProxy *modifiedProxy) |
| bool | SelectFrustumInternal (int region[4], vtkCollection *selectedRepresentations, vtkCollection *selectionSources, bool multiple_selections, int fieldAssociation) |
| virtual void | PostRender (bool interactive) |
| virtual void | CreateVTKObjects () |
| void | ClearSelectionCache (bool force=false) |
| void | NewMasterCallback (vtkObject *src, unsigned long event, void *data) |
| virtual vtkImageData * | CaptureWindowInternal (int magnification) |
| virtual void | CaptureWindowInternalRender () |
| bool | FetchLastSelection (bool multiple_selections, vtkCollection *selectedRepresentations, vtkCollection *selectionSources) |
Protected Attributes | |
| bool | IsSelectionCached |
| unsigned long | NewMasterObserverId |
implementation for View that includes render window and renderers.
vtkSMRenderViewProxy is a 3D view consisting for a render window and two renderers: 1 for 3D geometry and 1 for overlayed 2D geometry.
Definition at line 34 of file vtkSMRenderViewProxy.h.
| vtkSMRenderViewProxy::vtkSMRenderViewProxy | ( | ) | [protected] |
| vtkSMRenderViewProxy::~vtkSMRenderViewProxy | ( | ) | [protected] |
| static vtkSMRenderViewProxy* vtkSMRenderViewProxy::New | ( | ) | [static] |
Reimplemented from vtkSMViewProxy.
| virtual const char* vtkSMRenderViewProxy::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkSMViewProxy.
| static int vtkSMRenderViewProxy::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkSMViewProxy.
| virtual int vtkSMRenderViewProxy::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkSMViewProxy.
| static vtkSMRenderViewProxy* vtkSMRenderViewProxy::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkSMViewProxy.
| void vtkSMRenderViewProxy::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkSMViewProxy.
| bool vtkSMRenderViewProxy::SelectSurfaceCells | ( | int | region[4], |
| vtkCollection * | selectedRepresentations, | ||
| vtkCollection * | selectionSources, | ||
| bool | multiple_selections = false |
||
| ) |
Makes a new selection source proxy.
| bool vtkSMRenderViewProxy::SelectSurfacePoints | ( | int | region[4], |
| vtkCollection * | selectedRepresentations, | ||
| vtkCollection * | selectionSources, | ||
| bool | multiple_selections = false |
||
| ) |
Makes a new selection source proxy.
| bool vtkSMRenderViewProxy::SelectFrustumCells | ( | int | region[4], |
| vtkCollection * | selectedRepresentations, | ||
| vtkCollection * | selectionSources, | ||
| bool | multiple_selections = false |
||
| ) |
Makes a new selection source proxy.
| bool vtkSMRenderViewProxy::SelectFrustumPoints | ( | int | region[4], |
| vtkCollection * | selectedRepresentations, | ||
| vtkCollection * | selectionSources, | ||
| bool | multiple_selections = false |
||
| ) |
Makes a new selection source proxy.
| vtkSMRepresentationProxy* vtkSMRenderViewProxy::Pick | ( | int | x, |
| int | y | ||
| ) |
Convenience method to pick a location. Internally uses SelectSurfaceCells to locate the picked object. In future, we can make this faster.
| virtual bool vtkSMRenderViewProxy::IsSelectionAvailable | ( | ) | [virtual] |
Checks if color depth is sufficient to support selection. If not, will return 0 and any calls to SelectVisibleCells will quietly return an empty selection.
| void vtkSMRenderViewProxy::ResetCamera | ( | ) | [inline] |
For backwards compatibility in Python scripts.
Definition at line 73 of file vtkSMRenderViewProxy.h.
| void vtkSMRenderViewProxy::ResetCamera | ( | double | bounds[6] | ) |
For backwards compatibility in Python scripts.
| void vtkSMRenderViewProxy::ZoomTo | ( | vtkSMProxy * | representation | ) |
Convenience method for zooming to a representation.
| virtual const char* vtkSMRenderViewProxy::IsSelectVisibleCellsAvailable | ( | ) | [virtual] |
Similar to IsSelectionAvailable(), however, on failure returns the error message otherwise 0.
| virtual const char* vtkSMRenderViewProxy::IsSelectVisiblePointsAvailable | ( | ) | [virtual] |
Similar to IsSelectionAvailable(), however, on failure returns the error message otherwise 0.
| vtkPVGenericRenderWindowInteractor* vtkSMRenderViewProxy::GetInteractor | ( | ) |
Returns the interactor.
| vtkRenderWindow* vtkSMRenderViewProxy::GetRenderWindow | ( | ) |
Returns the client-side render window.
| vtkRenderer* vtkSMRenderViewProxy::GetRenderer | ( | ) |
Returns the client-side renderer (composited or 3D).
| vtkCamera* vtkSMRenderViewProxy::GetActiveCamera | ( | ) |
Returns the client-side camera object.
| virtual vtkSMRepresentationProxy* vtkSMRenderViewProxy::CreateDefaultRepresentation | ( | vtkSMProxy * | , |
| int | |||
| ) | [virtual] |
Create a default representation for the given source proxy. Returns a new proxy.
Reimplemented from vtkSMViewProxy.
| void vtkSMRenderViewProxy::SynchronizeCameraProperties | ( | ) |
This method calls UpdateInformation on the Camera Proxy and sets the Camera properties according to the info properties. This approach is a bit lame. We need to ensure that camera properties are always/automatically synchronized. Camera properties cannot be treated same way as other properties.
| virtual bool vtkSMRenderViewProxy::LastRenderWasInteractive | ( | ) | [virtual] |
Returns true if the most recent render indeed employed low-res rendering.
Returns the Z-buffer value at the given location in this view.
| virtual void vtkSMRenderViewProxy::MarkDirty | ( | vtkSMProxy * | modifiedProxy | ) | [protected, virtual] |
Overridden to ensure that we clean up the selection cache on the server side.
Reimplemented from vtkSMProxy.
| virtual vtkImageData* vtkSMRenderViewProxy::CaptureWindowInternal | ( | int | magnification | ) | [protected, virtual] |
Subclasses should override this method to do the actual image capture.
| virtual void vtkSMRenderViewProxy::CaptureWindowInternalRender | ( | ) | [protected, virtual] |
Subclasses should override this method to do the actual image capture.
| bool vtkSMRenderViewProxy::SelectFrustumInternal | ( | int | region[4], |
| vtkCollection * | selectedRepresentations, | ||
| vtkCollection * | selectionSources, | ||
| bool | multiple_selections, | ||
| int | fieldAssociation | ||
| ) | [protected] |
| virtual void vtkSMRenderViewProxy::PostRender | ( | bool | interactive | ) | [protected, virtual] |
| bool vtkSMRenderViewProxy::FetchLastSelection | ( | bool | multiple_selections, |
| vtkCollection * | selectedRepresentations, | ||
| vtkCollection * | selectionSources | ||
| ) | [protected] |
Fetches the LastSelection from the data-server and then converts it to a selection source proxy and returns that.
| virtual void vtkSMRenderViewProxy::CreateVTKObjects | ( | ) | [protected, virtual] |
Called at the end of CreateVTKObjects().
Reimplemented from vtkSMViewProxy.
| void vtkSMRenderViewProxy::ClearSelectionCache | ( | bool | force = false | ) | [protected] |
| void vtkSMRenderViewProxy::NewMasterCallback | ( | vtkObject * | src, |
| unsigned long | event, | ||
| void * | data | ||
| ) | [protected] |
bool vtkSMRenderViewProxy::IsSelectionCached [protected] |
Definition at line 156 of file vtkSMRenderViewProxy.h.
unsigned long vtkSMRenderViewProxy::NewMasterObserverId [protected] |
Definition at line 161 of file vtkSMRenderViewProxy.h.
1.7.5.1