public class MoPredefinedColorMapping extends MoColorMapping
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.
MoColorMappingElement| Modifier and Type | Class and Description |
|---|---|
static class |
MoPredefinedColorMapping.PredefColorMapping
Predefined colormaps.
|
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFFloat |
maxValue
The max value defining the range of scalar values.
The default value is 1. |
SoSFFloat |
minValue
The min value defining the range of scalar values.
The default value is 0. |
SoSFEnum<MoPredefinedColorMapping.PredefColorMapping> |
predefColorMap
Use this field to specify a predefined color map.
|
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
MoPredefinedColorMapping()
Constructs a property node with initial color map set to
NONE (node
has no effect). |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction(SoAction action) |
MiColorMapping<java.lang.Double,java.awt.Color> |
getColorMapping()
Retrieves the interface to the color mapping object.
|
callback, distribute, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, rayPickaffectsState, copy, copy, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic SoSFFloat minValue
public SoSFFloat maxValue
public SoSFEnum<MoPredefinedColorMapping.PredefColorMapping> predefColorMap
| NONE | Default (node is ignored) |
| GREY or GRAY | ![]() |
| TEMPERATURE | ![]() |
| PHYSICS | ![]() |
| STANDARD | ![]() |
| GLOW | ![]() |
| BLUE_RED | ![]() |
| SEISMIC | ![]() |
| BLUE_WHITE_RED | ![]() |
| INTENSITY | ![]() |
Note: The checkerboard pattern shows through where the color map alpha (opacity) value is less than 1.0.
public MoPredefinedColorMapping()
NONE (node
has no effect).public MiColorMapping<java.lang.Double,java.awt.Color> getColorMapping()
public void doAction(SoAction action)
doAction in class MoColorMappingGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com