VTK
|
Abstract class for a volume mapper. More...
#include <vtkVolumeMapper.h>
Public Types | |
enum | { COMPOSITE_BLEND, MAXIMUM_INTENSITY_BLEND, MINIMUM_INTENSITY_BLEND, ADDITIVE_BLEND } |
typedef vtkAbstractVolumeMapper | Superclass |
![]() | |
typedef vtkAbstractMapper3D | Superclass |
![]() | |
typedef vtkAbstractMapper | Superclass |
![]() | |
typedef vtkAlgorithm | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Render (vtkRenderer *ren, vtkVolume *vol)=0 |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
virtual void | SetInput (vtkImageData *) |
virtual void | SetInput (vtkDataSet *) |
vtkImageData * | GetInput () |
virtual void | SetBlendMode (int) |
void | SetBlendModeToComposite () |
void | SetBlendModeToMaximumIntensity () |
void | SetBlendModeToMinimumIntensity () |
void | SetBlendModeToAdditive () |
virtual int | GetBlendMode () |
virtual void | SetCropping (int) |
virtual int | GetCropping () |
virtual void | CroppingOn () |
virtual void | CroppingOff () |
virtual void | SetCroppingRegionPlanes (double, double, double, double, double, double) |
virtual void | SetCroppingRegionPlanes (double[6]) |
virtual double * | GetCroppingRegionPlanes () |
virtual void | GetCroppingRegionPlanes (double data[6]) |
virtual double * | GetVoxelCroppingRegionPlanes () |
virtual void | GetVoxelCroppingRegionPlanes (double data[6]) |
virtual void | SetCroppingRegionFlags (int) |
virtual int | GetCroppingRegionFlags () |
void | SetCroppingRegionFlagsToSubVolume () |
void | SetCroppingRegionFlagsToFence () |
void | SetCroppingRegionFlagsToInvertedFence () |
void | SetCroppingRegionFlagsToCross () |
void | SetCroppingRegionFlagsToInvertedCross () |
![]() | |
const char * | GetScalarModeAsString () |
vtkDataSet * | GetDataSetInput () |
vtkDataObject * | GetDataObjectInput () |
virtual double * | GetBounds () |
virtual void | GetBounds (double bounds[6]) |
virtual void | SetScalarMode (int) |
virtual int | GetScalarMode () |
void | SetScalarModeToDefault () |
void | SetScalarModeToUsePointData () |
void | SetScalarModeToUseCellData () |
void | SetScalarModeToUsePointFieldData () |
void | SetScalarModeToUseCellFieldData () |
virtual void | SelectScalarArray (int arrayNum) |
virtual void | SelectScalarArray (const char *arrayName) |
virtual char * | GetArrayName () |
virtual int | GetArrayId () |
virtual int | GetArrayAccessMode () |
virtual float | GetGradientMagnitudeScale () |
virtual float | GetGradientMagnitudeBias () |
virtual float | GetGradientMagnitudeScale (int) |
virtual float | GetGradientMagnitudeBias (int) |
![]() | |
double | GetLength () |
virtual int | IsARayCastMapper () |
virtual int | IsARenderIntoImageMapper () |
double * | GetCenter () |
void | GetCenter (double center[3]) |
![]() | |
virtual unsigned long | GetMTime () |
void | SetClippingPlanes (vtkPlanes *planes) |
void | ShallowCopy (vtkAbstractMapper *m) |
virtual double | GetTimeToDraw () |
void | AddClippingPlane (vtkPlane *plane) |
void | RemoveClippingPlane (vtkPlane *plane) |
void | RemoveAllClippingPlanes () |
virtual void | SetClippingPlanes (vtkPlaneCollection *) |
virtual vtkPlaneCollection * | GetClippingPlanes () |
![]() | |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
virtual void | Update () |
virtual void | UpdateInformation () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Protected Attributes | |
int | BlendMode |
int | Cropping |
double | CroppingRegionPlanes [6] |
double | VoxelCroppingRegionPlanes [6] |
int | CroppingRegionFlags |
![]() | |
int | ScalarMode |
char * | ArrayName |
int | ArrayId |
int | ArrayAccessMode |
![]() | |
double | Bounds [6] |
double | Center [3] |
![]() | |
vtkTimerLog * | Timer |
double | TimeToDraw |
vtkWindow * | LastWindow |
vtkPlaneCollection * | ClippingPlanes |
![]() | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
unsigned long | ErrorCode |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
![]() | |
int | AbortExecute |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
Abstract class for a volume mapper.
vtkVolumeMapper is the abstract definition of a volume mapper for regular rectilinear data (vtkImageData). Several basic types of volume mappers are supported.
Definition at line 44 of file vtkVolumeMapper.h.
Definition at line 47 of file vtkVolumeMapper.h.
anonymous enum |
Enumerator | |
---|---|
COMPOSITE_BLEND | |
MAXIMUM_INTENSITY_BLEND | |
MINIMUM_INTENSITY_BLEND | |
ADDITIVE_BLEND |
Definition at line 134 of file vtkVolumeMapper.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkAbstractVolumeMapper.
Reimplemented in vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkVolumeRayCastMapper, vtkVolumeProVP1000Mapper, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
static |
|
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 vtkAbstractVolumeMapper.
Reimplemented in vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkVolumeRayCastMapper, vtkVolumeProVP1000Mapper, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
static |
|
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 vtkAbstractVolumeMapper.
Reimplemented in vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkVolumeRayCastMapper, vtkVolumeProVP1000Mapper, vtkVolumeTextureMapper, and vtkVolumeTextureMapper2D.
|
virtual |
Set/Get the input data
|
virtual |
Set/Get the input data
Reimplemented from vtkAbstractVolumeMapper.
vtkImageData* vtkVolumeMapper::GetInput | ( | ) |
Set/Get the input data
|
virtual |
Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.
Reimplemented in vtkVolumeProMapper.
|
inline |
Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.
Definition at line 65 of file vtkVolumeMapper.h.
|
inline |
Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.
Definition at line 67 of file vtkVolumeMapper.h.
|
inline |
Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.
Definition at line 69 of file vtkVolumeMapper.h.
|
inline |
Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.
Definition at line 71 of file vtkVolumeMapper.h.
|
virtual |
Set/Get the blend mode. Currently this is only supported by the vtkFixedPointVolumeRayCastMapper - other mappers have different ways to set this (supplying a function to a vtkVolumeRayCastMapper) or don't have any options (vtkVolumeTextureMapper2D supports only compositing). Additive blend mode adds scalars along the ray and multiply them by their opacity mapping value.
Reimplemented in vtkVolumeProMapper.
|
virtual |
Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.)
|
virtual |
Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.)
|
virtual |
Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.)
|
virtual |
Turn On/Off orthogonal cropping. (Clipping planes are perpendicular to the coordinate axes.)
|
virtual |
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.
|
virtual |
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.
|
virtual |
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.
|
virtual |
Set/Get the Cropping Region Planes ( xmin, xmax, ymin, ymax, zmin, zmax ) These planes are defined in volume coordinates - spacing and origin are considered.
|
virtual |
Get the cropping region planes in voxels. Only valid during the rendering process
|
virtual |
Get the cropping region planes in voxels. Only valid during the rendering process
|
virtual |
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.
|
virtual |
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.
|
inline |
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 110 of file vtkVolumeMapper.h.
|
inline |
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 112 of file vtkVolumeMapper.h.
|
inline |
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 114 of file vtkVolumeMapper.h.
|
inline |
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 116 of file vtkVolumeMapper.h.
|
inline |
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 118 of file vtkVolumeMapper.h.
|
pure virtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume
Implements vtkAbstractVolumeMapper.
Implemented in vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkVolumeTextureMapper3D, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
inlinevirtual |
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 vtkAbstractVolumeMapper.
Reimplemented in vtkSmartVolumeMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, and vtkOpenGLVolumeTextureMapper3D.
Definition at line 132 of file vtkVolumeMapper.h.
|
protected |
|
protectedvirtual |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAbstractVolumeMapper.
|
protected |
Definition at line 147 of file vtkVolumeMapper.h.
|
protected |
Definition at line 151 of file vtkVolumeMapper.h.
|
protected |
Definition at line 152 of file vtkVolumeMapper.h.
|
protected |
Definition at line 153 of file vtkVolumeMapper.h.
|
protected |
Definition at line 154 of file vtkVolumeMapper.h.