ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
TriangleMeshIO.cpp File Reference
#include "cloudViewer/t/io/TriangleMeshIO.h"
#include <FileSystem.h>
#include <Logging.h>
#include <set>
#include <unordered_map>
#include "cloudViewer/t/io/NumpyIO.h"
Include dependency graph for TriangleMeshIO.cpp:

Go to the source code of this file.

Namespaces

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

Functions

std::shared_ptr< geometry::TriangleMesh > cloudViewer::t::io::CreateMeshFromFile (const std::string &filename, bool print_progress)
 
bool cloudViewer::t::io::ReadTriangleMesh (const std::string &filename, geometry::TriangleMesh &mesh, cloudViewer::io::ReadTriangleMeshOptions params)
 
bool cloudViewer::t::io::WriteTriangleMesh (const std::string &filename, const geometry::TriangleMesh &mesh, bool write_ascii, bool compressed, bool write_vertex_normals, bool write_vertex_colors, bool write_triangle_uvs, bool print_progress)
 
bool cloudViewer::t::io::ReadTriangleMeshFromNPZ (const std::string &filename, geometry::TriangleMesh &mesh, const cloudViewer::io::ReadTriangleMeshOptions &params)
 
bool cloudViewer::t::io::WriteTriangleMeshToNPZ (const std::string &filename, const geometry::TriangleMesh &mesh, const bool write_ascii, const bool compressed, const bool write_vertex_normals, const bool write_vertex_colors, const bool write_triangle_uvs, const bool print_progress)
 

Variables

static const std::unordered_map< std::string, std::function< bool(const std::string &, geometry::TriangleMesh &, const cloudViewer::io::ReadTriangleMeshOptions &)> > cloudViewer::t::io::file_extension_to_trianglemesh_read_function
 
static const std::unordered_map< std::string, std::function< bool(const std::string &, const geometry::TriangleMesh &, const bool, const bool, const bool, const bool, const bool, const bool)> > cloudViewer::t::io::file_extension_to_trianglemesh_write_function