VTK
|
abstract class specifies interface to map 3D data More...
#include <vtkAbstractMapper3D.h>
Public Types | |
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 double * | GetBounds ()=0 |
virtual void | GetBounds (double bounds[6]) |
double | GetLength () |
virtual int | IsARayCastMapper () |
virtual int | IsARenderIntoImageMapper () |
double * | GetCenter () |
void | GetCenter (double center[3]) |
![]() | |
virtual unsigned long | GetMTime () |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
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 | |
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 specifies interface to map 3D data
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 39 of file vtkAbstractMapper3D.h.
Definition at line 42 of file vtkAbstractMapper3D.h.
|
protected |
|
inlineprotected |
Definition at line 77 of file vtkAbstractMapper3D.h.
|
virtual |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
static |
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 vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
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 vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
static |
Reimplemented from vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
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 vtkAbstractMapper.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
pure virtual |
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax). Update this->Bounds as a side effect.
Implemented in vtkMapper, vtkGraphMapper, vtkGlyph3DMapper, vtkPolyDataMapper, vtkCompositePolyDataMapper, and vtkAbstractVolumeMapper.
|
virtual |
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Reimplemented in vtkMapper, vtkGlyph3DMapper, vtkPolyDataMapper, vtkCompositePolyDataMapper, and vtkAbstractVolumeMapper.
double* vtkAbstractMapper3D::GetCenter | ( | ) |
Return the Center of this mapper's data.
|
inline |
Return the Center of this mapper's data.
Definition at line 56 of file vtkAbstractMapper3D.h.
double vtkAbstractMapper3D::GetLength | ( | ) |
Return the diagonal length of this mappers bounding box.
|
inlinevirtual |
Is this a ray cast mapper? A subclass would return 1 if the ray caster is needed to generate an image from this mapper.
Definition at line 68 of file vtkAbstractMapper3D.h.
|
inlinevirtual |
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 73 of file vtkAbstractMapper3D.h.
|
protected |
Definition at line 77 of file vtkAbstractMapper3D.h.
|
protected |
Definition at line 80 of file vtkAbstractMapper3D.h.