Read / write the half-edge mesh from / to a file.
More...
#include <pcl/geometry/mesh_io.h>
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:
- /tmp/buildd/pcl-1.7.2/geometry/include/pcl/geometry/mesh_io.h