MoPredefinedColorMapping Class Reference
[Attributes]

MeshViz Property node that selects a predefined color mapping. More...

#include <MeshVizXLM/mapping/nodes/MoPredefinedColorMapping.h>

Inheritance diagram for MoPredefinedColorMapping:
MoColorMapping MoActionNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description

MeshViz Property node that selects a predefined color mapping.

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.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

MoCombineColorMapping, MoCustomColorMapping, MoLevelColorMapping, MoLinearColorMapping

See related examples:

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


Member Enumeration Documentation

Predefined colormaps.

Enumerator:
NONE 

Turn off color mapping (Default value).

GREY 

Greyscale color map.

TEMPERATURE 

Temperature color map.

PHYSICS 

Physics color map.

STANDARD 

Standard color map.

GLOW 

Glow color map.

BLUE_RED 

Blue to Red color map.

SEISMIC 

Seismic color map.

BLUE_WHITE_RED 

Blue to White to Red color map.

INTENSITY 

Intensity color map.

RAINBOW_TURBO 

Turbo (improved rainbow) color map.


Constructor & Destructor Documentation

MoPredefinedColorMapping::MoPredefinedColorMapping (  ) 

Constructor.

The initial color map is NONE (node has no effect).


Member Function Documentation

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.


Member Data Documentation

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
grayColorMap.jpg
TEMPERATURE
temperatureColorMap.jpg
PHYSICS
physicsColorMap.jpg
STANDARD
standardColorMap.jpg
GLOW
glowColorMap.jpg
BLUE_RED
blue_redcolormap.jpg
SEISMIC
seismicColorMap.jpg
BLUE_WHITE_RED
blue_white_redcolormap.jpg
INTENSITY
intensityColorMap.jpg
RAINBOW_TURBO
turboColorMap.jpg

NOTE: The checkerboard pattern shows through where the color map alpha (opacity) value is less than 1.0.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/