public class XRayCollimatorDimensionsMacro extends Macro
| Constructor and Description |
|---|
XRayCollimatorDimensionsMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
XRayCollimatorDimensionsMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
XRayCollimatorDimensionsMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
XRayCollimatorDimensionsMacro(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[] |
getCenterOfCircularCollimator()
Return Location of the center of the circular Collimator with respect to pixels in the image given as row and column.
|
java.lang.String |
getCollimatorLeftVerticalEdge()
Return Location of the left edge of the rectangular collimator with respect to pixels in the image given as
column.
|
java.lang.String |
getCollimatorLowerHorizontalEdge()
Return location of the lower edge of the rectangular Collimator with respect to pixels in the image given as row.
|
java.lang.String |
getCollimatorRightVerticalEdge()
Return Location of the Right edge of the rectangular Collimator with respect to pixels in the image given as column.
|
java.lang.String |
getCollimatorUpperHorizontalEdge()
Return location of the upper edge of the rectangular Collimator with respect to pixels in the image given as row.
|
java.lang.String |
getRadiusOfCircularCollimator()
Return Location of the center of the circular Collimator with respect to pixels in the image given as row and column.
|
java.lang.String[] |
getVerticesOfPolygonalCollimator()
Return Location of the center of the circular Collimator with respect to pixels in the image given as row and column.
|
XRayCollimatorDimensionsMacro |
getXRayCollimatorDimensionsMacro()
This method returns the XRayCollimatorDimensionsMacro with proper initialization.
|
void |
setCenterOfCircularCollimator(java.lang.String arrStrCenterOfCircularCollimator)
Sets Location of the center of the circular Collimator with respect to pixels in the image given as row and column.
|
void |
setCollimatorLeftVerticalEdge(java.lang.String strCollimatorLeftVerticalEdge)
Sets Location of the left edge of the rectangular collimator with respect to pixels in the image given as
column.Required if Collimator Shape (0018,1700) is RECTANGULAR.
|
void |
setCollimatorLowerHorizontalEdge(java.lang.String strCollimatorLowerHorizontalEdge)
Sets location of the Lower edge of the rectangular Collimator with respect to pixels in the image given as row.
|
void |
setCollimatorRightVerticalEdge(java.lang.String strCollimatorRightVerticalEdge)
Sets Location of the right edge of the rectangular collimator with respect to pixels in the image given as column.
|
void |
setCollimatorUpperHorizontalEdge(java.lang.String strCollimatorUpperHorizontalEdge)
Sets location of the upper edge of the rectangular Collimator with respect to pixels in the image given as row.
|
void |
setRadiusOfCircularCollimator(java.lang.String strRadiusOfCircularCollimator)
Required if Collimator Shape (0018,1600) is CIRCULAR.
|
void |
setVerticesOfPolygonalCollimator(java.lang.String arrStrVerticesOfthePolygonalCollimator)
Sets the row and column coordinates of theother vertices of the polygon Collimator.
|
boolean |
validate()
Validates all the attributes in XRayCollimatorDimensionsMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in XRayCollimatorDimensionsMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in XRayCollimatorDimensionsMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic XRayCollimatorDimensionsMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic XRayCollimatorDimensionsMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic XRayCollimatorDimensionsMacro(IItem objItem)
objItem - specifies instance of Item classpublic XRayCollimatorDimensionsMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic XRayCollimatorDimensionsMacro getXRayCollimatorDimensionsMacro()
XRayCollimatorDimensionsMacropublic void setCollimatorLeftVerticalEdge(java.lang.String strCollimatorLeftVerticalEdge)
strCollimatorLeftVerticalEdge - String value of Collimator Left Vertical Edgepublic java.lang.String getCollimatorLeftVerticalEdge()
public void setCollimatorRightVerticalEdge(java.lang.String strCollimatorRightVerticalEdge)
strCollimatorRightVerticalEdge - String value of Collimator Right Vertical Edgepublic java.lang.String getCollimatorRightVerticalEdge()
public void setCollimatorUpperHorizontalEdge(java.lang.String strCollimatorUpperHorizontalEdge)
strCollimatorUpperHorizontalEdge - String value of Collimator Upper Horizontal Edgepublic java.lang.String getCollimatorUpperHorizontalEdge()
public void setCollimatorLowerHorizontalEdge(java.lang.String strCollimatorLowerHorizontalEdge)
strCollimatorLowerHorizontalEdge - the str collimator lower horizontal edgepublic java.lang.String getCollimatorLowerHorizontalEdge()
public void setCenterOfCircularCollimator(java.lang.String arrStrCenterOfCircularCollimator)
arrStrCenterOfCircularCollimator - the arr str center of circular collimatorpublic java.lang.String[] getCenterOfCircularCollimator()
public void setRadiusOfCircularCollimator(java.lang.String strRadiusOfCircularCollimator)
strRadiusOfCircularCollimator - the str radius of circular collimatorpublic java.lang.String getRadiusOfCircularCollimator()
public void setVerticesOfPolygonalCollimator(java.lang.String arrStrVerticesOfthePolygonalCollimator)
arrStrVerticesOfthePolygonalCollimator - the arr str vertices ofthe polygonal collimatorpublic java.lang.String[] getVerticesOfPolygonalCollimator()
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.