public class SoSFArray extends SoSField
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoSFArray.Array3D |
static class |
SoSFArray.CopyPolicies
SoSFArray may be manipulating some large amounts of memory. |
static class |
SoSFArray.DataTypes
Supported data type enumeration values.
|
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFArray(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getData()
Returns a read-only pointer to the array's values .
|
SoSFArray.DataTypes |
getDataType()
Returns the data type of the array.
|
SbVec3i32 |
getSize()
Returns the dimensions of the array.
|
SoSFArray.Array3D |
getValue()
Returns a read-only pointer to the array's values and its dimensions and data type.
|
boolean |
isEmpty()
Returns true if the current array is empty.
|
boolean |
isNeverWrite()
Returns the "neverWrite" flag.
|
void |
setNeverWrite(boolean neverWrite)
Sets the "neverWrite" flag.
|
void |
setValue(SbVec3i32 size,
SbDataType dataType,
java.nio.ByteBuffer data)
Calls setValue(size, dataType, data, SoSFArray.CopyPolicies.valueOf( SoSFArray.CopyPolicies.COPY.getValue() )).
|
void |
setValue(SbVec3i32 size,
SbDataType dataType,
java.nio.ByteBuffer data,
SoSFArray.CopyPolicies copy)
Fill the array with data of the specified dimensions and type using the specified copy policy.
|
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 SoSFArray(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public void setValue(SbVec3i32 size, SbDataType dataType, java.nio.ByteBuffer data)
public java.nio.ByteBuffer getData()
public SoSFArray.DataTypes getDataType()
public void setValue(SbVec3i32 size, SbDataType dataType, java.nio.ByteBuffer data, SoSFArray.CopyPolicies copy)
public boolean isEmpty()
public void setNeverWrite(boolean neverWrite)
public boolean isNeverWrite()
public SbVec3i32 getSize()
public SoSFArray.Array3D getValue()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com