37class DicomTagDumpFieldAddOn;
38class RelatedDicomVolumeFieldAddOn;
175 const std::string &
sep=
".");
182 void _initFieldsAndMembers();
187 bool _updateLoadedCache();
219 std::string _previousCacheFileContent;
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...
DicomTagDumpFieldAddOn * getDicomTagDumpFieldAddOn() const
Returns the DicomTagDumpFieldAddOn if installed or nullptr otherwise.
const StringField & getIssuesFld() const
BaseField * getInputAccessConnectorFld() const
Access methods to optional fields which return nullptr if fields are not requested during constructor...
static std::string extractValueAndAppend(DCMTree::Const_TreePtr dcmTree, DCMTree::TagId tagId, const std::string prefixStr, std::string &resultStr, const std::string &lineBreakStr="\n")
Retrieves the tag value of tag with id tagId from dcmTree and adds it after prefixStr as string to re...
BaseField * getOutputAccessConnectorFld() const
virtual void _updateVolumeInformation(MultiFileVolume *currVol)
This is called to notify derived classes about volume changes.
void handleNotification(Field *field) override
Handle field changes of the field field.
void installRelatedDicomVolumeFieldAddOn()
If called then a RelatedDicomVolumFieldAddOn is created and managed additionally to all other fields;...
StringField & getCacheFilePathFld() const
BoolField & getUseBaseInputFld() const
Access methods to fields; see field members for documentation.
virtual DicomConfigurableMessageFilterBaseRefCountedPtr _getMessageCollector()
Convenience routine to returns a new instance of a message collector to be used for message handling;...
RelatedDicomVolumeFieldAddOn * getRelatedDicomVolumeFieldAddOn() const
Returns the RelatedDicomVolumeFieldAddOn if installed or nullptr otherwise.
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...
virtual void updateToVolume(MultiFileVolume *outVolToUse)
Update image output and internal pointer to the passed MultiFileVolume.
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...
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.
const IntField & getNumVolumesFld() const
NotifyField & getLoadResultCacheFld() const
BaseField * getInputMessageFilterPluginFld() const
const StringField & getVolumeInfoDumpFld() 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...
~MultiFileVolumeListBaseOutput() override
Destructor.
MultiFileVolume * getCurrentlySetVolume()
Returns the currently set volume or nullptr if none is set.
MultiFileVolumeList * getCurrentVolumeList()
Returns the pointer to the currently used volume list if there is one or nullptr otherwise.
IntField & getOutVolIdxFld() const
BoolField & getAutoLoadResultCacheFld() const
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< const Tree > Const_TreePtr