9 class GeometryAppearance;
15 bool Import(
const char* fn,TriMesh& tri);
21 bool Export(
const char* fn,
const TriMesh& tri);
31 bool LoadVRML(std::istream& in,TriMesh& tri);
33 bool SaveVRML(std::ostream& out,
const TriMesh& tri);
36 bool LoadOFF(std::istream& in,TriMesh& tri);
38 bool SaveOFF(std::ostream& out,
const TriMesh& tri);
41 bool LoadOBJ(
const char* fn,TriMesh& tri);
45 bool SaveOBJ(
const char* fn,
const TriMesh& tri);
54 bool LoadAssimp(
const char* fn,vector<TriMesh>& meshes);
56 bool LoadAssimp(
const char* fn,vector<TriMesh>& meshes,vector<GLDraw::GeometryAppearance>& appearances);
58 bool SaveAssimp(
const char* fn,
const TriMesh& tri);
bool CanSaveTriMeshExt(const char *ext)
Returns true if the extension is a file type that we can save to.
Definition: meshing/IO.cpp:84
The namespace for all classes/functions in the Meshing package.
Definition: AnyGeometry.h:10
bool CanLoadTriMeshExt(const char *ext)
Returns true if the extension is a file type that we can load from.
Definition: meshing/IO.cpp:69
A class for coloring, texturing, and drawing meshes in OpenGL.
Definition: GeometryAppearance.h:42
bool SaveOBJ(const char *fn, const TriMesh &tri)
Saves to the Wavefront OBJ file format.
Definition: meshing/IO.cpp:559
bool Export(const char *fn, const TriMesh &tri)
Export will try to determine the file type via the file extension.
Definition: meshing/IO.cpp:186
bool SaveVRML(std::ostream &out, const TriMesh &tri)
Saves to VRML file format.
Definition: meshing/IO.cpp:241
bool LoadAssimp(const char *fn, TriMesh &mesh)
Loads using Assimp if available on your system.
Definition: meshing/IO.cpp:849
bool LoadVRML(std::istream &in, TriMesh &tri)
Loads from VRML file format.
Definition: meshing/IO.cpp:234
Contains all definitions in the GLDraw package.
Definition: AnyGeometry.h:13
bool LoadOFF(std::istream &in, TriMesh &tri)
Loads from the GeomView Object File Format (OFF)
Definition: meshing/IO.cpp:248
bool LoadOBJ(const char *fn, FILE *f, TriMesh &tri, GeometryAppearance &app)
Loads from the Wavefront OBJ format, with per-vertex colors?
Definition: meshing/IO.cpp:411
bool SaveAssimp(const char *fn, const TriMesh &mesh)
Saves using Assimp if available on your system (not implemented)
Definition: meshing/IO.cpp:861
bool SaveOFF(std::ostream &out, const TriMesh &tri)
Saves to the GeomView Object File Format (OFF)
Definition: meshing/IO.cpp:339
bool Import(const char *fn, TriMesh &tri)
Import will try to determine the file type via the file extension.
Definition: meshing/IO.cpp:104