public class SiDicomDataSet extends Inventor
DICOM is a widely used file format for storing medical image data (CT, MRI, etc), defined by the National Electrical Manufacturers Association (NEMA) (
This class, along with SoDicomTag
, SiDicomElement
, SiDicomValue
and SiDicomSequence
, allows an application to iterate over or randomly access all the attributes in a DICOM data object. This includes attributes that are not used by VolumeViz for rendering.
This class cannot directly open a DICOM file. An SiDicomDataSet
object can be requested from an SoVRDicomFileReader
object or an SoVRDicomData
object using the getDicomDataSet() method.
See also:
SoVRDicomFileReader
, SoVRDicomData
, SoDicomTag
, SiDicomElement
, SiDicomValue
, SiDicomSequence
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
SiDicomDataSet |
clone()
Create a clone of the current data set.
|
SiDicomElement |
getElement(long idx)
Get the n-th element of this data set.
|
SiDicomElement |
getElement(SoDicomTag tag)
Get an element of this data set.
|
boolean |
getElementBufferValue(SoDicomTag tag,
SoBufferObject buffer)
Shortcut to extract an element's buffer value.
|
double |
getElementDoubleValue(SoDicomTag tag,
long idx,
double defaultValue)
Shortcut to extract a DOUBLE element's value.
|
long |
getElementIntValue(SoDicomTag tag,
long idx,
long defaultValue)
Shortcut to extract a INT element's value.
|
java.lang.String |
getElementStringValue(SoDicomTag tag,
long idx,
java.lang.String defaultValue)
Shortcut to extract a STRING element's value.
|
long |
getElementUIntValue(SoDicomTag tag,
long idx,
long defaultValue)
Shortcut to extract a UINT element's value.
|
SiDicomValue |
getElementValue(SoDicomTag tag)
Shortcut to get an element's value fast.
|
long |
getLength()
Get the number of elements in the data set.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public double getElementDoubleValue(SoDicomTag tag, long idx, double defaultValue)
tag
- The tag of the element to find.
idx
- The index of the scalar value to extract.
defaultValue
- The value returned if the extraction fails.
public SiDicomElement getElement(SoDicomTag tag)
tag
- the tag of the element to find.
public long getLength()
public boolean getElementBufferValue(SoDicomTag tag, SoBufferObject buffer)
tag
- The tag of the element to find.
buffer
- The buffer to fill with element's value.
public SiDicomDataSet clone()
clone
in class java.lang.Object
public SiDicomValue getElementValue(SoDicomTag tag)
tag
- The tag of the element to find.
public java.lang.String getElementStringValue(SoDicomTag tag, long idx, java.lang.String defaultValue)
tag
- The tag of the element to find.
idx
- The index of the scalar value to extract.
defaultValue
- The value returned if the extraction fails.
public long getElementIntValue(SoDicomTag tag, long idx, long defaultValue)
tag
- The tag of the element to find.
idx
- The index of the scalar value to extract.
defaultValue
- The value returned if the extraction fails.
public long getElementUIntValue(SoDicomTag tag, long idx, long defaultValue)
tag
- The tag of the element to find.
idx
- The index of the scalar value to extract.
defaultValue
- The value returned if the extraction fails.
public SiDicomElement getElement(long idx)
idx
- the index of the element in the data set.
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com