Implementation of IO functions for Mesh data structure in OBJ and POV format.
- Author
- Martin Bauer marti.nosp@m.n.ba.nosp@m.uer@f.nosp@m.au.d.nosp@m.e
|
void | walberla::geometry::readMesh (const std::string &meshFilename, TriangleMesh &mesh) |
| Reads mesh from file. More...
|
|
void | walberla::geometry::writeMesh (const std::string &meshFilename, const TriangleMesh &mesh) |
| writes a mesh to file More...
|
|
void | walberla::geometry::readAndBroadcastMesh (const std::string &meshFilename, TriangleMesh &mesh) |
| Reads mesh from file on root process and broadcasts it to all other processes. More...
|
|
void | walberla::geometry::writeMeshOnRoot (const std::string &meshFilename, const TriangleMesh &mesh) |
| writes a mesh to file on root process More...
|
|
void | walberla::geometry::readFaceVertex (std::istream &is, TriangleMesh::index_t &vertexIdx, TriangleMesh::index_t &textureIdx, TriangleMesh::index_t &normalIdx) |
|
void | walberla::geometry::readMeshObj (std::istream &is, TriangleMesh &mesh) |
| Reads mesh from input stream in obj file format. More...
|
|
void | walberla::geometry::writeMeshObj (std::ostream &os, const TriangleMesh &mesh) |
| Writes mesh to output stream in obj format. More...
|
|
void | walberla::geometry::removeComments (std::istream &is, std::ostream &os) |
|
void | walberla::geometry::readMeshPov (std::istream &is, TriangleMesh &mesh, bool clear=true) |
| Reads mesh from input stream in povray's mesh2 format. More...
|
|
void | walberla::geometry::writeMeshPov0 (std::ostream &os, const TriangleMesh &mesh, const size_t itemsPerLine) |
|
void | walberla::geometry::writeMeshPov (std::ostream &os, const TriangleMesh &mesh, size_t itemsPerLine=5u, size_t itemsPerMesh=0u) |
| Writes mesh in povray's mesh2 format. More...
|
|
static void | walberla::geometry::skipComments (std::istream &is) |
|
void | walberla::geometry::readMeshOff (std::istream &is, TriangleMesh &mesh) |
| Reads mesh from input stream in Geomview Object File Format. More...
|
|
void | walberla::geometry::writeMeshOff (std::ostream &os, const TriangleMesh &mesh) |
| Writes a mesh to an output stream in Geomview Object File Format. More...
|
|
void | walberla::geometry::writeMeshVtp (std::ostream &os, const TriangleMesh &mesh) |
| Writes a mesh to an output stream in VTK Poly Data format. More...
|
|