Class MoPredefinedColorMapping
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.misc.SoBase
com.openinventor.inventor.fields.SoFieldContainer
com.openinventor.inventor.nodes.SoNode
com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
com.openinventor.meshvizxlm.mapping.nodes.MoColorMapping
com.openinventor.meshvizxlm.mapping.nodes.MoPredefinedColorMapping
- All Implemented Interfaces:
SafeDisposable
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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumPredefined colormaps.Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionThe max value defining the range of scalar values.
The default value is 1.The min value defining the range of scalar values.
The default value is 0.Use this field to specify a predefined color map.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a property node with initial color map set toNONE(node has no effect). -
Method Summary
Modifier and TypeMethodDescriptionvoidRetrieves the interface to the color mapping object.Methods inherited from class com.openinventor.meshvizxlm.mapping.nodes.MoActionNode
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, getRenderEngineMode, GLRender, handleEvent, pick, rayPickMethods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
minValue
The min value defining the range of scalar values.
The default value is 0. -
maxValue
The max value defining the range of scalar values.
The default value is 1. -
predefColorMap
Use this field to specify a predefined color map.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.
-
-
Constructor Details
-
MoPredefinedColorMapping
public MoPredefinedColorMapping()Constructs a property node with initial color map set toNONE(node has no effect).
-
-
Method Details
-
getColorMapping
Retrieves the interface to the color mapping object.- Returns:
- color mapping interface
-
doAction
- Overrides:
doActionin classMoColorMapping
-