pcl::geometry::MeshIO< MeshT > Class Template Reference
[Module geometry]
Read / write the half-edge mesh from / to a file.
More...
#include <pcl/geometry/mesh_io.h>
List of all members.
Public Types |
| typedef MeshT | Mesh |
| typedef Mesh::Vertex | Vertex |
| typedef Mesh::HalfEdge | HalfEdge |
| typedef Mesh::Face | Face |
| typedef Mesh::Vertices | Vertices |
| typedef Mesh::HalfEdges | HalfEdges |
| typedef Mesh::Faces | Faces |
| typedef Mesh::VertexIndex | VertexIndex |
| typedef Mesh::HalfEdgeIndex | HalfEdgeIndex |
| typedef Mesh::FaceIndex | FaceIndex |
Public Member Functions |
| | MeshIO () |
| | Constructor.
|
| bool | read (const std::string &filename, Mesh &mesh) const |
| | Read the mesh from a file with the given filename.
|
| bool | write (const std::string &filename, const Mesh &mesh) const |
| | Write the mesh to a file with the given filename.
|
Detailed Description
template<class MeshT>
class pcl::geometry::MeshIO< MeshT >
Read / write the half-edge mesh from / to a file.
- Template Parameters:
-
- Author:
- Martin Saelzle
Definition at line 63 of file mesh_io.h.
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
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 92 of file mesh_io.h.
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 221 of file mesh_io.h.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/pcl-pcl-1.7.1/geometry/include/pcl/geometry/mesh_io.h