|
ParaView
|
Superclass for all view proxies. More...
#include <vtkSMViewProxy.h>


Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | StillRender () |
| virtual void | InteractiveRender () |
| virtual void | Update () |
| vtkImageData * | CaptureWindow (int magnification) |
| vtkView * | GetClientSideView () |
| int | WriteImage (const char *filename, const char *writerName, int magnification) |
| virtual bool | HasDirtyRepresentation () |
| virtual void | SetEnable (bool) |
| virtual bool | GetEnable () |
| virtual void | EnableOn () |
| virtual void | EnableOff () |
| virtual vtkSMRepresentationProxy * | CreateDefaultRepresentation (vtkSMProxy *, int) |
Static Public Member Functions | |
| static vtkSMViewProxy * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkSMViewProxy * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkSMViewProxy () | |
| ~vtkSMViewProxy () | |
| virtual void | PostRender (bool vtkNotUsed(interactive)) |
| virtual void | CreateVTKObjects () |
| virtual int | ReadXMLAttributes (vtkSMSessionProxyManager *pm, vtkPVXMLElement *element) |
| virtual void | SetDefaultRepresentationName (const char *) |
| virtual vtkImageData * | CaptureWindowInternal (int vtkNotUsed(magnification)) |
Protected Attributes | |
| char * | DefaultRepresentationName |
| bool | Enable |
Superclass for all view proxies.
vtkSMViewProxy is a superclass for all view proxies. A view proxy abstracts the logic to take one or more representation proxies and show then in some viewport such as vtkRenderWindow. This class may directly be used as the view proxy for views that do all the rendering work at the GUI level. The VTKObject corresponding to this class has to be a vtkView subclass.
Definition at line 40 of file vtkSMViewProxy.h.
| vtkSMViewProxy::vtkSMViewProxy | ( | ) | [protected] |
| vtkSMViewProxy::~vtkSMViewProxy | ( | ) | [protected] |
| static vtkSMViewProxy* vtkSMViewProxy::New | ( | ) | [static] |
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMComparativeViewProxy, vtkSMRenderViewProxy, vtkSMContextViewProxy, and vtkSMPlotMatrixViewProxy.
| virtual const char* vtkSMViewProxy::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMComparativeViewProxy, vtkSMRenderViewProxy, vtkSMContextViewProxy, and vtkSMPlotMatrixViewProxy.
| static int vtkSMViewProxy::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMComparativeViewProxy, vtkSMRenderViewProxy, vtkSMContextViewProxy, and vtkSMPlotMatrixViewProxy.
| virtual int vtkSMViewProxy::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMComparativeViewProxy, vtkSMRenderViewProxy, vtkSMContextViewProxy, and vtkSMPlotMatrixViewProxy.
| static vtkSMViewProxy* vtkSMViewProxy::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMComparativeViewProxy, vtkSMRenderViewProxy, vtkSMContextViewProxy, and vtkSMPlotMatrixViewProxy.
| void vtkSMViewProxy::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) | [virtual] |
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMComparativeViewProxy, vtkSMRenderViewProxy, vtkSMContextViewProxy, and vtkSMPlotMatrixViewProxy.
| virtual void vtkSMViewProxy::SetEnable | ( | bool | ) | [virtual] |
Enable/Disable a view.
| virtual bool vtkSMViewProxy::GetEnable | ( | ) | [virtual] |
Enable/Disable a view.
| virtual void vtkSMViewProxy::EnableOn | ( | ) | [virtual] |
Enable/Disable a view.
| virtual void vtkSMViewProxy::EnableOff | ( | ) | [virtual] |
Enable/Disable a view.
| virtual void vtkSMViewProxy::StillRender | ( | ) | [virtual] |
Renders the view using full resolution.
| virtual void vtkSMViewProxy::InteractiveRender | ( | ) | [virtual] |
Renders the view using lower resolution is possible.
| virtual void vtkSMViewProxy::Update | ( | ) | [virtual] |
Called vtkPVView::Update on the server-side.
Reimplemented in vtkSMComparativeViewProxy.
| virtual vtkSMRepresentationProxy* vtkSMViewProxy::CreateDefaultRepresentation | ( | vtkSMProxy * | , |
| int | |||
| ) | [virtual] |
Create a default representation for the given source proxy. Returns a new proxy.
Reimplemented in vtkSMRenderViewProxy, and vtkSMComparativeViewProxy.
| vtkImageData* vtkSMViewProxy::CaptureWindow | ( | int | magnification | ) |
Captures a image from this view. Default implementation returns NULL. Subclasses should override CaptureWindowInternal() to do the actual image capture.
| int vtkSMViewProxy::WriteImage | ( | const char * | filename, |
| const char * | writerName, | ||
| int | magnification | ||
| ) |
Saves a screenshot of the view to disk. The writerName argument specifies the vtkImageWriter subclass to use.
| virtual bool vtkSMViewProxy::HasDirtyRepresentation | ( | ) | [virtual] |
Return true any internal representation is dirty. This can be usefull to know if the internal geometry has changed.
| virtual vtkImageData* vtkSMViewProxy::CaptureWindowInternal | ( | int | vtkNotUsedmagnification | ) | [inline, protected, virtual] |
Subclasses should override this method to do the actual image capture.
Definition at line 94 of file vtkSMViewProxy.h.
| virtual void vtkSMViewProxy::PostRender | ( | bool | vtkNotUsedinteractive | ) | [inline, protected, virtual] |
Definition at line 98 of file vtkSMViewProxy.h.
| virtual void vtkSMViewProxy::CreateVTKObjects | ( | ) | [protected, virtual] |
Called at the end of CreateVTKObjects().
Reimplemented from vtkSMProxy.
Reimplemented in vtkSMPlotMatrixViewProxy, vtkSMRenderViewProxy, vtkSMComparativeViewProxy, and vtkSMContextViewProxy.
| virtual int vtkSMViewProxy::ReadXMLAttributes | ( | vtkSMSessionProxyManager * | pm, |
| vtkPVXMLElement * | element | ||
| ) | [protected, virtual] |
Read attributes from an XML element.
Reimplemented from vtkSMProxy.
| virtual void vtkSMViewProxy::SetDefaultRepresentationName | ( | const char * | ) | [protected, virtual] |
char* vtkSMViewProxy::DefaultRepresentationName [protected] |
Definition at line 106 of file vtkSMViewProxy.h.
bool vtkSMViewProxy::Enable [protected] |
Definition at line 109 of file vtkSMViewProxy.h.
1.7.5.1