Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkSMSphereWidgetProxy Class Reference

#include <vtkSMSphereWidgetProxy.h>

Inheritance diagram for vtkSMSphereWidgetProxy:

Inheritance graph
[legend]
Collaboration diagram for vtkSMSphereWidgetProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkSMSphereWidgetProxy, vtkSM3DWidgetProxy)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SaveInBatchScript (ofstream *file)
virtual void UpdateVTKObjects ()
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual double * GetCenter ()
virtual void GetCenter (double &, double &, double &)
virtual void GetCenter (double[3])
virtual void SetRadius (double)
virtual double GetRadius ()

Static Public Member Functions

vtkSMSphereWidgetProxyNew ()

Protected Member Functions

 vtkSMSphereWidgetProxy ()
 ~vtkSMSphereWidgetProxy ()
virtual void SaveState (const char *name, ostream *file, vtkIndent indent)
virtual void ExecuteEvent (vtkObject *, unsigned long, void *)
virtual void CreateVTKObjects (int numObjects)

Protected Attributes

double Center [3]
double Radius

Detailed Description

vtkSMSphereWidgetProxy is the proxy for vtkSphereWidget. It maintains iVars for Center and Radius of the vtkSphereWidget. These values are pushed onto the vtkSphereWidget on UpdateVTKObjects().

Definition at line 28 of file vtkSMSphereWidgetProxy.h.


Constructor & Destructor Documentation

vtkSMSphereWidgetProxy::vtkSMSphereWidgetProxy  )  [protected]
 

vtkSMSphereWidgetProxy::~vtkSMSphereWidgetProxy  )  [protected]
 


Member Function Documentation

vtkSMSphereWidgetProxy* vtkSMSphereWidgetProxy::New  )  [static]
 

Reimplemented from vtkSMDisplayProxy.

Reimplemented in vtkSMPickSphereWidgetProxy.

vtkSMSphereWidgetProxy::vtkTypeRevisionMacro vtkSMSphereWidgetProxy  ,
vtkSM3DWidgetProxy 
 

void vtkSMSphereWidgetProxy::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSM3DWidgetProxy.

Reimplemented in vtkSMPickSphereWidgetProxy.

virtual void vtkSMSphereWidgetProxy::SetCenter double  ,
double  ,
double 
[virtual]
 

Get/Set the Center

virtual void vtkSMSphereWidgetProxy::SetCenter double  [3]  )  [virtual]
 

Get/Set the Center

virtual double* vtkSMSphereWidgetProxy::GetCenter  )  [virtual]
 

Get/Set the Center

virtual void vtkSMSphereWidgetProxy::GetCenter double &  ,
double &  ,
double & 
[virtual]
 

Get/Set the Center

virtual void vtkSMSphereWidgetProxy::GetCenter double  [3]  )  [virtual]
 

Get/Set the Center

virtual void vtkSMSphereWidgetProxy::SetRadius double   )  [virtual]
 

Get/Set the Radius

virtual double vtkSMSphereWidgetProxy::GetRadius  )  [virtual]
 

Get/Set the Radius

virtual void vtkSMSphereWidgetProxy::SaveInBatchScript ofstream *  file  )  [virtual]
 

vtkSMDisplayProxy provides a generic SaveInBatchScript. vtkSM3DWidgets don't use that since the order in which the properties are set is significant for them e.g. PlaceWidget must happend before properties are set etc. This is not favourable, but until that is resolved, we do this.

Reimplemented from vtkSM3DWidgetProxy.

virtual void vtkSMSphereWidgetProxy::UpdateVTKObjects  )  [virtual]
 

Update the VTK object on the server by pushing the values of all modified properties (un-modified properties are ignored). If the object has not been created, it will be created first.

Reimplemented from vtkSM3DWidgetProxy.

Reimplemented in vtkSMPickSphereWidgetProxy.

virtual void vtkSMSphereWidgetProxy::SaveState const char *  name,
ostream *  file,
vtkIndent  indent
[protected, virtual]
 

Overloaded to update the property values before saving state

Reimplemented from vtkSM3DWidgetProxy.

virtual void vtkSMSphereWidgetProxy::ExecuteEvent vtkObject *  ,
unsigned  long,
void * 
[protected, virtual]
 

Execute event of the 3D Widget. When the user interacts with the 3DWidget on the client, events are fired. Since this class listens to such events, it leads to a call to ExecuteEvent. This method updates the iVars based on the values on the client 3DWidget and calls Superclass ExecuteEvent which triggers a WidgetModifiedEvent indicating that widget has been manipulated.

Reimplemented from vtkSM3DWidgetProxy.

virtual void vtkSMSphereWidgetProxy::CreateVTKObjects int  numObjects  )  [protected, virtual]
 

Given the number of objects (numObjects), class name (VTKClassName) and server ids ( this->GetServerIDs()), this methods instantiates the objects on the server(s)

Reimplemented from vtkSM3DWidgetProxy.


Member Data Documentation

double vtkSMSphereWidgetProxy::Center[3] [protected]
 

Definition at line 67 of file vtkSMSphereWidgetProxy.h.

double vtkSMSphereWidgetProxy::Radius [protected]
 

Definition at line 68 of file vtkSMSphereWidgetProxy.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:44:50 2006 for ParaView by doxygen 1.3.5