36 const char*
comment =
"MeshInspector Points";
39#ifndef MRMESH_NO_OPENCTM
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::vector< IOFilter > IOFilters
Definition MRIOFilters.h:23
MRMESH_API VoidOrErrStr toAsc(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
save valid points with normals in textual .asc file
MRMESH_API VoidOrErrStr toCtm(const PointCloud &points, const std::filesystem::path &file, const CtmSavePointsOptions &options={})
saves in .ctm file
MRMESH_API VoidOrErrStr toAnySupportedFormat(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
detects the format from file extension and save points to it
MRMESH_API VoidOrErrStr toPly(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
saves in .ply file
MRMESH_API const IOFilters Filters
Definition MRCameraOrientationPlugin.h:7
Expected< void > VoidOrErrStr
return type for a void function that can produce an error string
Definition MRExpected.h:60
Definition MRMesh/MRPointCloud.h:16
Definition MRMesh/MRPointsSave.h:32
const char * comment
comment saved in the file
Definition MRMesh/MRPointsSave.h:36
int compressionLevel
0 - minimal compression, but fast; 9 - maximal compression, but slow
Definition MRMesh/MRPointsSave.h:34
determines how to save points/lines/mesh
Definition MRSaveSettings.h:14