39 const std::string &filename,
bool print_progress =
false);
70 bool write_ascii =
false,
71 bool compressed =
false,
72 bool write_vertex_normals =
true,
73 bool write_vertex_colors =
true,
74 bool write_triangle_uvs =
true,
86 bool write_vertex_normals,
87 bool write_vertex_colors,
88 bool write_triangle_uvs,
95 bool write_vertex_normals,
96 bool write_vertex_colors,
97 bool write_triangle_uvs,
109 bool write_vertex_normals,
110 bool write_vertex_colors,
111 bool write_triangle_uvs,
112 bool print_progress);
127 bool write_vertex_normals,
128 bool write_vertex_colors,
129 bool write_triangle_uvs,
130 bool print_progress);
141 bool write_vertex_normals,
142 bool write_vertex_colors,
143 bool write_triangle_uvs,
144 bool print_progress);
154 std::vector<unsigned int> &indices);
std::function< bool(double)> update_progress
Definition: TriangleMeshIO.h:51
bool ReadTriangleMeshFromOFF(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FileOFF.cpp:42
bool ReadTriangleMesh(const std::string &filename, geometry::TriangleMesh &mesh, ReadTriangleMeshOptions params)
Definition: TriangleMeshIO.cpp:86
bool 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)
Definition: TriangleMeshIO.cpp:129
bool ReadTriangleMeshFromGLTF(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FileGLTF.cpp:94
bool print_progress
Definition: TriangleMeshIO.h:47
bool WriteTriangleMeshToGLTF(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)
Definition: FileGLTF.cpp:391
std::shared_ptr< geometry::TriangleMesh > CreateMeshFromFile(const std::string &filename, bool print_progress)
Definition: TriangleMeshIO.cpp:77
bool enable_post_processing
Enables post-processing on the mesh.
Definition: TriangleMeshIO.h:43
bool WriteTriangleMeshToOFF(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)
Definition: FileOFF.cpp:167
bool ReadTriangleMeshUsingASSIMP(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FileASSIMP.cpp:142
Definition: TriangleMeshIO.h:41
Definition: PinholeCameraIntrinsic.cpp:35
bool ReadTriangleMeshFromPLY(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FilePLY.cpp:539
bool AddTrianglesByEarClipping(geometry::TriangleMesh &mesh, std::vector< unsigned int > &indices)
Definition: TriangleMeshIO.cpp:189
bool WriteTriangleMeshToSTL(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)
Definition: FileSTL.cpp:42
Triangle mesh contains vertices and triangles represented by the indices to the vertices.
Definition: TriangleMesh.h:54
bool WriteTriangleMeshToPLY(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)
Definition: FilePLY.cpp:612
bool WriteTriangleMeshToOBJ(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)
Definition: FileOBJ.cpp:225
bool ReadTriangleMeshFromOBJ(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions &)
Definition: FileOBJ.cpp:46