MeshLib C++ Docs
Loading...
Searching...
No Matches
MRCtm.h File Reference
#include "config.h"
#include "exports.h"
#include <MRMesh/MRExpected.h>
#include <MRMesh/MRMeshLoadSettings.h>
#include <MRMesh/MRPointsLoadSettings.h>
#include <MRMesh/MRSaveSettings.h>
#include <filesystem>

Go to the source code of this file.

Classes

struct  MR::MeshSave::CtmSaveOptions
struct  MR::PointsSave::CtmSavePointsOptions

Namespaces

namespace  MR
 only for bindings generation
namespace  MR::MeshLoad
 compatibility names
namespace  MR::MeshSave
namespace  MR::PointsLoad
namespace  MR::PointsSave

Functions

Expected< MeshMR::MeshLoad::fromCtm (const std::filesystem::path &file, const MeshLoadSettings &settings={})
 loads from .ctm file
Expected< MeshMR::MeshLoad::fromCtm (std::istream &in, const MeshLoadSettings &settings={})
Expected< void > MR::MeshSave::toCtm (const Mesh &mesh, const std::filesystem::path &file, const CtmSaveOptions &options)
 saves in .ctm file
Expected< void > MR::MeshSave::toCtm (const Mesh &mesh, std::ostream &out, const CtmSaveOptions &options)
Expected< void > MR::MeshSave::toCtm (const Mesh &mesh, const std::filesystem::path &file, const SaveSettings &settings={})
Expected< void > MR::MeshSave::toCtm (const Mesh &mesh, std::ostream &out, const SaveSettings &settings={})
Expected< PointCloudMR::PointsLoad::fromCtm (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .ctm file
Expected< PointCloudMR::PointsLoad::fromCtm (std::istream &in, const PointsLoadSettings &settings={})
Expected< void > MR::PointsSave::toCtm (const PointCloud &points, const std::filesystem::path &file, const CtmSavePointsOptions &options)
 saves in .ctm file
Expected< void > MR::PointsSave::toCtm (const PointCloud &points, std::ostream &out, const CtmSavePointsOptions &options)
Expected< void > MR::PointsSave::toCtm (const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
Expected< void > MR::PointsSave::toCtm (const PointCloud &points, std::ostream &out, const SaveSettings &settings={})