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 const half of the class. More...

Inheritance diagram for MR.Const_DracoSaveOptions:

Classes

struct  _Underlying

Public Member Functions

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.Const_SaveSettings (Const_DracoSaveOptions self)

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

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

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_DracoSaveOptions() [1/4]

unsafe MR.Const_DracoSaveOptions.Const_DracoSaveOptions ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_DracoSaveOptions() [2/4]

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

Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

◆ Const_DracoSaveOptions() [3/4]

MR.Const_DracoSaveOptions.Const_DracoSaveOptions ( Const_DracoSaveOptions _other)
inline

Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

◆ Const_DracoSaveOptions() [4/4]

MR.Const_DracoSaveOptions.Const_DracoSaveOptions ( DracoSaveOptions _other)
inline

Generated from constructor MR.DracoSaveOptions.DracoSaveOptions.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_DracoSaveOptions.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_DracoSaveOptions.Dispose ( bool disposing)
inlineprotectedvirtual

◆ operator MR.Const_SaveSettings()

unsafe implicit MR.Const_DracoSaveOptions.operator MR.Const_SaveSettings ( Const_DracoSaveOptions self)
inlinestatic

Member Data Documentation

◆ __ptr_storage_colors

unsafe MR.Const_VertColors._Underlying** MR.Const_DracoSaveOptions.__ptr_storage_colors
protected

◆ __ptr_storage_primitiveColors

unsafe MR.Const_FaceColors._Underlying** MR.Const_DracoSaveOptions.__ptr_storage_primitiveColors
protected

◆ __ptr_storage_texture

unsafe MR.Const_MeshTexture._Underlying** MR.Const_DracoSaveOptions.__ptr_storage_texture
protected

◆ __ptr_storage_uvMap

unsafe MR.Const_VertCoords2._Underlying** MR.Const_DracoSaveOptions.__ptr_storage_uvMap
protected

◆ __ptr_storage_xf

unsafe MR.ConstBox_AffineXf3d._Underlying** MR.Const_DracoSaveOptions.__ptr_storage_xf
protected

◆ __ref_storage_compressionLevel

unsafe int* MR.Const_DracoSaveOptions.__ref_storage_compressionLevel
protected

◆ __ref_storage_onlyValidPoints

unsafe bool* MR.Const_DracoSaveOptions.__ref_storage_onlyValidPoints
protected

◆ __ref_storage_packPrimitives

unsafe bool* MR.Const_DracoSaveOptions.__ref_storage_packPrimitives
protected

◆ __ref_storage_positionQuantizationBits

unsafe int* MR.Const_DracoSaveOptions.__ref_storage_positionQuantizationBits
protected

◆ __ref_storage_saveTriCornerUVCoords

unsafe bool* MR.Const_DracoSaveOptions.__ref_storage_saveTriCornerUVCoords
protected

◆ __ref_storage_telemetrySignal

unsafe bool* MR.Const_DracoSaveOptions.__ref_storage_telemetrySignal
protected

Property Documentation

◆ colors

unsafe MR.? Const_VertColors MR.Const_DracoSaveOptions.colors
get

optional per-vertex color to save with the geometry

◆ compressionLevel

unsafe int MR.Const_DracoSaveOptions.compressionLevel
get

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

◆ lengthUnit

unsafe MR.Std.Const_Optional_MRLengthUnit MR.Const_DracoSaveOptions.lengthUnit
getprotected set

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

◆ materialName

unsafe MR.Std.Const_String MR.Const_DracoSaveOptions.materialName
getprotected set

the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)

◆ onlyValidPoints

unsafe bool MR.Const_DracoSaveOptions.onlyValidPoints
get

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

◆ packPrimitives

unsafe bool MR.Const_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

unsafe int MR.Const_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

unsafe MR.? Const_FaceColors MR.Const_DracoSaveOptions.primitiveColors
get

per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other

◆ progress

unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_DracoSaveOptions.progress
getprotected set

to report save progress and cancel saving if user desires

◆ saveTriCornerUVCoords

unsafe bool MR.Const_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

unsafe MR.Std.Const_Optional_MRColor MR.Const_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

unsafe bool MR.Const_DracoSaveOptions.telemetrySignal
get

permit telemetry signal about saving

◆ texture

unsafe MR.? Const_MeshTexture MR.Const_DracoSaveOptions.texture
get

optional texture to save with the geometry

◆ uvMap

unsafe MR.? Const_VertCoords2 MR.Const_DracoSaveOptions.uvMap
get

optional per-vertex uv coordinate to save with the geometry

◆ xf

unsafe MR.? ConstBox_AffineXf3d MR.Const_DracoSaveOptions.xf
get

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


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