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 MapDataArrayToMultiTextureAttribute (int unit, const char *dataArrayName, int fieldAssociation, int componentno=-1)
virtual void RemoveVertexAttributeMapping (const char *vertexAttributeName)
virtual void RemoveAllVertexAttributeMappings ()
virtual vtkPainterGetPainter ()
void SetPainter (vtkPainter *)
virtual void MapDataArrayToVertexAttribute (const char *vertexAttributeName, const char *dataArrayName, int fieldAssociation, int componentno=-1)
virtual vtkPainterGetSelectionPainter ()
void SetSelectionPainter (vtkPainter *)
virtual bool GetSupportsSelection ()

Static Public Member Functions

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

Protected Member Functions

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

Protected Attributes

vtkInformationPainterInformation
vtkTimeStamp PainterUpdateTime
vtkPainterPainter
vtkPainterSelectionPainter
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 vtkTypeMacro 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 vtkTypeMacro 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.

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.

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.

Reimplemented from vtkPolyDataMapper.

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

Reimplemented from vtkPolyDataMapper.

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

Remove a vertex attribute mapping.

Reimplemented from vtkPolyDataMapper.

virtual void vtkPainterPolyDataMapper::RemoveAllVertexAttributeMappings (  )  [virtual]

Remove all vertex attributes.

Reimplemented from vtkPolyDataMapper.

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

Get/Set the painter used when rendering the selection pass.

void vtkPainterPolyDataMapper::SetSelectionPainter ( vtkPainter  ) 

Get/Set the painter used when rendering the selection pass.

virtual bool vtkPainterPolyDataMapper::GetSupportsSelection (  )  [inline, virtual]

WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection.

Reimplemented from vtkMapper.

Definition at line 94 of file vtkPainterPolyDataMapper.h.

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

Called in GetBounds(). When this method is called, the consider the input to be updated depending on whether this->Static is set or not. This method simply obtains the bounds from the data-object and returns it.

Reimplemented from vtkPolyDataMapper.

Reimplemented in vtkCompositePolyDataMapper2.

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

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

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

Take part in garbage collection.

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 115 of file vtkPainterPolyDataMapper.h.

Definition at line 116 of file vtkPainterPolyDataMapper.h.

Definition at line 117 of file vtkPainterPolyDataMapper.h.

Definition at line 120 of file vtkPainterPolyDataMapper.h.

vtkPainterPolyDataMapperObserver* vtkPainterPolyDataMapper::Observer [protected]

Definition at line 121 of file vtkPainterPolyDataMapper.h.


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

Generated on Wed Aug 24 11:52:39 2011 for VTK by  doxygen 1.5.6