MeshLib
 
Loading...
Searching...
No Matches
MR::PointsSave Namespace Reference

Classes

struct  CtmSavePointsOptions
 

Functions

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 toAsc (const PointCloud &points, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API VoidOrErrStr toPly (const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
 saves in .ply file
 
MRMESH_API VoidOrErrStr toPly (const PointCloud &points, std::ostream &out, const SaveSettings &settings={})
 
MRMESH_API VoidOrErrStr toCtm (const PointCloud &points, const std::filesystem::path &file, const CtmSavePointsOptions &options={})
 saves in .ctm file
 
MRMESH_API VoidOrErrStr toCtm (const PointCloud &points, std::ostream &out, const CtmSavePointsOptions &options={})
 
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 toAnySupportedFormat (const PointCloud &points, std::ostream &out, const std::string &extension, const SaveSettings &settings={})
 extension in *.ext format
 

Variables

MRMESH_API const IOFilters Filters