#include <vtkAbstractMapper3D.h>
Inheritance diagram for vtkAbstractMapper3D:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual float * | GetBounds ()=0 |
virtual void | GetBounds (float bounds[6]) |
float * | GetCenter () |
float | GetLength () |
virtual int | IsARayCastMapper () |
virtual int | IsARenderIntoImageMapper () |
virtual void | Update ()=0 |
void | AddClippingPlane (vtkPlane *plane) |
void | RemoveClippingPlane (vtkPlane *plane) |
void | RemoveAllClippingPlanes () |
virtual void | SetClippingPlanes (vtkPlaneCollection *) |
virtual vtkPlaneCollection * | GetClippingPlanes () |
void | SetClippingPlanes (vtkPlanes *planes) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkAbstractMapper3D * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkAbstractMapper3D () | |
~vtkAbstractMapper3D () | |
vtkAbstractMapper3D (const vtkAbstractMapper3D &) | |
void | operator= (const vtkAbstractMapper3D &) |
Protected Attributes | |
float | Bounds [6] |
float | Center [3] |
vtkPlaneCollection * | ClippingPlanes |
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 69 of file vtkAbstractMapper3D.h.
|
|
|
|
|
Definition at line 117 of file vtkAbstractMapper3D.h. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAbstractMapper. Reimplemented in vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkDataSetMapper, vtkMapper, vtkMesaPolyDataMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLPolyDataMapper, vtkOpenGLVolumeTextureMapper2D, vtkPolyDataMapper, vtkVolumeMapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
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 vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkDataSetMapper, vtkMapper, vtkMesaPolyDataMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLPolyDataMapper, vtkOpenGLVolumeTextureMapper2D, vtkPolyDataMapper, vtkVolumeMapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
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 vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkDataSetMapper, vtkMapper, vtkMesaPolyDataMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLPolyDataMapper, vtkOpenGLVolumeTextureMapper2D, vtkPolyDataMapper, vtkVolumeMapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAbstractMapper. Reimplemented in vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkDataSetMapper, vtkMapper, vtkMesaPolyDataMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLPolyDataMapper, vtkOpenGLVolumeTextureMapper2D, vtkPolyDataMapper, vtkVolumeMapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
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 vtkVolumeProMapper, vtkDataSetMapper, vtkMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, vtkPolyDataMapper, vtkVolumeMapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
Return bounding box (array of six floats) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax). Reimplemented in vtkMapper, and vtkVolumeMapper. Referenced by vtkVolumeMapper::GetBounds(), and vtkMapper::GetBounds().
|
|
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). Reimplemented in vtkMapper, and vtkVolumeMapper. |
|
Return the Center of this mapper's data. |
|
Return the diagonal length of this mappers bounding box. |
|
Is this a ray cast mapper? A subclass would return 1 if the ray caster is needed to generate an image from this mapper. Reimplemented in vtkVolumeRayCastMapper. Definition at line 90 of file vtkAbstractMapper3D.h. |
|
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 95 of file vtkAbstractMapper3D.h. |
|
Update the network connected to this mapper. Reimplemented in vtkMapper, vtkPolyDataMapper, vtkVolumeMapper, and vtkVolumeTextureMapper. |
|
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified). |
|
|
|
|
|
Get/Set the vtkPlaneCollection which specifies the clipping planes. |
|
|
|
An alternative way to set clipping planes: use up to six planes found in the supplied instance of the implicit function vtkPlanes. |
|
Definition at line 118 of file vtkAbstractMapper3D.h. |
|
Definition at line 120 of file vtkAbstractMapper3D.h. |
|
Definition at line 121 of file vtkAbstractMapper3D.h. |
|
Definition at line 123 of file vtkAbstractMapper3D.h. |