public class LuminanceResultMacro extends Macro
| Constructor and Description |
|---|
LuminanceResultMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
LuminanceResultMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
LuminanceResultMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
LuminanceResultMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAmbientLightValueSource()
Return Ambient Light Value Source
|
LuminanceResponseSequence |
getLuminanceResponseSequence()
Retrieves pre-initialized object of Luminance Response 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.
|
short |
getNumberOfLuminancePoints()
Retrieves number of luminance measurements recorded.
|
short |
getReflectedAmbientLight()
Retrieves Reflected ambient light in candelas per square meter (cd/m2) when themeasurements were taken.
|
void |
setAmbientLightValueSource(EnumSetupDeviceType enumAmbientLightValueSource)
Sets the source of the ambient light value.
|
void |
setNumberOfLuminancePoints(short shNumberOfLuminancePoints)
Sets number of luminance measurements recorded.
|
void |
setReflectedAmbientLight(short shReflectedAmbientLight)
Sets Reflected ambient light in candelas per square meter (cd/m2) when themeasurements were taken.
|
boolean |
validate()
Validates all the attributes in LuminanceResultMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in LuminanceResultMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in LuminanceResultMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic LuminanceResultMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic LuminanceResultMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic LuminanceResultMacro(IItem objItem)
objItem - specifies instance of Item classpublic LuminanceResultMacro(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 setNumberOfLuminancePoints(short shNumberOfLuminancePoints)
shNumberOfLuminancePoints - short value of number of luminance measurements recorded.public short getNumberOfLuminancePoints()
public LuminanceResponseSequence getLuminanceResponseSequence()
public void setReflectedAmbientLight(short shReflectedAmbientLight)
shReflectedAmbientLight - short value of Reflected ambient light in candelas per square meter (cd/m2) when themeasurements were taken.public short getReflectedAmbientLight()
public void setAmbientLightValueSource(EnumSetupDeviceType enumAmbientLightValueSource)
enumAmbientLightValueSource - enum value of Ambient Light Value Sourcepublic java.lang.String getAmbientLightValueSource()