#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
MRMESH_API Expected< void > 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 Expected< void > toXyz(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
MRMESH_API Expected< void > toAsc(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
save points with normals in .xyzn format, and save points without normals in .xyz format
MRMESH_API Expected< void > toXyzn(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
MRMESH_API Expected< void > toPly(const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
saves in .ply file
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
Definition MRMesh/MRPointCloud.h:16
determines how to save points/lines/mesh
Definition MRSaveSettings.h:14