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 |
Generated from: MR::SaveSettings determines how to save points/lines/mesh
|
static |
| None mrmeshpy.SaveSettings.__init__ | ( | self | ) |
| None mrmeshpy.SaveSettings.__init__ | ( | self, | |
| ConstSaveSettings | arg0 ) |
Implicit copy constructor.
| 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.
| SaveSettings mrmeshpy.SaveSettings.assign | ( | self, | |
| ConstSaveSettings | other ) |
Reimplemented in mrmeshpy.DracoSaveOptions, mrmeshpy.MeshSave.CtmSaveOptions, and mrmeshpy.PointsSave.CtmSavePointsOptions.
| VertColors mrmeshpy.SaveSettings.colors | ( | self | ) |
optional per-vertex color to save with the geometry
Reimplemented from mrmeshpy.ConstSaveSettings.
| None mrmeshpy.SaveSettings.colors | ( | self, | |
| ConstVertColors | arg1 ) |
optional per-vertex color to save with the geometry
Reimplemented from mrmeshpy.ConstSaveSettings.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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.
| func_bool_from_float mrmeshpy.SaveSettings.progress | ( | self | ) |
to report save progress and cancel saving if user desires
Reimplemented from mrmeshpy.ConstSaveSettings.
| 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.
| 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.
| 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.
| 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.
| 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.
| bool mrmeshpy.SaveSettings.telemetrySignal | ( | self | ) |
permit telemetry signal about saving
Reimplemented from mrmeshpy.ConstSaveSettings.
| None mrmeshpy.SaveSettings.telemetrySignal | ( | self, | |
| bool | arg1 ) |
permit telemetry signal about saving
Reimplemented from mrmeshpy.ConstSaveSettings.
| MeshTexture mrmeshpy.SaveSettings.texture | ( | self | ) |
optional texture to save with the geometry
Reimplemented from mrmeshpy.ConstSaveSettings.
| None mrmeshpy.SaveSettings.texture | ( | self, | |
| ConstMeshTexture | arg1 ) |
optional texture to save with the geometry
Reimplemented from mrmeshpy.ConstSaveSettings.
| VertCoords2 mrmeshpy.SaveSettings.uvMap | ( | self | ) |
optional per-vertex uv coordinate to save with the geometry
Reimplemented from mrmeshpy.ConstSaveSettings.
| None mrmeshpy.SaveSettings.uvMap | ( | self, | |
| ConstVertCoords2 | arg1 ) |
optional per-vertex uv coordinate to save with the geometry
Reimplemented from mrmeshpy.ConstSaveSettings.
| AffineXf3d mrmeshpy.SaveSettings.xf | ( | self | ) |
this transformation can optionally be applied to all vertices (points) of saved object
Reimplemented from mrmeshpy.ConstSaveSettings.
| None mrmeshpy.SaveSettings.xf | ( | self, | |
| ConstAffineXf3d | arg1 ) |
this transformation can optionally be applied to all vertices (points) of saved object
Reimplemented from mrmeshpy.ConstSaveSettings.