23 bool print_progress =
false);
30 ReadTriangleMeshOptions
params = {});
43 bool write_vertex_normals =
true,
44 bool write_vertex_colors =
true,
45 bool write_triangle_uvs =
true,
46 bool print_progress =
false);
51 const ReadTriangleMeshOptions &
params);
57 bool write_vertex_normals,
58 bool write_vertex_colors,
59 bool write_triangle_uvs,
70 bool write_vertex_normals,
71 bool write_vertex_colors,
72 bool write_triangle_uvs,
77 const ReadTriangleMeshOptions &
params);
83 bool write_vertex_normals,
84 bool write_vertex_colors,
85 bool write_triangle_uvs,
90 const ReadTriangleMeshOptions &
params);
95 const ReadTriangleMeshOptions &
params);
101 bool write_vertex_normals,
102 bool write_vertex_colors,
103 bool write_triangle_uvs,
104 bool print_progress);
109 const ReadTriangleMeshOptions &
params);
115 bool write_vertex_normals,
116 bool write_vertex_colors,
117 bool write_triangle_uvs,
118 bool print_progress);
128 std::vector<unsigned int> &indices);
cmdLineReadable * params[]
bool ReadTriangleMeshFromOBJ(const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions &)
bool ReadTriangleMeshFromOFF(const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions ¶ms)
bool 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 ReadTriangleMeshFromGLTF(const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions ¶ms)
std::shared_ptr< ccMesh > CreateMeshFromFile(const std::string &filename, bool print_progress)
bool AddTrianglesByEarClipping(ccMesh &mesh, std::vector< unsigned int > &indices)
bool ReadTriangleMeshUsingASSIMP(const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions ¶ms)
bool 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 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 ReadTriangleMeshFromPLY(const std::string &filename, ccMesh &mesh, const ReadTriangleMeshOptions ¶ms)
bool ReadTriangleMeshFromSTL(const std::string &filename, ccMesh &mesh, bool print_progress)
bool 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 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 ReadTriangleMesh(const std::string &filename, ccMesh &mesh, ReadTriangleMeshOptions params)
bool 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)
Generic file read and write utility for python interface.