VTK
|
Abstract class for a volume mapper. More...
#include <vtkAbstractVolumeMapper.h>
Public Types | |
typedef vtkAbstractMapper3D | Superclass |
Public Types inherited from vtkAbstractMapper3D | |
typedef vtkAbstractMapper | Superclass |
Public Types inherited from vtkAbstractMapper | |
typedef vtkAlgorithm | Superclass |
Public Types inherited from vtkAlgorithm | |
typedef vtkObject | Superclass |
enum | DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION } |
Public Types inherited from vtkObject | |
typedef vtkObjectBase | Superclass |
Protected Attributes | |
int | ScalarMode |
char * | ArrayName |
int | ArrayId |
int | ArrayAccessMode |
Protected Attributes inherited from vtkAbstractMapper3D | |
double | Bounds [6] |
double | Center [3] |
Protected Attributes inherited from vtkAbstractMapper | |
vtkTimerLog * | Timer |
double | TimeToDraw |
vtkWindow * | LastWindow |
vtkPlaneCollection * | ClippingPlanes |
Protected Attributes inherited from vtkAlgorithm | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
vtkProgressObserver * | ProgressObserver |
unsigned long | ErrorCode |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
Public Attributes inherited from vtkAlgorithm | |
int | AbortExecute |
Static Protected Member Functions inherited from vtkAlgorithm | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
Static Protected Attributes inherited from vtkAlgorithm | |
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 37 of file vtkAbstractVolumeMapper.h.
Definition at line 40 of file vtkAbstractVolumeMapper.h.
|
protected |
|
protected |
|
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, vtkSmartVolumeMapper, vtkVolumeTextureMapper3D, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLProjectedTetrahedraMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkVolumeMapper, vtkGPUVolumeRayCastMapper, vtkAMRVolumeMapper, vtkUnstructuredGridVolumeMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLVolumeTextureMapper2D, and vtkOpenGLGPUVolumeRayCastMapper.
|
static |
|
protectedvirtual |
Reimplemented from vtkAbstractMapper3D.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkSmartVolumeMapper, vtkVolumeTextureMapper3D, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLProjectedTetrahedraMapper, vtkProjectedAAHexahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkVolumeMapper, vtkGPUVolumeRayCastMapper, vtkAMRVolumeMapper, vtkUnstructuredGridVolumeMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLVolumeTextureMapper2D, and vtkOpenGLGPUVolumeRayCastMapper.
vtkAbstractVolumeMapper* vtkAbstractVolumeMapper::NewInstance | ( | ) | const |
|
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, vtkSmartVolumeMapper, vtkVolumeTextureMapper3D, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkProjectedAAHexahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkVolumeMapper, vtkGPUVolumeRayCastMapper, vtkAMRVolumeMapper, vtkUnstructuredGridVolumeMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLVolumeTextureMapper2D, and vtkOpenGLGPUVolumeRayCastMapper.
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.
Reimplemented in vtkAMRVolumeMapper.
|
inlinevirtual |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
Reimplemented from vtkAbstractMapper3D.
Reimplemented in vtkAMRVolumeMapper.
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.
Reimplemented in vtkAMRVolumeMapper.
|
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.
Reimplemented in vtkAMRVolumeMapper.
|
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.
Reimplemented in vtkAMRVolumeMapper.
|
inlinevirtual |
Get the array name or number and component to use for rendering.
Reimplemented in vtkAMRVolumeMapper.
Definition at line 92 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
Get the array name or number and component to use for rendering.
Reimplemented in vtkAMRVolumeMapper.
Definition at line 93 of file vtkAbstractVolumeMapper.h.
|
inlinevirtual |
Get the array name or number and component to use for rendering.
Reimplemented in vtkAMRVolumeMapper.
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.
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE
Reimplemented in vtkVolumeRayCastMapper, and vtkVolumeTextureMapper.
Definition at line 105 of file vtkAbstractVolumeMapper.h.
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, vtkSmartVolumeMapper, vtkAMRVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeTextureMapper3D, vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkVolumeTextureMapper, vtkVolumeTextureMapper2D, vtkUnstructuredGridVolumeMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLVolumeTextureMapper3D, 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 vtkFixedPointVolumeRayCastMapper, vtkSmartVolumeMapper, vtkSmartVolumeMapper, vtkAMRVolumeMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkUnstructuredGridVolumeMapper, vtkOpenGLVolumeTextureMapper3D, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, and vtkOpenGLGPUVolumeRayCastMapper.
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 vtkAMRVolumeMapper, 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.