DCMTK
Version 3.6.2
OFFIS DICOM Toolkit
|
Class representing the Enhanced US Image Module: More...
Public Member Functions | |
IODEnhUSImageModule (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules) | |
Constructor. More... | |
IODEnhUSImageModule () | |
Constructor. | |
virtual | ~IODEnhUSImageModule () |
Destructor. | |
virtual void | resetRules () |
Resets rules to their original values. | |
virtual OFString | getName () const |
Get name of module. 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) |
Get Image Type. More... | |
virtual OFCondition | getSamplesPerPixel (Uint16 &value, const unsigned long pos=0) |
Get Samples Per Pixel. More... | |
virtual OFCondition | getPhotometricInterpretation (OFString &value, const signed long pos=0) |
Get Photometric Interpretation. More... | |
virtual OFCondition | getRows (Uint16 &value, const unsigned long pos=0) |
Get Rows. More... | |
virtual OFCondition | getColumns (Uint16 &value, const unsigned long pos=0) |
Get Columns. More... | |
virtual OFCondition | getBitsAllocated (Uint16 &value, const unsigned long pos=0) |
Get Bits Allocated. More... | |
virtual OFCondition | getBitsStored (Uint16 &value, const unsigned long pos=0) |
Get Bits Stored. More... | |
virtual OFCondition | getHighBit (Uint16 &value, const unsigned long pos=0) |
Get High Bit. More... | |
virtual OFCondition | getPixelRepresentation (Uint16 &value, const unsigned long pos=0) |
Get Pixel Representation. More... | |
virtual OFCondition | getDimensionOrganizationType (OFString &value, const signed long pos=0) |
Get Dimension Organization Type. More... | |
virtual OFCondition | getAcquisitionDateTime (OFString &value, const signed long pos=0) |
Get Acquisition DateTime. More... | |
virtual OFCondition | getAcquisitionDuration (Float64 &value, const unsigned long pos=0) |
Get Acquisition Duration. More... | |
virtual OFCondition | getPixelSpacing (Float64 &value, const unsigned long pos=0) |
Get Pixel Spacing. More... | |
virtual OFCondition | getPositionMeasuringDevice (OFString &value, const signed long pos=0) |
Get Position Measuring Device. More... | |
virtual OFCondition | getLossyImageCompression (OFString &value, const signed long pos=0) |
Get Lossy Image Compression. More... | |
virtual OFCondition | getLossyImageCompressionRatio (Float64 &value, const unsigned long pos=0) |
Get Lossy Image Compression Ratio. More... | |
virtual OFCondition | getLossyImageCompressionMethod (OFString &value, const signed long pos=0) |
Get Lossy Image Compression Method. More... | |
virtual OFCondition | getPresentationLUTShape (OFString &value, const signed long pos=0) |
Get Presentation LUT Shape. More... | |
virtual OFCondition | getRescaleSlope (Float64 &value, const unsigned long pos=0) |
Get Rescale Slope. More... | |
virtual OFCondition | getRescaleIntercept (OFString &value, const signed long pos=0) |
Get Rescale Intercept. More... | |
virtual OFCondition | getBurnedInAnnotation (OFString &value, const signed long pos=0) |
Get Burned-In Annotation. More... | |
virtual OFCondition | getRecognizableVisibleFeatures (OFString &value, const signed long pos=0) |
Get Recognizable Visual Features. More... | |
virtual MandatoryViewAndSliceProgressionDirectionMacro & | getMandatoryViewAndSliceProgressionDirection () |
Get Mandatory View And Slice Progression Direction. More... | |
virtual GeneralAnatomyMacro & | getAnatomy () |
Get Anatomy. More... | |
virtual CodeSequenceMacro & | getTransducerScanPattern () |
Get Transducer Scan Pattern. More... | |
virtual CodeSequenceMacro & | getTransducerGeometry () |
Get Transducer Geometry Code. More... | |
virtual OFVector< CodeSequenceMacro * > & | getTransducerBeamSteering () |
Get Transducer Beam Steering. More... | |
virtual CodeSequenceMacro & | getTransducerApplication () |
Get Transducer Application. More... | |
virtual OFCondition | getProcessingFunction (OFString &value, const signed long pos=0) |
Get Processing Function. More... | |
virtual OFCondition | getMechanicalIndex (Float64 &value, const unsigned long pos=0) |
Get Mechanical Index. More... | |
virtual OFCondition | getBoneThermalIndex (Float64 &value, const unsigned long pos=0) |
Get Bone Thermal Index. More... | |
virtual OFCondition | getCranialThermalIndex (Float64 &value, const unsigned long pos=0) |
Get Cranial Thermal Index. More... | |
virtual OFCondition | getSoftTissueThermalIndex (Float64 &value, const unsigned long pos=0) |
Get Soft Tissue Thermal Index. More... | |
virtual OFCondition | getDepthsOfFocus (Float64 &value, const unsigned long pos=0) |
Get Depth(s) of Focus. More... | |
virtual OFCondition | getDepthsOfScanField (Float64 &value, const unsigned long pos=0) |
Get Depth(s) of Scan Field. More... | |
virtual OFCondition | setImageType (const DcmIODTypes::IOD_ENHUSIMAGETYPE pixelDataChar, const OFString &imageFlavor="", const OFString &derivedPixelContrast="", const OFBool checkValue=OFTrue) |
Set Image Type. More... | |
virtual OFCondition | setRows (const Uint16 value, const OFBool checkValue=OFTrue) |
Set Rows. More... | |
virtual OFCondition | setColumns (const Uint16 value, const OFBool checkValue=OFTrue) |
Set Columns. 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 | setDimensionOrganizationType (const OFString &value, const OFBool checkValue=OFTrue) |
Set Dimension Organization Type. More... | |
virtual OFCondition | setAcquisitionDateTime (const OFString &value, const OFBool checkValue=OFTrue) |
Set Acquisition DateTime. More... | |
virtual OFCondition | setAcquisitionDuration (const Float64 value, const OFBool checkValue=OFTrue) |
Set Acquisition Duration. More... | |
virtual OFCondition | setPixelSpacing (const OFString &value, const OFBool checkValue=OFTrue) |
Set Pixel Spacing. More... | |
virtual OFCondition | setPositionMeasuringDevice (const OFString &value, const OFBool checkValue=OFTrue) |
Set Position Measuring Device. 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 | setRecognizableVisibleFeatures (const OFString &value, const OFBool checkValue=OFTrue) |
Set Recognizable Visual Features. More... | |
virtual OFCondition | setProcessingFunction (const OFString &value, const OFBool checkValue=OFTrue) |
Set Processing Funcion. More... | |
virtual OFCondition | setMechanicalIndex (const OFString &value, const OFBool checkValue=OFTrue) |
Set Mechanical Index. More... | |
virtual OFCondition | setBoneThermalIndex (const OFString &value, const OFBool checkValue=OFTrue) |
Set Bone Thermal Index. More... | |
virtual OFCondition | setCranialThermalIndex (const OFString &value, const OFBool checkValue=OFTrue) |
Set Cranial Thermal Index. More... | |
virtual OFCondition | setSoftTissueThermalIndex (const OFString &value, const OFBool checkValue=OFTrue) |
Set Soft Tissue Thermal Index. More... | |
virtual OFCondition | setDepthsOfFocus (const Float64 value, const unsigned long pos, const OFBool checkValue=OFTrue) |
Set Depth(s) of Focus. More... | |
virtual OFCondition | setDepthsOfFocus (const OFVector< Float64 > &values, const OFBool checkValue=OFTrue) |
Set Depth(s) of Focus (convenience function) More... | |
virtual OFCondition | setDepthsOfScanField (const OFString &value, const OFBool checkValue=OFTrue) |
Set Depth(s) of Scan Field. 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... | |
Private Attributes | |
MandatoryViewAndSliceProgressionDirectionMacro | m_MandatoryViewAndSliceProgressionDirection |
Mandatory View and Slice Progression Direction. | |
GeneralAnatomyMacro | m_Anatomy |
General Anatomy Mandatory Macro. | |
CodeSequenceMacro | m_TransducerScanPattern |
Item of Transducer Scan Pattern Code Sequence. | |
CodeSequenceMacro | m_TransducerGeometry |
Item of Transducer Geometry Code Sequence. | |
OFVector< CodeSequenceMacro * > | m_TransducerBeamSteering |
Item of Transducer Beam Steering Code Sequence. | |
CodeSequenceMacro | m_TransducerApplication |
Item of Transducer Application Code Sequence. | |
Static Private Attributes | |
static const OFString | m_ModuleName |
This module's name ("EnhancedUSImageModule") | |
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 Enhanced US Image Module:
Image Type: (CS, 2 as defined in part 3, 1) Samples Per Pixel: (US, 1, 1) Photometric Interpretation (CS, 1, 1) Rows: (US, 1, 1) Columns: (US, 1, 1) Bits Allocated: (US, 1, 1) Bits Stored: (US, 1, 1) High Bit: (US, 1, 1) Pixel Representation: (US, 1, 1) Dimension Organization Type (CS, 1, 1) Acquisition DateTime (DT, 1, 1) Acquisition Duration (FD, 1, 1) Pixel Spacing (DS, 2, 1) Position Measuring Device Used (CS, 1, 1C) Lossy Image Compression: (CS, 1, 1) Lossy Image Compression Ratio: (DS, 1-n, 1C) Lossy Image Compression Method: (CS, 1-n, 1C) Presentation LUT Shape: (CS, 1, 1) Rescale Slope: (DS, 1, 1) Rescale Intercept: (DS, 1, 1) Mandatory View And Slice Progression Macro (type 1) Burned In Annotation: (CS, 1, 1) Recognizable Visual Features: (CS, 1, 3) Transducer Scan Pattern Code Sequence: (SQ, 1, 1) Transducer Geometry Code Sequence: (SQ, 1, 1) Transducer Beam Steering Code Sequence: (SQ, 1, 1) Transducer Application Code Sequence: (SQ, 1, 1) Processing Function: (LO, 1, 3) Mechanical Index: (DS, 1, 1) Bone Thermal Index: (DS, 1, 1) Cranial Thermal Index: (DS, 1, 1) Soft Tissue Thermal Index: (DS, 1, 1) Depth(s) of Focus: (FD, 1-n, 1) Depth(s) of Scan Field: (IS, 1, 1)
IODEnhUSImageModule::IODEnhUSImageModule | ( | 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 where this classes rules are added to. If NULL, the class creates an empty rule set. |
|
virtual |
Get Acquisition DateTime.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all values |
|
virtual |
Get Acquisition Duration.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Anatomy.
|
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) |
|
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) |
|
virtual |
Get Bone Thermal Index.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
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 values |
|
virtual |
Get Columns.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Cranial Thermal Index.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all values |
|
virtual |
Get Depth(s) of Focus.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Depth(s) of Scan Field.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Dimension Organization 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 values |
|
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) |
|
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 values |
|
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 values |
|
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 values |
|
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) |
|
virtual |
Get Mandatory View And Slice Progression Direction.
|
virtual |
Get Mechanical Index.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
|
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 values |
|
virtual |
Get Pixel Representation.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Pixel Spacing.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Position Measuring Device.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
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 values |
|
virtual |
Get Processing Function.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all values |
|
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 values |
|
virtual |
Get Rescale Intercept.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all values |
|
virtual |
Get Rescale Slope.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
virtual |
Get Rows.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1) |
|
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) |
|
virtual |
Get Soft Tissue Thermal Index.
value | Reference to variable in which the value should be stored |
pos | Index of the value to get (0..vm-1), -1 for all values |
|
virtual |
Get Transducer Application.
|
virtual |
Get Transducer Beam Steering.
|
virtual |
Get Transducer Geometry Code.
|
virtual |
Get Transducer Scan Pattern.
|
virtual |
Read attributes from given item into this class.
Overwrites fucntion of base class IODComponent.
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 Acquisition DateTime.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (DT) and VM (1) |
|
virtual |
Set Acquisition Duration.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, |
|
virtual |
Set Bits Allocated.
value | Value to be set, permitted values: 8 or 16 |
checkValue | Check 'value' for conformance if enabled |
|
virtual |
Set Bits Stored.
value | Value to be set, permitted values: 8 or 16 |
checkValue | Check 'value' for conformance if enabled |
|
virtual |
Set Bone Thermal Index.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (DS) and VM (1) |
|
virtual |
Set Columns.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled |
|
virtual |
Set Cranial Thermal Index.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (DS) and VM (1) |
|
virtual |
Set Depth(s) of Focus.
value | Value to be set |
pos | Index of the value to set (0..vm-1) |
checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
virtual |
Set Depth(s) of Focus (convenience function)
values | Value(s) to be set |
checkValue | Check 'value'. Not evaluated (here for consistency with other setter functions). |
|
virtual |
Set Depth(s) of Scan Field.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (IS) and VM (1) |
|
virtual |
Set Dimension Organization Type.
value | Value to be set, permitted values: "3D" or "3D_TEMPORAL" |
checkValue | Check 'value' for conformance if enabled, including VR (CS) and VM (1) |
|
virtual |
Set High Bit.
value | Value to be set, permitted values: 7 or 15 |
checkValue | Check 'value' for conformance if enabled |
|
virtual |
Set Image Type.
Image Type contains up to four values. Value 3 and 4 are optional and can be left empty if desired. The values in their order of occurrence are: 1) Pixel Data Characteristics: Either ORIGINAL or DERIVED 2) Patient Examination Characteristics: Fixed to "PRIMARY", thus cannot be influenced through this function. 3) Image Flavor: Defined Terms listed in the standard 4) Derived Pixel Contrast: Defined Terms listed in the standard
pixelDataChar | Value 1 of Image Type |
imageFlavor | Value 3 of Image Type |
derivedPixelContrast | Value 4 of Image Type |
checkValue | If OFTrue, the value is checked for conformance. |
|
virtual |
Set Lossy Image Compression.
value | Value to be set, permitted values: "00" (not lossy compressed) or "01" (lossy compressed) |
checkValue | Check 'value' for conformance if enabled, including VR (CS) and VM (1) |
|
virtual |
Set Lossy Image Compression Method.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (CS) |
|
virtual |
Set Lossy Image Compression Ratio.
value | Value to be set, including VR (DS) and VM (1-n) |
checkValue | Check 'value' for conformance if enabled, including VR (DS) |
|
virtual |
Set Mechanical Index.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (DS) and VM (1) |
|
virtual |
Set Pixel Spacing.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (DS) and VM (2) |
|
virtual |
Set Position Measuring Device.
value | Value to be set, permitted values: "RIGID" or "FREEHAND" |
checkValue | Check 'value' for conformance if enabled |
|
virtual |
Set Processing Funcion.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (LO) and VM (1) |
|
virtual |
Set Recognizable Visual Features.
value | Value to be set, permitted values: "YES" or "NO" |
checkValue | Check 'value' for conformance if enabled, including VR (CS) and VM (1) |
|
virtual |
Set Rows.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled |
|
virtual |
Set Soft Tissue Thermal Index.
value | Value to be set |
checkValue | Check 'value' for conformance if enabled, including VR (DS) and VM (1) |
|
virtual |
Write attributes from this class into given item.
Overwrites function of base class IODComponent.
destination | The item to write to |
Reimplemented from IODComponent.