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
Modifier and Type | Field and Description |
---|---|
static int |
COPY
Deprecated.
Use
SoSFArray.CopyPolicies.COPY instead. |
static int |
FLOAT
Deprecated.
Use
SoSFArray.DataTypes.FLOAT instead. |
static int |
NO_COPY
Deprecated.
Use
SoSFArray.CopyPolicies.NO_COPY instead. |
static int |
SIGNED_BYTE
Deprecated.
Use
SoSFArray.DataTypes.SIGNED_BYTE instead. |
static int |
SIGNED_INT32
Deprecated.
Use
SoSFArray.DataTypes.SIGNED_INT32 instead. |
static int |
SIGNED_SHORT
Deprecated.
Use
SoSFArray.DataTypes.SIGNED_SHORT instead. |
static int |
UNSIGNED_BYTE
Deprecated.
Use
SoSFArray.DataTypes.UNSIGNED_BYTE instead. |
static int |
UNSIGNED_INT32
Deprecated.
Use
SoSFArray.DataTypes.UNSIGNED_INT32 instead. |
static int |
UNSIGNED_SHORT
Deprecated.
Use
SoSFArray.DataTypes.UNSIGNED_SHORT instead. |
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFArray()
Deprecated.
As of Open Inventor 9.3 Use constructor with SoFieldContainer instead.
|
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.
|
long |
getValueSize()
Returns the size in bytes of one data value, e.g.
|
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, 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 static final int COPY
SoSFArray.CopyPolicies.COPY
instead.@Deprecated public static final int NO_COPY
SoSFArray.CopyPolicies.NO_COPY
instead.@Deprecated public static final int UNSIGNED_BYTE
SoSFArray.DataTypes.UNSIGNED_BYTE
instead.@Deprecated public static final int UNSIGNED_SHORT
SoSFArray.DataTypes.UNSIGNED_SHORT
instead.@Deprecated public static final int UNSIGNED_INT32
SoSFArray.DataTypes.UNSIGNED_INT32
instead.@Deprecated public static final int SIGNED_BYTE
SoSFArray.DataTypes.SIGNED_BYTE
instead.@Deprecated public static final int SIGNED_SHORT
SoSFArray.DataTypes.SIGNED_SHORT
instead.@Deprecated public static final int SIGNED_INT32
SoSFArray.DataTypes.SIGNED_INT32
instead.@Deprecated public static final int FLOAT
SoSFArray.DataTypes.FLOAT
instead.@Deprecated public SoSFArray()
public SoSFArray(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public void setValue(SbVec3i32 size, SbDataType dataType, java.nio.ByteBuffer data)
public SoSFArray.Array3D getValue()
public boolean isNeverWrite()
public SbVec3i32 getSize()
public long getValueSize()
public void setNeverWrite(boolean neverWrite)
public void setValue(SbVec3i32 size, SbDataType dataType, java.nio.ByteBuffer data, SoSFArray.CopyPolicies copy)
public boolean isEmpty()
public java.nio.ByteBuffer getData()
public SoSFArray.DataTypes getDataType()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com