19 #include <OpenMesh\Core\IO\MeshIO.hh>
39 static bool writeMesh(Mesh &mesh, mds::mod::CChannel& channel,
Options opt = Options::Default);
52 static bool writeMesh(Mesh &mesh, std::string filename,
Options opt = Options::Default);
66 static bool writeMesh(Mesh &mesh, std::ostream& stream, std::string format,
Options opt = Options::Default);
77 static bool readMesh(Mesh &mesh, mds::mod::CChannel& channel,
Options& opt);
100 static bool readMesh(Mesh &mesh, std::istream& stream, std::string format,
Options& opt);
117 template <
class Mesh,
typename Scalar>
118 static bool exportVertices(Mesh &mesh, Scalar *output_array,
bool normals =
false);
131 template <
class Mesh>
132 static bool exportFaces(Mesh &mesh,
int *output_array);
147 template <
class Mesh,
typename Scalar>
148 static bool importVertices(Mesh &mesh, Scalar *input_array,
int size,
bool normals =
false);
160 template <
class Mesh>
161 static bool importFaces(Mesh &mesh,
int *input_array,
int size);