MeshLib
 
Loading...
Searching...
No Matches
MRPointsSave.h File Reference
#include "MRMeshFwd.h"
#include "MRExpected.h"
#include "MRPointCloud.h"
#include "MRIOFilters.h"
#include "MRSaveSettings.h"
#include <filesystem>
#include <ostream>

Go to the source code of this file.

Classes

struct  MR::PointsSave::CtmSavePointsOptions
 

Namespaces

namespace  MR
 
namespace  MR::PointsSave
 

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