public class DemographicAndTechniqueAnnotations
extends java.lang.Object
A class to extract selected DICOM annotative attributes into defined displayed area relative positions.
Modifier and Type | Class and Description |
---|---|
protected class |
DemographicAndTechniqueAnnotations.AnnotationLayoutConfigurationEntry |
Modifier and Type | Field and Description |
---|---|
protected static int |
ABBREVPHOTO |
protected static int |
CALLFUNCTION |
protected static int |
CODEMEANING |
protected static int |
DIRECTIONVECTOR |
protected static int |
EXPOSURE |
protected static int |
EXPOSURETIME |
protected static int |
FRAMENUMBER |
protected static int |
IMAGETYPE |
protected static int |
JUSTTIME |
protected java.util.Vector<DemographicAndTechniqueAnnotations.AnnotationLayoutConfigurationEntry> |
layout |
protected static int |
LOSSYCOMPRESSED |
protected static java.lang.String |
multipleCodeMeaningDelimiter |
protected static int |
NOSPECIAL |
protected static int |
ORIENTLABEL |
protected static int |
PIXELREPN |
protected static int |
SLICESPACING |
protected static int |
TEXTIFYESNO |
protected static int |
XRAYTUBECURRENT |
Constructor and Description |
---|
DemographicAndTechniqueAnnotations(AttributeList list) |
DemographicAndTechniqueAnnotations(AttributeList list,
GeometryOfVolume geometry) |
DemographicAndTechniqueAnnotations(AttributeList list,
GeometryOfVolume geometry,
boolean swapLeftRight) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getValueByCallingFunction(AttributeList list)
Return a string value from the supplied list of attributes.
|
protected void |
initializeDefaultLayout() |
java.util.Iterator |
iterator(int frameIndex)
Get the annotations for the selected frame.
|
static void |
main(java.lang.String[] arg)
The method to invoke the class for testing.
|
protected static final int ABBREVPHOTO
protected static final int CALLFUNCTION
protected static final int CODEMEANING
protected static final int DIRECTIONVECTOR
protected static final int EXPOSURE
protected static final int EXPOSURETIME
protected static final int FRAMENUMBER
protected static final int IMAGETYPE
protected static final int JUSTTIME
protected java.util.Vector<DemographicAndTechniqueAnnotations.AnnotationLayoutConfigurationEntry> layout
protected static final int LOSSYCOMPRESSED
protected static final java.lang.String multipleCodeMeaningDelimiter
protected static final int NOSPECIAL
protected static final int ORIENTLABEL
protected static final int PIXELREPN
protected static final int SLICESPACING
protected static final int TEXTIFYESNO
protected static final int XRAYTUBECURRENT
public DemographicAndTechniqueAnnotations(AttributeList list)
list
- the DICOM attributes of a single or multi-frame imagepublic DemographicAndTechniqueAnnotations(AttributeList list, GeometryOfVolume geometry)
list
- the DICOM attributes of a single or multi-frame imagegeometry
- the geometry of a single or multi-frame image (or null if no 3D coordinate system)public DemographicAndTechniqueAnnotations(AttributeList list, GeometryOfVolume geometry, boolean swapLeftRight)
list
- the DICOM attributes of a single or multi-frame imagegeometry
- the geometry of a single or multi-frame image (or null if no 3D coordinate system)swapLeftRight
- whether the sides (left and right) to annotate are to be swappedprotected java.lang.String getValueByCallingFunction(AttributeList list)
Return a string value from the supplied list of attributes.
Overridden by children of this class when specific functionality is needed.
list
- ignored, unless the method is overriden in a child classprotected void initializeDefaultLayout()
public java.util.Iterator iterator(int frameIndex)
Get the annotations for the selected frame.
frameIndex
- which frameTextAnnotationPositioned
public static void main(java.lang.String[] arg)
The method to invoke the class for testing.
arg
- optionally, a single file which is a DICOM object