Static Public Member Functions | |
| static meshlib.meshsave.CtmSaveOptions | staticDowncastFromSaveSettings (meshlib.SaveSettings object) |
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) | |
Generated from class MR::MeshSave::CtmSaveOptions. Base classes: Direct: (non-virtual) MR::SaveSettings
Instances created here own their C++ objects, see CppObject.
| meshlib.meshsave.CtmSaveOptions.CtmSaveOptions | ( | 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.meshsave.CtmSaveOptions.CtmSaveOptions | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshSave_CtmSaveOptions_DefaultConstruct().
| meshlib.meshsave.CtmSaveOptions.CtmSaveOptions | ( | meshlib.meshsave.CtmSaveOptions | _other | ) |
Generated from constructor MR::MeshSave::CtmSaveOptions::CtmSaveOptions. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshSave_CtmSaveOptions_ConstructFromAnother().
| meshlib.meshsave.CtmSaveOptions meshlib.meshsave.CtmSaveOptions.assignFromAnother | ( | meshlib.meshsave.CtmSaveOptions | _other | ) |
Generated from method MR::MeshSave::CtmSaveOptions::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshSave_CtmSaveOptions_AssignFromAnother().
| java.lang.foreign.MemorySegment meshlib.meshsave.CtmSaveOptions.colors | ( | ) |
optional per-vertex color to save with the geometry Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named colors. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_colors(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.meshsave.CtmSaveOptions.comment | ( | ) |
comment saved in the file Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named comment. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_comment(). Some types are raw C types, see the C bindings for the details.
| int meshlib.meshsave.CtmSaveOptions.compressionLevel | ( | ) |
LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named compressionLevel. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_compressionLevel().
| meshlib.std_optional_MR_LengthUnit meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named lengthUnit. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_lengthUnit().
| meshlib.std_string meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named materialName. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_materialName().
| meshlib.meshsave.CtmSaveOptions_MeshCompression meshlib.meshsave.CtmSaveOptions.meshCompression | ( | ) |
Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named meshCompression. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_meshCompression().
| boolean meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named onlyValidPoints. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_onlyValidPoints().
| boolean meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named packPrimitives. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_packPrimitives().
| java.lang.foreign.MemorySegment meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named primitiveColors. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_primitiveColors(). Some types are raw C types, see the C bindings for the details.
| meshlib.std_function_bool_from_float meshlib.meshsave.CtmSaveOptions.progress | ( | ) |
to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named progress. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_progress().
| boolean meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named saveTriCornerUVCoords. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_saveTriCornerUVCoords().
| void meshlib.meshsave.CtmSaveOptions.setColors | ( | meshlib.VertColors | value | ) |
optional per-vertex color to save with the geometry Modifies a member variable of class MR::MeshSave::CtmSaveOptions named colors. The reference to the parameter value might be preserved in this object in element colors.
Calls MR_MeshSave_CtmSaveOptions_Set_colors().
| void meshlib.meshsave.CtmSaveOptions.setComment | ( | java.lang.Byte | value | ) |
comment saved in the file Modifies a member variable of class MR::MeshSave::CtmSaveOptions named comment. The reference to the parameter value might be preserved in this object in element comment.
Calls MR_MeshSave_CtmSaveOptions_Set_comment().
| void meshlib.meshsave.CtmSaveOptions.setCompressionLevel | ( | int | value | ) |
LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow Modifies a member variable of class MR::MeshSave::CtmSaveOptions named compressionLevel.
Calls MR_MeshSave_CtmSaveOptions_Set_compressionLevel().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named lengthUnit. The reference to the parameter value might be preserved in this object in element lengthUnit.
Calls MR_MeshSave_CtmSaveOptions_Set_lengthUnit().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named materialName. The reference to the parameter value might be preserved in this object in element materialName.
Calls MR_MeshSave_CtmSaveOptions_Set_materialName().
| void meshlib.meshsave.CtmSaveOptions.setMeshCompression | ( | meshlib.meshsave.CtmSaveOptions_MeshCompression | value | ) |
Modifies a member variable of class MR::MeshSave::CtmSaveOptions named meshCompression. The reference to the parameter value might be preserved in this object in element meshCompression.
Calls MR_MeshSave_CtmSaveOptions_Set_meshCompression().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named onlyValidPoints.
Calls MR_MeshSave_CtmSaveOptions_Set_onlyValidPoints().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named packPrimitives.
Calls MR_MeshSave_CtmSaveOptions_Set_packPrimitives().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named primitiveColors. The reference to the parameter value might be preserved in this object in element primitiveColors.
Calls MR_MeshSave_CtmSaveOptions_Set_primitiveColors().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named progress. The reference to the parameter value might be preserved in this object in element progress.
Calls MR_MeshSave_CtmSaveOptions_Set_progress().
| void meshlib.meshsave.CtmSaveOptions.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::MeshSave::CtmSaveOptions named saveTriCornerUVCoords.
Calls MR_MeshSave_CtmSaveOptions_Set_saveTriCornerUVCoords().
| void meshlib.meshsave.CtmSaveOptions.setSolidColor | ( | meshlib.Color | value | ) |
the color of whole object Modifies a member variable of class MR::MeshSave::CtmSaveOptions named solidColor. The reference to the parameter value might be preserved in this object in element solidColor.
Calls MR_MeshSave_CtmSaveOptions_Set_solidColor().
| void meshlib.meshsave.CtmSaveOptions.setTelemetrySignal | ( | boolean | value | ) |
permit telemetry signal about saving Modifies a member variable of class MR::MeshSave::CtmSaveOptions named telemetrySignal.
Calls MR_MeshSave_CtmSaveOptions_Set_telemetrySignal().
| void meshlib.meshsave.CtmSaveOptions.setTexture | ( | meshlib.MeshTexture | value | ) |
optional texture to save with the geometry Modifies a member variable of class MR::MeshSave::CtmSaveOptions named texture. The reference to the parameter value might be preserved in this object in element texture.
Calls MR_MeshSave_CtmSaveOptions_Set_texture().
| void meshlib.meshsave.CtmSaveOptions.setUvMap | ( | meshlib.VertCoords2 | value | ) |
optional per-vertex uv coordinate to save with the geometry Modifies a member variable of class MR::MeshSave::CtmSaveOptions named uvMap. The reference to the parameter value might be preserved in this object in element uvMap.
Calls MR_MeshSave_CtmSaveOptions_Set_uvMap().
| void meshlib.meshsave.CtmSaveOptions.setVertexPrecision | ( | float | value | ) |
~= 0.00098 Modifies a member variable of class MR::MeshSave::CtmSaveOptions named vertexPrecision.
Calls MR_MeshSave_CtmSaveOptions_Set_vertexPrecision().
| void meshlib.meshsave.CtmSaveOptions.setXf | ( | meshlib.AffineXf3d | value | ) |
this transformation can optionally be applied to all vertices (points) of saved object Modifies a member variable of class MR::MeshSave::CtmSaveOptions named xf. The reference to the parameter value might be preserved in this object in element xf.
Calls MR_MeshSave_CtmSaveOptions_Set_xf().
| meshlib.std_optional_MR_Color meshlib.meshsave.CtmSaveOptions.solidColor | ( | ) |
the color of whole object Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named solidColor. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_solidColor().
|
static |
Static downcast from the base class MR::SaveSettings. Undefined behavior if the object isn't actually a CtmSaveOptions. The result refers to object.
Calls MR_MeshSave_CtmSaveOptions_MutableStaticDowncastFrom_MR_SaveSettings().
| boolean meshlib.meshsave.CtmSaveOptions.telemetrySignal | ( | ) |
permit telemetry signal about saving Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named telemetrySignal. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_telemetrySignal().
| java.lang.foreign.MemorySegment meshlib.meshsave.CtmSaveOptions.texture | ( | ) |
optional texture to save with the geometry Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named texture. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_texture(). Some types are raw C types, see the C bindings for the details.
| meshlib.SaveSettings meshlib.meshsave.CtmSaveOptions.upcastToSaveSettings | ( | ) |
Upcasts to the base class MR::SaveSettings. The result refers to this object.
Calls MR_MeshSave_CtmSaveOptions_MutableUpcastTo_MR_SaveSettings().
| java.lang.foreign.MemorySegment meshlib.meshsave.CtmSaveOptions.uvMap | ( | ) |
optional per-vertex uv coordinate to save with the geometry Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named uvMap. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_uvMap(). Some types are raw C types, see the C bindings for the details.
| float meshlib.meshsave.CtmSaveOptions.vertexPrecision | ( | ) |
~= 0.00098 Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named vertexPrecision. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_vertexPrecision().
| java.lang.foreign.MemorySegment meshlib.meshsave.CtmSaveOptions.xf | ( | ) |
this transformation can optionally be applied to all vertices (points) of saved object Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named xf. The reference to this object might be preserved as the return value.
Calls MR_MeshSave_CtmSaveOptions_Get_xf(). Some types are raw C types, see the C bindings for the details.