vtkStandardPolyDataPainter Class Reference

#include <vtkStandardPolyDataPainter.h>

Inheritance diagram for vtkStandardPolyDataPainter:

Inheritance graph
[legend]
Collaboration diagram for vtkStandardPolyDataPainter:

Collaboration graph
[legend]

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:
vtkDefaultPainter
Thanks:
Support for generic vertex attributes in VTK was contributed in collaboration with Stephane Ploix at EDF.

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

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

Member Typedef Documentation

Reimplemented from vtkPolyDataPainter.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

Definition at line 54 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.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

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]

Reimplemented from vtkPolyDataPainter.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

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]


Member Data Documentation

Reimplemented in vtkHardwareSelectionPolyDataPainter.

Definition at line 85 of file vtkStandardPolyDataPainter.h.


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

Generated on Wed Aug 24 12:08:41 2011 for VTK by  doxygen 1.5.6