36 class MultiFileVolume;
37 class DicomTagDumpFieldAddOn;
38 class RelatedDicomVolumeFieldAddOn;
64 bool autoInstallTagDumpFieldAddOn=
true,
65 bool installInputAccessConnector=
true,
66 bool installInputMessageFilterPlugin=
true,
67 bool installOutputAccessConnector=
true);
148 const std::string prefixStr,
149 std::string &resultStr);
157 const std::string prefixStr,
158 std::string &resultStr);
171 const std::string seqNameStr,
172 std::string &resultStr,
173 const std::string &sep=
".");
180 void _initFieldsAndMembers();
185 bool _updateLoadedCache();
217 std::string _previousCacheFileContent;
220 MultiFileVolumeListRefCountedPtr _outVolumesFromCacheFile;
Project global and OS specific declarations.
#define MLDIRECTDICOMIMPORTOUTPUTS_EXPORT
DLL export macro definition.
An instance of this class creates singleton proxies for DICOMCachedIO cache classes such that all cac...
Field to encapsulate a pointer to an ML base object.
Field to encapsulate a boolean value.
Class managing fields to show and handle a DICOM tree tag dump.
Base class for all fields used in the ML.
Field to encapsulate an integer value.
Base class for an image processing module of the ML.
The ML module base class MultiFileVolumeListBaseOutput used to implement further output modules for t...
const IntField & getNumVolumesFld() const
virtual void _updateVolumeInformation(MultiFileVolume *currVol)
This is called to notify derived classes about volume changes.
static std::string extractValueAndAppend(DCMTree::Const_TreePtr dcmTree, DCMTree::TagId tagId, const std::string prefixStr, std::string &resultStr)
Retrieves the tag value of tag with id tagId from dcmTree and adds it after prefixStr as string to re...
void handleNotification(Field *field) override
Handle field changes of the field field.
IntField & getOutVolIdxFld() const
BoolField & getUseBaseInputFld() const
Access methods to fields; see field members for documentation.
void installRelatedDicomVolumeFieldAddOn()
If called then a RelatedDicomVolumFieldAddOn is created and managed additionally to all other fields;...
BoolField & getAutoLoadResultCacheFld() const
virtual DicomConfigurableMessageFilterBaseRefCountedPtr _getMessageCollector()
Convenience routine to returns a new instance of a message collector to be used for message handling;...
DicomTagDumpFieldAddOn * getDicomTagDumpFieldAddOn() const
Returns the DicomTagDumpFieldAddOn if installed or nullptr otherwise.
StringField & getCacheFilePathFld() const
static DCMTree::Const_TagPtr extractSequenceAndAppend(DCMTree::Const_TreePtr dcmTree, DCMTree::TagId seqTagId, const std::string seqNameStr, std::string &resultStr, const std::string &sep=".")
Retrieves the sequence tag with id tagId from dcmTree and adds information about it to resultStr; the...
BaseField * getInputMessageFilterPluginFld() const
virtual void updateToVolume(MultiFileVolume *outVolToUse)
Update image output and internal pointer to the passed MultiFileVolume.
MultiFileVolumeList * getCurrentVolumeList()
Returns the pointer to the currently used volume list if there is one or nullptr otherwise.
BaseField * getOutputAccessConnectorFld() const
void activateAttachments() override
Update internal module state after load or clone and enable notification handling again.
MultiFileVolumeListRefCountedPtr getCurrentVolumeListRefCounted()
Returns the refcounted base pointer to the currently used volume list if there is one or nullptr othe...
RelatedDicomVolumeFieldAddOn * getRelatedDicomVolumeFieldAddOn() const
Returns the RelatedDicomVolumeFieldAddOn if installed or nullptr otherwise.
BaseField * getInputAccessConnectorFld() const
Access methods to optional fields which return nullptr if fields are not requested during constructor...
void installDicomTagDumpFieldAddOn()
If called then a DicomTagDumpFieldAddOn is created and managed additionally to all other fields; shou...
MultiFileVolumeListBaseOutput(int numInputs=0, int numOutputs=0, bool autoInstallTagDumpFieldAddOn=true, bool installInputAccessConnector=true, bool installInputMessageFilterPlugin=true, bool installOutputAccessConnector=true)
Constructor.
MultiFileVolume * getCurrentlySetVolume()
Returns the currently set volume or nullptr if none is set.
const StringField & getIssuesFld() const
static int extractIntValueAndAppend(DCMTree::Const_TreePtr dcmTree, DCMTree::TagId tagId, const std::string prefixStr, std::string &resultStr)
Same as _extractValueAndAppend with the difference that it is tried to additionally convert the tag v...
NotifyField & getLoadResultCacheFld() const
const StringField & getVolumeInfoDumpFld() const
~MultiFileVolumeListBaseOutput() override
Destructor.
Class managing a list of MultiFileVolume instances for the DirectDicomImport module; taking ownership...
Management class used by DirectDicomImport to create, represent and describe volumes composed of mult...
Field without value for notifications.
Field to encapsulate a string value.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
An instance of this class creates singleton proxies for DICOMCachedIO cache classes such that all cac...
Header file of ML module class DicomConfigurableMessageFilter usable as plugin for modules which prod...
Reference counted Base class encapsulating a list of MultiFileVolume instances.
Class managing a list of MultiFileVolume instances.
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< const Tree > Const_TreePtr