Class DemographicAndTechniqueAnnotations

    • 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 image
        geometry - 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 image
        geometry - 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