public class ROIContourSequenceItem extends Item
ROIContourSequence.| Modifier and Type | Method and Description |
|---|---|
ContourSequence |
getContourSequence()
Retrieves pre-initialized object of Contour 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.
|
short[] |
getRecommendedDisplayCIELabValue()
Retrieves RecommendedDisplayCIELabValue
|
short |
getRecommendedDisplayGrayscaleValue()
Retrieves default single gray unsigned value in which it is recommended thatthe contour be rendered on a monochrome display.
|
java.lang.String |
getReferencedROINumber()
Retrieves value that uniquely identifies the referenced ROI described in the Structure Set ROI Sequence (3006,0020).
|
java.lang.String[] |
getROIDisplayColor()
Retrieves RGB triplet color representation for ROI, specified using the range 0-255.
|
void |
setRecommendedDisplayCIELabValue(short[] arrShRecommendedDisplayCIELabValue) |
void |
setRecommendedDisplayGrayscaleValue(short shRecommendedDisplayGrayscaleValue)
Sets default single gray unsigned value in which it is recommended thatthe contour be rendered on a monochrome display.
|
void |
setReferencedROINumber(java.lang.String strReferencedROINumber)
Sets value that uniquely identifies the referenced ROI described in the Structure Set ROI Sequence (3006,0020).
|
void |
setROIDisplayColor(java.lang.String[] arrStrROIDisplayColor)
Sets RGB triplet color representation for ROI, specified using the range 0-255.
|
boolean |
validateForModule()
Validates all the attributes in ROIContourSequenceItem 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 setReferencedROINumber(java.lang.String strReferencedROINumber)
strReferencedROINumber - String value of Referenced ROI Number.public java.lang.String getReferencedROINumber()
public void setROIDisplayColor(java.lang.String[] arrStrROIDisplayColor)
arrStrROIDisplayColor - String array value of ROI Display Color.public java.lang.String[] getROIDisplayColor()
public void setRecommendedDisplayGrayscaleValue(short shRecommendedDisplayGrayscaleValue)
shRecommendedDisplayGrayscaleValue - short value of RecommendedDisplayGrayscaleValuepublic short getRecommendedDisplayGrayscaleValue()
public void setRecommendedDisplayCIELabValue(short[] arrShRecommendedDisplayCIELabValue)
public short[] getRecommendedDisplayCIELabValue()
public ContourSequence getContourSequence()