20 const std::string &filename,
bool print_progress =
false);
68 bool write_ascii =
false,
69 bool compressed =
false,
70 bool write_vertex_normals =
true,
71 bool write_vertex_colors =
true,
72 bool write_triangle_uvs =
true,
73 bool print_progress =
false);
84 bool write_vertex_normals,
85 bool write_vertex_colors,
86 bool write_triangle_uvs,
93 bool write_vertex_normals,
94 bool write_vertex_colors,
95 bool write_triangle_uvs,
107 bool write_vertex_normals,
108 bool write_vertex_colors,
109 bool write_triangle_uvs,
110 bool print_progress);
125 bool write_vertex_normals,
126 bool write_vertex_colors,
127 bool write_triangle_uvs,
128 bool print_progress);
139 bool write_vertex_normals,
140 bool write_vertex_colors,
141 bool write_triangle_uvs,
142 bool print_progress);
152 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:165
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:210
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:41
bool print_progress
Definition: TriangleMeshIO.h:45
std::function< bool(double)> update_progress
Definition: TriangleMeshIO.h:49