VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkHardwareSelectionPolyDataPainter Class Reference

painter used to render polydata for selection passes. More...

#include <vtkHardwareSelectionPolyDataPainter.h>

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

List of all members.

Public Types

typedef vtkStandardPolyDataPainter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkHardwareSelectionPolyDataPainterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetEnableSelection (int)
virtual int GetEnableSelection ()
virtual void EnableSelectionOn ()
virtual void EnableSelectionOff ()
virtual void SetPointIdArrayName (const char *)
virtual char * GetPointIdArrayName ()
virtual void SetCellIdArrayName (const char *)
virtual char * GetCellIdArrayName ()
virtual void SetProcessIdArrayName (const char *)
virtual char * GetProcessIdArrayName ()
virtual void SetCompositeIdArrayName (const char *)
virtual char * GetCompositeIdArrayName ()

Static Public Member Functions

static
vtkHardwareSelectionPolyDataPainter
New ()
static int IsTypeOf (const char *type)
static
vtkHardwareSelectionPolyDataPainter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkHardwareSelectionPolyDataPainter ()
 ~vtkHardwareSelectionPolyDataPainter ()
void DrawCells (int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkRenderer *renderer)
virtual void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)

Protected Attributes

int EnableSelection
vtkIdType TotalCells
char * PointIdArrayName
char * CellIdArrayName
char * ProcessIdArrayName
char * CompositeIdArrayName

Detailed Description

painter used to render polydata for selection passes.

vtkHardwareSelectionPolyDataPainter is a painter for polydata used when rendering hardware selection passes.

See also:
vtkHardwareSelector

Definition at line 31 of file vtkHardwareSelectionPolyDataPainter.h.


Member Typedef Documentation

Reimplemented from vtkStandardPolyDataPainter.

Definition at line 36 of file vtkHardwareSelectionPolyDataPainter.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 vtkStandardPolyDataPainter.

static int vtkHardwareSelectionPolyDataPainter::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 vtkStandardPolyDataPainter.

virtual int vtkHardwareSelectionPolyDataPainter::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 vtkStandardPolyDataPainter.

Reimplemented from vtkStandardPolyDataPainter.

Reimplemented from vtkStandardPolyDataPainter.

Reimplemented from vtkStandardPolyDataPainter.

void vtkHardwareSelectionPolyDataPainter::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 vtkStandardPolyDataPainter.

Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.

Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.

Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.

Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.

virtual void vtkHardwareSelectionPolyDataPainter::SetPointIdArrayName ( const char *  ) [virtual]

By default, this painters uses the dataset's point and cell ids during rendering. However, one can override those by specifying cell and point data arrays to use instead. Currently, only vtkIdType array is supported. Set to NULL string (default) to use the point ids instead.

By default, this painters uses the dataset's point and cell ids during rendering. However, one can override those by specifying cell and point data arrays to use instead. Currently, only vtkIdType array is supported. Set to NULL string (default) to use the point ids instead.

virtual void vtkHardwareSelectionPolyDataPainter::SetCellIdArrayName ( const char *  ) [virtual]

By default, this painters uses the dataset's point and cell ids during rendering. However, one can override those by specifying cell and point data arrays to use instead. Currently, only vtkIdType array is supported. Set to NULL string (default) to use the point ids instead.

By default, this painters uses the dataset's point and cell ids during rendering. However, one can override those by specifying cell and point data arrays to use instead. Currently, only vtkIdType array is supported. Set to NULL string (default) to use the point ids instead.

virtual void vtkHardwareSelectionPolyDataPainter::SetProcessIdArrayName ( const char *  ) [virtual]

If the painter should override the process id using a data-array, set this variable to the name of the array to use. It must be a point-array.

If the painter should override the process id using a data-array, set this variable to the name of the array to use. It must be a point-array.

virtual void vtkHardwareSelectionPolyDataPainter::SetCompositeIdArrayName ( const char *  ) [virtual]

Generally, vtkCompositePainter can render the composite id when iterating over composite datasets. However in some cases (as in AMR), the rendered structure may not correspond to the input data, in which case we need to provide a cell array that can be used to render in the composite id in selection passes. Set to NULL (default) to not override the composite id color set by vtkCompositePainter if any. The array MUST be a cell array and of type vtkUnsignedIntArray.

Generally, vtkCompositePainter can render the composite id when iterating over composite datasets. However in some cases (as in AMR), the rendered structure may not correspond to the input data, in which case we need to provide a cell array that can be used to render in the composite id in selection passes. Set to NULL (default) to not override the composite id color set by vtkCompositePainter if any. The array MUST be a cell array and of type vtkUnsignedIntArray.

virtual void vtkHardwareSelectionPolyDataPainter::RenderInternal ( vtkRenderer renderer,
vtkActor actor,
unsigned long  typeflags,
bool  forceCompileOnly 
) [protected, virtual]

Generates rendering primitives of appropriate type(s). Multiple types of primitives can be requested by or-ring the primitive flags.

Reimplemented from vtkStandardPolyDataPainter.

void vtkHardwareSelectionPolyDataPainter::DrawCells ( int  mode,
vtkCellArray connectivity,
vtkIdType  startCellId,
vtkRenderer renderer 
) [protected]

Member Data Documentation

Definition at line 94 of file vtkHardwareSelectionPolyDataPainter.h.

Reimplemented from vtkStandardPolyDataPainter.

Definition at line 95 of file vtkHardwareSelectionPolyDataPainter.h.

Definition at line 96 of file vtkHardwareSelectionPolyDataPainter.h.

Definition at line 97 of file vtkHardwareSelectionPolyDataPainter.h.

Definition at line 98 of file vtkHardwareSelectionPolyDataPainter.h.

Definition at line 99 of file vtkHardwareSelectionPolyDataPainter.h.


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