VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkStandardPolyDataPainter Class Reference

A standard implementation of vtkPolyDataPainter. More...

#include <vtkStandardPolyDataPainter.h>

Inheritance diagram for vtkStandardPolyDataPainter:
Inheritance graph
[legend]
Collaboration diagram for vtkStandardPolyDataPainter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataPainter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkStandardPolyDataPainterNewInstance () const
virtual void PrintSelf (ostream &os, vtkIndent indent)
void AddMultiTextureCoordsArray (vtkDataArray *array)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkStandardPolyDataPainterSafeDownCast (vtkObjectBase *o)
static vtkStandardPolyDataPainterNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkStandardPolyDataPainter ()
 ~vtkStandardPolyDataPainter ()
void DrawCells (int mode, vtkCellArray *connectivity, vtkIdType startCellId, vtkShaderDeviceAdapter2 *shaderDevice2, vtkRenderer *renderer, int buildnormals, int interpolation)
virtual void ProcessInformation (vtkInformation *)
void UpdateGenericAttributesCache (vtkShaderDeviceAdapter2 *shaderDevice2)
virtual void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)

Protected Attributes

vtkIdType TotalCells

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.


Member Typedef Documentation

Reimplemented from vtkPolyDataPainter.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

Definition at line 54 of file vtkStandardPolyDataPainter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkPolyDataPainter.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

virtual vtkObjectBase* vtkStandardPolyDataPainter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataPainter.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

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.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

Reimplemented in vtkHardwareSelectionPolyDataPainter.

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,
vtkShaderDeviceAdapter2 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.


Member Data Documentation

Reimplemented in vtkHardwareSelectionPolyDataPainter.

Definition at line 83 of file vtkStandardPolyDataPainter.h.


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