4#ifndef MRIOEXTRAS_NO_CTM
44 const char *
comment =
"MeshInspector.com";
72 const char*
comment =
"MeshInspector Points";
MRIOEXTRAS_API Expected< Mesh > fromCtm(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from .ctm file
MRIOEXTRAS_API Expected< void > toCtm(const Mesh &mesh, const std::filesystem::path &file, const CtmSaveOptions &options)
saves in .ctm file
MRIOEXTRAS_API Expected< PointCloud > fromCtm(const std::filesystem::path &file, const PointsLoadSettings &settings={})
loads from .ctm file
MRIOEXTRAS_API Expected< void > toCtm(const PointCloud &points, const std::filesystem::path &file, const CtmSavePointsOptions &options)
saves in .ctm file
Definition MRCameraOrientationPlugin.h:8
tl::expected< T, E > Expected
Definition MRExpected.h:58
setting for mesh loading from external format, and locations of optional output data
Definition MRMeshLoadSettings.h:10
int compressionLevel
LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow.
Definition MRCtm.h:42
const char * comment
comment saved in the file
Definition MRCtm.h:44
float vertexPrecision
Definition MRCtm.h:40
MeshCompression meshCompression
Definition MRCtm.h:37
MeshCompression
Definition MRCtm.h:32
@ None
no compression at all, fast but not effective
@ Lossless
compression without any loss in vertex coordinates
@ Lossy
compression with loss in vertex coordinates
Definition MRMesh/MRMesh.h:23
Definition MRMesh/MRPointCloud.h:16
Definition MRPointsLoadSettings.h:10
const char * comment
comment saved in the file
Definition MRCtm.h:72
int compressionLevel
0 - minimal compression, but fast; 9 - maximal compression, but slow
Definition MRCtm.h:70
determines how to save points/lines/mesh
Definition MRSaveSettings.h:14