4#ifndef MRIOEXTRAS_NO_CTM
47 const char *
comment =
"MeshInspector.com";
75 const char*
comment =
"MeshInspector Points";
int compressionLevel
LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow.
Definition MRCtm.h:45
const char * comment
comment saved in the file
Definition MRCtm.h:47
MRIOEXTRAS_API Expected< void > toCtm(const Mesh &mesh, const std::filesystem::path &file, const CtmSaveOptions &options)
saves in .ctm file
float vertexPrecision
Definition MRCtm.h:43
MeshCompression meshCompression
Definition MRCtm.h:40
const char * comment
comment saved in the file
Definition MRCtm.h:75
tl::expected< T, E > Expected
Definition MRExpected.h:31
int compressionLevel
0 - minimal compression, but fast; 9 - maximal compression, but slow
Definition MRCtm.h:73
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
MRIOEXTRAS_API Expected< Mesh > fromCtm(const std::filesystem::path &file, const MeshLoadSettings &settings={})
loads from .ctm file
MeshCompression
Definition MRCtm.h:35
@ None
no compression at all, fast but not effective
@ Lossless
compression without any loss in vertex coordinates
@ Lossy
compression with loss in vertex coordinates
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
setting for mesh loading from external format, and locations of optional output data
Definition MRMeshLoadSettings.h:14
Definition MRPointCloud.h:17
structure with settings and side output parameters for loading point cloud
Definition MRPointsLoadSettings.h:13
determines how to save points/lines/mesh
Definition MRSaveSettings.h:20