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);
-
- };
+ 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