public class SoMFDataMeasure extends SoMField
SoDataMeasure
.
This field maintains a set of SoDataMeasure
instances An SoMFDataMeasure
is written to file as one or more SoDataMeasure
. When more than one value is present, all of the values are enclosed in square brackets and separated by commas.SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMFDataMeasure(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disableDeleteValues()
Temporary disable value deleting.
|
boolean |
equals(java.lang.Object obj) |
int |
find(SoDataMeasure targetValue)
Calls find(targetValue, false).
|
int |
find(SoDataMeasure targetValue,
boolean addIfNotFound)
Finds the given
targetValue in the array and returns the index of that value.
|
SoDataMeasure |
findMeasureByName(java.lang.String measureName)
Find the first measure with the given measure name.
|
SoDataMeasure |
getValueAt(int i) |
void |
set1Value(int index,
SoDataMeasure newValue)
Sets the
index'th value in the array to
newValue.
|
void |
setValue(SoDataMeasure newValue)
Sets the first value in the array to
newValue, and deletes.
|
void |
setValues(int start,
SoDataMeasure[] newValues)
Sets
num values starting at index
start to the values.
|
deleteValues, deleteValues, get1, getNum, insertSpace, set1, setNum
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
dispose, getNativeResourceHandle
public SoMFDataMeasure(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public int find(SoDataMeasure targetValue)
public void disableDeleteValues()
public void setValue(SoDataMeasure newValue)
public SoDataMeasure findMeasureByName(java.lang.String measureName)
public void set1Value(int index, SoDataMeasure newValue)
public SoDataMeasure getValueAt(int i)
public void setValues(int start, SoDataMeasure[] newValues)
public int find(SoDataMeasure targetValue, boolean addIfNotFound)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com