vtkPolyDataPainter Class Reference

#include <vtkPolyDataPainter.h>

Inheritance diagram for vtkPolyDataPainter:

Inheritance graph
Collaboration diagram for vtkPolyDataPainter:

Collaboration graph

List of all members.

Detailed Description

Abstract class for drawing poly data.

vtkPolyDataPainter encapsulates a method of drawing poly data. This is a subset of what a mapper does. The painter does no maintenance of the rendering state (camera, lights, etc.). It is solely responsible for issuing rendering commands that build graphics primitives.

To simplify coding, an implementation of vtkPolyDataPainter is allowed to support only certain types of poly data or certain types of primitives.

See also:
vtkDefaultPainter vtkStandardPainter vtkPainterDeviceAdapter

Definition at line 52 of file vtkPolyDataPainter.h.

Public Types

typedef vtkPainter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
vtkPolyDataGetInputAsPolyData ()
vtkPolyDataGetOutputAsPolyData ()
virtual void Render (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPolyDataPainterSafeDownCast (vtkObject *o)
static vtkInformationIntegerKeyBUILD_NORMALS ()
static vtkInformationIntegerKeyDISABLE_SCALAR_COLOR ()

Protected Member Functions

 vtkPolyDataPainter ()
 ~vtkPolyDataPainter ()
virtual void SetBuildNormals (int)
virtual void ProcessInformation (vtkInformation *)

Protected Attributes

int BuildNormals

Member Typedef Documentation

Constructor & Destructor Documentation

vtkPolyDataPainter::vtkPolyDataPainter (  )  [protected]

vtkPolyDataPainter::~vtkPolyDataPainter (  )  [protected]

Member Function Documentation

virtual const char* vtkPolyDataPainter::GetClassName (  )  [virtual]

static int vtkPolyDataPainter::IsTypeOf ( const char *  name  )  [static]

virtual int vtkPolyDataPainter::IsA ( const char *  name  )  [virtual]

static vtkPolyDataPainter* vtkPolyDataPainter::SafeDownCast ( vtkObject o  )  [static]

virtual void vtkPolyDataPainter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

vtkPolyData* vtkPolyDataPainter::GetInputAsPolyData (  ) 

Get/set the poly data to render.

vtkPolyData* vtkPolyDataPainter::GetOutputAsPolyData (  ) 

Get the output polydata from this Painter. The default implementation forwards the input polydata as the output.

static vtkInformationIntegerKey* vtkPolyDataPainter::BUILD_NORMALS (  )  [static]

Keys used to specify control the behaviour of the painter. When on, the painter creates normals when none are available in the polydata. On by default.

static vtkInformationIntegerKey* vtkPolyDataPainter::DISABLE_SCALAR_COLOR (  )  [static]

Key added to disable any scalar coloring for the current pass.

static vtkInformationObjectBaseKey* vtkPolyDataPainter::DATA_ARRAY_TO_VERTEX_ATTRIBUTE (  )  [static]

virtual void vtkPolyDataPainter::Render ( vtkRenderer renderer,
vtkActor actor,
unsigned long  typeflags,
bool  forceCompileOnly 
) [virtual]

Overridden to stop the render call if input polydata is not set, since PolyDataPainter cannot paint without any polydata input.

Reimplemented from vtkPainter.

virtual void vtkPolyDataPainter::SetBuildNormals ( int   )  [protected, virtual]

virtual void vtkPolyDataPainter::ProcessInformation ( vtkInformation  )  [protected, virtual]

Called before RenderInternal() if the Information has been changed since the last time this method was called.

Reimplemented from vtkPainter.

Reimplemented in vtkCoincidentTopologyResolutionPainter, vtkPrimitivePainter, and vtkStandardPolyDataPainter.

Member Data Documentation

Definition at line 88 of file vtkPolyDataPainter.h.

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

Generated on Wed Aug 24 11:56:59 2011 for VTK by  doxygen 1.5.6