4#ifndef MRIOEXTRAS_NO_CTM
31 enum class MeshCompression
37 MeshCompression meshCompression = MeshCompression::Lossless;
40 float vertexPrecision = 1.0f / 1024.0f;
44 const char *
comment =
"MeshInspector.com";
48MRIOEXTRAS_API Expected<void>
toCtm(
const Mesh & mesh,
const std::filesystem::path & file,
const CtmSaveOptions & options );
50MRIOEXTRAS_API Expected<void>
toCtm(
const Mesh & mesh,
const std::filesystem::path & file,
const SaveSettings & settings = {} );
51MRIOEXTRAS_API Expected<void>
toCtm(
const Mesh & mesh, std::ostream & out,
const SaveSettings & settings = {} );
72 const char*
comment =
"MeshInspector Points";
Definition MRMeshLoadSettings.h:11
new unsafe MR.Misc.? Const_Box< byte > comment
new unsafe ref int compressionLevel
Definition MRMesh/MRMesh.h:23
Definition MRMesh/MRPointCloud.h:17
Definition MRPointsLoadSettings.h:10
new unsafe ref int compressionLevel
new unsafe MR.Misc.? Const_Box< byte > comment
Definition MRSaveSettings.h:17
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