MeshLib C++ Docs
Loading...
Searching...
No Matches
MRSaveSettings Struct Reference

determines how to save points/lines/mesh More...

#include <MRSaveSettings.h>

Public Attributes

bool onlyValidPoints
 
bool packPrimitives
 
const MRVertColors * colors
 optional per-vertex color to save with the geometry
 
MRProgressCallback progress
 to report save progress and cancel saving if user desires
 

Detailed Description

determines how to save points/lines/mesh

Member Data Documentation

◆ colors

const MRVertColors* MRSaveSettings::colors

optional per-vertex color to save with the geometry

◆ onlyValidPoints

bool MRSaveSettings::onlyValidPoints

true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices

◆ packPrimitives

bool MRSaveSettings::packPrimitives

if it is turned on, then higher compression ratios are reached but the order of primitives (triangles in meshes or edges in polylines) is changed; currently this flag affects the saving in .ctm and .ply formats only

◆ progress

MRProgressCallback MRSaveSettings::progress

to report save progress and cancel saving if user desires


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