public class DisplayShutterMacro extends Macro
| Constructor and Description |
|---|
DisplayShutterMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
DisplayShutterMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
DisplayShutterMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
DisplayShutterMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and Dictionary Reader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getCenterOfCircularShutter()
Retrieves Center Of Circular Shutter component of a Name/Value pair
|
java.lang.String |
getRadiusOfCircularShutter()
Retrieves Referenced Radius of Circular Shutter
|
java.lang.String |
getShutterLeftVerticalEdge()
Retrieves Referenced Shutter Left Vertical Edge
|
java.lang.String |
getShutterLowerHorizontalEdge()
Retrieves Referenced Shutter Lower HorizontalEdge
|
short[] |
getShutterPresentationColorCIELabValue()
Retrieves one or more Shutter Presentation Color CIELab Value.
|
java.lang.String |
getShutterRightVerticalEdge()
Retrieves Referenced Shutter Right Vertical Edge
|
java.lang.String |
getShutterShape()
Return type of setup device used for Patient alignment.
|
java.lang.String |
getShutterUpperHorizontalEdge()
Retrieves Referenced Shutter Upper Horizontal Edge
|
java.lang.String[] |
getVerticesOfThePolygonalShutter()
Retrieves Vertices of the Polygonal Shutter.
|
void |
setCenterOfCircularShutter(java.lang.String strCenterOfCircularShutter)
Required if Shutter Shape (0018,1600) is CIRCULAR.
|
void |
setRadiusOfCircularShutter(java.lang.String strRadiusOfCircularShutter)
Required if Shutter Shape (0018,1600) is CIRCULAR.
|
void |
setShutterLeftVerticalEdge(java.lang.String strShutterLeftVerticalEdge)
Required if Shutter Shape (0018,1600) is RECTANGULAR.
|
void |
setShutterLowerHorizontalEdge(java.lang.String strShutterLowerHorizontalEdge)
Required if Shutter Shape (0018,1600) is RECTANGULAR.
|
void |
setShutterPresentationColorCIELabValue(short[] arrShShutterPresentationColorCIELabValue)
A color triplet value used to replace those parts of the image occluded by the shutter, when rendered on a color display.
|
void |
setShutterPresentationValue(short shShutterPresentationValue)
Sets Number of significant bits within the Shutter Presentation Value
|
void |
setShutterRightVerticalEdge(java.lang.String strShutterRightVerticalEdge)
Required if Shutter Shape (0018,1600) is RECTANGULAR.
|
void |
setShutterShape(EnumShutterShape enumShutterShape)
Shape(s) of the shutter defined for display.
|
void |
setShutterUpperHorizontalEdge(java.lang.String strShutterUpperHorizontalEdge)
Required if Shutter Shape (0018,1600) is RECTANGULAR.
|
void |
setVerticesOfThePolygonalShutter(java.lang.String strVerticesOfThePolygonalShutter)
Required if Shutter Shape (0018,1600) is POLYGONAL.Multiple Values where the first set of two values are:row of the origin vertexcolumn of the origin vertex Two or more pairs of values follow and are the row and column coordinates of the other vertices of the polygon shutter.
|
short |
ShutterPresentationValue()
Retrieves Number of significant bits within the Shutter Presentation Value
|
boolean |
validate()
Validates all the attributes in Image SOP Instance Reference Macro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Display Shutter Macro Attributes that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Image SOP Instance Reference Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic DisplayShutterMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic DisplayShutterMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic DisplayShutterMacro(IItem objItem)
objItem - specifies instance of Item classpublic DisplayShutterMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic void setShutterShape(EnumShutterShape enumShutterShape)
enumSetupDeviceType - enum value of Setup Device Type.public java.lang.String getShutterShape()
public void setShutterLeftVerticalEdge(java.lang.String strShutterLeftVerticalEdge)
strReferencedReferenceImageNumber - String value of Referenced Reference Image Number.public java.lang.String getShutterLeftVerticalEdge()
public void setShutterRightVerticalEdge(java.lang.String strShutterRightVerticalEdge)
strReferencedReferenceImageNumber - String value of Referenced Shutter Right Vertical Edge.public java.lang.String getShutterRightVerticalEdge()
public void setShutterUpperHorizontalEdge(java.lang.String strShutterUpperHorizontalEdge)
strReferencedReferenceImageNumber - String value of Shutter Upper Horizontal Edge.public java.lang.String getShutterUpperHorizontalEdge()
public void setShutterLowerHorizontalEdge(java.lang.String strShutterLowerHorizontalEdge)
strReferencedReferenceImageNumber - String value of Shutter Lower HorizontalEdge.public java.lang.String getShutterLowerHorizontalEdge()
public void setCenterOfCircularShutter(java.lang.String strCenterOfCircularShutter)
strNumericValue - String Value component of a Name/Value pair when the Concept implied by Concept Name
Code Sequence (0018,1610) is Center Of Circular Shutter .public java.lang.String[] getCenterOfCircularShutter()
public void setRadiusOfCircularShutter(java.lang.String strRadiusOfCircularShutter)
strReferencedReferenceImageNumber - String value of Shutter Lower HorizontalEdge.public java.lang.String getRadiusOfCircularShutter()
public void setVerticesOfThePolygonalShutter(java.lang.String strVerticesOfThePolygonalShutter)
strNumericValue - String Value component of a Name/Value pair when the Concept implied by Concept Name
Code Sequence (0018,1620) is Vertices of the Polygonal Shutter.public java.lang.String[] getVerticesOfThePolygonalShutter()
public void setShutterPresentationValue(short shShutterPresentationValue)
shShutterPresentationValue - short value of Number of significant bitspublic short ShutterPresentationValue()
public void setShutterPresentationColorCIELabValue(short[] arrShShutterPresentationColorCIELabValue)
arrShShutterPresentationColorCIELabValue - public short[] getShutterPresentationColorCIELabValue()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.