public class KeratometryMacro extends Macro
| Constructor and Description |
|---|
KeratometryMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
KeratometryMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
KeratometryMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
KeratometryMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
FlatKeratometricAxisSequence |
getFlatKeratometricAxisSequence()
Retrieves pre-initialized object of Flat Keratometric Axis 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.
|
float |
getKeratometerIndex()
Retrieves the KeratometerIndex.
|
KeratometryMeasurementTypeCodeSequence |
getKeratometryMeasurementTypeCodeSequence()
Retrieves pre-initialized object of Keratometry Measurement Type Code 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.
|
SteepKeratometricAxisSequence |
getSteepKeratometricAxisSequence()
Retrieves pre-initialized object of Steep Keratometric Axis 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 |
setKeratometerIndex(float fKeratometerIndex)
Sets the KeratometerIndex.
|
boolean |
validate()
Validates all the attributes in KeratometryMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in KeratometryMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in KeratometryMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic KeratometryMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic KeratometryMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic KeratometryMacro(IItem objItem)
objItem - specifies instance of Item classpublic KeratometryMacro(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 SteepKeratometricAxisSequence getSteepKeratometricAxisSequence()
public FlatKeratometricAxisSequence getFlatKeratometricAxisSequence()
public KeratometryMeasurementTypeCodeSequence getKeratometryMeasurementTypeCodeSequence()
public void setKeratometerIndex(float fKeratometerIndex)
fKeratometerIndex - Float value of the KeratometerIndexpublic float getKeratometerIndex()