VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends
vtkPHardwareSelector Class Reference

vtkHardwareSelector useful for parallel rendering. More...

#include <vtkPHardwareSelector.h>

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

List of all members.

Public Types

typedef vtkHardwareSelector Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPHardwareSelectorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual bool CaptureBuffers ()
virtual void SetProcessIsRoot (bool)
virtual bool GetProcessIsRoot ()
virtual void ProcessIsRootOn ()
virtual void ProcessIsRootOff ()

Static Public Member Functions

static vtkPHardwareSelectorNew ()
static int IsTypeOf (const char *type)
static vtkPHardwareSelectorSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPHardwareSelector ()
 ~vtkPHardwareSelector ()
void StartRender ()
void EndRender ()

Protected Attributes

bool ProcessIsRoot

Friends

class vtkObserver

Detailed Description

vtkHardwareSelector useful for parallel rendering.

vtkPHardwareSelector is a vtkHardwareSelector that is parallel aware. It relies on the fact that the application is going to use some other mechanism to ensure that renders are synchronized among windows on all processes. The synchronization happens from the root node. When the root node renders, all processes render. Only vtkPHardwareSelector instance on the root node triggers the renders. All other processes, simply listen to the StartEvent fired and beginning of the render to ensure that vtkHardwareSelector's CurrentPass is updated appropriately.

Definition at line 35 of file vtkPHardwareSelector.h.


Member Typedef Documentation

Reimplemented from vtkHardwareSelector.

Definition at line 39 of file vtkPHardwareSelector.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkHardwareSelector.

static int vtkPHardwareSelector::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkHardwareSelector.

virtual int vtkPHardwareSelector::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkHardwareSelector.

Reimplemented from vtkHardwareSelector.

virtual vtkObjectBase* vtkPHardwareSelector::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkHardwareSelector.

Reimplemented from vtkHardwareSelector.

void vtkPHardwareSelector::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkHardwareSelector.

virtual void vtkPHardwareSelector::SetProcessIsRoot ( bool  ) [virtual]

Set/Get the is the root process. The root processes is the only processes which has the composited result and hence the only processes that capture buffers and builds selected list ids.

virtual bool vtkPHardwareSelector::GetProcessIsRoot ( ) [virtual]

Set/Get the is the root process. The root processes is the only processes which has the composited result and hence the only processes that capture buffers and builds selected list ids.

virtual void vtkPHardwareSelector::ProcessIsRootOn ( ) [virtual]

Set/Get the is the root process. The root processes is the only processes which has the composited result and hence the only processes that capture buffers and builds selected list ids.

virtual void vtkPHardwareSelector::ProcessIsRootOff ( ) [virtual]

Set/Get the is the root process. The root processes is the only processes which has the composited result and hence the only processes that capture buffers and builds selected list ids.

virtual bool vtkPHardwareSelector::CaptureBuffers ( ) [virtual]

Overridden to only allow the superclass implementation on the root node. On all other processes, the updating the internal state of the vtkHardwareSelector as the capturing of buffers progresses is done as a slave to the master render.

Reimplemented from vtkHardwareSelector.

void vtkPHardwareSelector::StartRender ( ) [protected]
void vtkPHardwareSelector::EndRender ( ) [protected]

Friends And Related Function Documentation

friend class vtkObserver [friend]

Definition at line 71 of file vtkPHardwareSelector.h.


Member Data Documentation

Definition at line 65 of file vtkPHardwareSelector.h.


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