MeshLib
 
Loading...
Searching...
No Matches
Points Save

Classes

struct  MR::PointsSave::CtmSavePointsOptions
 

Functions

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

Variables

MRMESH_API const IOFilters MR::PointsSave::Filters
 

Detailed Description

Function Documentation

◆ toAnySupportedFormat() [1/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toAnySupportedFormat ( const PointCloud & points,
const std::filesystem::path & file,
const SaveSettings & settings = {} )

detects the format from file extension and save points to it

◆ toAnySupportedFormat() [2/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toAnySupportedFormat ( const PointCloud & points,
std::ostream & out,
const std::string & extension,
const SaveSettings & settings = {} )

extension in *.ext format

◆ toAsc() [1/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toAsc ( const PointCloud & points,
const std::filesystem::path & file,
const SaveSettings & settings = {} )

save valid points with normals in textual .asc file

◆ toAsc() [2/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toAsc ( const PointCloud & points,
std::ostream & out,
const SaveSettings & settings = {} )

◆ toCtm() [1/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toCtm ( const PointCloud & points,
const std::filesystem::path & file,
const CtmSavePointsOptions & options = {} )

saves in .ctm file

◆ toCtm() [2/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toCtm ( const PointCloud & points,
std::ostream & out,
const CtmSavePointsOptions & options = {} )

◆ toPly() [1/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toPly ( const PointCloud & points,
const std::filesystem::path & file,
const SaveSettings & settings = {} )

saves in .ply file

◆ toPly() [2/2]

MRMESH_API VoidOrErrStr MR::PointsSave::toPly ( const PointCloud & points,
std::ostream & out,
const SaveSettings & settings = {} )

Variable Documentation

◆ Filters

MRMESH_API const IOFilters MR::PointsSave::Filters
extern