public class SoMFVec2String extends SoMField
SoMFVec2String
are written to file as one or more pairs of String point values separated by whitespace. When more than one value is present, all of the values are enclosed in square brackets and separated by commas. When a string value contains a white space it should be enclosed by double quote for example:
[ toto truc, "hello man" test ]
Data copying: SoMF fields are a kind of "smart container", automatically expanding as necessary to hold the data provided by the application. This is very convenient, but for large blocks of data it may be desireable to avoid making a copy of the application data. The setValuesBuffer() methods allow Open Inventor to directly use an array of values supplied by the application. The application data is not copied. Please see SoMFVec3f
for more information and example code.
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMFVec2String()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
SoMFVec2String(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) |
long |
getValueSize()
Get size of the value.
|
void |
set1Value(int index,
java.lang.String s1,
java.lang.String s2)
Sets one value from 2 String.
|
void |
setValue(java.lang.String s1,
java.lang.String s2)
Sets to one value from 2 String.
|
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 SoMFVec2String()
public SoMFVec2String(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public long getValueSize()
getValueSize
in class SoMField
public void disableDeleteValues()
public void setValue(java.lang.String s1, java.lang.String s2)
public void set1Value(int index, java.lang.String s1, java.lang.String s2)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com