Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, bool onlyValidPoints, bool packPrimitives, VertColors colors, VertCoords2 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) |
bool | onlyValidPoints (self) |
None | onlyValidPoints (self, bool arg1) |
bool | packPrimitives (self) |
None | packPrimitives (self, bool arg1) |
func_bool_from_float | progress (self) |
None | progress (self, func_bool_from_float arg1) |
MeshTexture | texture (self) |
None | texture (self, MeshTexture arg1) |
VertCoords2 | uvMap (self) |
None | uvMap (self, VertCoords2 arg1) |
AffineXf3d | xf (self) |
None | xf (self, AffineXf3d arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
SaveSettings | operator (*args, **kwargs) |
SaveSettings | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_colors = 8 |
typing | _offsetof_materialName = 32 |
typing | _offsetof_onlyValidPoints = 0 |
typing | _offsetof_packPrimitives = 1 |
typing | _offsetof_progress = 72 |
typing | _offsetof_texture = 24 |
typing | _offsetof_uvMap = 16 |
typing | _offsetof_xf = 64 |
Generated from: MR::SaveSettings determines how to save points/lines/mesh
|
static |
None mrmeshpy.SaveSettings.__init__ | ( | self | ) |
None mrmeshpy.SaveSettings.__init__ | ( | self, | |
bool | onlyValidPoints, | ||
bool | packPrimitives, | ||
VertColors | colors, | ||
VertCoords2 | uvMap, | ||
MeshTexture | texture, | ||
str | materialName, | ||
AffineXf3d | xf, | ||
func_bool_from_float | progress ) |
Implicit aggregate constructor.
Reimplemented in mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.PointsSave.CtmSavePointsOptions, and mrmeshpy.PointsSave.CtmSavePointsOptions.
VertColors mrmeshpy.SaveSettings.colors | ( | self | ) |
optional per-vertex color to save with the geometry
None mrmeshpy.SaveSettings.colors | ( | self, | |
VertColors | arg1 ) |
str mrmeshpy.SaveSettings.materialName | ( | self | ) |
used to save texture and material in some formats (obj)
None mrmeshpy.SaveSettings.materialName | ( | self, | |
str | arg1 ) |
bool mrmeshpy.SaveSettings.onlyValidPoints | ( | self | ) |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices
None mrmeshpy.SaveSettings.onlyValidPoints | ( | self, | |
bool | arg1 ) |
|
static |
|
static |
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
None mrmeshpy.SaveSettings.packPrimitives | ( | self, | |
bool | arg1 ) |
func_bool_from_float mrmeshpy.SaveSettings.progress | ( | self | ) |
to report save progress and cancel saving if user desires
None mrmeshpy.SaveSettings.progress | ( | self, | |
func_bool_from_float | arg1 ) |
MeshTexture mrmeshpy.SaveSettings.texture | ( | self | ) |
optional texture to save with the geometry
None mrmeshpy.SaveSettings.texture | ( | self, | |
MeshTexture | arg1 ) |
VertCoords2 mrmeshpy.SaveSettings.uvMap | ( | self | ) |
optional per-vertex uv coordinate to save with the geometry
None mrmeshpy.SaveSettings.uvMap | ( | self, | |
VertCoords2 | arg1 ) |
AffineXf3d mrmeshpy.SaveSettings.xf | ( | self | ) |
this transformation can optionally be applied to all vertices (points) of saved object
None mrmeshpy.SaveSettings.xf | ( | self, | |
AffineXf3d | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |