VTK
|
abstract class specifies interface to map 3D data More...
#include <vtkAbstractMapper3D.h>
Public Types | |
typedef vtkAbstractMapper | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkAbstractMapper3D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual double * | GetBounds ()=0 |
virtual void | GetBounds (double bounds[6]) |
double | GetLength () |
int | GetNumberOfClippingPlanes () |
double * | GetCenter () |
void | GetCenter (double center[3]) |
virtual int | IsARayCastMapper () |
virtual int | IsARenderIntoImageMapper () |
void | GetClippingPlaneInDataCoords (vtkMatrix4x4 *propMatrix, int i, double planeEquation[4]) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAbstractMapper3D * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkAbstractMapper3D () | |
~vtkAbstractMapper3D () | |
Protected Attributes | |
double | Bounds [6] |
double | Center [3] |
abstract class specifies interface to map 3D data
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 41 of file vtkAbstractMapper3D.h.
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
Definition at line 44 of file vtkAbstractMapper3D.h.
vtkAbstractMapper3D::vtkAbstractMapper3D | ( | ) | [protected] |
vtkAbstractMapper3D::~vtkAbstractMapper3D | ( | ) | [inline, protected] |
Definition at line 95 of file vtkAbstractMapper3D.h.
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
static vtkAbstractMapper3D* vtkAbstractMapper3D::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
virtual vtkObjectBase* vtkAbstractMapper3D::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkUnstructuredGridVolumeRayCastMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
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 vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkGraphMapper, vtkProjectedTetrahedraMapper, vtkImageResliceMapper, vtkImageMapper3D, vtkProjectedAAHexahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMoleculeMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkOpenGLImageSliceMapper, vtkGPUVolumeRayCastMapper, vtkPistonMapper, vtkOpenGLGlyph3DMapper, vtkAMRVolumeMapper, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkCompositePolyDataMapper2, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, and vtkOpenGLVolumeTextureMapper2D.
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 vtkMapper, vtkGraphMapper, vtkMoleculeMapper, vtkGlyph3DMapper, vtkImageResliceMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkPistonMapper, vtkAMRVolumeMapper, vtkCompositePolyDataMapper, and vtkAbstractVolumeMapper.
virtual void vtkAbstractMapper3D::GetBounds | ( | double | bounds[6] | ) | [virtual] |
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Reimplemented in vtkMapper, vtkMoleculeMapper, vtkGlyph3DMapper, vtkImageResliceMapper, vtkImageSliceMapper, vtkPolyDataMapper, vtkPistonMapper, vtkAMRVolumeMapper, vtkCompositePolyDataMapper, and vtkAbstractVolumeMapper.
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 58 of file vtkAbstractMapper3D.h.
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 71 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 79 of file vtkAbstractMapper3D.h.
void vtkAbstractMapper3D::GetClippingPlaneInDataCoords | ( | vtkMatrix4x4 * | propMatrix, |
int | i, | ||
double | planeEquation[4] | ||
) |
Get the ith clipping plane as a homogeneous plane equation. Use GetNumberOfClippingPlanes to get the number of planes.
Get the number of clipping planes.
double vtkAbstractMapper3D::Bounds[6] [protected] |
Reimplemented in vtkAMRVolumeMapper.
Definition at line 97 of file vtkAbstractMapper3D.h.
double vtkAbstractMapper3D::Center[3] [protected] |
Definition at line 98 of file vtkAbstractMapper3D.h.