20 const std::string &filename,
bool print_progress =
false);
67 bool write_ascii =
false,
68 bool compressed =
false,
69 bool write_vertex_normals =
true,
70 bool write_vertex_colors =
true,
71 bool write_triangle_uvs =
true,
72 bool print_progress =
false);
83 bool write_vertex_normals,
84 bool write_vertex_colors,
85 bool write_triangle_uvs,
92 bool write_vertex_normals,
93 bool write_vertex_colors,
94 bool write_triangle_uvs,
106 bool write_vertex_normals,
107 bool write_vertex_colors,
108 bool write_triangle_uvs,
109 bool print_progress);
124 bool write_vertex_normals,
125 bool write_vertex_colors,
126 bool write_triangle_uvs,
127 bool print_progress);
138 bool write_vertex_normals,
139 bool write_vertex_colors,
140 bool write_triangle_uvs,
141 bool print_progress);
151 std::vector<unsigned int> &indices);
Triangle mesh contains vertices and triangles represented by the indices to the vertices.
Definition: TriangleMesh.h:35
bool ReadTriangleMeshFromPLY(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FilePLY.cpp:521
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:24
bool ReadTriangleMeshUsingASSIMP(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FileASSIMP.cpp:156
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:372
bool ReadTriangleMeshFromGLTF(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FileGLTF.cpp:75
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:111
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:207
bool ReadTriangleMeshFromOBJ(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions &)
Definition: FileOBJ.cpp:28
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:149
std::shared_ptr< geometry::TriangleMesh > CreateMeshFromFile(const std::string &filename, bool print_progress)
Definition: TriangleMeshIO.cpp:59
bool AddTrianglesByEarClipping(geometry::TriangleMesh &mesh, std::vector< unsigned int > &indices)
Definition: TriangleMeshIO.cpp:171
bool ReadTriangleMeshFromOFF(const std::string &filename, geometry::TriangleMesh &mesh, const ReadTriangleMeshOptions ¶ms)
Definition: FileOFF.cpp:24
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:594
bool ReadTriangleMesh(const std::string &filename, geometry::TriangleMesh &mesh, ReadTriangleMeshOptions params)
Definition: TriangleMeshIO.cpp:68
Definition: PinholeCameraIntrinsic.cpp:16
Definition: TriangleMeshIO.h:22
bool enable_post_processing
Definition: TriangleMeshIO.h:40
bool print_progress
Definition: TriangleMeshIO.h:44
std::function< bool(double)> update_progress
Definition: TriangleMeshIO.h:48