Read / write the half-edge mesh from / to a file. More...
#include <mesh_io.h>
Public Types | |
typedef Mesh::Face | Face |
typedef Mesh::FaceIndex | FaceIndex |
typedef Mesh::Faces | Faces |
typedef Mesh::HalfEdge | HalfEdge |
typedef Mesh::HalfEdgeIndex | HalfEdgeIndex |
typedef Mesh::HalfEdges | HalfEdges |
typedef MeshT | Mesh |
typedef Mesh::Vertex | Vertex |
typedef Mesh::VertexIndex | VertexIndex |
typedef Mesh::Vertices | Vertices |
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. |
Read / write the half-edge mesh from / to a file.
MeshT | e.g. pcl::geometry::TriangleMesh or pcl::geometry::PolygonMesh |
typedef Mesh::Face pcl::geometry::MeshIO< MeshT >::Face |
typedef Mesh::FaceIndex pcl::geometry::MeshIO< MeshT >::FaceIndex |
typedef Mesh::Faces pcl::geometry::MeshIO< MeshT >::Faces |
typedef Mesh::HalfEdge pcl::geometry::MeshIO< MeshT >::HalfEdge |
typedef Mesh::HalfEdgeIndex pcl::geometry::MeshIO< MeshT >::HalfEdgeIndex |
typedef Mesh::HalfEdges pcl::geometry::MeshIO< MeshT >::HalfEdges |
typedef MeshT pcl::geometry::MeshIO< MeshT >::Mesh |
typedef Mesh::Vertex pcl::geometry::MeshIO< MeshT >::Vertex |
typedef Mesh::VertexIndex pcl::geometry::MeshIO< MeshT >::VertexIndex |
typedef Mesh::Vertices pcl::geometry::MeshIO< MeshT >::Vertices |
pcl::geometry::MeshIO< MeshT >::MeshIO | ( | ) | [inline] |
bool pcl::geometry::MeshIO< MeshT >::read | ( | const std::string & | filename, |
Mesh & | mesh | ||
) | const [inline] |
bool pcl::geometry::MeshIO< MeshT >::write | ( | const std::string & | filename, |
const Mesh & | mesh | ||
) | const [inline] |