Property node that selects a predefined color mapping. More...
#include <MeshVizXLM/mapping/nodes/MoPredefinedColorMapping.h>
Public Types | |
enum | PredefColorMapping { NONE, GREY, TEMPERATURE, PHYSICS, STANDARD, GLOW, BLUE_RED, SEISMIC, BLUE_WHITE_RED, INTENSITY, RAINBOW_TURBO } |
Public Member Functions | |
virtual SoType | getTypeId () const |
MoPredefinedColorMapping () | |
const MiColorMapping< double, SbColorRGBA > * | getColorMapping () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFEnum | predefColorMap |
| |
SoSFFloat | minValue |
SoSFFloat | maxValue |
The range of the scalar values must be given to adjust the color map to the scalar set. If a value is less than minValue, the first color in the map is used. If a value is greater than maxValue, the last color in the map is used. If a value is between minValue and maxValue, linear interpolation is used to determine the color.
minValue | 0 |
maxValue | 1 |
predefColorMap | NONE |
MoCombineColorMapping, MoCustomColorMapping, MoLevelColorMapping, MoLinearColorMapping
EclipseMeshViz, PEBIMeshViz, QuadraticWheelHexa27, Turbine, TessellatedLine, TessellatedPolyhedralMesh, TessellatedSkin, TessellatedSurface, CellShape, ClipLineOnSkin, ElevatedPlaneSLice, GridPlaneSlice, InterpolatedLogicalSlice, Isoline, IsolineOnIsosurface, Legend, LogicalSlice, Outline, PolyhedralIsosurface, Polyhedron, QuadraticHexa20, QuadraticHexa27, QuadraticLine, QuadraticSkin, QuadraticSurface, QuadraticTetra10, QuadraticTube, QuadraticWedge18, QuadraticWheelHexa20, QuadraticWheelTetra10, QuadraticWheelWedge18, SampleLine, SampleSurface, SphereCylinderPlaneSlices, Streamlines, SurfaceCellFilter, Vectors, VolumeMesh, WheelHexa8
Predefined colormaps.
MoPredefinedColorMapping::MoPredefinedColorMapping | ( | ) |
Constructor.
The initial color map is NONE (node has no effect).
static SoType MoPredefinedColorMapping::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from MoColorMapping.
const MiColorMapping<double,SbColorRGBA>* MoPredefinedColorMapping::getColorMapping | ( | ) |
Retrieves the interface to the color mapping object.
virtual SoType MoPredefinedColorMapping::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from MoColorMapping.
The min and max values defining the range of scalar values.
Default values are 0 and 1.
The min and max values defining the range of scalar values.
Default values are 0 and 1.
Predefined color map to use.
Use enum PredefColorMapping. Default is NONE.
NONE | Default (node is ignored) |
GREY or GRAY | |
TEMPERATURE | |
PHYSICS | |
STANDARD | |
GLOW | |
BLUE_RED | |
SEISMIC | |
BLUE_WHITE_RED | |
INTENSITY | |
RAINBOW_TURBO | |
NOTE: The checkerboard pattern shows through where the color map alpha (opacity) value is less than 1.0.