#include <vtkStandardPolyDataPainter.h>
vtkStandardPolyDataPainter is a catch-all painter. It should work with pretty much any vtkPolyData, and attributes, and vtkPolyDataPainterDeviceAdapter. On the flip side, the vtkStandardPolyDataPainter will be slower than the more special purpose painters.
Definition at line 51 of file vtkStandardPolyDataPainter.h.
Public Types | |
typedef vtkPolyDataPainter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | AddMultiTextureCoordsArray (vtkDataArray *array) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkStandardPolyDataPainter * | SafeDownCast (vtkObject *o) |
static vtkStandardPolyDataPainter * | New () |
Protected Member Functions | |
vtkStandardPolyDataPainter () | |
~vtkStandardPolyDataPainter () | |
void | DrawCells (int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkShaderDeviceAdapter *shaderDevice, vtkGLSLShaderDeviceAdapter2 *shaderDevice2, vtkRenderer *renderer, int buildnormals, int interpolation) |
virtual void | ProcessInformation (vtkInformation *) |
void | UpdateGenericAttributesCache (vtkShaderDeviceAdapter *shaderDevice, vtkGLSLShaderDeviceAdapter2 *shaderDevice2) |
virtual void | RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly) |
Protected Attributes | |
vtkIdType | TotalCells |
Reimplemented from vtkPolyDataPainter.
Reimplemented in vtkHardwareSelectionPolyDataPainter.
Definition at line 54 of file vtkStandardPolyDataPainter.h.
vtkStandardPolyDataPainter::vtkStandardPolyDataPainter | ( | ) | [protected] |
vtkStandardPolyDataPainter::~vtkStandardPolyDataPainter | ( | ) | [protected] |
virtual const char* vtkStandardPolyDataPainter::GetClassName | ( | ) | [virtual] |
static int vtkStandardPolyDataPainter::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 vtkPolyDataPainter.
Reimplemented in vtkHardwareSelectionPolyDataPainter.
virtual int vtkStandardPolyDataPainter::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 vtkPolyDataPainter.
Reimplemented in vtkHardwareSelectionPolyDataPainter.
static vtkStandardPolyDataPainter* vtkStandardPolyDataPainter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
virtual void vtkStandardPolyDataPainter::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 vtkPolyDataPainter.
Reimplemented in vtkHardwareSelectionPolyDataPainter.
static vtkStandardPolyDataPainter* vtkStandardPolyDataPainter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
Reimplemented in vtkHardwareSelectionPolyDataPainter.
void vtkStandardPolyDataPainter::AddMultiTextureCoordsArray | ( | vtkDataArray * | array | ) |
virtual void vtkStandardPolyDataPainter::RenderInternal | ( | vtkRenderer * | renderer, | |
vtkActor * | actor, | |||
unsigned long | typeflags, | |||
bool | forceCompileOnly | |||
) | [protected, virtual] |
Generates rendering primitives of appropriate type(s). Multiple types of preimitives can be requested by or-ring the primitive flags.
Reimplemented from vtkPainter.
Reimplemented in vtkHardwareSelectionPolyDataPainter.
void vtkStandardPolyDataPainter::DrawCells | ( | int | mode, | |
vtkCellArray * | connectivity, | |||
vtkIdType | startCellId, | |||
vtkShaderDeviceAdapter * | shaderDevice, | |||
vtkGLSLShaderDeviceAdapter2 * | shaderDevice2, | |||
vtkRenderer * | renderer, | |||
int | buildnormals, | |||
int | interpolation | |||
) | [protected] |
virtual void vtkStandardPolyDataPainter::ProcessInformation | ( | vtkInformation * | ) | [protected, virtual] |
Called before RenderInternal() if the Information has been changed since the last time this method was called.
Reimplemented from vtkPolyDataPainter.
void vtkStandardPolyDataPainter::UpdateGenericAttributesCache | ( | vtkShaderDeviceAdapter * | shaderDevice, | |
vtkGLSLShaderDeviceAdapter2 * | shaderDevice2 | |||
) | [protected] |
vtkIdType vtkStandardPolyDataPainter::TotalCells [protected] |
Reimplemented in vtkHardwareSelectionPolyDataPainter.
Definition at line 85 of file vtkStandardPolyDataPainter.h.