Read / write the half-edge mesh from / to a file. More...
#include <pcl/geometry/mesh_base.h>
|
using |
Mesh = MeshT |
|
using |
Vertex = typename Mesh::Vertex |
|
using |
HalfEdge = typename Mesh::HalfEdge |
|
using |
Face = typename Mesh::Face |
|
using |
Vertices = typename Mesh::Vertices |
|
using |
HalfEdges = typename Mesh::HalfEdges |
|
using |
Faces = typename Mesh::Faces |
|
using |
VertexIndex = typename Mesh::VertexIndex |
|
using |
HalfEdgeIndex = typename Mesh::HalfEdgeIndex |
|
using |
FaceIndex = typename Mesh::FaceIndex |
|
|
|
MeshIO () |
|
Constructor. More...
|
|
bool |
read (const std::string &filename, Mesh &mesh) const |
|
Read the mesh from a file with the given filename. More...
|
|
bool |
write (const std::string &filename, const Mesh &mesh) const |
|
Write the mesh to a file with the given filename. More...
|
|
template<class MeshT>
class pcl::geometry::MeshIO< MeshT >
Read / write the half-edge mesh from / to a file.
- Template Parameters
-
- Author
- Martin Saelzle
- Todo:
-
- Only writes the topology (not the mesh data).
- Supports only ascii.
- Does not consider the mesh traits (e.g. manifold or not)
Definition at line 73 of file mesh_base.h.
Face
FaceIndex
Faces
HalfEdge
HalfEdgeIndex
HalfEdges
Mesh
Vertex
VertexIndex
Vertices
MeshIO()
read()
Read the mesh from a file with the given filename.
- Parameters
-
[in] |
filename |
Path to the file. |
[out] |
mesh |
The loaded mesh. |
- Returns
- true if success.
Definition at line 85 of file mesh_io.h.
write()
Write the mesh to a file with the given filename.
- Parameters
-
[in] |
filename |
Path to the file. |
[in] |
mesh |
The saved mesh. |
- Returns
- true if success
Definition at line 216 of file mesh_io.h.
The documentation for this class was generated from the following files: