MeshLib C# Docs
Loading...
Searching...
No Matches

options for saving in Google Draco format Generated from class MR.DracoSaveOptions. Base classes: Direct: (non-virtual) MR.SaveSettings This is the non-const half of the class. More...

Inheritance diagram for MR.DracoSaveOptions:

Public Member Functions

unsafe DracoSaveOptions ()
 Constructs an empty (default-constructed) instance.
unsafe DracoSaveOptions (MR._ByValue_DracoSaveOptions _other)
 Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.
 DracoSaveOptions (Const_DracoSaveOptions _other)
 Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.
 DracoSaveOptions (DracoSaveOptions _other)
 Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.
unsafe MR.DracoSaveOptions assign (MR._ByValue_DracoSaveOptions _other)
 Generated from method MR::DracoSaveOptions::operator=.
Public Member Functions inherited from MR.Const_DracoSaveOptions
virtual void Dispose ()
unsafe Const_DracoSaveOptions ()
 Constructs an empty (default-constructed) instance.
unsafe Const_DracoSaveOptions (MR._ByValue_DracoSaveOptions _other)
 Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.
 Const_DracoSaveOptions (Const_DracoSaveOptions _other)
 Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.
 Const_DracoSaveOptions (DracoSaveOptions _other)
 Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

Static Public Member Functions

static unsafe implicit operator MR.SaveSettings (DracoSaveOptions self)
Static Public Member Functions inherited from MR.Const_DracoSaveOptions
static unsafe implicit operator MR.Const_SaveSettings (Const_DracoSaveOptions self)

Properties

new unsafe ref int compressionLevel [get]
 0 - fastest encoding and decoding but the worst compression, 10 - the best compression
new unsafe ref int positionQuantizationBits [get]
 the number of bits to quantize vertex coordinates to (in the range [1, 30]); 0 - no quantization, the coordinates are saved losslessly
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.? Const_FaceColors 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, saved only in the formats having object color: .3mf (if neither per-vertex nor per-triangle colors are given), .obj (Kd in .mtl file), binary .stl (COLOR= in the header)
new unsafe ref bool telemetrySignal [get]
 permit telemetry signal about saving
new unsafe MR.Std.Function_Bool_From_Float progress [get, protected set]
 to report save progress and cancel saving if user desires
Properties inherited from MR.Const_DracoSaveOptions
unsafe int compressionLevel [get]
 0 - fastest encoding and decoding but the worst compression, 10 - the best compression
unsafe int positionQuantizationBits [get]
 the number of bits to quantize vertex coordinates to (in the range [1, 30]); 0 - no quantization, the coordinates are saved losslessly
unsafe bool onlyValidPoints [get]
 true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
unsafe 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
unsafe MR.? Const_VertColors colors [get]
 optional per-vertex color to save with the geometry
unsafe MR.? Const_FaceColors 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]
 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)
unsafe MR.? Const_MeshTexture texture [get]
 optional texture to save with the geometry
unsafe MR.Std.Const_String materialName [get, protected set]
 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, protected set]
 units of input coordinates and transformation, to be serialized if the format supports it
unsafe MR.Std.Const_Optional_MRColor solidColor [get, protected set]
 the color of whole object, saved only in the formats having object color: .3mf (if neither per-vertex nor per-triangle colors are given), .obj (Kd in .mtl file), binary .stl (COLOR= in the header)
unsafe bool telemetrySignal [get]
 permit telemetry signal about saving
unsafe MR.Std.Const_Function_Bool_From_Float progress [get, protected set]
 to report save progress and cancel saving if user desires

Additional Inherited Members

Protected Member Functions inherited from MR.Const_DracoSaveOptions
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_DracoSaveOptions
unsafe int * __ref_storage_compressionLevel
unsafe int * __ref_storage_positionQuantizationBits
unsafe bool * __ref_storage_onlyValidPoints
unsafe bool * __ref_storage_packPrimitives
unsafe MR.Const_VertColors._Underlying ** __ptr_storage_colors
unsafe MR.Const_FaceColors._Underlying ** __ptr_storage_primitiveColors
unsafe MR.Const_VertCoords2._Underlying ** __ptr_storage_uvMap
unsafe bool * __ref_storage_saveTriCornerUVCoords
unsafe MR.Const_MeshTexture._Underlying ** __ptr_storage_texture
unsafe MR.ConstBox_AffineXf3d._Underlying ** __ptr_storage_xf
unsafe bool * __ref_storage_telemetrySignal

Detailed Description

options for saving in Google Draco format Generated from class MR.DracoSaveOptions. Base classes: Direct: (non-virtual) MR.SaveSettings This is the non-const half of the class.

Constructor & Destructor Documentation

◆ DracoSaveOptions() [1/4]

unsafe MR.DracoSaveOptions.DracoSaveOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ DracoSaveOptions() [2/4]

unsafe MR.DracoSaveOptions.DracoSaveOptions ( MR._ByValue_DracoSaveOptions _other)
inline

Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

◆ DracoSaveOptions() [3/4]

MR.DracoSaveOptions.DracoSaveOptions ( Const_DracoSaveOptions _other)
inline

Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

◆ DracoSaveOptions() [4/4]

MR.DracoSaveOptions.DracoSaveOptions ( DracoSaveOptions _other)
inline

Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

Member Function Documentation

◆ assign()

unsafe MR.DracoSaveOptions MR.DracoSaveOptions.assign ( MR._ByValue_DracoSaveOptions _other)
inline

Generated from method MR::DracoSaveOptions::operator=.

◆ operator MR.SaveSettings()

unsafe implicit MR.DracoSaveOptions.operator MR.SaveSettings ( DracoSaveOptions self)
inlinestatic

Property Documentation

◆ colors

new unsafe MR.? Const_VertColors MR.DracoSaveOptions.colors
getset

optional per-vertex color to save with the geometry

◆ compressionLevel

new unsafe ref int MR.DracoSaveOptions.compressionLevel
get

0 - fastest encoding and decoding but the worst compression, 10 - the best compression

◆ lengthUnit

new unsafe MR.Std.Optional_MRLengthUnit MR.DracoSaveOptions.lengthUnit
getprotected set

units of input coordinates and transformation, to be serialized if the format supports it

◆ materialName

new unsafe MR.Std.String MR.DracoSaveOptions.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.DracoSaveOptions.onlyValidPoints
get

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

◆ packPrimitives

new unsafe ref bool MR.DracoSaveOptions.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

◆ positionQuantizationBits

new unsafe ref int MR.DracoSaveOptions.positionQuantizationBits
get

the number of bits to quantize vertex coordinates to (in the range [1, 30]); 0 - no quantization, the coordinates are saved losslessly

◆ primitiveColors

new unsafe MR.? Const_FaceColors MR.DracoSaveOptions.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_Bool_From_Float MR.DracoSaveOptions.progress
getprotected set

to report save progress and cancel saving if user desires

◆ saveTriCornerUVCoords

new unsafe ref bool MR.DracoSaveOptions.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.DracoSaveOptions.solidColor
getprotected set

the color of whole object, saved only in the formats having object color: .3mf (if neither per-vertex nor per-triangle colors are given), .obj (Kd in .mtl file), binary .stl (COLOR= in the header)

◆ telemetrySignal

new unsafe ref bool MR.DracoSaveOptions.telemetrySignal
get

permit telemetry signal about saving

◆ texture

new unsafe MR.? Const_MeshTexture MR.DracoSaveOptions.texture
getset

optional texture to save with the geometry

◆ uvMap

new unsafe MR.? Const_VertCoords2 MR.DracoSaveOptions.uvMap
getset

optional per-vertex uv coordinate to save with the geometry

◆ xf

new unsafe MR.? ConstBox_AffineXf3d MR.DracoSaveOptions.xf
getset

this transformation can optionally be applied to all vertices (points) of saved object


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