public class SbDataType extends Inventor
SoSFArray2D, SoSFArray3D, SoSFImage and also SoDataSet.
See also:
SoMemoryObject, SoSFArray2D, SoSFArray3D
| Modifier and Type | Class and Description |
|---|---|
static class |
SbDataType.DataTypes
Supported Data type.
|
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
static int |
DOUBLE
Deprecated.
Use
SbDataType.DataTypes.DOUBLE instead. |
static int |
FLOAT
Deprecated.
Use
SbDataType.DataTypes.FLOAT instead. |
static int |
SIGNED_BYTE
Deprecated.
Use
SbDataType.DataTypes.SIGNED_BYTE instead. |
static int |
SIGNED_INT32
Deprecated.
Use
SbDataType.DataTypes.SIGNED_INT32 instead. |
static int |
SIGNED_SHORT
Deprecated.
Use
SbDataType.DataTypes.SIGNED_SHORT instead. |
static int |
UNKNOWN
Deprecated.
Use
SbDataType.DataTypes.UNKNOWN instead. |
static int |
UNSIGNED_BYTE
Deprecated.
Use
SbDataType.DataTypes.UNSIGNED_BYTE instead. |
static int |
UNSIGNED_INT32
Deprecated.
Use
SbDataType.DataTypes.UNSIGNED_INT32 instead. |
static int |
UNSIGNED_SHORT
Deprecated.
Use
SbDataType.DataTypes.UNSIGNED_SHORT instead. |
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SbDataType()
Default constructor.
|
SbDataType(SbDataType.DataTypes type)
Copy constructor.
|
SbDataType(SbDataType copyFrom) |
SbDataType(java.lang.String type)
Constructor from a string.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMax()
Returns the maximum value of the type.
|
double |
getMin()
Returns the minimum value of the type.
|
int |
getNumBits()
Returns the numer of bits in the type.
|
int |
getSize()
Returns size in bytes of the type.
|
java.lang.String |
getString()
Returns the type as a string, e.g.
|
SbDataType |
getTemplateType(byte name_6258) |
SbDataType |
getTemplateType(double name_6265) |
SbDataType |
getTemplateType(float name_6264) |
SbDataType |
getTemplateType(int name_6260) |
SbDataType |
getTemplateType(short name_6259) |
SbDataType.DataTypes |
getType()
Returns the type as an enum.
|
boolean |
isInteger()
Returns true if the type is an integer type.
|
boolean |
isSigned()
Returns true if the type is signed.
|
void |
setValue(SbDataType copyFrom) |
static SbDataType[] |
toArray(long nativeArray,
long length) |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads@Deprecated public static final int UNSIGNED_BYTE
SbDataType.DataTypes.UNSIGNED_BYTE instead.@Deprecated public static final int UNSIGNED_SHORT
SbDataType.DataTypes.UNSIGNED_SHORT instead.@Deprecated public static final int UNSIGNED_INT32
SbDataType.DataTypes.UNSIGNED_INT32 instead.@Deprecated public static final int SIGNED_BYTE
SbDataType.DataTypes.SIGNED_BYTE instead.@Deprecated public static final int SIGNED_SHORT
SbDataType.DataTypes.SIGNED_SHORT instead.@Deprecated public static final int SIGNED_INT32
SbDataType.DataTypes.SIGNED_INT32 instead.@Deprecated public static final int FLOAT
SbDataType.DataTypes.FLOAT instead.@Deprecated public static final int DOUBLE
SbDataType.DataTypes.DOUBLE instead.@Deprecated public static final int UNKNOWN
SbDataType.DataTypes.UNKNOWN instead.public SbDataType(SbDataType copyFrom)
public SbDataType(java.lang.String type)
public SbDataType()
public SbDataType(SbDataType.DataTypes type)
public static SbDataType[] toArray(long nativeArray, long length)
public SbDataType getTemplateType(short name_6259)
public void setValue(SbDataType copyFrom)
public SbDataType.DataTypes getType()
getString().public SbDataType getTemplateType(int name_6260)
public int getNumBits()
public double getMax()
public double getMin()
public java.lang.String getString()
getType().public SbDataType getTemplateType(double name_6265)
public int getSize()
public SbDataType getTemplateType(byte name_6258)
public boolean isInteger()
public SbDataType getTemplateType(float name_6264)
public boolean isSigned()
Generated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com