17 #ifndef __mlAccessDirectDicomImportCache_H
18 #define __mlAccessDirectDicomImportCache_H
35 class DICOMCachedIOFileHandlePlugin;
53 virtual DCMTree::TreePtr getDCMTree(
const std::string &url, std::string &issueMessages);
58 virtual DCMTree::Const_TagPtr getDCMTag(
const std::string &url,
const std::string &tagId,
bool *treeLoadFailed, std::string &issueMessages);
66 virtual void setTagsToPrefetchFromConfig(
const std::string &config);
69 virtual void prefetchTags();
81 url = _urlFld->getStringValue();
88 _urlFld->setStringValue(url);
92 MLint getDicomCachedIOTagCacheSize()
const;
94 MLint getDicomCachedIOTreeCacheSize()
const;
99 MLuint32 getRawTagIdFromString(
const std::string &tag);
119 IntField *_dicomCachedIOTagCacheMaxNumMegaBytesFld;
120 IntField *_dicomCachedIOTreeCacheMaxNumMegaBytesFld;
131 #endif // __mlAccessDirectDicomImportCache_H
Field to encapsulate a boolean value.
boost::shared_ptr< const Tag > Const_TagPtr
ML module class AccessDirectDicomImportCache provides access to tool functions implemented in MLDICOM...
Class for cached DICOM tag loading from files for DICOM importing modules.
#define MLACCESSDIRECTDICOMIMPORTCACHE_EXPORT
void setUrl(std::string &url)
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...
std::string getUrl() const
Public getter and setter function for url field values.
Base class for all fields used in the ML.
Project global and OS specific declarations.
Field to encapsulate an integer value.
virtual void handleNotification(Field *)
Called when any field data in the field container of this module is modified.
This class represents a complete DICOM-message, including sequences etc.
Field to encapsulate a string value.
Class for DICOM tree accesses and caching of them for DICOM importing modules.
This file includes most files needed to implement new ML modules.
#define ML_MODULE_CLASS_HEADER(className)
Like ML_CLASS_HEADER for the usage of derived classes from Module.
Base class for an image processing module of the ML.
Field without value for notifications.
Class provides a file handling for DICOM importing modules.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree