public class SiDicomValue extends Inventor
See also:
SoVRDicomFileReader
, SoVRDicomData
, SoDicomTag
, SiDicomDataSet
, SiDicomElement
, SiDicomSequence
Modifier and Type | Class and Description |
---|---|
static class |
SiDicomValue.ValueTypes |
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString()
Return a printable version of the stored value.
|
SiDicomValue |
clone()
Create a clone of the value.
|
void |
getBuffer(SoBufferObject buffer)
Copies the internal buffer to the given one.
|
double |
getDouble()
Calls getDouble((long)0).
|
double |
getDouble(long idx)
Get an internally stored double precision floating point number.
|
long |
getInt()
Calls getInt((long)0).
|
long |
getInt(long idx)
Get an internally stored signed integer.
|
long |
getLength()
Get the number of scalar values stored.
|
java.lang.String |
getString()
Calls getString((long)0).
|
java.lang.String |
getString(long idx)
Get the internally stored string.
|
long |
getUInt()
Calls getUInt((long)0).
|
long |
getUInt(long idx)
Get an internally stored unsigned integer.
|
SiDicomValue.ValueTypes |
getValueType()
Get the type of the value.
|
dispose, getNativeResourceHandle
public java.lang.String getString()
public long getInt()
public double getDouble()
public long getUInt()
public java.lang.String getString(long idx)
idx
- the index of the scalar value to get.public double getDouble(long idx)
idx
- the index of the scalar value to get.public SiDicomValue.ValueTypes getValueType()
public long getLength()
public java.lang.String asString()
public long getInt(long idx)
idx
- the index of the scalar value to get.public void getBuffer(SoBufferObject buffer)
buffer
- the destination buffer.public long getUInt(long idx)
idx
- the index of the scalar value to get.public SiDicomValue clone()
clone
in class java.lang.Object
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com