|
virtual int | IsA (const char *type) |
|
vtkMapper * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | ShallowCopy (vtkAbstractMapper *m) |
|
unsigned long | GetMTime () |
|
virtual void | Render (vtkRenderer *ren, vtkActor *a)=0 |
|
virtual void | ReleaseGraphicsResources (vtkWindow *) |
|
virtual void | CreateDefaultLookupTable () |
|
const char * | GetColorModeAsString () |
|
virtual void | SetScalarMode (int) |
|
virtual int | GetScalarMode () |
|
void | SetScalarModeToDefault () |
|
void | SetScalarModeToUsePointData () |
|
void | SetScalarModeToUseCellData () |
|
void | SetScalarModeToUsePointFieldData () |
|
void | SetScalarModeToUseCellFieldData () |
|
void | SetScalarModeToUseFieldData () |
|
virtual void | SetFieldDataTupleId (vtkIdType) |
|
virtual vtkIdType | GetFieldDataTupleId () |
|
const char * | GetScalarModeAsString () |
|
const char * | GetScalarMaterialModeAsString () |
|
virtual int | CanUseTextureMapForColoring (vtkDataObject *input) |
|
|
void | SetLookupTable (vtkScalarsToColors *lut) |
|
vtkScalarsToColors * | GetLookupTable () |
|
|
virtual void | SetScalarVisibility (int) |
|
virtual int | GetScalarVisibility () |
|
virtual void | ScalarVisibilityOn () |
|
virtual void | ScalarVisibilityOff () |
|
|
virtual void | SetStatic (int) |
|
virtual int | GetStatic () |
|
virtual void | StaticOn () |
|
virtual void | StaticOff () |
|
|
virtual void | SetColorMode (int) |
|
virtual int | GetColorMode () |
|
void | SetColorModeToDefault () |
|
void | SetColorModeToMapScalars () |
|
void | SetColorModeToDirectScalars () |
|
|
virtual void | SetInterpolateScalarsBeforeMapping (int) |
|
virtual int | GetInterpolateScalarsBeforeMapping () |
|
virtual void | InterpolateScalarsBeforeMappingOn () |
|
virtual void | InterpolateScalarsBeforeMappingOff () |
|
|
virtual void | SetUseLookupTableScalarRange (int) |
|
virtual int | GetUseLookupTableScalarRange () |
|
virtual void | UseLookupTableScalarRangeOn () |
|
virtual void | UseLookupTableScalarRangeOff () |
|
|
virtual void | SetScalarRange (double, double) |
|
void | SetScalarRange (double[2]) |
|
virtual double * | GetScalarRange () |
|
virtual void | GetScalarRange (double data[2]) |
|
|
virtual void | SetImmediateModeRendering (int) |
|
virtual int | GetImmediateModeRendering () |
|
virtual void | ImmediateModeRenderingOn () |
|
virtual void | ImmediateModeRenderingOff () |
|
|
virtual int | GetForceCompileOnly () |
|
void | SetForceCompileOnly (int value) |
|
|
void | SelectColorArray (int arrayNum) |
|
void | SelectColorArray (const char *arrayName) |
|
|
void | ColorByArrayComponent (int arrayNum, int component) |
|
void | ColorByArrayComponent (const char *arrayName, int component) |
|
|
char * | GetArrayName () |
|
int | GetArrayId () |
|
int | GetArrayAccessMode () |
|
int | GetArrayComponent () |
|
|
virtual double * | GetBounds () |
|
virtual void | GetBounds (double bounds[6]) |
|
|
void | SetRenderTime (double time) |
|
virtual double | GetRenderTime () |
|
|
vtkDataSet * | GetInput () |
|
|
vtkDataSet * | GetInputAsDataSet () |
|
|
virtual vtkUnsignedCharArray * | MapScalars (double alpha) |
|
virtual vtkUnsignedCharArray * | MapScalars (vtkDataSet *input, double alpha) |
|
|
virtual void | SetScalarMaterialMode (int) |
|
virtual int | GetScalarMaterialMode () |
|
void | SetScalarMaterialModeToDefault () |
|
void | SetScalarMaterialModeToAmbient () |
|
void | SetScalarMaterialModeToDiffuse () |
|
void | SetScalarMaterialModeToAmbientAndDiffuse () |
|
|
virtual bool | GetIsOpaque () |
|
|
virtual bool | GetSupportsSelection () |
|
vtkAbstractMapper3D * | NewInstance () const |
|
double | GetLength () |
|
int | GetNumberOfClippingPlanes () |
|
double * | GetCenter () |
|
void | GetCenter (double center[3]) |
|
virtual int | IsARayCastMapper () |
|
virtual int | IsARenderIntoImageMapper () |
|
void | GetClippingPlaneInDataCoords (vtkMatrix4x4 *propMatrix, int i, double planeEquation[4]) |
|
vtkAbstractMapper * | NewInstance () const |
|
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 () |
|
vtkAlgorithm * | NewInstance () const |
|
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) |
|
virtual void | RemoveInputConnection (int port, int idx) |
|
virtual void | RemoveAllInputConnections (int port) |
|
int | GetNumberOfInputConnections (int port) |
|
int | GetTotalNumberOfInputConnections () |
|
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
|
vtkAlgorithm * | GetInputAlgorithm (int port, int index, int &algPort) |
|
vtkAlgorithm * | GetInputAlgorithm (int port, int index) |
|
vtkExecutive * | GetInputExecutive (int port, int index) |
|
vtkInformation * | GetInputInformation (int port, int index) |
|
vtkInformation * | GetOutputInformation (int port) |
|
virtual void | UpdateInformation () |
|
virtual void | UpdateDataObject () |
|
virtual void | PropagateUpdateExtent () |
|
virtual void | UpdateWholeExtent () |
|
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
|
int | SetUpdateExtentToWholeExtent (int port) |
|
int | SetUpdateExtentToWholeExtent () |
|
void | SetUpdateExtent (int port, int extent[6]) |
|
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) |
|
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
|
virtual void | SetInputDataObject (vtkDataObject *data) |
|
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
|
virtual void | AddInputDataObject (vtkDataObject *data) |
|
vtkAlgorithmOutput * | GetOutputPort (int index) |
|
vtkAlgorithmOutput * | GetOutputPort () |
|
vtkAlgorithm * | GetInputAlgorithm () |
|
vtkExecutive * | GetInputExecutive () |
|
vtkInformation * | GetInputInformation () |
|
virtual void | Update (int port) |
|
virtual void | Update () |
|
virtual void | SetReleaseDataFlag (int) |
|
virtual int | GetReleaseDataFlag () |
|
void | ReleaseDataFlagOn () |
|
void | ReleaseDataFlagOff () |
|
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
|
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
|
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
|
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
|
void | SetUpdateExtent (int extent[6]) |
|
int * | GetUpdateExtent () |
|
int * | GetUpdateExtent (int port) |
|
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
|
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
|
void | GetUpdateExtent (int extent[6]) |
|
void | GetUpdateExtent (int port, int extent[6]) |
|
int | GetUpdatePiece () |
|
int | GetUpdatePiece (int port) |
|
int | GetUpdateNumberOfPieces () |
|
int | GetUpdateNumberOfPieces (int port) |
|
int | GetUpdateGhostLevel () |
|
int | GetUpdateGhostLevel (int port) |
|
void | SetProgressObserver (vtkProgressObserver *) |
|
virtual vtkProgressObserver * | GetProgressObserver () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool 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) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(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 &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
static int | IsTypeOf (const char *type) |
|
static vtkMapper * | SafeDownCast (vtkObjectBase *o) |
|
|
static void | SetGlobalImmediateModeRendering (int val) |
|
static void | GlobalImmediateModeRenderingOn () |
|
static void | GlobalImmediateModeRenderingOff () |
|
static int | GetGlobalImmediateModeRendering () |
|
|
static void | SetResolveCoincidentTopology (int val) |
|
static int | GetResolveCoincidentTopology () |
|
static void | SetResolveCoincidentTopologyToDefault () |
|
static void | SetResolveCoincidentTopologyToOff () |
|
static void | SetResolveCoincidentTopologyToPolygonOffset () |
|
static void | SetResolveCoincidentTopologyToShiftZBuffer () |
|
|
static void | SetResolveCoincidentTopologyPolygonOffsetParameters (double factor, double units) |
|
static void | GetResolveCoincidentTopologyPolygonOffsetParameters (double &factor, double &units) |
|
|
static void | SetResolveCoincidentTopologyPolygonOffsetFaces (int faces) |
|
static int | GetResolveCoincidentTopologyPolygonOffsetFaces () |
|
|
static void | SetResolveCoincidentTopologyZShift (double val) |
|
static double | GetResolveCoincidentTopologyZShift () |
|
static int | IsTypeOf (const char *type) |
|
static vtkAbstractMapper3D * | SafeDownCast (vtkObjectBase *o) |
|
static int | IsTypeOf (const char *type) |
|
static vtkAbstractMapper * | SafeDownCast (vtkObjectBase *o) |
|
static vtkDataArray * | GetScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag) |
|
static vtkAbstractArray * | GetAbstractScalars (vtkDataSet *input, int scalarMode, int arrayAccessMode, int arrayId, const char *arrayName, int &cellFlag) |
|
static vtkAlgorithm * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkAlgorithm * | SafeDownCast (vtkObjectBase *o) |
|
static vtkInformationIntegerKey * | INPUT_IS_OPTIONAL () |
|
static vtkInformationIntegerKey * | INPUT_IS_REPEATABLE () |
|
static vtkInformationInformationVectorKey * | INPUT_REQUIRED_FIELDS () |
|
static vtkInformationStringVectorKey * | INPUT_REQUIRED_DATA_TYPE () |
|
static vtkInformationInformationVectorKey * | INPUT_ARRAYS_TO_PROCESS () |
|
static vtkInformationIntegerKey * | INPUT_PORT () |
|
static vtkInformationIntegerKey * | INPUT_CONNECTION () |
|
static vtkInformationIntegerKey * | CAN_PRODUCE_SUB_EXTENT () |
|
static vtkInformationIntegerKey * | CAN_HANDLE_PIECE_REQUEST () |
|
static void | SetDefaultExecutivePrototype (vtkExecutive *proto) |
|
static int | IsTypeOf (const char *type) |
|
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
|
static vtkObject * | New () |
|
static void | BreakOnError () |
|
static void | SetGlobalWarningDisplay (int val) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static int | GetGlobalWarningDisplay () |
|
static int | IsTypeOf (const char *name) |
|
static vtkObjectBase * | New () |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkMapper () |
|
| ~vtkMapper () |
|
void | MapScalarsToTexture (vtkAbstractArray *scalars, double alpha) |
|
| vtkAbstractMapper3D () |
|
| ~vtkAbstractMapper3D () |
|
| vtkAbstractMapper () |
|
| ~vtkAbstractMapper () |
|
| vtkAlgorithm () |
|
| ~vtkAlgorithm () |
|
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
|
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
|
virtual void | SetNumberOfInputPorts (int n) |
|
virtual void | SetNumberOfOutputPorts (int n) |
|
int | InputPortIndexInRange (int index, const char *action) |
|
int | OutputPortIndexInRange (int index, const char *action) |
|
int | GetInputArrayAssociation (int idx, vtkInformationVector **inputVector) |
|
virtual vtkExecutive * | CreateDefaultExecutive () |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
virtual void | SetNumberOfInputConnections (int port, int n) |
|
int | GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector) |
|
int | GetInputArrayAssociation (int idx, vtkDataObject *input) |
|
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector) |
|
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
|
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
|
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
|
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input) |
|
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input, int &association) |
|
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector) |
|
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
|
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
|
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
|
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input) |
|
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association) |
|
vtkInformation * | GetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector) |
|
virtual void | SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input) |
|
void | SetInputDataInternal (int port, vtkDataObject *input) |
|
void | AddInputDataInternal (int port, vtkDataObject *input) |
|
virtual void | SetErrorCode (unsigned long) |
|
| vtkObject () |
|
virtual | ~vtkObject () |
|
virtual void | RegisterInternal (vtkObjectBase *, int check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
|
void | InternalReleaseFocus () |
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | CollectRevisions (ostream &) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
abstract class specifies interface to map data to graphics primitives
vtkMapper is an abstract class to specify interface between data and graphics primitives. Subclasses of vtkMapper map data through a lookuptable and control the creation of rendering primitives that interface to the graphics library. The mapping can be controlled by supplying a lookup table and specifying a scalar range to map data through.
There are several important control mechanisms affecting the behavior of this object. The ScalarVisibility flag controls whether scalar data (if any) controls the color of the associated actor(s) that refer to the mapper. The ScalarMode ivar is used to determine whether scalar point data or cell data is used to color the object. By default, point data scalars are used unless there are none, in which cell scalars are used. Or you can explicitly control whether to use point or cell scalar data. Finally, the mapping of scalars through the lookup table varies depending on the setting of the ColorMode flag. See the documentation for the appropriate methods for an explanation.
Another important feature of this class is whether to use immediate mode rendering (ImmediateModeRenderingOn) or display list rendering (ImmediateModeRenderingOff). If display lists are used, a data structure is constructed (generally in the rendering library) which can then be rapidly traversed and rendered by the rendering library. The disadvantage of display lists is that they require additionally memory which may affect the performance of the system.
Another important feature of the mapper is the ability to shift the z-buffer to resolve coincident topology. For example, if you'd like to draw a mesh with some edges a different color, and the edges lie on the mesh, this feature can be useful to get nice looking lines. (See the ResolveCoincidentTopology-related methods.)
- See also
- vtkDataSetMapper vtkPolyDataMapper
- Examples:
- vtkMapper (Examples)
- Tests:
- vtkMapper (Tests)
Definition at line 89 of file vtkMapper.h.