DCMTK
Version 3.6.1 20170228
OFFIS DICOM Toolkit
|
Class representing the Parametric Map Image Module: More...
Public Member Functions | |
DPMParametricMapImageModule (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules) | |
Constructor. More... | |
DPMParametricMapImageModule () | |
Constructor. | |
virtual | ~DPMParametricMapImageModule () |
Destructor. | |
virtual void | resetRules () |
Resets rules to their original values. | |
virtual OFString | getName () const |
Get name of module ("DPMParametricMapImageModule") More... | |
virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
Read attributes from given item into this class. More... | |
virtual OFCondition | write (DcmItem &destination) |
Write attributes from this class into given item. More... | |
virtual OFCondition | getImageType (OFString &value, const signed long pos=0) const |
Get Image Type. More... | |
virtual OFCondition | getSamplesPerPixel (Uint16 &value, const signed long pos=0) const |
Get Samples Per Pixel. More... | |
virtual OFCondition | getPhotometricInterpretation (OFString &value, const signed long pos=0) const |
Get Photometric Interpretation. More... | |
virtual OFCondition | getBitsAllocated (Uint16 &value, const signed long pos=0) const |
Get Bits Allocated. More... | |
virtual OFCondition | getBitsStored (Uint16 &value, const signed long pos=0) const |
Get Bits Stored. More... | |
virtual OFCondition | getHighBit (Uint16 &value, const signed long pos=0) const |
Get High Bit. More... | |
virtual OFCondition | getPresentationLUTShape (OFString &value, const signed long pos=0) const |
Get Presentation LUT Shape. More... | |
virtual OFCondition | getLossyImageCompression (OFString &value, const signed long pos=0) const |
Get Lossy Image Compression. More... | |
virtual OFCondition | getLossyImageCompressionRatio (OFString &value, const signed long pos=0) const |
Get Lossy Image Compression Ratio. More... | |
virtual OFCondition | getLossyImageCompressionMethod (OFString &value, const signed long pos=0) const |
Get Lossy Image Compression Method. More... | |
virtual OFCondition | getBurnedInAnnotation (OFString &value, const signed long pos=0) const |
Get Burned In Annotation. More... | |
virtual OFCondition | getRecognizableVisualFeatures (OFString &value, const signed long pos=0) const |
Get Recognizable Visual Features. More... | |
virtual OFCondition | getContentQualification (OFString &value, const signed long pos=0) const |
Get Content Qualification. More... | |
virtual OFCondition | setImageType (const OFString &value, const OFBool checkValue=OFTrue) |
Set Image Type. More... | |
virtual OFCondition | setSamplesPerPixel (const Uint16 &value, const OFBool checkValue=OFTrue) |
Set Samples Per Pixel. More... | |
virtual OFCondition | setPhotometricInterpretation (const OFString &value, const OFBool checkValue=OFTrue) |
Set Photometric Interpretation. More... | |
virtual OFCondition | setBitsAllocated (const Uint16 &value, const OFBool checkValue=OFTrue) |
Set Bits Allocated. More... | |
virtual OFCondition | setBitsStored (const Uint16 &value, const OFBool checkValue=OFTrue) |
Set Bits Stored. More... | |
virtual OFCondition | setHighBit (const Uint16 &value, const OFBool checkValue=OFTrue) |
Set High Bit. More... | |
virtual OFCondition | setPresentationLUTShape (const OFString &value, const OFBool checkValue=OFTrue) |
Set Presentation LUT Shape. More... | |
virtual OFCondition | setLossyImageCompression (const OFString &value, const OFBool checkValue=OFTrue) |
Set Lossy Image Compression. More... | |
virtual OFCondition | setLossyImageCompressionRatio (const OFString &value, const OFBool checkValue=OFTrue) |
Set Lossy Image Compression Ratio. More... | |
virtual OFCondition | setLossyImageCompressionMethod (const OFString &value, const OFBool checkValue=OFTrue) |
Set Lossy Image Compression Method. More... | |
virtual OFCondition | setBurnedInAnnotation (const OFString &value, const OFBool checkValue=OFTrue) |
Set Burned In Annotation. More... | |
virtual OFCondition | setRecognizableVisualFeatures (const OFString &value, const OFBool checkValue=OFTrue) |
Set Recognizable Visual Features. More... | |
virtual OFCondition | setContentQualification (const OFString &value, const OFBool checkValue=OFTrue) |
Set ContentQualification. More... | |
![]() | |
IODModule (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules) | |
Constructor. More... | |
IODModule () | |
Constructor. More... | |
IODModule (const IODModule &rhs) | |
Copy constructor, creates shallow copy. More... | |
IODModule & | operator= (const IODModule &rhs) |
Assignment operator, creates shallow copy. More... | |
~IODModule () | |
Desctructor. | |
![]() | |
IODComponent (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules, IODComponent *parent=NULL) | |
Constructor. More... | |
IODComponent (IODComponent *parent=NULL) | |
Constructor, creates rules and item from scratch. More... | |
IODComponent & | operator= (const IODComponent &rhs) |
Assignment operator, copies contained item and rule set from rhs to "this" attribute set. More... | |
IODComponent (const IODComponent &rhs) | |
Copy constructor, copies reference to contained item and rule set to "this" attribute set. More... | |
virtual | ~IODComponent () |
Virtual Destructor. | |
void | clearData () |
Clear all attributes from the data that are handled by this module. More... | |
virtual void | inventMissing () |
Set missing values by inventing "default values". More... | |
OFshared_ptr< IODRules > | getRules () |
Get rules handled by this module. More... | |
virtual void | makeOptional () |
Make component optional by turning all attributes requirement types of it to type 3. More... | |
DcmItem & | getData () |
Get the data handled by this module. More... | |
virtual OFCondition | check (const OFBool quiet=OFFalse) |
Check whether this component's data satisfies the underlying rules. More... | |
virtual int | compare (const IODComponent &rhs) const |
Comparison operator for IOD Components. More... | |
Static Private Attributes | |
static const OFString | m_ModuleName |
The name of this module ("DPMParametricMapImageModule") | |
Additional Inherited Members | |
![]() | |
static OFCondition | read (DcmItem &source, IODRules &rules, DcmItem &destination, const OFString &componentName) |
Static helper function that reads attributes from given item into destination item, as determined by the provided rules and component name. More... | |
static OFCondition | write (DcmItem &source, IODRules &rules, DcmItem &destination, const OFString &componentName) |
Static helper function that writes attributes from given item into destination item, as determined by the provided rules and component name. More... | |
![]() | |
OFshared_ptr< DcmItem > | m_Item |
Shared pointer to the data handled by this class. More... | |
OFshared_ptr< IODRules > | m_Rules |
Rules describing the attributes governed by this class. | |
IODComponent * | m_Parent |
The parent component (may be NULL) of this class. | |
Class representing the Parametric Map Image Module:
ImageType: (CS, 2-n, 1) SamplesPerPixel: (US, 1, 1) PhotometricInterpretation: (CS, 1, 1) BitsAllocated: (US, 1, 1) BitsStored: (US, 1, 1C) HighBit: (US, 1, 1C) PresentationLUTShape: (CS, 1, 1) LossyImageCompression: (CS, 1, 1) LossyImageCompressionRatio: (DS, 1-n, 1C) LossyImageCompressionMethod: (CS, 1-n, 1C) BurnedInAnnotation: (CS, 1, 1) RecognizableVisualFeatures: (CS, 1, 1) ContentQualification: (CS, 1, 1)
DPMParametricMapImageModule::DPMParametricMapImageModule | ( | OFshared_ptr< DcmItem > | item, |
OFshared_ptr< IODRules > | rules | ||
) |
Constructor.
item | The item to be used for data storage. If NULL, the class creates an empty data container. |
rules | The rule set for this class. If NULL, the class creates one from scratch and adds its values. |
|
virtual |
Get Bits Allocated.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Bits Stored.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Burned In Annotation.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Content Qualification.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get High Bit.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Image Type.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Lossy Image Compression.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Lossy Image Compression Method.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Lossy Image Compression Ratio.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get name of module ("DPMParametricMapImageModule")
Implements IODComponent.
|
virtual |
Get Photometric Interpretation.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Presentation LUT Shape.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Recognizable Visual Features.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Get Samples Per Pixel.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all components |
|
virtual |
Read attributes from given item into this class.
source | The source to read from |
clearOldData | If OFTrue, old data is cleared before reading. Otherwise old data is overwritten (or amended) |
Reimplemented from IODComponent.
|
virtual |
Set Bits Allocated.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (US) and VM (1) if enabled |
|
virtual |
Set Bits Stored.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (US) and VM (1) if enabled |
|
virtual |
Set Burned In Annotation.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1) if enabled |
|
virtual |
Set ContentQualification.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1) if enabled |
|
virtual |
Set High Bit.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (US) and VM (1) if enabled |
|
virtual |
Set Image Type.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (2-n) if enabled |
|
virtual |
Set Lossy Image Compression.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1) if enabled |
|
virtual |
Set Lossy Image Compression Method.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1-n) if enabled |
|
virtual |
Set Lossy Image Compression Ratio.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (DS) and VM (1-n) if enabled |
|
virtual |
Set Photometric Interpretation.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1) if enabled |
|
virtual |
Set Presentation LUT Shape.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1) if enabled |
|
virtual |
Set Recognizable Visual Features.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (CS) and VM (1) if enabled |
|
virtual |
Set Samples Per Pixel.
value | Value to be set (single value only) or "" for no value |
checkValue | Check 'value' for conformance with VR (US) and VM (1) if enabled |
|
virtual |
Write attributes from this class into given item.
destination | The item to write to |
Reimplemented from IODComponent.