determines how to save points/lines/mesh Generated from class MR.SaveSettings. Derived classes: Direct: (non-virtual) MR.MeshSave.CtmSaveOptions MR.PointsSave.CtmSavePointsOptions This is the const half of the class.
More...
|
|
virtual void | Dispose () |
| |
|
unsafe | Const_SaveSettings () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | Const_SaveSettings (bool onlyValidPoints, bool packPrimitives, MR.Const_VertColors? colors, MR.Std.Const_Vector_MRColor? primitiveColors, MR.Const_VertCoords2? uvMap, bool saveTriCornerUVCoords, MR.Const_MeshTexture? texture, string materialName, MR.AffineXf3d? xf, MR.LengthUnit? lengthUnit, MR._InOpt_Color solidColor, MR.Std._ByValue_Function_BoolFuncFromFloat progress) |
| | Constructs MR.SaveSettings elementwise.
|
| |
|
unsafe | Const_SaveSettings (MR._ByValue_SaveSettings _other) |
| | Generated from constructor MR.SaveSettings.SaveSettings.
|
| |
|
|
virtual unsafe void | Dispose (bool disposing) |
| |
|
| unsafe bool | onlyValidPoints [get] |
| |
| unsafe bool | packPrimitives [get] |
| |
|
unsafe MR.? Const_VertColors | colors [get] |
| | optional per-vertex color to save with the geometry
|
| |
|
unsafe MR.Std.? Const_Vector_MRColor | primitiveColors [get] |
| | per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
|
| |
|
unsafe MR.? Const_VertCoords2 | uvMap [get] |
| | optional per-vertex uv coordinate to save with the geometry
|
| |
| unsafe bool | saveTriCornerUVCoords [get] |
| |
|
unsafe MR.? Const_MeshTexture | texture [get] |
| | optional texture to save with the geometry
|
| |
|
unsafe MR.Std.Const_String | materialName [get] |
| | the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
|
| |
|
unsafe MR.? ConstBox_AffineXf3d | xf [get] |
| | this transformation can optionally be applied to all vertices (points) of saved object
|
| |
|
unsafe MR.Std.Const_Optional_MRLengthUnit | lengthUnit [get] |
| | units of input coordinates and transformation, to be serialized if the format supports it
|
| |
|
unsafe MR.Std.Const_Optional_MRColor | solidColor [get] |
| | the color of whole object
|
| |
|
unsafe MR.Std.Const_Function_BoolFuncFromFloat | progress [get] |
| | to report save progress and cancel saving if user desires
|
| |
|
virtual bool | _IsOwning [get] |
| | Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
|
| |
determines how to save points/lines/mesh Generated from class MR.SaveSettings. Derived classes: Direct: (non-virtual) MR.MeshSave.CtmSaveOptions MR.PointsSave.CtmSavePointsOptions This is the const half of the class.
◆ onlyValidPoints
| unsafe bool MR.Const_SaveSettings.onlyValidPoints |
|
get |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
◆ packPrimitives
| unsafe bool MR.Const_SaveSettings.packPrimitives |
|
get |
whether to allow packing or shuffling of primitives (triangles in meshes or edges in polylines); if packPrimitives=true, then ids of invalid primitives are reused by valid primitives and higher compression (in .ctm format) can be reached if the order of triangles is changed; if packPrimitives=false then all primitives maintain their ids, and invalid primitives are saved with all vertex ids equal to zero; currently this flag affects the saving in .ctm and .ply formats only
◆ saveTriCornerUVCoords
| unsafe bool MR.Const_SaveSettings.saveTriCornerUVCoords |
|
get |
if a format supports both per-vertex and per-tri-corner UV-coordinates, then prefer the later option (it takes more space but more supported in other software)
The documentation for this class was generated from the following file: