public class SpatialCoordinateAndImageReference
extends java.lang.Object
A class to encapsulate information describing references in a structured report to images, with or without spatial coordinates.
Modifier and Type | Field and Description |
---|---|
static int |
CoordinateCategoryMammoBreastDensity |
static int |
CoordinateCategoryMammoCalcificationCluster |
static int |
CoordinateCategoryMammoIndividualCalcification |
static int |
CoordinateCategoryUnspecified |
static int |
RenderingForbidden |
static int |
RenderingOptional |
static int |
RenderingRequired |
Constructor and Description |
---|
SpatialCoordinateAndImageReference(java.lang.String sopInstanceUID,
java.lang.String sopClassUID,
java.lang.String graphicType,
float[] graphicData,
java.lang.String annotation,
int renderingIntent,
int coordinateCategory)
Construct an instance of a reference to an image, with or without spatial coordinate references.
|
SpatialCoordinateAndImageReference(java.lang.String sopInstanceUID,
java.lang.String sopClassUID,
java.lang.String graphicType,
float[] graphicData,
java.lang.String annotation,
int renderingIntent,
int coordinateCategory,
boolean imageLibraryEntry)
Construct an instance of a reference to an image, with or without spatial coordinate references.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotation()
Get the annotation.
|
int |
getCoordinateCategory()
Get category.
|
float[] |
getGraphicData()
Get the Graphic Data.
|
java.lang.String |
getGraphicType()
Get the Graphic Type.
|
boolean |
getImageLibraryEntry()
Is the reference an Image Library entry.
|
int |
getRenderingIntent()
Get rendering intent.
|
java.lang.String |
getSOPClassUID()
Get the SOP Class UID.
|
java.lang.String |
getSOPInstanceUID()
Get the SOP Instance UID.
|
java.lang.String |
toString()
Dump a human-readable representation as a
String . |
public static final int CoordinateCategoryMammoBreastDensity
public static final int CoordinateCategoryMammoCalcificationCluster
public static final int CoordinateCategoryMammoIndividualCalcification
public static final int CoordinateCategoryUnspecified
public static final int RenderingForbidden
public static final int RenderingOptional
public static final int RenderingRequired
public SpatialCoordinateAndImageReference(java.lang.String sopInstanceUID, java.lang.String sopClassUID, java.lang.String graphicType, float[] graphicData, java.lang.String annotation, int renderingIntent, int coordinateCategory)
Construct an instance of a reference to an image, with or without spatial coordinate references.
sopInstanceUID
- the SOP Instance UID (should always present)sopClassUID
- the SOP Class UID (may be null)graphicType
- the Graphic Type if a spatial coordinate, otherwise nullgraphicData
- the Graphic Data if a spatial coordinate, otherwise nullannotation
- a String
value describing the reference (typically a parent Concept Name)renderingIntent
- whether or not to render the annotation (e.g., as specified by rendering intent in CAD IODs)coordinateCategory
- the category of coordinate or annotationpublic SpatialCoordinateAndImageReference(java.lang.String sopInstanceUID, java.lang.String sopClassUID, java.lang.String graphicType, float[] graphicData, java.lang.String annotation, int renderingIntent, int coordinateCategory, boolean imageLibraryEntry)
Construct an instance of a reference to an image, with or without spatial coordinate references.
sopInstanceUID
- the SOP Instance UID (should always present)sopClassUID
- the SOP Class UID (may be null)graphicType
- the Graphic Type if a spatial coordinate, otherwise nullgraphicData
- the Graphic Data if a spatial coordinate, otherwise nullannotation
- a String
value describing the reference (typically a parent Concept Name)renderingIntent
- whether or not to render the annotation (e.g., as specified by rendering intent in CAD IODs)coordinateCategory
- the category of coordinate or annotationimageLibraryEntry
- whether or not the reference is in an Image Librarypublic java.lang.String getAnnotation()
Get the annotation.
public int getCoordinateCategory()
Get category.
public float[] getGraphicData()
Get the Graphic Data.
public java.lang.String getGraphicType()
Get the Graphic Type.
public boolean getImageLibraryEntry()
Is the reference an Image Library entry.
public int getRenderingIntent()
Get rendering intent.
public java.lang.String getSOPClassUID()
Get the SOP Class UID.
public java.lang.String getSOPInstanceUID()
Get the SOP Instance UID.
public java.lang.String toString()
Dump a human-readable representation as a String
.
toString
in class java.lang.Object