#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 48 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) |
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, vtkRenderer *renderer, int buildnormals, int interpolation) |
virtual void | ProcessInformation (vtkInformation *) |
void | UpdateGenericAttributesCache (vtkShaderDeviceAdapter *) |
virtual void | RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags) |
Protected Attributes | |
vtkIdType | TotalCells |
vtkStandardPolyDataPainter::vtkStandardPolyDataPainter | ( | ) | [protected] |
vtkStandardPolyDataPainter::~vtkStandardPolyDataPainter | ( | ) | [protected] |
virtual const char* vtkStandardPolyDataPainter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataPainter.
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataPainter.
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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataPainter.
static vtkStandardPolyDataPainter* vtkStandardPolyDataPainter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPolyDataPainter.
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.
static vtkStandardPolyDataPainter* vtkStandardPolyDataPainter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual void vtkStandardPolyDataPainter::RenderInternal | ( | vtkRenderer * | renderer, | |
vtkActor * | actor, | |||
unsigned long | typeflags | |||
) | [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.
void vtkStandardPolyDataPainter::DrawCells | ( | int | mode, | |
vtkCellArray * | connectivity, | |||
vtkIdType | startCellId, | |||
vtkShaderDeviceAdapter * | shaderDevice, | |||
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 * | ) | [protected] |
vtkIdType vtkStandardPolyDataPainter::TotalCells [protected] |
Definition at line 78 of file vtkStandardPolyDataPainter.h.