vtkAbstractMapper Class Reference

#include <vtkAbstractMapper.h>

Inheritance diagram for vtkAbstractMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkAbstractMapper:

Collaboration graph
[legend]

List of all members.


Detailed Description

abstract class specifies interface to map data

vtkAbstractMapper is an abstract class to specify interface between data and graphics primitives or software rendering techniques. Subclasses of vtkAbstractMapper can be used for rendering 2D data, geometry, or volumetric data.

See also:
vtkAbstractMapper3D vtkMapper vtkPolyDataMapper vtkVolumeMapper

Definition at line 50 of file vtkAbstractMapper.h.


Public Types

typedef vtkAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual unsigned long GetMTime ()
virtual void ReleaseGraphicsResources (vtkWindow *)
void SetClippingPlanes (vtkPlanes *planes)
void ShallowCopy (vtkAbstractMapper *m)
virtual double GetTimeToDraw ()
void AddClippingPlane (vtkPlane *plane)
void RemoveClippingPlane (vtkPlane *plane)
void RemoveAllClippingPlanes ()
virtual void SetClippingPlanes (vtkPlaneCollection *)
virtual vtkPlaneCollectionGetClippingPlanes ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkAbstractMapperSafeDownCast (vtkObject *o)
static vtkDataArrayGetScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag)

Protected Member Functions

 vtkAbstractMapper ()
 ~vtkAbstractMapper ()

Protected Attributes

vtkTimerLogTimer
double TimeToDraw
vtkWindowLastWindow
vtkPlaneCollectionClippingPlanes

Member Typedef Documentation


Constructor & Destructor Documentation

vtkAbstractMapper::vtkAbstractMapper (  )  [protected]

vtkAbstractMapper::~vtkAbstractMapper (  )  [protected]


Member Function Documentation

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

static int vtkAbstractMapper::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 vtkAlgorithm.

Reimplemented in vtkMapper2D, vtkAbstractMapper3D, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkDynamic2DLabelMapper, vtkGlyph3DMapper, vtkGraphMapper, vtkHierarchicalPolyDataMapper, vtkImageMapper, vtkLabeledDataMapper, vtkLabeledTreeMapDataMapper, vtkLabelPlacementMapper, vtkMapper, vtkMesaFreeTypeTextMapper, vtkMesaImageMapper, vtkMesaPolyDataMapper, vtkMesaPolyDataMapper2D, vtkOpenGLFreeTypeTextMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLImageMapper, vtkOpenGLPolyDataMapper, vtkOpenGLPolyDataMapper2D, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkPolyDataMapper2D, vtkQtTreeRingLabelMapper, vtkTextMapper, vtkFixedPointVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedAAHexahedraMapper, vtkProjectedTetrahedraMapper, vtkSmartVolumeMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.

virtual int vtkAbstractMapper::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 vtkAlgorithm.

Reimplemented in vtkMapper2D, vtkAbstractMapper3D, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkDynamic2DLabelMapper, vtkGlyph3DMapper, vtkGraphMapper, vtkHierarchicalPolyDataMapper, vtkImageMapper, vtkLabeledDataMapper, vtkLabeledTreeMapDataMapper, vtkLabelPlacementMapper, vtkMapper, vtkMesaFreeTypeTextMapper, vtkMesaImageMapper, vtkMesaPolyDataMapper, vtkMesaPolyDataMapper2D, vtkOpenGLFreeTypeTextMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLImageMapper, vtkOpenGLPolyDataMapper, vtkOpenGLPolyDataMapper2D, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkPolyDataMapper2D, vtkQtTreeRingLabelMapper, vtkTextMapper, vtkFixedPointVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedAAHexahedraMapper, vtkProjectedTetrahedraMapper, vtkSmartVolumeMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.

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

void vtkAbstractMapper::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 vtkAlgorithm.

Reimplemented in vtkMapper2D, vtkAbstractMapper3D, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkDynamic2DLabelMapper, vtkGlyph3DMapper, vtkGraphMapper, vtkHierarchicalPolyDataMapper, vtkImageMapper, vtkLabeledDataMapper, vtkLabeledTreeMapDataMapper, vtkLabelPlacementMapper, vtkMapper, vtkMesaFreeTypeTextMapper, vtkMesaImageMapper, vtkMesaPolyDataMapper, vtkMesaPolyDataMapper2D, vtkOpenGLFreeTypeTextMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLImageMapper, vtkOpenGLPolyDataMapper, vtkOpenGLPolyDataMapper2D, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkPolyDataMapper2D, vtkQtTreeRingLabelMapper, vtkTextMapper, vtkFixedPointVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedAAHexahedraMapper, vtkProjectedTetrahedraMapper, vtkSmartVolumeMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.

virtual unsigned long vtkAbstractMapper::GetMTime (  )  [virtual]

Override Modifiedtime as we have added Clipping planes

Reimplemented from vtkObject.

Reimplemented in vtkDataSetMapper, vtkGraphMapper, vtkImageMapper, vtkLabeledDataMapper, vtkMapper, vtkPolyDataMapper2D, and vtkQtTreeRingLabelMapper.

virtual void vtkAbstractMapper::ReleaseGraphicsResources ( vtkWindow  )  [inline, virtual]

virtual double vtkAbstractMapper::GetTimeToDraw (  )  [virtual]

Get the time required to draw the geometry last time it was rendered

void vtkAbstractMapper::AddClippingPlane ( vtkPlane plane  ) 

Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).

void vtkAbstractMapper::RemoveClippingPlane ( vtkPlane plane  ) 

Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).

void vtkAbstractMapper::RemoveAllClippingPlanes (  ) 

Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).

virtual void vtkAbstractMapper::SetClippingPlanes ( vtkPlaneCollection  )  [virtual]

Get/Set the vtkPlaneCollection which specifies the clipping planes.

virtual vtkPlaneCollection* vtkAbstractMapper::GetClippingPlanes (  )  [virtual]

Get/Set the vtkPlaneCollection which specifies the clipping planes.

void vtkAbstractMapper::SetClippingPlanes ( vtkPlanes planes  ) 

An alternative way to set clipping planes: use up to six planes found in the supplied instance of the implicit function vtkPlanes.

void vtkAbstractMapper::ShallowCopy ( vtkAbstractMapper m  ) 

Make a shallow copy of this mapper.

Reimplemented in vtkMapper, vtkPolyDataMapper, and vtkPolyDataMapper2D.

static vtkDataArray* vtkAbstractMapper::GetScalars ( vtkDataSet input,
int  scalarMode,
int  arrayAccessMode,
int  arrayId,
const char *  arrayName,
int &  cellFlag 
) [static]

Internal helper function for getting the active scalars. The scalar mode indicates where the scalars come from. The cellFlag is a return value that is set when the scalars actually are cell scalars. (0 for point scalars, 1 for cell scalars, 2 for field scalars) The arrayAccessMode is used to indicate how to retrieve the scalars from field data, per id or per name (if the scalarMode indicates that).


Member Data Documentation

Definition at line 106 of file vtkAbstractMapper.h.

double vtkAbstractMapper::TimeToDraw [protected]

Definition at line 107 of file vtkAbstractMapper.h.

Reimplemented in vtkOpenGLGlyph3DMapper.

Definition at line 108 of file vtkAbstractMapper.h.

Definition at line 109 of file vtkAbstractMapper.h.


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

Generated on Wed Aug 24 11:28:07 2011 for VTK by  doxygen 1.5.6