public class VOILUTMacro extends Macro
| Constructor and Description |
|---|
VOILUTMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
VOILUTMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
VOILUTMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
VOILUTMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVOILUTFunction()
Return type of VOILUT Function.
|
VOILUTSequence |
getVOILUTSequence()
Retrieves pre-initialized object of VOI LUT 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.
|
java.lang.String[] |
getWindowCenter()
Retrieves Window Center.
|
java.lang.String[] |
getWindowCenterWidthExplanation()
Return user-defined label identifier for Window Center & WidthExplanation.
|
java.lang.String[] |
getWindowWidth()
Retrieves Window Width.
|
void |
setVOILUTFunction(EnumVOILUTFunction enumVOILUTFunction)
Describes a VOI LUT function to apply to the values of Window Center(0028,1050) and Window Width (0028,1051).
|
void |
setWindowCenter(java.lang.String[] strWindowCenter)
Sets Window Center.
|
void |
setWindowCenterWidthExplanation(java.lang.String[] strArrWindowCenterWidthExplanation)
Sets Window Center & WidthExplanation.
|
void |
setWindowWidth(java.lang.String[] strWindowWidth)
Sets Window Width.
|
boolean |
validate()
Validates all the attributes in VOI LUT Macro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in VOI LUT Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in VOI LUT Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic VOILUTMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic VOILUTMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic VOILUTMacro(IItem objItem)
objItem - specifies instance of Item classpublic VOILUTMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic VOILUTSequence getVOILUTSequence()
public void setWindowCenter(java.lang.String[] strWindowCenter)
strWindowCenter - String value of Window Center.public java.lang.String[] getWindowCenter()
public void setWindowWidth(java.lang.String[] strWindowWidth)
strWindowWidth - String value of Window Width.public java.lang.String[] getWindowWidth()
public void setWindowCenterWidthExplanation(java.lang.String[] strArrWindowCenterWidthExplanation)
strArrWindowCenterWidthExplanation - String value of Window Center & WidthExplanation.public java.lang.String[] getWindowCenterWidthExplanation()
public void setVOILUTFunction(EnumVOILUTFunction enumVOILUTFunction)
enumVOILUTFunction - enum value of VOILUT Function.public java.lang.String getVOILUTFunction()
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.