28 #ifndef __creaImageIOThreadedImageReader_h_INCLUDED__
29 #define __creaImageIOThreadedImageReader_h_INCLUDED__
36 #include <wx/thread.h>
47 class ThreadedImageReader;
48 class MultiThreadImageReader;
76 virtual void OnMultiThreadImageReaderEvent(
const std::string& filename,
80 inline void MultiThreadImageReaderEventLock()
81 { mMultiThreadImageReaderUserMutex.Lock(); }
82 inline void MultiThreadImageReaderEventUnlock()
83 { mMultiThreadImageReaderUserMutex.Unlock(); }
84 inline wxMutex& GetMultiThreadImageReaderUserMutex()
85 {
return mMultiThreadImageReaderUserMutex; }
88 void MultiThreadImageReaderSendEvent(
const std::string& filename,
120 const std::string& filename,
126 vtkImageData*
GetImage(
const std::string& filename);
134 vtkImageData* image);
137 void getAttributes(
const std::string filename, std::map <std::string , std::string> &infos, std::vector<std::string> i_attr);
147 const std::string& filename,
174 std::map<std::string, std::string>
getAttributes(
const std::vector<std::string> i_attr);
286 #endif // #ifndef __creaImageIOThreadedImageReader_h_INCLUDED__