public abstract class PoDataMapping extends PoNode
Whatever data mapping, two threshold values can be defined, minThreshold and maxThreshold. One color (minThresholdColor) and one transparency (minThresholdTransparency) are associated to minThreshold. As well, maxThresholdColor and maxThresholdTransparency are associated to maxThreshold. For a given value vi <= minThreshold, the associated color ci is minThresholdColor and the associated transparency ti is minThresholdTransparency. As well, for a given value vi >= maxThreshold, the associated color ci is maxThresholdColor and the associated transparency ti is maxThresholdTransparency.
File format/default:
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 |
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFFloat |
maxThreshold
Maximum threshold value.
|
SoSFColor |
maxThresholdColor
Color associated to values >= maxThreshold.
|
SoSFBool |
maxThresholdEnabled
Defines if the maximum threshold is enabled.
|
SoSFFloat |
maxThresholdTransparency
Transparency associated to values >= maxThreshold.
|
SoSFFloat |
minThreshold
Minimum threshold value.
|
SoSFColor |
minThresholdColor
Color associated to values <= minThreshold.
|
SoSFBool |
minThresholdEnabled
Defines if the minimum threshold is enabled.
|
SoSFFloat |
minThresholdTransparency
Transparency associated to values <= minThreshold.
|
SoSFBool |
transparencyEnabled
Enable/Disable the taking into account of transparency.
|
SoSFFloat |
transparencyValueDeletedParts
Each primitive part of which transparency >= transparencyValueDeletedParts, is deleted.
|
VERBOSE_LEVEL, ZeroHandle
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
public final SoSFBool minThresholdEnabled
public final SoSFFloat minThreshold
public final SoSFColor minThresholdColor
public final SoSFFloat minThresholdTransparency
public final SoSFBool maxThresholdEnabled
public final SoSFFloat maxThreshold
public final SoSFColor maxThresholdColor
public final SoSFFloat maxThresholdTransparency
public final SoSFBool transparencyEnabled
Note: DataMapping does not support data PER_CELL binding when transparencyEnabled is set to true and transparencyValueDeletedParts <= 1.0.
public final SoSFFloat transparencyValueDeletedParts
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com