#include <vtkVolumeMapper.h>
Inheritance diagram for vtkVolumeMapper:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent index) |
virtual void | Update () |
void | SetInput (vtkImageData *) |
vtkImageData * | GetInput () |
virtual void | SetCropping (int) |
virtual int | GetCropping () |
virtual void | CroppingOn () |
virtual void | CroppingOff () |
virtual void | SetCroppingRegionPlanes (float, float, float, float, float, float) |
virtual void | SetCroppingRegionPlanes (float[6]) |
virtual float * | GetCroppingRegionPlanes () |
virtual void | GetCroppingRegionPlanes (float data[6]) |
virtual void | SetCroppingRegionFlags (int) |
virtual int | GetCroppingRegionFlags () |
void | SetCroppingRegionFlagsToSubVolume () |
void | SetCroppingRegionFlagsToFence () |
void | SetCroppingRegionFlagsToInvertedFence () |
void | SetCroppingRegionFlagsToCross () |
void | SetCroppingRegionFlagsToInvertedCross () |
void | SetRGBTextureInput (vtkImageData *rgbTexture) |
virtual vtkImageData * | GetRGBTextureInput () |
virtual float * | GetBounds () |
virtual void | GetBounds (float bounds[6]) |
virtual float | GetGradientMagnitudeScale () |
virtual float | GetGradientMagnitudeBias () |
virtual void | Render (vtkRenderer *ren, vtkVolume *vol)=0 |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
virtual float * | GetRGBAPixelData () |
virtual int | GetMapperType ()=0 |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkVolumeMapper * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkVolumeMapper () | |
~vtkVolumeMapper () | |
vtkVolumeMapper (const vtkVolumeMapper &) | |
void | operator= (const vtkVolumeMapper &) |
Protected Attributes | |
int | Cropping |
float | CroppingRegionPlanes [6] |
int | CroppingRegionFlags |
vtkTimeStamp | BuildTime |
vtkVolumeMapper is the abstract definition of a volume mapper. Several basic types of volume mappers are supported. There are ray casters, which produce an image that must be merged with geometry, there are hardware methods that blend with geometry, and some combinations of these.
Definition at line 76 of file vtkVolumeMapper.h.
|
|
|
|
|
Definition at line 164 of file vtkVolumeMapper.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 vtkAbstractMapper3D. Reimplemented in vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, 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 vtkAbstractMapper3D. Reimplemented in vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, 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 vtkAbstractMapper3D. Reimplemented in vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, 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 vtkAbstractMapper3D. Reimplemented in vtkOpenGLVolumeProVG500Mapper, vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, 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 vtkAbstractMapper3D. Reimplemented in vtkVolumeProMapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
Update the volume rendering pipeline by updating the scalar input Reimplemented from vtkAbstractMapper3D. Reimplemented in vtkVolumeTextureMapper. |
|
Set/Get the input data |
|
|
|
Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.) |
|
|
|
|
|
|
|
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) |
|
|
|
|
|
|
|
Set the flags for the cropping regions. The clipping planes divide the volume into 27 regions - there is one bit for each region. The regions start from the one containing voxel (0,0,0), moving along the x axis fastest, the y axis next, and the z axis slowest. These are represented from the lowest bit to bit number 27 in the integer containing the flags. There are several convenience functions to set some common configurations - subvolume (the default), fence (between any of the clip plane pairs), inverted fence, cross (between any two of the clip plane pairs) and inverted cross. |
|
|
|
Definition at line 111 of file vtkVolumeMapper.h. |
|
Definition at line 113 of file vtkVolumeMapper.h. |
|
Definition at line 115 of file vtkVolumeMapper.h. |
|
Definition at line 117 of file vtkVolumeMapper.h. |
|
Definition at line 119 of file vtkVolumeMapper.h. |
|
Set/Get the rgb texture input data |
|
|
|
Return bounding box (array of six floats) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax). Reimplemented from vtkAbstractMapper3D. |
|
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). Reimplemented from vtkAbstractMapper3D. Definition at line 129 of file vtkVolumeMapper.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper. Definition at line 135 of file vtkVolumeMapper.h. |
|
Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper. Definition at line 136 of file vtkVolumeMapper.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume Reimplemented in vtkVolumeProMapper, vtkVolumeProVG500Mapper, vtkMesaVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper2D, vtkVolumeRayCastMapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE 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 from vtkAbstractMapper. Reimplemented in vtkVolumeRayCastMapper. Definition at line 147 of file vtkVolumeMapper.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE If this is a render into image mapper, then we need to be able to get the image Definition at line 151 of file vtkVolumeMapper.h. |
|
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Return the type of this mapper. This helps the volume determine which rendering methods the mapper will respond to. Reimplemented in vtkVolumeProMapper, vtkVolumeRayCastMapper, and vtkVolumeTextureMapper. |
|
Definition at line 165 of file vtkVolumeMapper.h. |
|
Definition at line 167 of file vtkVolumeMapper.h. |
|
Definition at line 168 of file vtkVolumeMapper.h. |
|
Definition at line 169 of file vtkVolumeMapper.h. |
|
Definition at line 170 of file vtkVolumeMapper.h. |