MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.DracoSaveOptions Class Reference
Inheritance diagram for mrmeshpy.DracoSaveOptions:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstDracoSaveOptions arg0)
DracoSaveOptions assign (self, ConstDracoSaveOptions other)
int compressionLevel (self)
None compressionLevel (self, int arg1)
int positionQuantizationBits (self)
None positionQuantizationBits (self, int arg1)
Public Member Functions inherited from mrmeshpy.ConstDracoSaveOptions
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ConstSaveSettings
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.SaveSettings
None __init__ (self)
None __init__ (self, ConstSaveSettings arg0)
None __init__ (self, bool onlyValidPoints, bool packPrimitives, ConstVertColors colors, ConstFaceColors primitiveColors, ConstVertCoords2 uvMap, bool saveTriCornerUVCoords, ConstMeshTexture texture, str materialName, ConstAffineXf3d xf, Const_std_optional_LengthUnit lengthUnit, Const_std_optional_Color solidColor, bool telemetrySignal, Const_func_bool_from_float progress)
VertColors colors (self)
None colors (self, ConstVertColors arg1)
std_optional_LengthUnit lengthUnit (self)
None lengthUnit (self, Const_std_optional_LengthUnit arg1)
str materialName (self)
None materialName (self, str arg1)
bool onlyValidPoints (self)
None onlyValidPoints (self, bool arg1)
bool packPrimitives (self)
None packPrimitives (self, bool arg1)
FaceColors primitiveColors (self)
None primitiveColors (self, ConstFaceColors arg1)
func_bool_from_float progress (self)
None progress (self, Const_func_bool_from_float arg1)
bool saveTriCornerUVCoords (self)
None saveTriCornerUVCoords (self, bool arg1)
std_optional_Color solidColor (self)
None solidColor (self, Const_std_optional_Color arg1)
bool telemetrySignal (self)
None telemetrySignal (self, bool arg1)
MeshTexture texture (self)
None texture (self, ConstMeshTexture arg1)
VertCoords2 uvMap (self)
None uvMap (self, ConstVertCoords2 arg1)
AffineXf3d xf (self)
None xf (self, ConstAffineXf3d arg1)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.SaveSettings
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstDracoSaveOptions
typing _offsetof_compressionLevel = 136
typing _offsetof_positionQuantizationBits = 140
Static Protected Attributes inherited from mrmeshpy.ConstSaveSettings
typing _offsetof_colors = 8
typing _offsetof_lengthUnit = 88
typing _offsetof_materialName = 48
typing _offsetof_onlyValidPoints = 0
typing _offsetof_packPrimitives = 1
typing _offsetof_primitiveColors = 16
typing _offsetof_progress = 104
typing _offsetof_saveTriCornerUVCoords = 32
typing _offsetof_solidColor = 96
typing _offsetof_telemetrySignal = 101
typing _offsetof_texture = 40
typing _offsetof_uvMap = 24
typing _offsetof_xf = 80

Detailed Description

Generated from:  MR::DracoSaveOptions

options for saving in Google Draco format

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.DracoSaveOptions.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.DracoSaveOptions.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.DracoSaveOptions.__init__ ( self,
ConstDracoSaveOptions arg0 )
Implicit copy constructor.

Member Function Documentation

◆ assign()

DracoSaveOptions mrmeshpy.DracoSaveOptions.assign ( self,
ConstDracoSaveOptions other )

Reimplemented from mrmeshpy.SaveSettings.

◆ compressionLevel() [1/2]

int mrmeshpy.DracoSaveOptions.compressionLevel ( self)
0 - fastest encoding and decoding but the worst compression, 10 - the best compression

Reimplemented from mrmeshpy.ConstDracoSaveOptions.

◆ compressionLevel() [2/2]

None mrmeshpy.DracoSaveOptions.compressionLevel ( self,
int arg1 )
0 - fastest encoding and decoding but the worst compression, 10 - the best compression

Reimplemented from mrmeshpy.ConstDracoSaveOptions.

◆ positionQuantizationBits() [1/2]

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

Reimplemented from mrmeshpy.ConstDracoSaveOptions.

◆ positionQuantizationBits() [2/2]

None mrmeshpy.DracoSaveOptions.positionQuantizationBits ( self,
int arg1 )
the number of bits to quantize vertex coordinates to (in the range [1, 30]);
0 - no quantization, the coordinates are saved losslessly

Reimplemented from mrmeshpy.ConstDracoSaveOptions.


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