VTK
|
painter used to render polydata for selection passes. More...
#include <vtkHardwareSelectionPolyDataPainter.h>
painter used to render polydata for selection passes.
vtkHardwareSelectionPolyDataPainter is a painter for polydata used when rendering hardware selection passes.
Definition at line 31 of file vtkHardwareSelectionPolyDataPainter.h.
Reimplemented from vtkStandardPolyDataPainter.
Definition at line 36 of file vtkHardwareSelectionPolyDataPainter.h.
static vtkHardwareSelectionPolyDataPainter* vtkHardwareSelectionPolyDataPainter::New | ( | ) | [static] |
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.
static vtkHardwareSelectionPolyDataPainter* vtkHardwareSelectionPolyDataPainter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkStandardPolyDataPainter.
virtual vtkObjectBase* vtkHardwareSelectionPolyDataPainter::NewInstanceInternal | ( | ) | const [protected, virtual] |
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.
virtual void vtkHardwareSelectionPolyDataPainter::SetEnableSelection | ( | int | ) | [virtual] |
Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.
virtual int vtkHardwareSelectionPolyDataPainter::GetEnableSelection | ( | ) | [virtual] |
Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.
virtual void vtkHardwareSelectionPolyDataPainter::EnableSelectionOn | ( | ) | [virtual] |
Enable/Disable vtkHardwareSelector class. Useful when using this painter as an internal painter. Default is enabled.
virtual void vtkHardwareSelectionPolyDataPainter::EnableSelectionOff | ( | ) | [virtual] |
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.
virtual char* vtkHardwareSelectionPolyDataPainter::GetPointIdArrayName | ( | ) | [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.
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.
virtual char* vtkHardwareSelectionPolyDataPainter::GetCellIdArrayName | ( | ) | [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.
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.
virtual char* vtkHardwareSelectionPolyDataPainter::GetProcessIdArrayName | ( | ) | [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.
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.
virtual char* vtkHardwareSelectionPolyDataPainter::GetCompositeIdArrayName | ( | ) | [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.
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] |
Definition at line 94 of file vtkHardwareSelectionPolyDataPainter.h.
Reimplemented from vtkStandardPolyDataPainter.
Definition at line 95 of file vtkHardwareSelectionPolyDataPainter.h.
char* vtkHardwareSelectionPolyDataPainter::PointIdArrayName [protected] |
Definition at line 96 of file vtkHardwareSelectionPolyDataPainter.h.
char* vtkHardwareSelectionPolyDataPainter::CellIdArrayName [protected] |
Definition at line 97 of file vtkHardwareSelectionPolyDataPainter.h.
char* vtkHardwareSelectionPolyDataPainter::ProcessIdArrayName [protected] |
Definition at line 98 of file vtkHardwareSelectionPolyDataPainter.h.
char* vtkHardwareSelectionPolyDataPainter::CompositeIdArrayName [protected] |
Definition at line 99 of file vtkHardwareSelectionPolyDataPainter.h.