public class PoNonLinearDataMapping2 extends PoDataMapping
PoDataMapping
node is traversed.
This node defines a non linear association between colors, transparencies and floating-point values. In other words, this association is defined by 2 functions F(c,v) and F(c,t):
There are two ways to express F(c,v)(V):F(c,v)(V) = C (with c being a color and v being a value). F(t,v)(V) = T (with t being a transparency and v being a value).
There are as well, two ways to express F(t,v)(V)
File format/default:
type | LINEAR_PER_LEVEL |
value | 0 |
color | 0 0 0 |
transparency | 0 |
minThresholdEnabled | false |
minThreshold | 0 |
minThresholdColor | 0 0 0 |
minThresholdTransparency | 0.0 |
maxThresholdEnabled | false |
maxThreshold | 1 |
maxThresholdColor | 0 0 0 |
maxThresholdTransparency | 0.0 |
transparencyEnabled | false |
transparencyValueDeletedParts | 0.95 |
Modifier and Type | Class and Description |
---|---|
static class |
PoNonLinearDataMapping2.Types
Data mapping type.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoMFColor |
color
Defines the list of colors for the data mapping.
|
static int |
LINEAR_PER_LEVEL
Deprecated.
Use
PoNonLinearDataMapping2.Types.LINEAR_PER_LEVEL instead. |
static int |
NON_LINEAR_PER_LEVEL
Deprecated.
Use
PoNonLinearDataMapping2.Types.NON_LINEAR_PER_LEVEL instead. |
SoMFFloat |
transparency
Defines the list of transparencies for the data mapping.
|
SoSFEnum<PoNonLinearDataMapping2.Types> |
type
Defines the type of data mapping.
|
SoMFFloat |
value
Defines the list of values for the data mapping.
|
maxThreshold, maxThresholdColor, maxThresholdEnabled, maxThresholdTransparency, minThreshold, minThresholdColor, minThresholdEnabled, minThresholdTransparency, transparencyEnabled, transparencyValueDeletedParts
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoNonLinearDataMapping2()
Constructor.
|
callback, doAction, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, search, write
affectsState, copy, copy, distribute, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, setOverride, touch
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int NON_LINEAR_PER_LEVEL
PoNonLinearDataMapping2.Types.NON_LINEAR_PER_LEVEL
instead.@Deprecated public static final int LINEAR_PER_LEVEL
PoNonLinearDataMapping2.Types.LINEAR_PER_LEVEL
instead.public final SoSFEnum<PoNonLinearDataMapping2.Types> type
public final SoMFFloat value
public final SoMFColor color
public final SoMFFloat transparency
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com