#include <creaImageIOVtkImageReader.h>
#include <vtkImageReader2.h>
-#include <creaImageIOSystem.h>
+
#include "boost/filesystem/path.hpp"
+#if defined(_WIN32)
+#pragma warning(disable: 4996)
+#endif
namespace creaImageIO{
//=====================================================================
{
SetName ( name );
}
- GimmickDebugMessage(5,"Constructing vtkImageReader : "<<GetName()
- <<std::endl);
+
}
//=====================================================================
void VtkImageReader::ReadAttributes(const std::string& filename,
std::map<std::string,std::string>& attr)
{
- GimmickMessage(2,"Reading attributes from '"<<filename<<std::endl);
+
// Get image dimensions
// How to get the image info without loading it in vtk ?
mReader->SetFileName(filename.c_str());
i->second = filename.substr(0, last_pos);
}
- GimmickMessage(2,"Attributes map:"<<std::endl<<attr<<std::endl);
+
}
//=====================================================================