public class PbNonLinearDataMapping2 extends PbDataMapping implements java.lang.Cloneable
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)
Modifier and Type | Class and Description |
---|---|
static class |
PbNonLinearDataMapping2.Types
Type of data mapping.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
LINEAR_PER_LEVEL
Deprecated.
Use
PbNonLinearDataMapping2.Types.LINEAR_PER_LEVEL instead. |
static int |
NON_LINEAR_PER_LEVEL
Deprecated.
Use
PbNonLinearDataMapping2.Types.NON_LINEAR_PER_LEVEL instead. |
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PbNonLinearDataMapping2()
Default constructor.
|
PbNonLinearDataMapping2(PbNonLinearDataMapping2 nonLinearDataMap2)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.nio.FloatBuffer |
getDirectRGBColorsList()
Gets the list of RGB colors defining the current non linear data mapping.
|
java.nio.FloatBuffer |
getDirectTransparencyList()
Gets the list of transparencies defining the current non linear data mapping.
|
java.nio.FloatBuffer |
getDirectValuesList()
Gets the list of values defining the current non linear data mapping.
|
SbColor[] |
getRGBColorsList()
Gets the list of RGB colors defining the current non linear data mapping.
|
float[] |
getTransparencyList()
Gets the list of transparencies defining the current non linear data mapping.
|
PbNonLinearDataMapping2.Types |
getType()
Returns the data mapping type.
|
float[] |
getValuesList()
Gets the list of values defining the current non linear data mapping.
|
void |
setValues(PbNonLinearDataMapping2.Types type,
float[] v,
SbColor[] c)
Sets non linear function for data mapping, with RGB color.
|
void |
setValues(PbNonLinearDataMapping2.Types type,
float[] v,
SbColor[] c,
float[] t)
Sets non linear function for data mapping, with RGB color and transparencies.
|
enableThresholds, enableTransparency, getHLSColor, getTransparencyValueDeletedParts, isTransparencyEnabled, setMaxThreshold, setMaxThreshold, setMaxThreshold, setMaxThreshold, setMaxThreshold, setMinThreshold, setMinThreshold, setMinThreshold, setMinThreshold, setMinThreshold, setTransparencyValueDeletedParts, thresholdsEnabled
enableConnection, isConnectionEnabled, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int NON_LINEAR_PER_LEVEL
PbNonLinearDataMapping2.Types.NON_LINEAR_PER_LEVEL
instead.@Deprecated public static final int LINEAR_PER_LEVEL
PbNonLinearDataMapping2.Types.LINEAR_PER_LEVEL
instead.public PbNonLinearDataMapping2()
public PbNonLinearDataMapping2(PbNonLinearDataMapping2 nonLinearDataMap2)
public java.lang.Object clone()
clone
in class java.lang.Object
public void setValues(PbNonLinearDataMapping2.Types type, float[] v, SbColor[] c)
public java.nio.FloatBuffer getDirectRGBColorsList()
public void setValues(PbNonLinearDataMapping2.Types type, float[] v, SbColor[] c, float[] t)
public java.nio.FloatBuffer getDirectTransparencyList()
public float[] getValuesList()
public SbColor[] getRGBColorsList()
public PbNonLinearDataMapping2.Types getType()
public float[] getTransparencyList()
public java.nio.FloatBuffer getDirectValuesList()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com