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(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 |
getValueAt(int i) |
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, 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 SoMFInstanceParameter(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public int find(SoInstanceParameter targetValue)
public SoInstanceParameter getValueAt(int i)
public void disableDeleteValues()
public void setValue(SoInstanceParameter newValue)
public boolean removeParameterByName(java.lang.String name)
public SoInstanceParameter findParameterByName(java.lang.String name)
public int find(SoInstanceParameter targetValue, boolean addIfNotFound)
public void set1Value(int index, SoInstanceParameter newValue)
public void setValues(int start, SoInstanceParameter[] newValues)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com