ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
TriangleMeshIO.h File Reference
#include <AutoIO.h>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for TriangleMeshIO.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::io
 

Functions

std::shared_ptr< ccMeshcloudViewer::io::CreateMeshFromFile (const std::string &filename, bool print_progress)
 
bool cloudViewer::io::ReadTriangleMesh (const std::string &filename, ccMesh &mesh, ReadTriangleMeshOptions params)
 
bool cloudViewer::io::WriteTriangleMesh (const std::string &filename, const ccMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::io::ReadTriangleMeshFromPLY (const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &params)
 
bool cloudViewer::io::WriteTriangleMeshToPLY (const std::string &filename, const ccMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::io::ReadTriangleMeshFromSTL (const std::string &filename, ccMesh &mesh, bool print_progress)
 
bool cloudViewer::io::WriteTriangleMeshToSTL (const std::string &filename, const ccMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::io::ReadTriangleMeshFromOBJ (const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &)
 
bool cloudViewer::io::WriteTriangleMeshToOBJ (const std::string &filename, const ccMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::io::ReadTriangleMeshUsingASSIMP (const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &params)
 
bool cloudViewer::io::ReadTriangleMeshFromOFF (const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &params)
 
bool cloudViewer::io::WriteTriangleMeshToOFF (const std::string &filename, const ccMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::io::ReadTriangleMeshFromGLTF (const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &params)
 
bool cloudViewer::io::WriteTriangleMeshToGLTF (const std::string &filename, const ccMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::io::AddTrianglesByEarClipping (ccMesh &mesh, std::vector< unsigned int > &indices)