org.dcm4che2.iod.module.pr
Class GraphicObject

java.lang.Object
  extended by org.dcm4che2.iod.module.Module
      extended by org.dcm4che2.iod.module.pr.GraphicObject

public class GraphicObject
extends Module

Represents a part of the Graphic Annotation Module, the graphic object from C.10.5

Author:
bwallace

Field Summary
static java.lang.String CIRCLE
           
static java.lang.String ELLIPSE
           
static java.lang.String INTERPOLATED
           
static java.lang.String POINT
           
static java.lang.String POLYLINE
           
 
Fields inherited from class org.dcm4che2.iod.module.Module
dcmobj
 
Constructor Summary
GraphicObject(DicomObject dcmobj)
           
 
Method Summary
 java.lang.String getGraphicAnnotationUnits()
           
 float[] getGraphicData()
           
 int getGraphicDimensions()
           
 boolean getGraphicFilled()
          Indicate if the graphic is to be filled in
 java.lang.String getGraphicType()
          Gets the graphic type associated with this object.
 int getNumberOfGraphicPoints()
           
static GraphicObject[] toGraphicObjects(DicomElement sq)
          Create graphic objects from the sub-sequence
 
Methods inherited from class org.dcm4che2.iod.module.Module
getDicomObject, getType1Tags, getType2Tags, init, updateSequence, updateSequence, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POINT

public static final java.lang.String POINT
See Also:
Constant Field Values

POLYLINE

public static final java.lang.String POLYLINE
See Also:
Constant Field Values

INTERPOLATED

public static final java.lang.String INTERPOLATED
See Also:
Constant Field Values

CIRCLE

public static final java.lang.String CIRCLE
See Also:
Constant Field Values

ELLIPSE

public static final java.lang.String ELLIPSE
See Also:
Constant Field Values
Constructor Detail

GraphicObject

public GraphicObject(DicomObject dcmobj)
Method Detail

toGraphicObjects

public static GraphicObject[] toGraphicObjects(DicomElement sq)
Create graphic objects from the sub-sequence


getGraphicType

public java.lang.String getGraphicType()
Gets the graphic type associated with this object.

Returns:
One of POINT, POLYLINE, INTERPOLATED, CIRCLE and ELLIPSE

getGraphicFilled

public boolean getGraphicFilled()
Indicate if the graphic is to be filled in


getGraphicAnnotationUnits

public java.lang.String getGraphicAnnotationUnits()

getGraphicDimensions

public int getGraphicDimensions()

getNumberOfGraphicPoints

public int getNumberOfGraphicPoints()

getGraphicData

public float[] getGraphicData()


Copyright © 2011 dcm4che. All Rights Reserved.