MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.SaveSettings:

Public Member Functions

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)
SaveSettings assign (self, ConstSaveSettings other)
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)
Public Member Functions inherited from mrmeshpy.ConstSaveSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

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::SaveSettings

determines how to save points/lines/mesh

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.SaveSettings.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.SaveSettings.__init__ ( self,
ConstSaveSettings arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.SaveSettings.__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 )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

◆ colors() [1/2]

VertColors mrmeshpy.SaveSettings.colors ( self)
optional per-vertex color to save with the geometry

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ colors() [2/2]

None mrmeshpy.SaveSettings.colors ( self,
ConstVertColors arg1 )
optional per-vertex color to save with the geometry

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ lengthUnit() [1/2]

std_optional_LengthUnit mrmeshpy.SaveSettings.lengthUnit ( self)
units of input coordinates and transformation, to be serialized if the format supports it

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ lengthUnit() [2/2]

None mrmeshpy.SaveSettings.lengthUnit ( self,
Const_std_optional_LengthUnit arg1 )
units of input coordinates and transformation, to be serialized if the format supports it

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ materialName() [1/2]

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

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ materialName() [2/2]

None mrmeshpy.SaveSettings.materialName ( self,
str arg1 )
the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY)

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ onlyValidPoints() [1/2]

bool mrmeshpy.SaveSettings.onlyValidPoints ( self)
true - save valid points/vertices only (pack them);
false - save all points/vertices preserving their indices

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ onlyValidPoints() [2/2]

None mrmeshpy.SaveSettings.onlyValidPoints ( self,
bool arg1 )
true - save valid points/vertices only (pack them);
false - save all points/vertices preserving their indices

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ packPrimitives() [1/2]

bool mrmeshpy.SaveSettings.packPrimitives ( self)
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

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ packPrimitives() [2/2]

None mrmeshpy.SaveSettings.packPrimitives ( self,
bool arg1 )
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

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ primitiveColors() [1/2]

FaceColors mrmeshpy.SaveSettings.primitiveColors ( self)
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ primitiveColors() [2/2]

None mrmeshpy.SaveSettings.primitiveColors ( self,
ConstFaceColors arg1 )
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ progress() [1/2]

func_bool_from_float mrmeshpy.SaveSettings.progress ( self)
to report save progress and cancel saving if user desires

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ progress() [2/2]

None mrmeshpy.SaveSettings.progress ( self,
Const_func_bool_from_float arg1 )
to report save progress and cancel saving if user desires

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ saveTriCornerUVCoords() [1/2]

bool mrmeshpy.SaveSettings.saveTriCornerUVCoords ( self)
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)

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ saveTriCornerUVCoords() [2/2]

None mrmeshpy.SaveSettings.saveTriCornerUVCoords ( self,
bool arg1 )
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)

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ solidColor() [1/2]

std_optional_Color mrmeshpy.SaveSettings.solidColor ( self)
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)

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ solidColor() [2/2]

None mrmeshpy.SaveSettings.solidColor ( self,
Const_std_optional_Color arg1 )
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)

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ telemetrySignal() [1/2]

bool mrmeshpy.SaveSettings.telemetrySignal ( self)
permit telemetry signal about saving

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ telemetrySignal() [2/2]

None mrmeshpy.SaveSettings.telemetrySignal ( self,
bool arg1 )
permit telemetry signal about saving

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ texture() [1/2]

MeshTexture mrmeshpy.SaveSettings.texture ( self)
optional texture to save with the geometry

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ texture() [2/2]

None mrmeshpy.SaveSettings.texture ( self,
ConstMeshTexture arg1 )
optional texture to save with the geometry

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ uvMap() [1/2]

VertCoords2 mrmeshpy.SaveSettings.uvMap ( self)
optional per-vertex uv coordinate to save with the geometry

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ uvMap() [2/2]

None mrmeshpy.SaveSettings.uvMap ( self,
ConstVertCoords2 arg1 )
optional per-vertex uv coordinate to save with the geometry

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ xf() [1/2]

AffineXf3d mrmeshpy.SaveSettings.xf ( self)
this transformation can optionally be applied to all vertices (points) of saved object

Reimplemented from mrmeshpy.ConstSaveSettings.

◆ xf() [2/2]

None mrmeshpy.SaveSettings.xf ( self,
ConstAffineXf3d arg1 )
this transformation can optionally be applied to all vertices (points) of saved object

Reimplemented from mrmeshpy.ConstSaveSettings.


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