determines how to save points/lines/mesh More...
#include <MRSaveSettings.h>
Public Attributes | |
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 MeshTexture * | texture = 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 | |
determines how to save points/lines/mesh
const VertColors* MR::SaveSettings::colors = nullptr |
optional per-vertex color to save with the geometry
std::string MR::SaveSettings::materialName = "Default" |
used to save texture and material in some formats (obj)
ProgressCallback MR::SaveSettings::progress |
to report save progress and cancel saving if user desires
bool MR::SaveSettings::rearrangeTriangles = true |
if it is turned on, then higher compression ratios are reached but the order of triangles is changed; currently affects .ctm format only
bool MR::SaveSettings::saveValidOnly = true |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
const MeshTexture* MR::SaveSettings::texture = nullptr |
optional texture to save with the geometry
const VertUVCoords* MR::SaveSettings::uvMap = nullptr |
optional per-vertex uv coordinate to save with the geometry
const AffineXf3d* MR::SaveSettings::xf = nullptr |
this transformation can optionally be applied to all vertices (points) of saved object