29 #ifndef __creaImageIOQMultiThreadImageReader_h_INCLUDED__
30 #define __creaImageIOQMultiThreadImageReader_h_INCLUDED__
48 class ThreadedImageReader;
49 class MultiThreadImageReader;
56 friend class ThreadedImageReader;
57 friend class MultiThreadImageReader;
64 ThreadedReaderStarted,
65 ThreadedReaderStopped,
77 virtual void OnMultiThreadImageReaderEvent(
const std::string& filename,
81 inline void MultiThreadImageReaderEventLock()
82 { mMultiThreadImageReaderUserMutex.lock(); }
83 inline void MultiThreadImageReaderEventUnlock()
84 { mMultiThreadImageReaderUserMutex.unlock(); }
85 inline QMutex* GetMultiThreadImageReaderUserMutex()
86 {
return &mMultiThreadImageReaderUserMutex; }
89 void MultiThreadImageReaderSendEvent(
const std::string& filename,
121 const std::string& filename,
127 vtkImageData*
GetImage(
const std::string& filename);
135 vtkImageData* image);
138 void getAttributes(
const std::string filename, std::map <std::string , std::string> &infos, std::vector<std::string> i_attr);
148 const std::string& filename,
175 std::map<std::string, std::string>
getAttributes(
const std::vector<std::string> i_attr);
199 struct ImageToLoadPtrInversePriorityComparator
210 struct ImageToLoadPtrFilenameComparator
220 struct ImageToLoadPtrIndexer
225 struct ImageToUnloadPtrIndexer
287 #endif // #ifndef __creaImageIOQMultiThreadImageReader_h_INCLUDED__