vtkPainterPolyDataMapper Class Reference

#include <vtkPainterPolyDataMapper.h>

Inheritance diagram for vtkPainterPolyDataMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkPainterPolyDataMapper:

Collaboration graph
[legend]

List of all members.


Detailed Description

PolyDataMapper using painters.

PolyDataMapper that uses painters to do the actual rendering.

Thanks:
Support for generic vertex attributes in VTK was contributed in collaboration with Stephane Ploix at EDF.
Events:
vtkCommand::StartEvent vtkCommand::EndEvent

Definition at line 35 of file vtkPainterPolyDataMapper.h.


Public Types

typedef vtkPolyDataMapper Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void RenderPiece (vtkRenderer *ren, vtkActor *act)
void ReleaseGraphicsResources (vtkWindow *)
virtual void RemoveVertexAttributeMapping (const char *vertexAttributeName)
virtual void RemoveAllVertexAttributeMappings ()
virtual vtkPainterGetPainter ()
void SetPainter (vtkPainter *)
void GetBounds (double bounds[6])
double * GetBounds ()
virtual void MapDataArrayToVertexAttribute (const char *vertexAttributeName, const char *dataArrayName, int fieldAssociation, int componentno=-1)

Static Public Member Functions

static vtkPainterPolyDataMapperNew ()
static int IsTypeOf (const char *type)
static vtkPainterPolyDataMapperSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPainterPolyDataMapper ()
 ~vtkPainterPolyDataMapper ()
virtual void UpdatePainterInformation ()
virtual void ReportReferences (vtkGarbageCollector *collector)

Protected Attributes

vtkInformationPainterInformation
vtkTimeStamp PainterUpdateTime
vtkPainterPainter
vtkPainterPolyDataMapperObserver * Observer

Member Typedef Documentation

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

Definition at line 39 of file vtkPainterPolyDataMapper.h.


Constructor & Destructor Documentation

vtkPainterPolyDataMapper::vtkPainterPolyDataMapper (  )  [protected]

vtkPainterPolyDataMapper::~vtkPainterPolyDataMapper (  )  [protected]


Member Function Documentation

static vtkPainterPolyDataMapper* vtkPainterPolyDataMapper::New (  )  [static]

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

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

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

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

static int vtkPainterPolyDataMapper::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 vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

virtual int vtkPainterPolyDataMapper::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 vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

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

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

void vtkPainterPolyDataMapper::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 vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

virtual void vtkPainterPolyDataMapper::RenderPiece ( vtkRenderer ren,
vtkActor act 
) [virtual]

Implemented by sub classes. Actual rendering is done here.

Implements vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

virtual vtkPainter* vtkPainterPolyDataMapper::GetPainter (  )  [virtual]

Get/Set the painter used to do the actual rendering. By default, vtkDefaultPainter is used to build the rendering painter chain for color mapping/clipping etc. followed by a vtkChooserPainter which renders the primitives.

void vtkPainterPolyDataMapper::SetPainter ( vtkPainter  ) 

Get/Set the painter used to do the actual rendering. By default, vtkDefaultPainter is used to build the rendering painter chain for color mapping/clipping etc. followed by a vtkChooserPainter which renders the primitives.

void vtkPainterPolyDataMapper::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release. Merely propagates the call to the painter.

Reimplemented from vtkMapper.

void vtkPainterPolyDataMapper::GetBounds ( double  bounds[6]  )  [virtual]

Re-implement the superclass GetBounds method.

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

double* vtkPainterPolyDataMapper::GetBounds (  )  [virtual]

Re-implement the superclass GetBounds method.

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

virtual void vtkPainterPolyDataMapper::MapDataArrayToVertexAttribute ( const char *  vertexAttributeName,
const char *  dataArrayName,
int  fieldAssociation,
int  componentno = -1 
) [virtual]

Select a data array from the point/cell data and map it to a generic vertex attribute. vertexAttributeName is the name of the vertex attribute. dataArrayName is the name of the data array. fieldAssociation indicates when the data array is a point data array or cell data array (vtkDataObject::FIELD_ASSOCIATION_POINTS or (vtkDataObject::FIELD_ASSOCIATION_CELLS). componentno indicates which component from the data array must be passed as the attribute. If -1, then all components are passed.

virtual void vtkPainterPolyDataMapper::RemoveVertexAttributeMapping ( const char *  vertexAttributeName  )  [virtual]

Remove a vertex attribute mapping.

virtual void vtkPainterPolyDataMapper::RemoveAllVertexAttributeMappings (  )  [virtual]

Remove all vertex attributes.

virtual void vtkPainterPolyDataMapper::UpdatePainterInformation (  )  [protected, virtual]

Called when the PainterInformation becomes obsolete. It is called before the Render is initiated on the Painter.

Reimplemented in vtkCompositePolyDataMapper2.

virtual void vtkPainterPolyDataMapper::ReportReferences ( vtkGarbageCollector collector  )  [protected, virtual]

Take part in garbage collection.

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 96 of file vtkPainterPolyDataMapper.h.

Definition at line 97 of file vtkPainterPolyDataMapper.h.

Definition at line 98 of file vtkPainterPolyDataMapper.h.

vtkPainterPolyDataMapperObserver* vtkPainterPolyDataMapper::Observer [protected]

Definition at line 99 of file vtkPainterPolyDataMapper.h.


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

Generated on Sat Dec 27 13:40:43 2008 for VTK by  doxygen 1.5.6