public class PlanningLandmarkPlaneMacro extends Macro
| Constructor and Description |
|---|
PlanningLandmarkPlaneMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
PlanningLandmarkPlaneMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
PlanningLandmarkPlaneMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
PlanningLandmarkPlaneMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getThreeDPlaneNormal()
Retrieves the 3D Plane Normal.
|
double[] |
getThreeDPlaneOrigin()
Retrieves the 3D Plane Origin.
|
TwoDPlaneCoordinatesSequence |
getTwoDPlaneCoordinatesSequence()
Retrieves pre-initialized object of 2D Plane Coordinates 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.
|
void |
setThreeDPlaneNormal(double[] dblArrThreeDPlaneNormal)
Sets the 3D Plane Normal.
|
void |
setThreeDPlaneOrigin(double[] dblArrThreeDPlaneOrigin)
Sets the 3D Plane Origin.
|
boolean |
validate()
Validates all the attributes in PlanningLandmarkPlaneMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in PlanningLandmarkPlaneMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in PlanningLandmarkPlaneMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic PlanningLandmarkPlaneMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic PlanningLandmarkPlaneMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic PlanningLandmarkPlaneMacro(IItem objItem)
objItem - specifies instance of Item classpublic PlanningLandmarkPlaneMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic 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.public TwoDPlaneCoordinatesSequence getTwoDPlaneCoordinatesSequence()
public void setThreeDPlaneOrigin(double[] dblArrThreeDPlaneOrigin)
dblArrThreeDPlaneOrigin - Double value of 3D Plane Originpublic double[] getThreeDPlaneOrigin()
public void setThreeDPlaneNormal(double[] dblArrThreeDPlaneNormal)
dblArrThreeDPlaneNormal - Double value of 3D Plane Normalpublic double[] getThreeDPlaneNormal()