VTK
|
abstract class specifies interface to map data More...
#include <vtkAbstractMapper.h>
Public Types | |
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 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 | |
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 data
vtkAbstractMapper is an abstract class to specify interface between data and graphics primitives or software rendering techniques. Subclasses of vtkAbstractMapper can be used for rendering 2D data, geometry, or volumetric data.
Definition at line 50 of file vtkAbstractMapper.h.
Definition at line 53 of file vtkAbstractMapper.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeProVP1000Mapper, vtkQtTreeRingLabelMapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkAbstractMapper3D, vtkImageMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkMesaFreeTypeTextMapper, vtkOpenGLFreeTypeTextMapper, vtkOpenGLImageMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkMesaImageMapper, vtkMapper2D, vtkMesaPolyDataMapper2D, vtkOpenGLPolyDataMapper2D, 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 vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeProVP1000Mapper, vtkQtTreeRingLabelMapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkAbstractMapper3D, vtkImageMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkMesaFreeTypeTextMapper, vtkOpenGLFreeTypeTextMapper, vtkOpenGLImageMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkMesaImageMapper, vtkMapper2D, vtkMesaPolyDataMapper2D, vtkOpenGLPolyDataMapper2D, 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 vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeProVP1000Mapper, vtkQtTreeRingLabelMapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkAbstractMapper3D, vtkImageMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkMesaFreeTypeTextMapper, vtkOpenGLFreeTypeTextMapper, vtkOpenGLImageMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkMesaImageMapper, vtkMapper2D, vtkMesaPolyDataMapper2D, vtkOpenGLPolyDataMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
static |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkDynamic2DLabelMapper, vtkVolumeProVP1000Mapper, vtkQtTreeRingLabelMapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkLabeledTreeMapDataMapper, vtkProjectedTetrahedraMapper, vtkLabelPlacementMapper, vtkPolyDataMapper2D, vtkUnstructuredGridVolumeRayCastMapper, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkGPUVolumeRayCastMapper, vtkAbstractMapper3D, vtkImageMapper, vtkOpenGLGlyph3DMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkMesaFreeTypeTextMapper, vtkOpenGLFreeTypeTextMapper, vtkOpenGLImageMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkMesaImageMapper, vtkMapper2D, vtkMesaPolyDataMapper2D, vtkOpenGLPolyDataMapper2D, 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 vtkAlgorithm.
Reimplemented in vtkHAVSVolumeMapper, vtkOpenGLHAVSVolumeMapper, vtkSmartVolumeMapper, vtkFixedPointVolumeRayCastMapper, vtkVolumeProMapper, vtkVolumeTextureMapper3D, vtkMapper, vtkVolumeRayCastMapper, vtkLabeledDataMapper, vtkUnstructuredGridVolumeZSweepMapper, vtkVolumeProVP1000Mapper, vtkDynamic2DLabelMapper, vtkQtTreeRingLabelMapper, vtkGraphMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkProjectedTetrahedraMapper, vtkLabeledTreeMapDataMapper, vtkLabelPlacementMapper, vtkOpenGLGlyph3DMapper, vtkPolyDataMapper2D, vtkOpenGLVolumeProVP1000Mapper, vtkProjectedAAHexahedraMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkVolumeMapper, vtkCompositePolyDataMapper, vtkTextMapper, vtkDataSetMapper, vtkPolyDataMapper, vtkImageMapper, vtkGPUVolumeRayCastMapper, vtkAbstractMapper3D, vtkMesaFreeTypeTextMapper, vtkOpenGLFreeTypeTextMapper, vtkOpenGLVolumeTextureMapper3D, vtkGlyph3DMapper, vtkOpenGLImageMapper, vtkUnstructuredGridVolumeMapper, vtkHierarchicalPolyDataMapper, vtkVolumeTextureMapper, vtkAbstractVolumeMapper, vtkPainterPolyDataMapper, vtkVolumeTextureMapper2D, vtkMesaImageMapper, vtkMapper2D, vtkMesaPolyDataMapper2D, vtkOpenGLPolyDataMapper2D, vtkCompositePolyDataMapper2, vtkMesaVolumeTextureMapper2D, and vtkOpenGLVolumeTextureMapper2D.
|
virtual |
Override Modifiedtime as we have added Clipping planes
Reimplemented from vtkObject.
Reimplemented in vtkGraphMapper, vtkLabeledDataMapper, vtkPolyDataMapper2D, vtkQtTreeRingLabelMapper, vtkMapper, vtkDataSetMapper, and vtkImageMapper.
|
inlinevirtual |
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 in vtkSmartVolumeMapper, vtkGraphMapper, vtkGPUVolumeRayCastMapper, vtkVolumeRayCastMapper, vtkLabeledDataMapper, vtkOpenGLHAVSVolumeMapper, vtkVolumeMapper, vtkUnstructuredGridVolumeRayCastMapper, vtkAbstractVolumeMapper, vtkMapper, vtkLabeledTreeMapDataMapper, vtkOpenGLGPUVolumeRayCastMapper, vtkOpenGLVolumeTextureMapper3D, vtkUnstructuredGridVolumeMapper, vtkCompositePolyDataMapper, vtkOpenGLProjectedAAHexahedraMapper, vtkDataSetMapper, vtkPainterPolyDataMapper, vtkMesaPolyDataMapper, vtkOpenGLPolyDataMapper, vtkOpenGLGlyph3DMapper, vtkMesaProjectedTetrahedraMapper, vtkOpenGLProjectedTetrahedraMapper, vtkMesaFreeTypeTextMapper, and vtkOpenGLFreeTypeTextMapper.
Definition at line 62 of file vtkAbstractMapper.h.
|
virtual |
Get the time required to draw the geometry last time it was rendered
void vtkAbstractMapper::AddClippingPlane | ( | vtkPlane * | plane | ) |
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).
void vtkAbstractMapper::RemoveClippingPlane | ( | vtkPlane * | plane | ) |
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).
void vtkAbstractMapper::RemoveAllClippingPlanes | ( | ) |
Specify clipping planes to be applied when the data is mapped (at most 6 clipping planes can be specified).
|
virtual |
Get/Set the vtkPlaneCollection which specifies the clipping planes.
|
virtual |
Get/Set the vtkPlaneCollection which specifies the clipping planes.
void vtkAbstractMapper::SetClippingPlanes | ( | vtkPlanes * | planes | ) |
An alternative way to set clipping planes: use up to six planes found in the supplied instance of the implicit function vtkPlanes.
void vtkAbstractMapper::ShallowCopy | ( | vtkAbstractMapper * | m | ) |
Make a shallow copy of this mapper.
Reimplemented in vtkPolyDataMapper2D, vtkMapper, and vtkPolyDataMapper.
|
static |
Internal helper function for getting the active scalars. The scalar mode indicates where the scalars come from. The cellFlag is a return value that is set when the scalars actually are cell scalars. (0 for point scalars, 1 for cell scalars, 2 for field scalars) The arrayAccessMode is used to indicate how to retrieve the scalars from field data, per id or per name (if the scalarMode indicates that).
|
protected |
Definition at line 106 of file vtkAbstractMapper.h.
|
protected |
Definition at line 107 of file vtkAbstractMapper.h.
|
protected |
Definition at line 108 of file vtkAbstractMapper.h.
|
protected |
Definition at line 109 of file vtkAbstractMapper.h.