]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOSimpleView.h
Clean code
[creaImageIO.git] / src / creaImageIOSimpleView.h
index d1a98861c6ceb75a36c29e040c4ac90b55e88255..4cc3d824ad89419af65e68ec5e3042b734e569c7 100644 (file)
 
 namespace creaImageIO
 {
-       class SimpleView
+       class CREAIMAGEIO_EXPORT SimpleView
        {
        public:
                /// Ctor
                SimpleView(){}
-
                ///Dtor
                ~SimpleView(){}
-               
                /// read file(s) and return a vector of vtkImageData 
-               bool readFile( std::vector<std::string> i_filenames, std::vector< vtkImageData *> &i_img);
-
+               bool readFile( std::vector<std::string> i_filenames,                                                                                            // in information names
+                                                                               std::vector<std::string> i_attr,                                                                                        // in information attributes names
+                                                                               std::vector<std::map <std::string,std::string> > &i_imgAttr,    // out information attributes names-values
+                                                                               std::vector< vtkImageData *> &i_img);                                                                   // out information vtkImageData
                /// read a directory and return a vector of vtkImageData 
-               bool readDirectory(const std::string i_pathname, std::vector< vtkImageData *> &i_imgs);
-
-       };
-}
\ No newline at end of file
+               bool readDirectory(     const std::string i_pathname,                                                                                   // in information names
+                                                                       std::vector<std::string> i_attr,                                                                                        // in information attributes names
+                                                                       std::vector<std::map <std::string , std::string> > &i_imgAttr,  // out information attributes names-values
+                                                                       std::vector<vtkImageData *> &i_imgs);                                                                   // out information vtkImageData
+               vtkImageData* getVolumeSelected( std::vector<vtkImageData*> images);
+       };      
+}
+#endif