namespace creaImageIO
{
-/* bool SimpleView::readFile(std::vector<std::string> i_filenames, std::vector<vtkImageData *> &i_img)
+ bool SimpleView::readFile(std::vector<std::string> i_filenames, std::vector<vtkImageData *> &i_img)
{
bool bresult, bfinal = true;
ImageReader *mReader = new ImageReader();
{
if (!boost::filesystem::is_directory(itr->status()))
{
- if( mReader->CanRead(itr->string()) )
+ if( mReader->CanRead(itr->path().string()) )
{
- names.push_back(itr->string());
+ names.push_back(itr->path().string());
}
}
}
}
}
return bresult;
- }*/
+ }
}
-