public class LensometryMeasurementsMacro extends Macro
| Constructor and Description |
|---|
LensometryMeasurementsMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
LensometryMeasurementsMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
LensometryMeasurementsMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
LensometryMeasurementsMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
AddIntermediateSequence |
getAddIntermediateSequence()
Retrieves pre-initialized object of Add Intermediate 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.
|
AddNearSequence |
getAddNearSequence()
Retrieves pre-initialized object of Add Near 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.
|
double |
getChannelWidth()
Retrieves the Channel Width.
|
CylinderSequenceMacro |
getCylinderSequenceMacro()
This method returns the CylinderSequence Macro with proper initialization.
|
java.lang.String |
getLensSegmentType()
Return type of Lens Segment.
|
double |
getOpticalTransmittance()
Retrieves the Optical Transmittance.
|
PrismSequenceMacro |
getPrismSequenceMacro()
This method returns the PrismSequence Macro with proper initialization.
|
double |
getSpherePower()
Retrieves the Sphere Power.
|
void |
setChannelWidth(double dblChannelWidth)
Sets the Channel Width.
|
void |
setLensSegmentType(EnumLensSegmentType enumLensSegmentType)
Sets type of Lens Segment.
|
void |
setOpticalTransmittance(double dblOpticalTransmittance)
Sets the Optical Transmittance.
|
void |
setSpherePower(double dblSpherePower)
Sets the Sphere Power.
|
boolean |
validate()
Validates all the attributes in LensometryMeasurementsMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in LensometryMeasurementsMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in LensometryMeasurementsMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic LensometryMeasurementsMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic LensometryMeasurementsMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic LensometryMeasurementsMacro(IItem objItem)
objItem - specifies instance of Item classpublic LensometryMeasurementsMacro(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 void setSpherePower(double dblSpherePower)
dblSpherePower - Double value of Sphere Powerpublic double getSpherePower()
public CylinderSequenceMacro getCylinderSequenceMacro()
CylinderSequenceMacropublic AddNearSequence getAddNearSequence()
public AddIntermediateSequence getAddIntermediateSequence()
public PrismSequenceMacro getPrismSequenceMacro()
PrismSequenceMacropublic void setLensSegmentType(EnumLensSegmentType enumLensSegmentType)
enumLensSegmentType - enum value of Lens Segment Type.public java.lang.String getLensSegmentType()
public void setOpticalTransmittance(double dblOpticalTransmittance)
dblOpticalTransmittance - Double value of Optical Transmittancepublic double getOpticalTransmittance()
public void setChannelWidth(double dblChannelWidth)
dblChannelWidth - Double value of Channel Widthpublic double getChannelWidth()