MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::mesh_save::CtmSaveOptions Struct Reference
Inheritance diagram for meshlib::mesh_save::CtmSaveOptions:

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_save::CtmSaveOptions) -> &mut meshlib::mesh_save::CtmSaveOptions
auto mesh_compression () const -> &meshlib::mesh_save::CtmSaveOptions_MeshCompression
auto mesh_compression_mut () -> &mut meshlib::mesh_save::CtmSaveOptions_MeshCompression
void set_mesh_compression (value:meshlib::mesh_save::CtmSaveOptions_MeshCompression)
auto vertex_precision () const -> &f32
auto vertex_precision_mut () -> &mut f32
void set_vertex_precision (value:f32)
auto compression_level () const -> &core::ffi::c_int
auto compression_level_mut () -> &mut core::ffi::c_int
void set_compression_level (value:core::ffi::c_int)
auto comment () const -> *const *const core::ffi::c_char
auto comment_mut () -> *mut *const core::ffi::c_char
void set_comment (value:Option<&core::ffi::c_char >)
auto only_valid_points () const -> &bool
auto only_valid_points_mut () -> &mut bool
void set_only_valid_points (value:bool)
auto pack_primitives () const -> &bool
auto pack_primitives_mut () -> &mut bool
void set_pack_primitives (value:bool)
auto colors () const -> *const *const meshlib::ffi::MR_VertColors
auto colors_mut () -> *mut *const meshlib::ffi::MR_VertColors
void set_colors (value:Option<&meshlib::VertColors >)
auto primitive_colors () const -> *const *const meshlib::ffi::MR_FaceColors
auto primitive_colors_mut () -> *mut *const meshlib::ffi::MR_FaceColors
void set_primitive_colors (value:Option<&meshlib::FaceColors >)
auto uv_map () const -> *const *const meshlib::ffi::MR_VertCoords2
auto uv_map_mut () -> *mut *const meshlib::ffi::MR_VertCoords2
void set_uv_map (value:Option<&meshlib::VertCoords2 >)
auto save_tri_corner_uv_coords () const -> &bool
auto save_tri_corner_uv_coords_mut () -> &mut bool
void set_save_tri_corner_uv_coords (value:bool)
auto texture () const -> *const *const meshlib::ffi::MR_MeshTexture
auto texture_mut () -> *mut *const meshlib::ffi::MR_MeshTexture
void set_texture (value:Option<&meshlib::MeshTexture >)
auto material_name () const -> &meshlib::std_string
auto material_name_mut () -> &mut meshlib::std_string
void set_material_name (value:&str)
auto xf () const -> *const *const meshlib::AffineXf3d
auto xf_mut () -> *mut *const meshlib::AffineXf3d
void set_xf (value:Option<&meshlib::AffineXf3d >)
auto length_unit () const -> &meshlib::std_optional_MR_LengthUnit
auto length_unit_mut () -> &mut meshlib::std_optional_MR_LengthUnit
void set_length_unit (value:Option< meshlib::LengthUnit >)
auto solid_color () const -> &meshlib::std_optional_MR_Color
auto solid_color_mut () -> &mut meshlib::std_optional_MR_Color
void set_solid_color (value:Option<&meshlib::Color >)
auto telemetry_signal () const -> &bool
auto telemetry_signal_mut () -> &mut bool
void set_telemetry_signal (value:bool)
auto progress () const -> &meshlib::std_function_bool_from_float
auto progress_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress (value:&meshlib::std_function_bool_from_float)
auto upcast_to_save_settings () const -> &meshlib::SaveSettings
auto upcast_to_save_settings_mut () -> &mut meshlib::SaveSettings

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_save::CtmSaveOptions >
static auto construct_from_another (_other:&meshlib::mesh_save::CtmSaveOptions) -> meshlib::Owned< meshlib::mesh_save::CtmSaveOptions >
static auto static_downcast_from_save_settings (object:&meshlib::SaveSettings) -> &Self
static auto static_downcast_from_save_settings_mut (object:&mut meshlib::SaveSettings) -> &mut Self
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

Generated from class MR::MeshSave::CtmSaveOptions. Base classes: Direct: (non-virtual) MR::SaveSettings

Generated from class MR::MeshSave::CtmSaveOptions. Heap-allocated instances are held in Owned<CtmSaveOptions>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::mesh_save::CtmSaveOptions::assign_from_another ( _other:&meshlib::mesh_save::CtmSaveOptions ) -> &mut meshlib::mesh_save::CtmSaveOptions

Generated from method MR::MeshSave::CtmSaveOptions::operator=.

Calls MR_MeshSave_CtmSaveOptions_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ colors()

auto meshlib::mesh_save::CtmSaveOptions::colors ( ) const -> *const *const meshlib::ffi::MR_VertColors

optional per-vertex color to save with the geometry Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named colors.

Calls MR_MeshSave_CtmSaveOptions_Get_colors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ colors_mut()

auto meshlib::mesh_save::CtmSaveOptions::colors_mut ( ) -> *mut *const meshlib::ffi::MR_VertColors

optional per-vertex color to save with the geometry Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named colors.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_colors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ comment()

auto meshlib::mesh_save::CtmSaveOptions::comment ( ) const -> *const *const core::ffi::c_char

comment saved in the file Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named comment.

Calls MR_MeshSave_CtmSaveOptions_Get_comment(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ comment_mut()

auto meshlib::mesh_save::CtmSaveOptions::comment_mut ( ) -> *mut *const core::ffi::c_char

comment saved in the file Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named comment.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_comment(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ compression_level()

auto meshlib::mesh_save::CtmSaveOptions::compression_level ( ) const -> &core::ffi::c_int

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.

Calls MR_MeshSave_CtmSaveOptions_Get_compressionLevel(). The reference to this object might be preserved as the return value.

◆ compression_level_mut()

auto meshlib::mesh_save::CtmSaveOptions::compression_level_mut ( ) -> &mut core::ffi::c_int

LZMA compression: 0 - minimal compression, but fast; 9 - maximal compression, but slow Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named compressionLevel.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_compressionLevel(). The reference to this object might be preserved as the return value.

◆ construct_from_another()

auto meshlib::mesh_save::CtmSaveOptions::construct_from_another ( _other:&meshlib::mesh_save::CtmSaveOptions ) -> meshlib::Owned< meshlib::mesh_save::CtmSaveOptions >
static

Generated from constructor MR::MeshSave::CtmSaveOptions::CtmSaveOptions.

Calls MR_MeshSave_CtmSaveOptions_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ length_unit()

auto meshlib::mesh_save::CtmSaveOptions::length_unit ( ) const -> &meshlib::std_optional_MR_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.

Calls MR_MeshSave_CtmSaveOptions_Get_lengthUnit(). The reference to this object might be preserved as the return value.

◆ length_unit_mut()

auto meshlib::mesh_save::CtmSaveOptions::length_unit_mut ( ) -> &mut meshlib::std_optional_MR_LengthUnit

units of input coordinates and transformation, to be serialized if the format supports it Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named lengthUnit.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_lengthUnit(). The reference to this object might be preserved as the return value.

◆ material_name()

auto meshlib::mesh_save::CtmSaveOptions::material_name ( ) const -> &meshlib::std_string

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.

Calls MR_MeshSave_CtmSaveOptions_Get_materialName(). The reference to this object might be preserved as the return value.

◆ material_name_mut()

auto meshlib::mesh_save::CtmSaveOptions::material_name_mut ( ) -> &mut meshlib::std_string

the name of file (UTF8 encoded) without extension to save texture in some formats (e.g. .OBJ, .PLY) Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named materialName.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_materialName(). The reference to this object might be preserved as the return value.

◆ mesh_compression()

auto meshlib::mesh_save::CtmSaveOptions::mesh_compression ( ) const -> &meshlib::mesh_save::CtmSaveOptions_MeshCompression

Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named meshCompression.

Calls MR_MeshSave_CtmSaveOptions_Get_meshCompression(). The reference to this object might be preserved as the return value.

◆ mesh_compression_mut()

auto meshlib::mesh_save::CtmSaveOptions::mesh_compression_mut ( ) -> &mut meshlib::mesh_save::CtmSaveOptions_MeshCompression

Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named meshCompression.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_meshCompression(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::mesh_save::CtmSaveOptions::new ( ) -> meshlib::Owned< meshlib::mesh_save::CtmSaveOptions >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshSave_CtmSaveOptions_DefaultConstruct().

◆ only_valid_points()

auto meshlib::mesh_save::CtmSaveOptions::only_valid_points ( ) const -> &bool

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.

Calls MR_MeshSave_CtmSaveOptions_Get_onlyValidPoints(). The reference to this object might be preserved as the return value.

◆ only_valid_points_mut()

auto meshlib::mesh_save::CtmSaveOptions::only_valid_points_mut ( ) -> &mut bool

true - save valid points/vertices only (pack them); false - save all points/vertices preserving their indices Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named onlyValidPoints.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_onlyValidPoints(). The reference to this object might be preserved as the return value.

◆ pack_primitives()

auto meshlib::mesh_save::CtmSaveOptions::pack_primitives ( ) const -> &bool

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.

Calls MR_MeshSave_CtmSaveOptions_Get_packPrimitives(). The reference to this object might be preserved as the return value.

◆ pack_primitives_mut()

auto meshlib::mesh_save::CtmSaveOptions::pack_primitives_mut ( ) -> &mut bool

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 mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named packPrimitives.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_packPrimitives(). The reference to this object might be preserved as the return value.

◆ primitive_colors()

auto meshlib::mesh_save::CtmSaveOptions::primitive_colors ( ) const -> *const *const meshlib::ffi::MR_FaceColors

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.

Calls MR_MeshSave_CtmSaveOptions_Get_primitiveColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ primitive_colors_mut()

auto meshlib::mesh_save::CtmSaveOptions::primitive_colors_mut ( ) -> *mut *const meshlib::ffi::MR_FaceColors

per-face colors for meshes, per-undirected-edge colors for polylines, unused for point clouds and other Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named primitiveColors.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_primitiveColors(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ progress()

auto meshlib::mesh_save::CtmSaveOptions::progress ( ) const -> &meshlib::std_function_bool_from_float

to report save progress and cancel saving if user desires Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named progress.

Calls MR_MeshSave_CtmSaveOptions_Get_progress(). The reference to this object might be preserved as the return value.

◆ progress_mut()

auto meshlib::mesh_save::CtmSaveOptions::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

to report save progress and cancel saving if user desires Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named progress.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_progress(). The reference to this object might be preserved as the return value.

◆ save_tri_corner_uv_coords()

auto meshlib::mesh_save::CtmSaveOptions::save_tri_corner_uv_coords ( ) const -> &bool

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.

Calls MR_MeshSave_CtmSaveOptions_Get_saveTriCornerUVCoords(). The reference to this object might be preserved as the return value.

◆ save_tri_corner_uv_coords_mut()

auto meshlib::mesh_save::CtmSaveOptions::save_tri_corner_uv_coords_mut ( ) -> &mut bool

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 mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named saveTriCornerUVCoords.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_saveTriCornerUVCoords(). The reference to this object might be preserved as the return value.

◆ set_colors()

void meshlib::mesh_save::CtmSaveOptions::set_colors ( value:Option<&meshlib::VertColors > )

optional per-vertex color to save with the geometry Modifies a member variable of class MR::MeshSave::CtmSaveOptions named colors.

Calls MR_MeshSave_CtmSaveOptions_Set_colors(). The reference to the parameter value might be preserved in this object in element colors.

◆ set_comment()

void meshlib::mesh_save::CtmSaveOptions::set_comment ( value:Option<&core::ffi::c_char > )

comment saved in the file Modifies a member variable of class MR::MeshSave::CtmSaveOptions named comment.

Calls MR_MeshSave_CtmSaveOptions_Set_comment(). The reference to the parameter value might be preserved in this object in element comment.

◆ set_compression_level()

void meshlib::mesh_save::CtmSaveOptions::set_compression_level ( value:core::ffi::c_int )

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().

◆ set_length_unit()

void meshlib::mesh_save::CtmSaveOptions::set_length_unit ( value:Option< meshlib::LengthUnit > )

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.

Calls MR_MeshSave_CtmSaveOptions_Set_lengthUnit(). The reference to the parameter value might be preserved in this object in element lengthUnit.

◆ set_material_name()

void meshlib::mesh_save::CtmSaveOptions::set_material_name ( value:& str)

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.

Calls MR_MeshSave_CtmSaveOptions_Set_materialName(). The reference to the parameter value might be preserved in this object in element materialName.

◆ set_mesh_compression()

void meshlib::mesh_save::CtmSaveOptions::set_mesh_compression ( value:meshlib::mesh_save::CtmSaveOptions_MeshCompression )

Modifies a member variable of class MR::MeshSave::CtmSaveOptions named meshCompression.

Calls MR_MeshSave_CtmSaveOptions_Set_meshCompression(). The reference to the parameter value might be preserved in this object in element meshCompression.

◆ set_only_valid_points()

void meshlib::mesh_save::CtmSaveOptions::set_only_valid_points ( value:bool )

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().

◆ set_pack_primitives()

void meshlib::mesh_save::CtmSaveOptions::set_pack_primitives ( value:bool )

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().

◆ set_primitive_colors()

void meshlib::mesh_save::CtmSaveOptions::set_primitive_colors ( value:Option<&meshlib::FaceColors > )

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.

Calls MR_MeshSave_CtmSaveOptions_Set_primitiveColors(). The reference to the parameter value might be preserved in this object in element primitiveColors.

◆ set_progress()

void meshlib::mesh_save::CtmSaveOptions::set_progress ( value:&meshlib::std_function_bool_from_float )

to report save progress and cancel saving if user desires Modifies a member variable of class MR::MeshSave::CtmSaveOptions named progress.

Calls MR_MeshSave_CtmSaveOptions_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.

◆ set_save_tri_corner_uv_coords()

void meshlib::mesh_save::CtmSaveOptions::set_save_tri_corner_uv_coords ( value:bool )

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().

◆ set_solid_color()

void meshlib::mesh_save::CtmSaveOptions::set_solid_color ( value:Option<&meshlib::Color > )

the color of whole object Modifies a member variable of class MR::MeshSave::CtmSaveOptions named solidColor.

Calls MR_MeshSave_CtmSaveOptions_Set_solidColor(). The reference to the parameter value might be preserved in this object in element solidColor.

◆ set_telemetry_signal()

void meshlib::mesh_save::CtmSaveOptions::set_telemetry_signal ( value:bool )

permit telemetry signal about saving Modifies a member variable of class MR::MeshSave::CtmSaveOptions named telemetrySignal.

Calls MR_MeshSave_CtmSaveOptions_Set_telemetrySignal().

◆ set_texture()

void meshlib::mesh_save::CtmSaveOptions::set_texture ( value:Option<&meshlib::MeshTexture > )

optional texture to save with the geometry Modifies a member variable of class MR::MeshSave::CtmSaveOptions named texture.

Calls MR_MeshSave_CtmSaveOptions_Set_texture(). The reference to the parameter value might be preserved in this object in element texture.

◆ set_uv_map()

void meshlib::mesh_save::CtmSaveOptions::set_uv_map ( value:Option<&meshlib::VertCoords2 > )

optional per-vertex uv coordinate to save with the geometry Modifies a member variable of class MR::MeshSave::CtmSaveOptions named uvMap.

Calls MR_MeshSave_CtmSaveOptions_Set_uvMap(). The reference to the parameter value might be preserved in this object in element uvMap.

◆ set_vertex_precision()

void meshlib::mesh_save::CtmSaveOptions::set_vertex_precision ( value:f32 )

~= 0.00098 Modifies a member variable of class MR::MeshSave::CtmSaveOptions named vertexPrecision.

Calls MR_MeshSave_CtmSaveOptions_Set_vertexPrecision().

◆ set_xf()

void meshlib::mesh_save::CtmSaveOptions::set_xf ( value:Option<&meshlib::AffineXf3d > )

this transformation can optionally be applied to all vertices (points) of saved object Modifies a member variable of class MR::MeshSave::CtmSaveOptions named xf.

Calls MR_MeshSave_CtmSaveOptions_Set_xf(). The reference to the parameter value might be preserved in this object in element xf.

◆ solid_color()

auto meshlib::mesh_save::CtmSaveOptions::solid_color ( ) const -> &meshlib::std_optional_MR_Color

the color of whole object Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named solidColor.

Calls MR_MeshSave_CtmSaveOptions_Get_solidColor(). The reference to this object might be preserved as the return value.

◆ solid_color_mut()

auto meshlib::mesh_save::CtmSaveOptions::solid_color_mut ( ) -> &mut meshlib::std_optional_MR_Color

the color of whole object Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named solidColor.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_solidColor(). The reference to this object might be preserved as the return value.

◆ static_downcast_from_save_settings()

auto meshlib::mesh_save::CtmSaveOptions::static_downcast_from_save_settings ( object:&meshlib::SaveSettings ) -> &Self
static

Static downcast from the base class MR::SaveSettings.

Calls MR_MeshSave_CtmSaveOptions_StaticDowncastFrom_MR_SaveSettings(). Undefined behavior if the object isn't actually a CtmSaveOptions.

Note
This function is unsafe.

◆ static_downcast_from_save_settings_mut()

auto meshlib::mesh_save::CtmSaveOptions::static_downcast_from_save_settings_mut ( object:&mut meshlib::SaveSettings ) -> &mut Self
static

Static downcast from the base class MR::SaveSettings.

Calls MR_MeshSave_CtmSaveOptions_MutableStaticDowncastFrom_MR_SaveSettings(). Undefined behavior if the object isn't actually a CtmSaveOptions.

Note
This function is unsafe.

◆ telemetry_signal()

auto meshlib::mesh_save::CtmSaveOptions::telemetry_signal ( ) const -> &bool

permit telemetry signal about saving Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named telemetrySignal.

Calls MR_MeshSave_CtmSaveOptions_Get_telemetrySignal(). The reference to this object might be preserved as the return value.

◆ telemetry_signal_mut()

auto meshlib::mesh_save::CtmSaveOptions::telemetry_signal_mut ( ) -> &mut bool

permit telemetry signal about saving Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named telemetrySignal.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_telemetrySignal(). The reference to this object might be preserved as the return value.

◆ texture()

auto meshlib::mesh_save::CtmSaveOptions::texture ( ) const -> *const *const meshlib::ffi::MR_MeshTexture

optional texture to save with the geometry Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named texture.

Calls MR_MeshSave_CtmSaveOptions_Get_texture(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ texture_mut()

auto meshlib::mesh_save::CtmSaveOptions::texture_mut ( ) -> *mut *const meshlib::ffi::MR_MeshTexture

optional texture to save with the geometry Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named texture.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_texture(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ upcast_to_save_settings()

auto meshlib::mesh_save::CtmSaveOptions::upcast_to_save_settings ( ) const -> &meshlib::SaveSettings

Upcasts to the base class MR::SaveSettings.

Calls MR_MeshSave_CtmSaveOptions_UpcastTo_MR_SaveSettings().

◆ upcast_to_save_settings_mut()

auto meshlib::mesh_save::CtmSaveOptions::upcast_to_save_settings_mut ( ) -> &mut meshlib::SaveSettings

Upcasts to the base class MR::SaveSettings.

Calls MR_MeshSave_CtmSaveOptions_MutableUpcastTo_MR_SaveSettings().

◆ uv_map()

auto meshlib::mesh_save::CtmSaveOptions::uv_map ( ) const -> *const *const meshlib::ffi::MR_VertCoords2

optional per-vertex uv coordinate to save with the geometry Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named uvMap.

Calls MR_MeshSave_CtmSaveOptions_Get_uvMap(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ uv_map_mut()

auto meshlib::mesh_save::CtmSaveOptions::uv_map_mut ( ) -> *mut *const meshlib::ffi::MR_VertCoords2

optional per-vertex uv coordinate to save with the geometry Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named uvMap.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_uvMap(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ vertex_precision()

auto meshlib::mesh_save::CtmSaveOptions::vertex_precision ( ) const -> &f32

~= 0.00098 Returns a pointer to a member variable of class MR::MeshSave::CtmSaveOptions named vertexPrecision.

Calls MR_MeshSave_CtmSaveOptions_Get_vertexPrecision(). The reference to this object might be preserved as the return value.

◆ vertex_precision_mut()

auto meshlib::mesh_save::CtmSaveOptions::vertex_precision_mut ( ) -> &mut f32

~= 0.00098 Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named vertexPrecision.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_vertexPrecision(). The reference to this object might be preserved as the return value.

◆ xf()

auto meshlib::mesh_save::CtmSaveOptions::xf ( ) const -> *const *const meshlib::AffineXf3d

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.

Calls MR_MeshSave_CtmSaveOptions_Get_xf(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ xf_mut()

auto meshlib::mesh_save::CtmSaveOptions::xf_mut ( ) -> *mut *const meshlib::AffineXf3d

this transformation can optionally be applied to all vertices (points) of saved object Returns a mutable pointer to a member variable of class MR::MeshSave::CtmSaveOptions named xf.

Calls MR_MeshSave_CtmSaveOptions_GetMutable_xf(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.


The documentation for this struct was generated from the following file: