public class DicomElement
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DicomElement.VR
DICOM Value representation
|
Constructor and Description |
---|
DicomElement(int tagId,
DicomElement.VR type,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
DicomDateTime |
getDateTime() |
double |
getDecimalValue() |
int |
getIntValue()
Determines the integer value of the header element (if represents valid integer)
|
double[] |
getMultiDecimalValue()
Determines the decimal array value of the header element (if represents valid decimal array)
|
int[] |
getMultiIntValue()
Determines the integer array value of the element (if represents valid integer array)
|
java.lang.String[] |
getMultiStringValue() |
java.lang.Object |
getParsedValue() |
DicomElement[] |
getSequenceItemValue() |
DicomElement[] |
getSequenceValue() |
java.lang.String |
getStringValue()
Determines the string representation of the header element
|
int |
getTag() |
java.lang.Object |
getValue() |
VectorNd |
getVectorValue() |
DicomElement.VR |
getVR() |
static DicomDateTime |
parseDate(java.lang.String in) |
static DicomDateTime |
parseDateTime(java.lang.String in) |
static double |
parseDecimalString(java.lang.String in)
Determines the decimal represented by the supplied string
|
static int |
parseIntString(java.lang.String in)
Determines the integer represented by the supplied string
|
static VectorNd |
parseMultiDecimalString(java.lang.String in)
Determines the decimal vector represented by the supplied string
|
static double[] |
parseMultiDecimalValue(java.lang.String ds) |
static int[] |
parseMultiIntValue(java.lang.String is) |
static DicomDateTime |
parseTime(java.lang.String in) |
java.lang.String |
toString() |
public DicomElement(int tagId, DicomElement.VR type, java.lang.Object data)
public int getTag()
public DicomElement.VR getVR()
public java.lang.Object getValue()
public java.lang.Object getParsedValue()
public static int parseIntString(java.lang.String in)
in
- string representationpublic static double parseDecimalString(java.lang.String in)
in
- string representationpublic static VectorNd parseMultiDecimalString(java.lang.String in)
in
- string representationpublic java.lang.String toString()
toString
in class java.lang.Object
public static DicomDateTime parseDateTime(java.lang.String in)
public static DicomDateTime parseDate(java.lang.String in)
public static DicomDateTime parseTime(java.lang.String in)
public static double[] parseMultiDecimalValue(java.lang.String ds)
public static int[] parseMultiIntValue(java.lang.String is)
public double getDecimalValue()
public VectorNd getVectorValue()
public java.lang.String[] getMultiStringValue()
public DicomElement[] getSequenceItemValue()
public DicomElement[] getSequenceValue()
public DicomDateTime getDateTime()
public double[] getMultiDecimalValue()
public int[] getMultiIntValue()
public java.lang.String getStringValue()
public int getIntValue()