vtkStandardPolyDataPainter Class Reference

#include <vtkStandardPolyDataPainter.h>

Inheritance diagram for vtkStandardPolyDataPainter:

Inheritance graph
Collaboration diagram for vtkStandardPolyDataPainter:

Collaboration graph

List of all members.

Detailed Description

A standard implementation of vtkPolyDataPainter.

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.

See also:
Support for generic vertex attributes in VTK was contributed in collaboration with Stephane Ploix at EDF.

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 vtkStandardPolyDataPainterSafeDownCast (vtkObject *o)
static vtkStandardPolyDataPainterNew ()

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

Member Typedef Documentation

Reimplemented from vtkPolyDataPainter.

Definition at line 51 of file vtkStandardPolyDataPainter.h.

Constructor & Destructor Documentation

vtkStandardPolyDataPainter::vtkStandardPolyDataPainter (  )  [protected]

vtkStandardPolyDataPainter::~vtkStandardPolyDataPainter (  )  [protected]

Member Function Documentation

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]

Member Data Documentation

Definition at line 78 of file vtkStandardPolyDataPainter.h.

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

Generated on Sat Dec 27 13:51:18 2008 for VTK by  doxygen 1.5.6