void OnMultiThreadImageReaderEvent( const std::string& filename,
EventType type,
vtkImageData* image);
-
+
+ /// Function to read attributes for a file
+ void getAttributes(const std::string filename, std::map <std::string , std::string> &infos, std::vector<std::string> i_attr);
+
protected:
bool mDone;
int GetMaximalPriorityWithoutLocking();
int& UnloadIndex() { return mUnloadIndex; }
vtkImageData* GetImage() const { return mImage; }
void SetImage( vtkImageData* i ) { mImage=i; }
+
+ std::map<std::string, std::string> getAttributes(const std::vector<std::string> i_attr);
private:
MultiThreadImageReaderUser* mUser;
std::string mFilename;