Structure containing a container for pixel frames and an index of the most recently used one.
More...
|
| | MLDICOMCachedIOPixelFrameCacheContainer () |
| | Constructor; it is initialized with 25 MB of cache for DICOM tree tag data.
|
| |
| | MLDICOMCachedIOPixelFrameCacheContainer (const MLDICOMCachedIOPixelFrameCacheContainer &)=delete |
| | Delete copy constructor to prevent usage.
|
| |
| MLDICOMCachedIOPixelFrameCacheContainer & | operator= (const MLDICOMCachedIOPixelFrameCacheContainer &)=delete |
| | Delete assignment operator to prevent usage.
|
| |
| | ~MLDICOMCachedIOPixelFrameCacheContainer () |
| | Destructor, cleaning up internal objects.
|
| |
| DCMTree::MFPixelTag::pixel_cont_t | getCachedPixFrameData (const ml::DICOMCachedIOFileHandle &fileName, size_t frameIdx, DCMTree::MFPixelTag::pixel_cont_t pixFrameData, size_t numFrames) |
| | See MLDICOMCachedIOPixelFrameCache::getCachedPixFrameData().
|
| |
| void | addPixFrameData (const std::string &fileName, size_t frameIdx, DCMTree::MFPixelTag::pixel_cont_t pixFrameData, size_t numFrames) |
| | Add DICOM pixel data frame to the cache under the fileName as key; addPixFrameData requests with an empty fileName will be ignored (note that its data sizes are not counted).
|
| |
| void | loadMultiFramesInCache (DCMTree::Const_TreePtr mfTree, const ml::DICOMCachedIOFileHandle &fileNamePath, size_t &numFoundFrames, std::string &warnDesc, std::string &errDesc) |
| | See MLDICOMCachedIOPixelFrameCache::loadMultiFramesInCache().
|
| |
| DCMTree::MFPixelTag::pixel_cont_t | getPixFrameData (const std::string &fileName, size_t frameIdx, size_t numFrames) |
| | If there is a pixel data cache for a file name then return a cache reference, otherwise nullptr is returned.
|
| |
| MLMFPixDataFramesCacheEntry * | getPixFrameCacheEntry (const std::string &fileName) |
| | Return the vector of subimages associated with with pixel frame data; it depends by the application whether it is initialized or not.
|
| |
| bool | hasPixFrameDataCache (const std::string &fileName, size_t numFrames) const |
| | If there is a pixel data cache for file name with numFrames then it returns true, otherwise false.
|
| |
| void | removeAssociatedEntries (const std::string &fileName) |
| | Clears the entrie(s) of the MLDICOMCachedIOPixelFrameCacheContainer which belong to fileName.
|
| |
| void | clear () |
| | Clears the MLDICOMCachedIOPixelFrameCacheContainer, the pixel frame caches, and resets all counters.
|
| |
Structure containing a container for pixel frames and an index of the most recently used one.
. It also contains a recent frame data cache for multi-frame pixel data. These two functionalities in the future should be separated into different classes for nicer modularity.
Definition at line 66 of file mlDICOMCachedIOPixelFrameCacheContainer.h.