]> Creatis software - creaImageIO.git/blob - src/creaImageIOSimpleView.h
9cfda379d19d4ea2d37b009aeb6f5a6232665ca1
[creaImageIO.git] / src / creaImageIOSimpleView.h
1 #include <boost/filesystem/path.hpp>
2 #include <boost/filesystem.hpp>
3 #include <boost/utility.hpp>
4 #include "creaImageIOImageReader.h"
5
6 namespace creaImageIO
7 {
8         class SimpleView
9         {
10         public:
11                 /// Ctor
12                 SimpleView(){}
13
14                 ///Dtor
15                 ~SimpleView(){}
16                 
17                 /// read file(s) and return a vector of vtkImageData 
18                 bool readFile( std::vector<std::string> i_filenames, std::vector< vtkImageData *> &i_img);
19
20                 /// read a directory and return a vector of vtkImageData 
21                 bool readDirectory(const std::string i_pathname, std::vector< vtkImageData *> &i_imgs);
22
23         };
24 }