MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PointsSave Namespace Reference

Classes

class  _ByValue_CtmSavePointsOptions
 
class  _InOptConst_CtmSavePointsOptions
 
class  _InOptMut_CtmSavePointsOptions
 
class  Const_CtmSavePointsOptions
 
class  CtmSavePointsOptions
 
struct  PointsSaver
 

Functions

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

Function Documentation

◆ toCtm() [1/4]

MRIOEXTRAS_API Expected< void > MR::PointsSave::toCtm ( const PointCloud & points,
const std::filesystem::path & file,
const CtmSavePointsOptions & options )

saves in .ctm file

◆ toCtm() [2/4]

MRIOEXTRAS_API Expected< void > MR::PointsSave::toCtm ( const PointCloud & points,
const std::filesystem::path & file,
const SaveSettings & settings = {} )

◆ toCtm() [3/4]

MRIOEXTRAS_API Expected< void > MR::PointsSave::toCtm ( const PointCloud & points,
std::ostream & out,
const CtmSavePointsOptions & options )

◆ toCtm() [4/4]

MRIOEXTRAS_API Expected< void > MR::PointsSave::toCtm ( const PointCloud & points,
std::ostream & out,
const SaveSettings & settings = {} )