MeshLib Documentation
Loading...
Searching...
No Matches
MR::PointsSave::CtmSavePointsOptions Struct Reference

#include <MRCtm.h>

+ Inheritance diagram for MR::PointsSave::CtmSavePointsOptions:

Public Attributes

int compressionLevel = 1
 0 - minimal compression, but fast; 9 - maximal compression, but slow
 
const char * comment = "MeshInspector Points"
 comment saved in the file
 
- Public Attributes inherited from MR::SaveSettings
bool saveValidOnly = true
 
bool rearrangeTriangles = true
 
const VertColors * colors = nullptr
 optional per-vertex color to save with the geometry
 
const VertUVCoords * uvMap = nullptr
 optional per-vertex uv coordinate to save with the geometry
 
const MeshTexturetexture = nullptr
 optional texture to save with the geometry
 
std::string materialName = "Default"
 used to save texture and material in some formats (obj)
 
const AffineXf3d * xf = nullptr
 this transformation can optionally be applied to all vertices (points) of saved object
 
ProgressCallback progress
 to report save progress and cancel saving if user desires
 

Member Data Documentation

◆ comment

const char* MR::PointsSave::CtmSavePointsOptions::comment = "MeshInspector Points"

comment saved in the file

◆ compressionLevel

int MR::PointsSave::CtmSavePointsOptions::compressionLevel = 1

0 - minimal compression, but fast; 9 - maximal compression, but slow


The documentation for this struct was generated from the following file: