public class SoMFInstanceParameter extends SoMField
SoInstanceParameter
nodes.
This field contains a set of SoInstanceParameter
instances.
An SoMFInstanceParameter
is written to file as one or more SoInstanceParameters. When more than one value is present, all of the values are enclosed in square brackets and separated by commas.
Convenience methods, for example setColors(), are provide to more easily set commonly used instance parameters.
See also:
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMFInstanceParameter()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
SoMFInstanceParameter(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(SoInstanceParameter targetValue)
Calls find(targetValue, false).
|
int |
find(SoInstanceParameter targetValue,
boolean addIfNotFound)
Finds the given
targetValue in the array and returns the index of that value.
|
SoInstanceParameter |
findParameterByName(java.lang.String name)
Returns the first parameter with the specified name.
|
SoInstanceParameter |
get1Value(int i)
Deprecated.
|
SoInstanceParameter |
getValueAt(int i) |
long |
getValueSize()
Get size of the value.
|
boolean |
removeParameterByName(java.lang.String name)
Remove the instance parameter with the specified name.
|
void |
set1Value(int index,
SoInstanceParameter newValue)
Sets the
index'th value in the array to
newValue.
|
void |
setValue(SoInstanceParameter newValue)
Sets the first value in the array to
newValue, and deletes.
|
void |
setValues(int start,
SoInstanceParameter[] newValues)
Sets
num values starting at index
start to the values.
|
deleteValues, deleteValues, get1, getNum, insertSpace, set1, setNum
appendConnection, appendConnection, appendConnection, connectFrom, connectFrom, connectFrom, disconnect, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getConnectedVRMLInterp, getContainer, getNumConnections, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public SoMFInstanceParameter()
public SoMFInstanceParameter(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public int find(SoInstanceParameter targetValue)
@Deprecated public SoInstanceParameter get1Value(int i)
public long getValueSize()
getValueSize
in class SoMField
public SoInstanceParameter findParameterByName(java.lang.String name)
public void disableDeleteValues()
public SoInstanceParameter getValueAt(int i)
public boolean removeParameterByName(java.lang.String name)
public void setValue(SoInstanceParameter newValue)
public int find(SoInstanceParameter targetValue, boolean addIfNotFound)
public void set1Value(int index, SoInstanceParameter newValue)
public void setValues(int start, SoInstanceParameter[] newValues)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com