ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSMViewProxy Class Reference

Superclass for all view proxies. More...

#include <vtkSMViewProxy.h>

Inheritance diagram for vtkSMViewProxy:
Inheritance graph
[legend]
Collaboration diagram for vtkSMViewProxy:
Collaboration graph
[legend]

List of all members.

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 ()
vtkImageDataCaptureWindow (int magnification)
vtkViewGetClientSideView ()
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 vtkSMRepresentationProxyCreateDefaultRepresentation (vtkSMProxy *, int)

Static Public Member Functions

static vtkSMViewProxyNew ()
static int IsTypeOf (const char *type)
static vtkSMViewProxySafeDownCast (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 vtkImageDataCaptureWindowInternal (int vtkNotUsed(magnification))

Protected Attributes

char * DefaultRepresentationName
bool Enable

Detailed Description

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.

Events:

Definition at line 40 of file vtkSMViewProxy.h.


Constructor & Destructor Documentation

vtkSMViewProxy::vtkSMViewProxy ( ) [protected]
vtkSMViewProxy::~vtkSMViewProxy ( ) [protected]

Member Function Documentation

static vtkSMViewProxy* vtkSMViewProxy::New ( ) [static]
virtual const char* vtkSMViewProxy::GetClassName ( ) [virtual]
static int vtkSMViewProxy::IsTypeOf ( const char *  type) [static]
virtual int vtkSMViewProxy::IsA ( const char *  type) [virtual]
static vtkSMViewProxy* vtkSMViewProxy::SafeDownCast ( vtkObject o) [static]
void vtkSMViewProxy::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
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.

vtkView* vtkSMViewProxy::GetClientSideView ( )

Returns the client-side vtkView, if any.

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]
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]

Member Data Documentation

Definition at line 106 of file vtkSMViewProxy.h.

bool vtkSMViewProxy::Enable [protected]

Definition at line 109 of file vtkSMViewProxy.h.


The documentation for this class was generated from the following file: