VTK
|
abstract class specifies interface to map data More...
#include <vtkAbstractMapper.h>
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.
Definition at line 51 of file vtkAbstractMapper.h.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkImageMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLFreeTypeTextMapper, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
Definition at line 54 of file vtkAbstractMapper.h.
vtkAbstractMapper::vtkAbstractMapper | ( | ) | [protected] |
vtkAbstractMapper::~vtkAbstractMapper | ( | ) | [protected] |
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 vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkImageMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLFreeTypeTextMapper, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
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 vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkImageMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLFreeTypeTextMapper, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
static vtkAbstractMapper* vtkAbstractMapper::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkImageMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLFreeTypeTextMapper, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
virtual vtkObjectBase* vtkAbstractMapper::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkImageMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLFreeTypeTextMapper, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
vtkAbstractMapper* vtkAbstractMapper::NewInstance | ( | ) | const |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkImageMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLFreeTypeTextMapper, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
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 vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeRayCastMapper, vtkQtTreeRingLabelMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkLabeledTreeMapDataMapper, vtkImageResliceMapper, vtkPolyDataMapper2D, vtkLabelPlacementMapper, vtkImageMapper3D, vtkProjectedAAHexahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkImageMapper, vtkTextMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkAbstractMapper3D, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkOpenGLImageMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkOpenGLFreeTypeTextMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkMapper2D, vtkOpenGLPolyDataMapper2D, and vtkOpenGLVolumeTextureMapper2D.
virtual unsigned long vtkAbstractMapper::GetMTime | ( | ) | [virtual] |
Override Modifiedtime as we have added Clipping planes
Reimplemented from vtkObject.
Reimplemented in vtkGraphMapper, vtkLabeledDataMapper, vtkPolyDataMapper2D, vtkImageResliceMapper, vtkQtTreeRingLabelMapper, vtkImageSliceMapper, vtkMapper, vtkDataSetMapper, and vtkImageMapper.
virtual void vtkAbstractMapper::ReleaseGraphicsResources | ( | vtkWindow * | ) | [inline, 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.
Reimplemented in vtkSmartVolumeMapper, vtkAMRVolumeMapper, vtkGPUVolumeRayCastMapper, vtkMoleculeMapper, vtkGraphMapper, vtkLabeledDataMapper, vtkVolumeRayCastMapper, vtkImageResliceMapper, vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkAbstractVolumeMapper, vtkMapper, vtkImageSliceMapper, vtkLabeledTreeMapDataMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkPistonMapper, vtkUnstructuredGridVolumeMapper, vtkOpenGLVolumeTextureMapper3D, vtkCompositePolyDataMapper, vtkImageMapper3D, vtkOpenGLProjectedAAHexahedraMapper, vtkDataSetMapper, vtkPainterPolyDataMapper, vtkOpenGLPolyDataMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLImageSliceMapper, and vtkOpenGLFreeTypeTextMapper.
Definition at line 63 of file vtkAbstractMapper.h.
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).
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 vtkPolyDataMapper2D, vtkMapper, vtkPolyDataMapper, and vtkPistonMapper.
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).
vtkTimerLog* vtkAbstractMapper::Timer [protected] |
Definition at line 107 of file vtkAbstractMapper.h.
double vtkAbstractMapper::TimeToDraw [protected] |
Definition at line 108 of file vtkAbstractMapper.h.
vtkWindow* vtkAbstractMapper::LastWindow [protected] |
Reimplemented in vtkOpenGLGlyph3DMapper.
Definition at line 109 of file vtkAbstractMapper.h.
vtkPlaneCollection* vtkAbstractMapper::ClippingPlanes [protected] |
Definition at line 110 of file vtkAbstractMapper.h.