Package com.pixelmed.display
Class DemographicAndTechniqueAnnotations
- java.lang.Object
-
- com.pixelmed.display.DemographicAndTechniqueAnnotations
-
- Direct Known Subclasses:
IconDemographicAndTechniqueAnnotations,MammoDemographicAndTechniqueAnnotations
public class DemographicAndTechniqueAnnotations extends java.lang.ObjectA class to extract selected DICOM annotative attributes into defined displayed area relative positions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classDemographicAndTechniqueAnnotations.AnnotationLayoutConfigurationEntry
-
Field Summary
Fields Modifier and Type Field Description protected static intABBREVPHOTOprotected static intCALLFUNCTIONprotected static intCODEMEANINGprotected static intDIRECTIONVECTORprotected static intEXPOSUREprotected static intEXPOSURETIMEprotected static intFRAMENUMBERprotected static intIMAGETYPEprotected static intJUSTTIMEprotected java.util.Vector<DemographicAndTechniqueAnnotations.AnnotationLayoutConfigurationEntry>layoutprotected static intLOSSYCOMPRESSEDprotected static java.lang.StringmultipleCodeMeaningDelimiterprotected static intNOSPECIALprotected static intORIENTLABELprotected static intPIXELREPNprotected static intSLICESPACINGprotected static intTEXTIFYESNOprotected static intXRAYTUBECURRENT
-
Constructor Summary
Constructors Constructor Description DemographicAndTechniqueAnnotations(AttributeList list)DemographicAndTechniqueAnnotations(AttributeList list, GeometryOfVolume geometry)DemographicAndTechniqueAnnotations(AttributeList list, GeometryOfVolume geometry, boolean swapLeftRight)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetValueByCallingFunction(AttributeList list)Return a string value from the supplied list of attributes.protected voidinitializeDefaultLayout()java.util.Iteratoriterator(int frameIndex)Get the annotations for the selected frame.static voidmain(java.lang.String[] arg)The method to invoke the class for testing.
-
-
-
Field Detail
-
NOSPECIAL
protected static final int NOSPECIAL
- See Also:
- Constant Field Values
-
JUSTTIME
protected static final int JUSTTIME
- See Also:
- Constant Field Values
-
SLICESPACING
protected static final int SLICESPACING
- See Also:
- Constant Field Values
-
FRAMENUMBER
protected static final int FRAMENUMBER
- See Also:
- Constant Field Values
-
IMAGETYPE
protected static final int IMAGETYPE
- See Also:
- Constant Field Values
-
PIXELREPN
protected static final int PIXELREPN
- See Also:
- Constant Field Values
-
CODEMEANING
protected static final int CODEMEANING
- See Also:
- Constant Field Values
-
ORIENTLABEL
protected static final int ORIENTLABEL
- See Also:
- Constant Field Values
-
ABBREVPHOTO
protected static final int ABBREVPHOTO
- See Also:
- Constant Field Values
-
LOSSYCOMPRESSED
protected static final int LOSSYCOMPRESSED
- See Also:
- Constant Field Values
-
TEXTIFYESNO
protected static final int TEXTIFYESNO
- See Also:
- Constant Field Values
-
CALLFUNCTION
protected static final int CALLFUNCTION
- See Also:
- Constant Field Values
-
DIRECTIONVECTOR
protected static final int DIRECTIONVECTOR
- See Also:
- Constant Field Values
-
XRAYTUBECURRENT
protected static final int XRAYTUBECURRENT
- See Also:
- Constant Field Values
-
EXPOSURETIME
protected static final int EXPOSURETIME
- See Also:
- Constant Field Values
-
EXPOSURE
protected static final int EXPOSURE
- See Also:
- Constant Field Values
-
layout
protected java.util.Vector<DemographicAndTechniqueAnnotations.AnnotationLayoutConfigurationEntry> layout
-
multipleCodeMeaningDelimiter
protected static final java.lang.String multipleCodeMeaningDelimiter
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DemographicAndTechniqueAnnotations
public DemographicAndTechniqueAnnotations(AttributeList list)
- Parameters:
list- the DICOM attributes of a single or multi-frame image
-
DemographicAndTechniqueAnnotations
public DemographicAndTechniqueAnnotations(AttributeList list, GeometryOfVolume geometry)
- Parameters:
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)
-
DemographicAndTechniqueAnnotations
public DemographicAndTechniqueAnnotations(AttributeList list, GeometryOfVolume geometry, boolean swapLeftRight)
- Parameters:
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 swapped
-
-
Method Detail
-
initializeDefaultLayout
protected void initializeDefaultLayout()
-
getValueByCallingFunction
protected 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.
- Parameters:
list- ignored, unless the method is overriden in a child class- Returns:
- a string value, of zero length unless the method is overriden in a child class
-
iterator
public java.util.Iterator iterator(int frameIndex)
Get the annotations for the selected frame.
- Parameters:
frameIndex- which frame- Returns:
- an iterator of annotations of
TextAnnotationPositioned
-
main
public static void main(java.lang.String[] arg)
The method to invoke the class for testing.
- Parameters:
arg- optionally, a single file which is a DICOM object
-
-