29class DICOMCachedIOFileHandlePlugin;
30class DicomMessageCollector;
59 const std::string &tagId,
85 url = _urlFld->getStringValue();
92 _urlFld->setStringValue(
url);
105 MLuint32 getRawTagIdFromString(
const std::string &
tag);
129 IntField *_dicomCachedIOTagCacheMaxNumMegaBytesFld;
131 IntField *_dicomCachedIOTreeCacheMaxNumMegaBytesFld;
Project global and OS specific declarations.
#define MLACCESSDIRECTDICOMIMPORTCACHE_EXPORT
DLL export macro definition.
Class for cached DICOM tag loading from files for DICOM importing modules.
Class for DICOM tree accesses and caching of them for DICOM importing modules.
ML module class AccessDirectDicomImportCache provides access to tool functions implemented in MLDICOM...
~AccessDirectDicomImportCache() override
Destructor.
virtual DCMTree::Const_TagPtr getDCMTag(const std::string &url, const std::string &tagId, bool *treeLoadFailed, DicomMessageCollector &dcmMsgCollector)
Returns the DCMTree::Const_TagPtr for the specified url and tag.
virtual void prefetchTags()
Prefetches the dicom tags specified in _tagsToPrefetchFld for the DCMTree with location given in _url...
AccessDirectDicomImportCache()
Constructor.
std::string getUrl() const
MLint getDicomCachedIOTreeCacheSize() const
Returns the maximum cache size of the MLDICOMCachedIOTreeCacheMap.
void handleNotification(Field *field) override
Handles field changes of the field field.
virtual void removeDicomCachedIOFileHandlePlugin(DICOMCachedIOFileHandlePlugin *fileHandlePlugin)
Removes a DICOMCachedIOFileHandlePlugin to the DICOMCachedIOFileHandleProvider.
MLint getDicomCachedIOTagCacheSize() const
Returns the maximum cache size of the MLDICOMCachedIOTagCacheMap.
virtual void setTagsToPrefetchFromConfig(const std::string &config)
Tool function to prefetch DCMTags into the MLDICOMCachedIOTagCache, to be used in combination with Di...
virtual void addDicomCachedIOFileHandlePlugin(DICOMCachedIOFileHandlePlugin *fileHandlePlugin)
Adds a DICOMCachedIOFileHandlePlugin to the DICOMCachedIOFileHandleProvider.
virtual DCMTree::TreePtr getDCMTree(const std::string &url, DicomMessageCollector &dcmMsgCollector)
Returns the DCMTree::TreePtr for the specified url.
void setUrl(std::string &url)
Field to encapsulate a boolean value.
Class for resolving filenames from a given identifier (url,etc...) for DICOM importing modules.
Class to collect messages and errors related to a given frame handle.
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.
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.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
boost::shared_ptr< const Tag > Const_TagPtr
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree