MeshLib Documentation
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
 
namespace  MR::MeshLoad
 
namespace  MR::MeshSave
 
namespace  MR::PointsLoad
 
namespace  MR::PointsSave
 

Functions

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