VTK
|
Abstract class for a volume mapper. More...
#include <vtkAbstractVolumeMapper.h>
Public Types | |
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) |
const char * | GetScalarModeAsString () |
virtual void | Render (vtkRenderer *ren, vtkVolume *vol)=0 |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
virtual void | SetInput (vtkDataSet *) |
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 | 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.
vtkAbstractVolumeMapper is the abstract definition of a volume mapper. Specific subclasses deal with different specific types of data input
Definition at line 36 of file vtkAbstractVolumeMapper.h.
Definition at line 39 of file vtkAbstractVolumeMapper.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkAbstractMapper3D.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkVolumeMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkUnstructuredGridVolumeMapper, 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 vtkAbstractMapper3D.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkVolumeMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkUnstructuredGridVolumeMapper, 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 vtkAbstractMapper3D.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkVolumeMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkUnstructuredGridVolumeMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
virtual |
Set/Get the input data
Reimplemented in vtkVolumeMapper, and vtkUnstructuredGridVolumeMapper.
vtkDataSet* vtkAbstractVolumeMapper::GetDataSetInput | ( | ) |
Set/Get the input data
vtkDataObject* vtkAbstractVolumeMapper::GetDataObjectInput | ( | ) |
Set/Get the input data
|
virtual |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Implements vtkAbstractMapper3D.
|
inlinevirtual |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Reimplemented from vtkAbstractMapper3D.
Definition at line 53 of file vtkAbstractVolumeMapper.h.
|
virtual |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
|
virtual |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
|
inline |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
Definition at line 69 of file vtkAbstractVolumeMapper.h.
|
inline |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
Definition at line 71 of file vtkAbstractVolumeMapper.h.
|
inline |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
Definition at line 73 of file vtkAbstractVolumeMapper.h.
|
inline |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
Definition at line 75 of file vtkAbstractVolumeMapper.h.
|
inline |
Control how the mapper works with scalar point data and cell attribute data. By default (ScalarModeToDefault), the mapper will use point data, and if no point data is available, then cell data is used. Alternatively you can explicitly set the mapper to use point data (ScalarModeToUsePointData) or cell data (ScalarModeToUseCellData). You can also choose to get the scalars from an array in point field data (ScalarModeToUsePointFieldData) or cell field data (ScalarModeToUseCellFieldData). If scalars are coming from a field data array, you must call SelectScalarArray.
Definition at line 77 of file vtkAbstractVolumeMapper.h.
|
virtual |
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array to use during rendering. The transfer function in the vtkVolumeProperty (attached to the calling vtkVolume) will decide how to convert vectors to colors.
|
virtual |
When ScalarMode is set to UsePointFieldData or UseCellFieldData, you can specify which scalar array to use during rendering. The transfer function in the vtkVolumeProperty (attached to the calling vtkVolume) will decide how to convert vectors to colors.
|
inlinevirtual |
Get the array name or number and component to use for rendering.
Definition at line 92 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
Get the array name or number and component to use for rendering.
Definition at line 93 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
Get the array name or number and component to use for rendering.
Definition at line 94 of file vtkAbstractVolumeMapper.h.
const char* vtkAbstractVolumeMapper::GetScalarModeAsString | ( | ) |
Return the method for obtaining scalar data.
|
inlinevirtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE
Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper.
Definition at line 103 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE
Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper.
Definition at line 104 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE
Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper.
Definition at line 105 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE
Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper.
Definition at line 106 of file vtkAbstractVolumeMapper.h.
|
pure virtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Render the volume
Implemented in vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeTextureMapper3D, vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeProVP1000Mapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkUnstructuredGridVolumeMapper, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, 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 vtkAbstractMapper.
Reimplemented in vtkSmartVolumeMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkUnstructuredGridVolumeMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, and vtkOpenGLProjectedTetrahedraMapper.
Definition at line 118 of file vtkAbstractVolumeMapper.h.
|
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 vtkAlgorithm.
Reimplemented in vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, and vtkUnstructuredGridVolumeMapper.
|
protected |
Definition at line 129 of file vtkAbstractVolumeMapper.h.
|
protected |
Definition at line 130 of file vtkAbstractVolumeMapper.h.
|
protected |
Definition at line 131 of file vtkAbstractVolumeMapper.h.
|
protected |
Definition at line 132 of file vtkAbstractVolumeMapper.h.