Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
determines how to save points/lines/mesh Generated from class MR::SaveSettings. Derived classes: Direct: (non-virtual) MR::DracoSaveOptions MR::MeshSave::CtmSaveOptions MR::PointsSave::CtmSavePointsOptions
Instances created here own their C++ objects, see CppObject.
| meshlib.SaveSettings.SaveSettings | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.SaveSettings.SaveSettings | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SaveSettings_DefaultConstruct().
| meshlib.SaveSettings.SaveSettings | ( | boolean | onlyValidPoints, |
| boolean | packPrimitives, | ||
| meshlib.VertColors | colors, | ||
| meshlib.FaceColors | primitiveColors, | ||
| meshlib.VertCoords2 | uvMap, | ||
| boolean | saveTriCornerUVCoords, | ||
| meshlib.MeshTexture | texture, | ||
| java.lang.String | materialName, | ||
| meshlib.AffineXf3d | xf, | ||
| meshlib.LengthUnit | lengthUnit, | ||
| meshlib.Color | solidColor, | ||
| boolean | telemetrySignal, | ||
| meshlib.std_function_bool_from_float | progress ) |
Constructs MR::SaveSettings elementwise. The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter primitiveColors might be preserved in the constructed object. The reference to the parameter uvMap might be preserved in the constructed object. The reference to the parameter texture might be preserved in the constructed object. The reference to the parameter materialName might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter lengthUnit might be preserved in the constructed object. The reference to the parameter solidColor might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.
Calls MR_SaveSettings_ConstructFrom().
| meshlib.SaveSettings.SaveSettings | ( | meshlib.SaveSettings | _other | ) |
Generated from constructor MR::SaveSettings::SaveSettings. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SaveSettings_ConstructFromAnother().
| meshlib.SaveSettings meshlib.SaveSettings.assignFromAnother | ( | meshlib.SaveSettings | _other | ) |
Generated from method MR::SaveSettings::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SaveSettings_AssignFromAnother().
| java.lang.foreign.MemorySegment meshlib.SaveSettings.colors | ( | ) |
optional per-vertex color to save with the geometry Returns a pointer to a member variable of class MR::SaveSettings named colors. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_colors(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_optional_MR_LengthUnit meshlib.SaveSettings.lengthUnit | ( | ) |
units of input coordinates and transformation, to be serialized if the format supports it Returns a pointer to a member variable of class MR::SaveSettings named lengthUnit. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_lengthUnit().
| meshlib.std_string meshlib.SaveSettings.materialName | ( | ) |
the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY) Returns a pointer to a member variable of class MR::SaveSettings named materialName. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_materialName().
| boolean meshlib.SaveSettings.onlyValidPoints | ( | ) |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices Returns a pointer to a member variable of class MR::SaveSettings named onlyValidPoints. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_onlyValidPoints().
| boolean meshlib.SaveSettings.packPrimitives | ( | ) |
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 Returns a pointer to a member variable of class MR::SaveSettings named packPrimitives. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_packPrimitives().
| java.lang.foreign.MemorySegment meshlib.SaveSettings.primitiveColors | ( | ) |
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other Returns a pointer to a member variable of class MR::SaveSettings named primitiveColors. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_primitiveColors(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_function_bool_from_float meshlib.SaveSettings.progress | ( | ) |
to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::SaveSettings named progress. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_progress().
| boolean meshlib.SaveSettings.saveTriCornerUVCoords | ( | ) |
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) Returns a pointer to a member variable of class MR::SaveSettings named saveTriCornerUVCoords. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_saveTriCornerUVCoords().
| void meshlib.SaveSettings.setColors | ( | meshlib.VertColors | value | ) |
optional per-vertex color to save with the geometry Modifies a member variable of class MR::SaveSettings named colors. The reference to the parameter value might be preserved in this object in element colors.
Calls MR_SaveSettings_Set_colors().
| void meshlib.SaveSettings.setLengthUnit | ( | meshlib.LengthUnit | value | ) |
units of input coordinates and transformation, to be serialized if the format supports it Modifies a member variable of class MR::SaveSettings named lengthUnit. The reference to the parameter value might be preserved in this object in element lengthUnit.
Calls MR_SaveSettings_Set_lengthUnit().
| void meshlib.SaveSettings.setMaterialName | ( | java.lang.String | value | ) |
the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY) Modifies a member variable of class MR::SaveSettings named materialName. The reference to the parameter value might be preserved in this object in element materialName.
Calls MR_SaveSettings_Set_materialName().
| void meshlib.SaveSettings.setOnlyValidPoints | ( | boolean | value | ) |
true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices Modifies a member variable of class MR::SaveSettings named onlyValidPoints.
Calls MR_SaveSettings_Set_onlyValidPoints().
| void meshlib.SaveSettings.setPackPrimitives | ( | boolean | value | ) |
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 Modifies a member variable of class MR::SaveSettings named packPrimitives.
Calls MR_SaveSettings_Set_packPrimitives().
| void meshlib.SaveSettings.setPrimitiveColors | ( | meshlib.FaceColors | value | ) |
per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other Modifies a member variable of class MR::SaveSettings named primitiveColors. The reference to the parameter value might be preserved in this object in element primitiveColors.
Calls MR_SaveSettings_Set_primitiveColors().
| void meshlib.SaveSettings.setProgress | ( | meshlib.std_function_bool_from_float | value | ) |
to report save progress and cancel saving if user desires Modifies a member variable of class MR::SaveSettings named progress. The reference to the parameter value might be preserved in this object in element progress.
Calls MR_SaveSettings_Set_progress().
| void meshlib.SaveSettings.setSaveTriCornerUVCoords | ( | boolean | value | ) |
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) Modifies a member variable of class MR::SaveSettings named saveTriCornerUVCoords.
Calls MR_SaveSettings_Set_saveTriCornerUVCoords().
| void meshlib.SaveSettings.setSolidColor | ( | meshlib.Color | value | ) |
the color of whole object Modifies a member variable of class MR::SaveSettings named solidColor. The reference to the parameter value might be preserved in this object in element solidColor.
Calls MR_SaveSettings_Set_solidColor().
| void meshlib.SaveSettings.setTelemetrySignal | ( | boolean | value | ) |
permit telemetry signal about saving Modifies a member variable of class MR::SaveSettings named telemetrySignal.
Calls MR_SaveSettings_Set_telemetrySignal().
| void meshlib.SaveSettings.setTexture | ( | meshlib.MeshTexture | value | ) |
optional texture to save with the geometry Modifies a member variable of class MR::SaveSettings named texture. The reference to the parameter value might be preserved in this object in element texture.
Calls MR_SaveSettings_Set_texture().
| void meshlib.SaveSettings.setUvMap | ( | meshlib.VertCoords2 | value | ) |
optional per-vertex uv coordinate to save with the geometry Modifies a member variable of class MR::SaveSettings named uvMap. The reference to the parameter value might be preserved in this object in element uvMap.
Calls MR_SaveSettings_Set_uvMap().
| void meshlib.SaveSettings.setXf | ( | meshlib.AffineXf3d | value | ) |
this transformation can optionally be applied to all vertices (points) of saved object Modifies a member variable of class MR::SaveSettings named xf. The reference to the parameter value might be preserved in this object in element xf.
Calls MR_SaveSettings_Set_xf().
| meshlib.std_optional_MR_Color meshlib.SaveSettings.solidColor | ( | ) |
the color of whole object Returns a pointer to a member variable of class MR::SaveSettings named solidColor. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_solidColor().
| boolean meshlib.SaveSettings.telemetrySignal | ( | ) |
permit telemetry signal about saving Returns a pointer to a member variable of class MR::SaveSettings named telemetrySignal. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_telemetrySignal().
| java.lang.foreign.MemorySegment meshlib.SaveSettings.texture | ( | ) |
optional texture to save with the geometry Returns a pointer to a member variable of class MR::SaveSettings named texture. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_texture(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.SaveSettings.uvMap | ( | ) |
optional per-vertex uv coordinate to save with the geometry Returns a pointer to a member variable of class MR::SaveSettings named uvMap. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_uvMap(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.SaveSettings.xf | ( | ) |
this transformation can optionally be applied to all vertices (points) of saved object Returns a pointer to a member variable of class MR::SaveSettings named xf. The reference to this object might be preserved as the return value.
Calls MR_SaveSettings_Get_xf(). Some types are raw C types, see the C bindings for the details.