public class SoSFArray3D extends SoSFArray
setValue
method allows you to specify the dimensions and type of data the array will contain, as well as the number of significant bits. The CopyPolicy allows you to control whether Open Inventor will make a copy of the data and, if not, whether the application or Open Inventor is responsible for managing the memory.
In ASCII format, an SoSFArray3D
is written to file in the following format:
See also:2 2 2 UBYTE 0 1 2 3 4 5 6 7 8 \verbatim An SoSFArray3D may be empty or contain only dimension and type information, but no data values. With no data values the previous example would be written with the prefix "NODATA" like this: \verbatim NODATA 2 2 2 UBYTE 8
SoSFArray.Array3D, SoSFArray.CopyPolicies, SoSFArray.DataTypes
SoField.FieldTypes
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoSFArray3D(SoFieldContainer fieldContainer,
java.lang.String fieldName,
SoField.FieldTypes fieldType)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getNumSigBits()
Returns the number of significant bits.
|
void |
setValue(SbVec3i32 size,
SbDataType dataType,
int numSigBits,
java.nio.ByteBuffer data,
SoSFArray.CopyPolicies copy)
Fill the array with data of the specified dimensions and type using the specified copy policy.
|
getData, getDataType, getSize, getValue, isEmpty, isNeverWrite, setNeverWrite, setValue, setValue
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 SoSFArray3D(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType)
public void setValue(SbVec3i32 size, SbDataType dataType, int numSigBits, java.nio.ByteBuffer data, SoSFArray.CopyPolicies copy)
public int getNumSigBits()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com