#include <vtkAbstractMapper3D.h>
vtkAbstractMapper3D is an abstract class to specify interface between 3D data and graphics primitives or software rendering techniques. Subclasses of vtkAbstractMapper3D can be used for rendering geometry or rendering volumetric data.
This class also defines an API to support hardware clipping planes (at most six planes can be defined). It also provides geometric data about the input data it maps, such as the bounding box and center.
Definition at line 39 of file vtkAbstractMapper3D.h.
Public Types | |
typedef vtkAbstractMapper | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double * | GetBounds ()=0 |
virtual void | GetBounds (double bounds[6]) |
double | GetLength () |
virtual int | IsARayCastMapper () |
virtual int | IsARenderIntoImageMapper () |
double * | GetCenter () |
void | GetCenter (double center[3]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAbstractMapper3D * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkAbstractMapper3D () | |
~vtkAbstractMapper3D () | |
Protected Attributes | |
double | Bounds [6] |
double | Center [3] |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkHierarchicalPolyDataMapper, vtkMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkFixedPointVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.
Definition at line 42 of file vtkAbstractMapper3D.h.
vtkAbstractMapper3D::vtkAbstractMapper3D | ( | ) | [protected] |
vtkAbstractMapper3D::~vtkAbstractMapper3D | ( | ) | [inline, protected] |
Definition at line 77 of file vtkAbstractMapper3D.h.
virtual const char* vtkAbstractMapper3D::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkHierarchicalPolyDataMapper, vtkMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkFixedPointVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.
static int vtkAbstractMapper3D::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 vtkAbstractMapper.
Reimplemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkHierarchicalPolyDataMapper, vtkMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkFixedPointVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.
virtual int vtkAbstractMapper3D::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 vtkAbstractMapper.
Reimplemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkHierarchicalPolyDataMapper, vtkMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkFixedPointVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.
static vtkAbstractMapper3D* vtkAbstractMapper3D::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkHierarchicalPolyDataMapper, vtkMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkFixedPointVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.
void vtkAbstractMapper3D::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 vtkAbstractMapper.
Reimplemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkDataSetMapper, vtkHierarchicalPolyDataMapper, vtkMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkPainterPolyDataMapper, vtkPolyDataMapper, vtkFixedPointVolumeRayCastMapper, vtkHAVSVolumeMapper, vtkMesaProjectedTetrahedraMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLHAVSVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkOpenGLVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, and vtkVolumeTextureMapper3D.
virtual double* vtkAbstractMapper3D::GetBounds | ( | ) | [pure virtual] |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax). Update this->Bounds as a side effect.
Implemented in vtkGraphMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkMapper, vtkPainterPolyDataMapper, and vtkPolyDataMapper.
virtual void vtkAbstractMapper3D::GetBounds | ( | double | bounds[6] | ) | [virtual] |
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Reimplemented in vtkAbstractVolumeMapper, vtkCompositePolyDataMapper, vtkCompositePolyDataMapper2, vtkMapper, vtkPainterPolyDataMapper, and vtkPolyDataMapper.
double* vtkAbstractMapper3D::GetCenter | ( | ) |
Return the Center of this mapper's data.
void vtkAbstractMapper3D::GetCenter | ( | double | center[3] | ) | [inline] |
Return the Center of this mapper's data.
Definition at line 56 of file vtkAbstractMapper3D.h.
double vtkAbstractMapper3D::GetLength | ( | ) |
Return the diagonal length of this mappers bounding box.
virtual int vtkAbstractMapper3D::IsARayCastMapper | ( | ) | [inline, virtual] |
Is this a ray cast mapper? A subclass would return 1 if the ray caster is needed to generate an image from this mapper.
Definition at line 68 of file vtkAbstractMapper3D.h.
virtual int vtkAbstractMapper3D::IsARenderIntoImageMapper | ( | ) | [inline, virtual] |
Is this a "render into image" mapper? A subclass would return 1 if the mapper produces an image by rendering into a software image buffer.
Definition at line 73 of file vtkAbstractMapper3D.h.
double vtkAbstractMapper3D::Bounds[6] [protected] |
Definition at line 77 of file vtkAbstractMapper3D.h.
double vtkAbstractMapper3D::Center[3] [protected] |
Definition at line 80 of file vtkAbstractMapper3D.h.