Inheritance diagram for mrmeshpy.SaveSettings: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_lengthUnit = 80 |
| typing | _offsetof_materialName = 40 |
| typing | _offsetof_onlyValidPoints = 0 |
| typing | _offsetof_packPrimitives = 1 |
| typing | _offsetof_primitiveColors = 16 |
| typing | _offsetof_progress = 96 |
| typing | _offsetof_solidColor = 88 |
| typing | _offsetof_texture = 32 |
| typing | _offsetof_uvMap = 24 |
| typing | _offsetof_xf = 72 |
Generated from: MR::SaveSettings determines how to save points/lines/mesh
|
static |
| None mrmeshpy.SaveSettings.__init__ | ( | self | ) |
| None mrmeshpy.SaveSettings.__init__ | ( | self, | |
| SaveSettings | arg0 ) |
Implicit copy constructor.
Reimplemented in mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.PointsSave.CtmSavePointsOptions, mrmeshpy.PointsSave.CtmSavePointsOptions, and mrmeshpy.PointsSave.CtmSavePointsOptions.
| None mrmeshpy.SaveSettings.__init__ | ( | self, | |
| bool | onlyValidPoints, | ||
| bool | packPrimitives, | ||
| VertColors | colors, | ||
| std_vector_Color | primitiveColors, | ||
| VertCoords2 | uvMap, | ||
| MeshTexture | texture, | ||
| str | materialName, | ||
| AffineXf3d | xf, | ||
| std_optional_LengthUnit | lengthUnit, | ||
| std_optional_Color | solidColor, | ||
| func_bool_from_float | progress ) |
Implicit aggregate constructor.
Reimplemented in mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.MeshSave.CtmSaveOptions, mrmeshpy.PointsSave.CtmSavePointsOptions, 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 ) |
| std_optional_LengthUnit mrmeshpy.SaveSettings.lengthUnit | ( | self | ) |
units of input coordinates and transformation, to be serialized if the format supports it
| None mrmeshpy.SaveSettings.lengthUnit | ( | self, | |
| std_optional_LengthUnit | 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 ) |
| std_vector_Color mrmeshpy.SaveSettings.primitiveColors | ( | self | ) |
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other
| None mrmeshpy.SaveSettings.primitiveColors | ( | self, | |
| std_vector_Color | 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 ) |
| std_optional_Color mrmeshpy.SaveSettings.solidColor | ( | self | ) |
the color of whole object
| None mrmeshpy.SaveSettings.solidColor | ( | self, | |
| std_optional_Color | 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 |
|
staticprotected |
|
staticprotected |
|
staticprotected |