public class ModalityLUTMacro extends Macro
| Constructor and Description |
|---|
ModalityLUTMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ModalityLUTMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ModalityLUTMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ModalityLUTMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
ModalityLUTSequence |
getModalityLUTSequence()
Retrieves pre-initialized object of Modality 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 |
getRescaleIntercept()
Return user-defined label identifier for Rescale Intercept.
|
java.lang.String |
getRescaleSlope()
Return user-defined label identifier for Rescale Slope.
|
java.lang.String |
getRescaleType()
Return user-defined label identifier for Rescale Type.
|
void |
setRescaleIntercept(java.lang.String strRescaleIntercept)
Sets Rescale Intercept.
|
void |
setRescaleSlope(java.lang.String strRescaleSlope)
Sets Rescale Slope.
|
void |
setRescaleType(java.lang.String strRescaleType)
Sets Rescale Type.
|
boolean |
validate()
Validates all the attributes in ModalityLUTMacro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in ModalityLUTMacro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in ModalityLUTMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ModalityLUTMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic ModalityLUTMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ModalityLUTMacro(IItem objItem)
objItem - specifies instance of Item classpublic ModalityLUTMacro(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 ModalityLUTSequence getModalityLUTSequence()
public void setRescaleIntercept(java.lang.String strRescaleIntercept)
strRescaleIntercept - String value of Rescale Intercept.public java.lang.String getRescaleIntercept()
public void setRescaleSlope(java.lang.String strRescaleSlope)
strRescaleSlope - String value of Rescale Slope.public java.lang.String getRescaleSlope()
public void setRescaleType(java.lang.String strRescaleType)
strRescaleType - String value of Rescale Type.public java.lang.String getRescaleType()