#include <vtkPolyDataMapper2D.h>
Inheritance diagram for vtkPolyDataMapper2D:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetInput (vtkPolyData *) |
virtual vtkPolyData * | GetInput () |
void | SetLookupTable (vtkScalarsToColors *lut) |
vtkScalarsToColors * | GetLookupTable () |
virtual void | CreateDefaultLookupTable () |
virtual void | SetScalarVisibility (int) |
virtual int | GetScalarVisibility () |
virtual void | ScalarVisibilityOn () |
virtual void | ScalarVisibilityOff () |
virtual void | SetColorMode (int) |
virtual int | GetColorMode () |
void | SetColorModeToDefault () |
void | SetColorModeToMapScalars () |
void | SetColorModeToLuminance () |
const char * | GetColorModeAsString () |
virtual void | SetScalarRange (float, float) |
void | SetScalarRange (float[2]) |
virtual float * | GetScalarRange () |
virtual void | GetScalarRange (float data[2]) |
vtkScalars * | GetColors () |
virtual unsigned long | GetMTime () |
virtual void | SetTransformCoordinate (vtkCoordinate *) |
virtual vtkCoordinate * | GetTransformCoordinate () |
void | ShallowCopy (vtkPolyDataMapper2D *m) |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkPolyDataMapper2D * | SafeDownCast (vtkObject *o) |
vtkPolyDataMapper2D * | New () |
Protected Methods | |
vtkPolyDataMapper2D () | |
~vtkPolyDataMapper2D () | |
vtkPolyDataMapper2D (const vtkPolyDataMapper2D &) | |
void | operator= (const vtkPolyDataMapper2D &) |
Protected Attributes | |
vtkPolyData * | Input |
vtkScalars * | Colors |
vtkScalarsToColors * | LookupTable |
int | ScalarVisibility |
vtkTimeStamp | BuildTime |
float | ScalarRange [2] |
int | ColorMode |
vtkCoordinate * | TransformCoordinate |
vtkPolyDataMapper2D is a mapper that renders 3D polygonal data (vtkPolyData) onto the 2D image plane (i.e., the renderer's viewport). By default, the 3D data is transformed into 2D data by ignoring the z-coordinate of the 3D points in vtkPolyData, and taking the x-y values as local display values (i.e., pixel coordinates). Alternatively, you can provide a vtkCoordinate object that will transform the data into local display coordinates (use the vtkCoordinate::SetCoordinateSystem() methods to indicate which coordinate system you are transforming the data from).
|
Create default lookup table. Generally used to create one when none is available with the scalar data. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkMapper2D. Reimplemented in vtkWin32PolyDataMapper2D. |
|
Calculate and return the colors for the input. After invoking this method, use GetColor() on the scalar to get the scalar values. This method may return NULL if no color information is available. |
|
Overload standard modified time function. If lookup table is modified, then this object is modified as well. Reimplemented from vtkObject. |
|
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 vtkMapper2D. Reimplemented in vtkWin32PolyDataMapper2D. |
|
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 vtkMapper2D. Reimplemented in vtkWin32PolyDataMapper2D. |
|
Instantiate object with no start, end, or progress methods. Reimplemented from vtkMapper2D. Reimplemented in vtkWin32PolyDataMapper2D. |
|
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 vtkMapper2D. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkMapper2D. Reimplemented in vtkWin32PolyDataMapper2D. |
|
Control how the scalar data is mapped to colors. By default (ColorModeToDefault), scalars that are unsigned char types are treated as colors, and NOT mapped through the lookup table, while everything else is. Setting ColorModeToMapScalars means that all scalar data will be mapped through the lookup table. Setting ColorModeToLuminance means that scalars will be converted to luminance (gray values) using the luminance equation . (The ColorMode ivar is used with vtkScalars to map scalar data to colors. See vtkScalars::InitColorTraversal() for more information.) |
|
Set the input to the mapper. |
|
Specify a lookup table for the mapper to use. |
|
Specify range in terms of scalar minimum and maximum (smin,smax). These values are used to map scalars into lookup table. |
|
Turn on/off flag to control whether scalar data is used to color objects. |
|
Specify a vtkCoordinate object to be used to transform the vtkPolyData point coordinates. By default (no vtkCoordinate specified), the point coordinates are taken as local display coordinates. |
|
Make a shallow copy of this mapper. |