#include <creaImageIOSettings.h>
#include <boost/filesystem/fstream.hpp>
#include <boost/algorithm/string/replace.hpp>
+#include <boost/filesystem/path.hpp>
+#include <boost/filesystem/operations.hpp>
+
#include <iostream>
#include <fstream>
#include "creaImageIOSimpleView.h"
+#include "boost/filesystem/operations.hpp"
+#include "boost/filesystem/fstream.hpp"
namespace creaImageIO
{
-
bool SimpleView::readFile(std::vector<std::string> i_filenames, std::vector<vtkImageData *> &i_img)
{
bool bresult, bfinal = true;
}
}
delete mReader;
- return bfinal;
-
+ return bfinal;
}
bool SimpleView::readDirectory(const std::string i_pathname, std::vector<vtkImageData *> &i_imgs)
for(int i=0; i<lgr; i++)
{
- std::cout << names[i] << std::endl;
+ std::cout << names[i] << std::endl;
i_imgs.push_back( mReader->ReadImage(names[i]) );
}
}