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 non-const half of the class.
More...
|
| unsafe | SaveSettings () |
| | Constructs an empty (default-constructed) instance.
|
| |
| unsafe | 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 | SaveSettings (MR._ByValue_SaveSettings _other) |
| | Generated from constructor MR.SaveSettings.SaveSettings.
|
| |
| | SaveSettings (Const_SaveSettings _other) |
| | Generated from constructor MR.SaveSettings.SaveSettings.
|
| |
| | SaveSettings (SaveSettings _other) |
| | Generated from constructor MR.SaveSettings.SaveSettings.
|
| |
| unsafe MR.SaveSettings | assign (MR._ByValue_SaveSettings _other) |
| | Generated from method MR.SaveSettings.operator=.
|
| |
|
| new unsafe ref bool | onlyValidPoints [get] |
| |
| new unsafe ref bool | packPrimitives [get] |
| |
| new unsafe MR.? Const_VertColors | colors [get, set] |
| | optional per-vertex color to save with the geometry
|
| |
| new unsafe MR.Std.? Const_Vector_MRColor | primitiveColors [get, set] |
| | per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
|
| |
| new unsafe MR.? Const_VertCoords2 | uvMap [get, set] |
| | optional per-vertex uv coordinate to save with the geometry
|
| |
| new unsafe ref bool | saveTriCornerUVCoords [get] |
| |
| new unsafe MR.? Const_MeshTexture | texture [get, set] |
| | optional texture to save with the geometry
|
| |
| new unsafe MR.Std.String | materialName [get, protected set] |
| | the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
|
| |
| new unsafe MR.? ConstBox_AffineXf3d | xf [get, set] |
| | this transformation can optionally be applied to all vertices (points) of saved object
|
| |
| new unsafe MR.Std.Optional_MRLengthUnit | lengthUnit [get, protected set] |
| | units of input coordinates and transformation, to be serialized if the format supports it
|
| |
| new unsafe MR.Std.Optional_MRColor | solidColor [get, protected set] |
| | the color of whole object
|
| |
| new unsafe MR.Std.Function_BoolFuncFromFloat | progress [get, protected set] |
| | to report save progress and cancel saving if user desires
|
| |
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 non-const half of the class.
◆ SaveSettings() [1/5]
| unsafe MR.SaveSettings.SaveSettings |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ SaveSettings() [2/5]
| unsafe MR.SaveSettings.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 ) |
|
inline |
◆ SaveSettings() [3/5]
| unsafe MR.SaveSettings.SaveSettings |
( |
MR._ByValue_SaveSettings | _other | ) |
|
|
inline |
Generated from constructor MR.SaveSettings.SaveSettings.
◆ SaveSettings() [4/5]
| MR.SaveSettings.SaveSettings |
( |
Const_SaveSettings | _other | ) |
|
|
inline |
Generated from constructor MR.SaveSettings.SaveSettings.
◆ SaveSettings() [5/5]
Generated from constructor MR.SaveSettings.SaveSettings.
◆ assign()
| unsafe MR.SaveSettings MR.SaveSettings.assign |
( |
MR._ByValue_SaveSettings | _other | ) |
|
|
inline |
Generated from method MR.SaveSettings.operator=.
◆ colors
| new unsafe MR.? Const_VertColors MR.SaveSettings.colors |
|
getset |
optional per-vertex color to save with the geometry
◆ lengthUnit
| new unsafe MR.Std.Optional_MRLengthUnit MR.SaveSettings.lengthUnit |
|
getprotected set |
units of input coordinates and transformation, to be serialized if the format supports it
◆ materialName
| new unsafe MR.Std.String MR.SaveSettings.materialName |
|
getprotected set |
the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
◆ onlyValidPoints
| new unsafe ref bool MR.SaveSettings.onlyValidPoints |
|
get |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
◆ packPrimitives
| new unsafe ref bool MR.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
◆ primitiveColors
| new unsafe MR.Std.? Const_Vector_MRColor MR.SaveSettings.primitiveColors |
|
getset |
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
◆ progress
| new unsafe MR.Std.Function_BoolFuncFromFloat MR.SaveSettings.progress |
|
getprotected set |
to report save progress and cancel saving if user desires
◆ saveTriCornerUVCoords
| new unsafe ref bool MR.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)
◆ solidColor
| new unsafe MR.Std.Optional_MRColor MR.SaveSettings.solidColor |
|
getprotected set |
the color of whole object
◆ texture
| new unsafe MR.? Const_MeshTexture MR.SaveSettings.texture |
|
getset |
optional texture to save with the geometry
◆ uvMap
| new unsafe MR.? Const_VertCoords2 MR.SaveSettings.uvMap |
|
getset |
optional per-vertex uv coordinate to save with the geometry
◆ xf
this transformation can optionally be applied to all vertices (points) of saved object
The documentation for this class was generated from the following file: