DCMTK
Version 3.6.7
OFFIS DICOM Toolkit
|
Class representing the Tractography Results Module. More...
Public Member Functions | |
TrcTractographyResultsModule (OFshared_ptr< DcmItem > item, OFshared_ptr< IODRules > rules) | |
Constructor. More... | |
TrcTractographyResultsModule () | |
Constructor. | |
virtual | ~TrcTractographyResultsModule () |
Destructor. | |
virtual OFCondition | read (DcmItem &source, const OFBool clearOldData=OFTrue) |
Read data into this module from given item. More... | |
virtual OFCondition | write (DcmItem &destination) |
Write this module to given item. More... | |
virtual void | clearData () |
Clear (removes) all attributes handled by the modules of this component. More... | |
virtual void | resetRules () |
Resets rules to their original values. | |
virtual OFString | getName () const |
Get name of macro. More... | |
virtual OFVector< TrcTrackSet * > & | getTrackSets () |
Get track sets. More... | |
virtual ContentIdentificationMacro & | getContentIdentification () |
Get Content Identification Macro. More... | |
virtual IODReferences & | getReferencedInstances () |
Return references to images that contributed to the Tractography Results object. More... | |
virtual OFCondition | getContentDate (OFString &value, const signed long pos=0) |
Get Content Date. More... | |
virtual OFCondition | getContentTime (OFString &value, const signed long pos=0) |
Get Content Time. More... | |
virtual OFCondition | setContentDate (const OFString &value, const OFBool checkValue=OFTrue) |
Set Content Date. More... | |
virtual OFCondition | setContentTime (const OFString &value, const OFBool checkValue=OFTrue) |
Set Content Time. More... | |
virtual OFCondition | addImageReference (const IODReference &imageRef) |
Add reference to image which was used to create this Tractography Results object. More... | |
virtual OFCondition | check (const OFBool quiet=OFFalse) |
Check whether this component's data satisfies the underlying rules. 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 int | compare (const IODComponent &rhs) const |
Comparison operator for IOD Components. More... | |
Protected Member Functions | |
virtual OFCondition | checkColoring () |
Check whether color information is valid, i.e. More... | |
Private Attributes | |
ContentIdentificationMacro | m_ContentIdentification |
Content Identification for this Tractography Results object. | |
OFVector< TrcTrackSet * > | m_TrackSets |
Content Identification for this Tractography Results object. | |
IODReferences | m_ReferencedInstances |
Referenced instances, represents content of Referenced Instance Sequence. | |
Static Private Attributes | |
static const OFString | m_ModuleName |
The module's name ("TractographyResultsModule") | |
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 Tractography Results Module.
TrcTractographyResultsModule::TrcTractographyResultsModule | ( | 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 a new set of rules and adds its own rules to it. |
|
virtual |
Add reference to image which was used to create this Tractography Results object.
Alternatively, getReferencedInstances() can be used.
imageRef | The image reference to add |
|
virtual |
Check whether this component's data satisfies the underlying rules.
quiet | If OFTrue, not error / warning messages will be produced. Only the returned error code will indicate error or OK. Per default, logging output is produced (OFFalse). |
Reimplemented from IODComponent.
|
protectedvirtual |
Check whether color information is valid, i.e.
coloring is either (for each Track Set): Per Track Set, per Track or Data Point-specific.
|
virtual |
Clear (removes) all attributes handled by the modules of this component.
Rules are not reset.
|
virtual |
Get Content Date.
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 Identification Macro.
|
virtual |
Get Content Time.
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 |
|
virtual |
Return references to images that contributed to the Tractography Results object.
The references is populated from the content of the Referenced Instance Sequence (and will be used for populating it when writing)
|
virtual |
Get track sets.
|
virtual |
Read data into this module from given item.
source | The item to read from |
clearOldData | If OFTrue, old data in this module is cleared first (default: OFTrue) |
Reimplemented from IODComponent.
|
virtual |
Set Content Date.
value | Value to be set (single value only). |
checkValue | Check 'value' for conformance with VR (DA) and VM (1) if enabled |
|
virtual |
Set Content Time.
value | Value to be set (single value only). |
checkValue | Check 'value' for conformance with VR (TM) and VM (1) if enabled |
|
virtual |
Write this module to given item.
destination | The item to write to |
Reimplemented from IODComponent.