public class ContourSequenceItem extends Item
ContourSequence.| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAttachedContours()
Retrieves list of Contour Number (3006,0048) defining lower-numbered contour(s) to which the current contour is connected.
|
java.lang.String[] |
getContourData()
Retrieves Sequence of (x,y,z) triplets defining a contour in the patient based coordinate system.
|
java.lang.String |
getContourGeometricType()
Retrieves geometric type of contour.
|
ContourImageSequence |
getContourImageSequence()
Retrieves pre-initialized object of Contour Image Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
java.lang.String |
getContourNumber()
Retrieves identification number of the contour.
|
java.lang.String[] |
getContourOffsetVector()
Retrieves a Vector (x,y,z) in the the patient based coordinate system which is normal to plane of Contour Data
(3006,0050), describing direction and magnitude of the offset (in mm) of each point of the central plane
of a contour slab from the corresponding original point of Contour Data (3006,0050).
|
java.lang.String |
getContourSlabThickness()
Retrieves Contour Slab Thickness which specifies the thickness of a slab.
|
java.lang.String |
getNumberOfContourPoints()
Retrieves number of points (triplets) in Contour Data (3006,0050).
|
void |
setAttachedContours(java.lang.String[] arrStrAttachedContours)
Sets list of Contour Number (3006,0048) defining lower-numbered contour(s) to which the current contour is connected.
|
void |
setContourData(java.lang.String[] arrStrContourData)
Sets Sequence of (x,y,z) triplets defining a contour in the patient based coordinate system.
|
void |
setContourGeometricType(EnumContourGeometricType enumContourGeometricType)
Sets geometric type of contour.
|
void |
setContourNumber(java.lang.String strContourNumber)
Sets identification number of the contour.
|
void |
setContourOffsetVector(java.lang.String[] arrStrContourOffsetVector)
Sets a Vector (x,y,z) in the the patient based coordinate system which is normal to plane of Contour Data
(3006,0050), describing direction and magnitude of the offset (in mm) of each point of the central plane
of a contour slab from the corresponding original point of Contour Data (3006,0050).
|
void |
setContourSlabThickness(java.lang.String strContourSlabThickness)
Sets Contour Slab Thickness which specifies the thickness of a slab.
|
void |
setNumberOfContourPoints(java.lang.String strNumberOfContourPoints)
Sets number of points (triplets) in Contour Data (3006,0050).
|
boolean |
validateForModule()
Validates all the attributes in ContourSequenceItem according the rules defined by the Contour Sequence.
|
addDataElement, changeToUndefined, clone, contains, dumpDICOMInfo, getDataForTag, getDictionaryReader, getItemLength, getTransferSyntax, getValue, getValueLength, iterator, read, setDictionaryReader, setTransferSyntax, setValue, sortedIterator, validate, writepublic boolean validateForModule()
throws InvalidItemException
validateForModule in interface IItemvalidateForModule in class ItemInvalidItemException - throws InvalidItemException If Mandatory or Conditional element fails.public void setContourNumber(java.lang.String strContourNumber)
strContourNumber - String value of Contour Number.public java.lang.String getContourNumber()
public void setAttachedContours(java.lang.String[] arrStrAttachedContours)
arrStrAttachedContours - String array value of Attached Contours .public java.lang.String[] getAttachedContours()
public void setContourGeometricType(EnumContourGeometricType enumContourGeometricType)
enumContourGeometricType - enum value of Contour Geometric Type.public java.lang.String getContourGeometricType()
public void setContourSlabThickness(java.lang.String strContourSlabThickness)
strContourSlabThickness - String value of Contour Slab Thickness.public java.lang.String getContourSlabThickness()
public void setContourOffsetVector(java.lang.String[] arrStrContourOffsetVector)
arrStrContourOffsetVector - String array value of Contour Offset Vector.public java.lang.String[] getContourOffsetVector()
public void setNumberOfContourPoints(java.lang.String strNumberOfContourPoints)
strNumberOfContourPoints - String value of Number of Contour Points.public java.lang.String getNumberOfContourPoints()
public void setContourData(java.lang.String[] arrStrContourData)
arrStrContourData - String array value of Contour Data.public java.lang.String[] getContourData()
public ContourImageSequence getContourImageSequence()