34 #ifndef AIMS_IO_PLYFORMAT_D_H
35 #define AIMS_IO_PLYFORMAT_D_H
52 template<
long D,
typename T>
53 bool PlyFormat<D, T>::read(
const std::string & filename,
55 const carto::AllocatorContext & context,
58 PlyReader<D, T> r( filename );
59 r.read( vol, context, options );
63 template<
long D,
typename T>
75 ascii = (bool) aso->getScalar();
84 PlyWriter<D, T> r( filename, ascii );
87 catch( std::exception & e )
The template class to manage a mesh with time if needed.
The class for EcatSino data write operation.
bool write(const T &obj, const std::string &filename, carto::Object options=carto::none(), const std::string *format=0)
Finds the correct format and writes the object, global version.