Generated from class MR.MeshSave.CtmSaveOptions. Base classes: Direct: (non-virtual) MR.SaveSettings This is the non-const half of the class. More...
Public Member Functions | |
| unsafe | CtmSaveOptions () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | CtmSaveOptions (MR.MeshSave._ByValue_CtmSaveOptions _other) |
| Generated from constructor MR.MeshSave.CtmSaveOptions.CtmSaveOptions. | |
| CtmSaveOptions (Const_CtmSaveOptions _other) | |
| Generated from constructor MR.MeshSave.CtmSaveOptions.CtmSaveOptions. | |
| CtmSaveOptions (CtmSaveOptions _other) | |
| Generated from constructor MR.MeshSave.CtmSaveOptions.CtmSaveOptions. | |
| unsafe MR.MeshSave.CtmSaveOptions | assign (MR.MeshSave._ByValue_CtmSaveOptions _other) |
| Generated from method MR::MeshSave::CtmSaveOptions::operator=. | |
Static Public Member Functions | |
| static unsafe implicit | operator MR.SaveSettings (CtmSaveOptions self) |
Properties | |
| new unsafe ref MR.MeshSave.CtmSaveOptions.MeshCompression | meshCompression [get] |
| new unsafe ref float | vertexPrecision [get] |
| new unsafe ref int | compressionLevel [get] |
| LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow. | |
| new unsafe MR.Misc.? Const_Box< byte > | comment [get, set] |
| comment saved in the file | |
| new unsafe ref bool | onlyValidPoints [get] |
| true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices | |
| new unsafe ref bool | 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 | |
| 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] |
| 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) | |
| 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_Bool_From_Float | progress [get, protected set] |
| to report save progress and cancel saving if user desires | |
Generated from class MR.MeshSave.CtmSaveOptions. Base classes: Direct: (non-virtual) MR.SaveSettings This is the non-const half of the class.
|
inline |
Constructs an empty (default-constructed) instance.
|
inline |
Generated from constructor MR.MeshSave.CtmSaveOptions.CtmSaveOptions.
|
inline |
Generated from constructor MR.MeshSave.CtmSaveOptions.CtmSaveOptions.
|
inline |
Generated from constructor MR.MeshSave.CtmSaveOptions.CtmSaveOptions.
|
inline |
Generated from method MR::MeshSave::CtmSaveOptions::operator=.
|
inlinestatic |
|
getset |
optional per-vertex color to save with the geometry
|
getset |
comment saved in the file
|
get |
LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow.
|
getprotected set |
units of input coordinates and transformation, to be serialized if the format supports it
|
getprotected set |
the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)
|
get |
|
get |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
|
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
|
getset |
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
|
getprotected set |
to report save progress and cancel saving if user desires
|
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)
|
getprotected set |
the color of whole object
|
getset |
optional texture to save with the geometry
|
getset |
optional per-vertex uv coordinate to save with the geometry
|
get |
|
getset |
this transformation can optionally be applied to all vertices (points) of saved object