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

Public Member Functions

None __init__ (self)
 
None __init__ (self, SaveSettings arg0)
 
None __init__ (self, bool saveValidOnly, bool rearrangeTriangles, VertColors colors, VertUVCoords uvMap, MeshTexture texture, str materialName, AffineXf3d xf, func_bool_from_float progress)
 
VertColors colors (self)
 
None colors (self, VertColors arg1)
 
str materialName (self)
 
None materialName (self, str arg1)
 
func_bool_from_float progress (self)
 
None progress (self, func_bool_from_float arg1)
 
bool rearrangeTriangles (self)
 
None rearrangeTriangles (self, bool arg1)
 
bool saveValidOnly (self)
 
None saveValidOnly (self, bool arg1)
 
MeshTexture texture (self)
 
None texture (self, MeshTexture arg1)
 
VertUVCoords uvMap (self)
 
None uvMap (self, VertUVCoords arg1)
 
AffineXf3d xf (self)
 
None xf (self, AffineXf3d arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::SaveSettings

determines how to save points/lines/mesh

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.SaveSettings.__init__ ( self)

◆ __init__() [2/3]

None mrmeshpy.SaveSettings.__init__ ( self,
SaveSettings arg0 )

◆ __init__() [3/3]

None mrmeshpy.SaveSettings.__init__ ( self,
bool saveValidOnly,
bool rearrangeTriangles,
VertColors colors,
VertUVCoords uvMap,
MeshTexture texture,
str materialName,
AffineXf3d xf,
func_bool_from_float progress )

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.SaveSettings._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ colors() [1/2]

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

◆ colors() [2/2]

None mrmeshpy.SaveSettings.colors ( self,
VertColors arg1 )

◆ materialName() [1/2]

str mrmeshpy.SaveSettings.materialName ( self)
used to save texture and material in some formats (obj)

◆ materialName() [2/2]

None mrmeshpy.SaveSettings.materialName ( self,
str arg1 )

◆ progress() [1/2]

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

◆ progress() [2/2]

None mrmeshpy.SaveSettings.progress ( self,
func_bool_from_float arg1 )

◆ rearrangeTriangles() [1/2]

bool mrmeshpy.SaveSettings.rearrangeTriangles ( self)
whether to allow the pack or shuffle of triangles;
if it is turned on, then ids of invalid triangles are reused by the following valid triangles
and higher compression (in .ctm format) can be reached but the order of triangles is changed;
if it is turned off then all triangles maintain their ids, and invalid triangles are saved as (0,0,0) vertex triples;
currently affects .ctm and .ply formats only

◆ rearrangeTriangles() [2/2]

None mrmeshpy.SaveSettings.rearrangeTriangles ( self,
bool arg1 )

◆ saveValidOnly() [1/2]

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

◆ saveValidOnly() [2/2]

None mrmeshpy.SaveSettings.saveValidOnly ( self,
bool arg1 )

◆ texture() [1/2]

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

◆ texture() [2/2]

None mrmeshpy.SaveSettings.texture ( self,
MeshTexture arg1 )

◆ uvMap() [1/2]

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

◆ uvMap() [2/2]

None mrmeshpy.SaveSettings.uvMap ( self,
VertUVCoords arg1 )

◆ xf() [1/2]

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

◆ xf() [2/2]

None mrmeshpy.SaveSettings.xf ( self,
AffineXf3d arg1 )

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