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

Public Member Functions

auto assign_from_another (_other:&meshlib::PlyLoadParams) -> &mut meshlib::PlyLoadParams
auto tris () const -> *const *mut meshlib::ffi::MR_std_optional_MR_Triangulation
auto tris_mut () -> *mut *mut meshlib::ffi::MR_std_optional_MR_Triangulation
void set_tris (value:Option<&mut meshlib::std_optional_MR_Triangulation >)
auto edges () const -> *const *mut meshlib::ffi::MR_std_optional_MR_Edges
auto edges_mut () -> *mut *mut meshlib::ffi::MR_std_optional_MR_Edges
void set_edges (value:Option<&mut meshlib::std_optional_MR_Edges >)
auto colors () const -> *const *mut meshlib::ffi::MR_VertColors
auto colors_mut () -> *mut *mut meshlib::ffi::MR_VertColors
void set_colors (value:Option<&mut meshlib::VertColors >)
auto face_colors () const -> *const *mut meshlib::ffi::MR_FaceColors
auto face_colors_mut () -> *mut *mut meshlib::ffi::MR_FaceColors
void set_face_colors (value:Option<&mut meshlib::FaceColors >)
auto uv_coords () const -> *const *mut meshlib::ffi::MR_VertCoords2
auto uv_coords_mut () -> *mut *mut meshlib::ffi::MR_VertCoords2
void set_uv_coords (value:Option<&mut meshlib::VertCoords2 >)
auto tri_corner_uv_coords () const -> *const *mut meshlib::ffi::MR_TriCornerUVCoords
auto tri_corner_uv_coords_mut () -> *mut *mut meshlib::ffi::MR_TriCornerUVCoords
void set_tri_corner_uv_coords (value:Option<&mut meshlib::TriCornerUVCoords >)
auto normals () const -> *const *mut meshlib::ffi::MR_VertCoords
auto normals_mut () -> *mut *mut meshlib::ffi::MR_VertCoords
void set_normals (value:Option<&mut meshlib::VertCoords >)
auto texture () const -> *const *mut meshlib::ffi::MR_MeshTexture
auto texture_mut () -> *mut *mut meshlib::ffi::MR_MeshTexture
void set_texture (value:Option<&mut meshlib::MeshTexture >)
auto dir () const -> &meshlib::std_filesystem_path
auto dir_mut () -> &mut meshlib::std_filesystem_path
void set_dir (value:&str)
auto callback () const -> &meshlib::std_function_bool_from_float
auto callback_mut () -> &mut meshlib::std_function_bool_from_float
void set_callback (value:&meshlib::std_function_bool_from_float)
auto telemetry_signal () const -> &bool
auto telemetry_signal_mut () -> &mut bool
void set_telemetry_signal (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::PlyLoadParams >
static auto construct_from (tris:Option<&mut meshlib::std_optional_MR_Triangulation >, edges:Option<&mut meshlib::std_optional_MR_Edges >, colors:Option<&mut meshlib::VertColors >, faceColors:Option<&mut meshlib::FaceColors >, uvCoords:Option<&mut meshlib::VertCoords2 >, triCornerUvCoords:Option<&mut meshlib::TriCornerUVCoords >, normals:Option<&mut meshlib::VertCoords >, texture:Option<&mut meshlib::MeshTexture >, dir:&str, callback:&meshlib::std_function_bool_from_float, telemetrySignal:bool) -> meshlib::Owned< meshlib::PlyLoadParams >
static auto construct_from_another (_other:&meshlib::PlyLoadParams) -> meshlib::Owned< meshlib::PlyLoadParams >
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

optional load artifacts and other setting for PLY file loading Generated from class MR::PlyLoadParams.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::PlyLoadParams::assign_from_another ( _other:&meshlib::PlyLoadParams ) -> &mut meshlib::PlyLoadParams

Generated from method MR::PlyLoadParams::operator=.

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

◆ callback()

auto meshlib::PlyLoadParams::callback ( ) const -> &meshlib::std_function_bool_from_float

< callback for set progress and stop process Returns a pointer to a member variable of class MR::PlyLoadParams named callback.

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

◆ callback_mut()

auto meshlib::PlyLoadParams::callback_mut ( ) -> &mut meshlib::std_function_bool_from_float

< callback for set progress and stop process Returns a mutable pointer to a member variable of class MR::PlyLoadParams named callback.

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

◆ colors()

auto meshlib::PlyLoadParams::colors ( ) const -> *const *mut meshlib::ffi::MR_VertColors

< optional load artifact: per-vertex color map Returns a pointer to a member variable of class MR::PlyLoadParams named colors.

Calls MR_PlyLoadParams_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::PlyLoadParams::colors_mut ( ) -> *mut *mut meshlib::ffi::MR_VertColors

< optional load artifact: per-vertex color map Returns a mutable pointer to a member variable of class MR::PlyLoadParams named colors.

Calls MR_PlyLoadParams_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.

◆ construct_from()

auto meshlib::PlyLoadParams::construct_from ( tris:Option<&mut meshlib::std_optional_MR_Triangulation > ,
edges:Option<&mut meshlib::std_optional_MR_Edges > ,
colors:Option<&mut meshlib::VertColors > ,
faceColors:Option<&mut meshlib::FaceColors > ,
uvCoords:Option<&mut meshlib::VertCoords2 > ,
triCornerUvCoords:Option<&mut meshlib::TriCornerUVCoords > ,
normals:Option<&mut meshlib::VertCoords > ,
texture:Option<&mut meshlib::MeshTexture > ,
dir:& str,
callback:&meshlib::std_function_bool_from_float ,
telemetrySignal:bool  ) -> meshlib::Owned< meshlib::PlyLoadParams >
static

Constructs MR::PlyLoadParams elementwise.

Calls MR_PlyLoadParams_ConstructFrom(). The reference to the parameter tris might be preserved in the constructed object. The reference to the parameter edges might be preserved in the constructed object. The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter faceColors might be preserved in the constructed object. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter triCornerUvCoords might be preserved in the constructed object. The reference to the parameter normals 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 dir might be preserved in the constructed object. The reference to the parameter callback might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::PlyLoadParams::PlyLoadParams.

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

◆ dir()

auto meshlib::PlyLoadParams::dir ( ) const -> &meshlib::std_filesystem_path

< directory to load texture files from Returns a pointer to a member variable of class MR::PlyLoadParams named dir.

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

◆ dir_mut()

auto meshlib::PlyLoadParams::dir_mut ( ) -> &mut meshlib::std_filesystem_path

< directory to load texture files from Returns a mutable pointer to a member variable of class MR::PlyLoadParams named dir.

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

◆ edges()

auto meshlib::PlyLoadParams::edges ( ) const -> *const *mut meshlib::ffi::MR_std_optional_MR_Edges

< optional load artifact: polyline edges Returns a pointer to a member variable of class MR::PlyLoadParams named edges.

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

◆ edges_mut()

auto meshlib::PlyLoadParams::edges_mut ( ) -> *mut *mut meshlib::ffi::MR_std_optional_MR_Edges

< optional load artifact: polyline edges Returns a mutable pointer to a member variable of class MR::PlyLoadParams named edges.

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

◆ face_colors()

auto meshlib::PlyLoadParams::face_colors ( ) const -> *const *mut meshlib::ffi::MR_FaceColors

< optional load artifact: per-face color map Returns a pointer to a member variable of class MR::PlyLoadParams named faceColors.

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

◆ face_colors_mut()

auto meshlib::PlyLoadParams::face_colors_mut ( ) -> *mut *mut meshlib::ffi::MR_FaceColors

< optional load artifact: per-face color map Returns a mutable pointer to a member variable of class MR::PlyLoadParams named faceColors.

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

◆ new()

auto meshlib::PlyLoadParams::new ( ) -> meshlib::Owned< meshlib::PlyLoadParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_PlyLoadParams_DefaultConstruct().

◆ normals()

auto meshlib::PlyLoadParams::normals ( ) const -> *const *mut meshlib::ffi::MR_VertCoords

< optional load artifact: per-vertex normals Returns a pointer to a member variable of class MR::PlyLoadParams named normals.

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

◆ normals_mut()

auto meshlib::PlyLoadParams::normals_mut ( ) -> *mut *mut meshlib::ffi::MR_VertCoords

< optional load artifact: per-vertex normals Returns a mutable pointer to a member variable of class MR::PlyLoadParams named normals.

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

◆ set_callback()

void meshlib::PlyLoadParams::set_callback ( value:&meshlib::std_function_bool_from_float )

< callback for set progress and stop process Modifies a member variable of class MR::PlyLoadParams named callback.

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

◆ set_colors()

void meshlib::PlyLoadParams::set_colors ( value:Option<&mut meshlib::VertColors > )

< optional load artifact: per-vertex color map Modifies a member variable of class MR::PlyLoadParams named colors.

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

◆ set_dir()

void meshlib::PlyLoadParams::set_dir ( value:& str)

< directory to load texture files from Modifies a member variable of class MR::PlyLoadParams named dir.

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

◆ set_edges()

void meshlib::PlyLoadParams::set_edges ( value:Option<&mut meshlib::std_optional_MR_Edges > )

< optional load artifact: polyline edges Modifies a member variable of class MR::PlyLoadParams named edges.

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

◆ set_face_colors()

void meshlib::PlyLoadParams::set_face_colors ( value:Option<&mut meshlib::FaceColors > )

< optional load artifact: per-face color map Modifies a member variable of class MR::PlyLoadParams named faceColors.

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

◆ set_normals()

void meshlib::PlyLoadParams::set_normals ( value:Option<&mut meshlib::VertCoords > )

< optional load artifact: per-vertex normals Modifies a member variable of class MR::PlyLoadParams named normals.

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

◆ set_telemetry_signal()

void meshlib::PlyLoadParams::set_telemetry_signal ( value:bool )

< permit telemetry signal about loading Modifies a member variable of class MR::PlyLoadParams named telemetrySignal.

Calls MR_PlyLoadParams_Set_telemetrySignal().

◆ set_texture()

void meshlib::PlyLoadParams::set_texture ( value:Option<&mut meshlib::MeshTexture > )

< optional load artifact: texture image Modifies a member variable of class MR::PlyLoadParams named texture.

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

◆ set_tri_corner_uv_coords()

void meshlib::PlyLoadParams::set_tri_corner_uv_coords ( value:Option<&mut meshlib::TriCornerUVCoords > )

< optional load artifact: per-corner uv-coordinates for each triangle Modifies a member variable of class MR::PlyLoadParams named triCornerUvCoords.

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

◆ set_tris()

void meshlib::PlyLoadParams::set_tris ( value:Option<&mut meshlib::std_optional_MR_Triangulation > )

< optional load artifact: mesh triangles Modifies a member variable of class MR::PlyLoadParams named tris.

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

◆ set_uv_coords()

void meshlib::PlyLoadParams::set_uv_coords ( value:Option<&mut meshlib::VertCoords2 > )

< optional load artifact: per-vertex uv-coordinates Modifies a member variable of class MR::PlyLoadParams named uvCoords.

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

◆ telemetry_signal()

auto meshlib::PlyLoadParams::telemetry_signal ( ) const -> &bool

< permit telemetry signal about loading Returns a pointer to a member variable of class MR::PlyLoadParams named telemetrySignal.

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

◆ telemetry_signal_mut()

auto meshlib::PlyLoadParams::telemetry_signal_mut ( ) -> &mut bool

< permit telemetry signal about loading Returns a mutable pointer to a member variable of class MR::PlyLoadParams named telemetrySignal.

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

◆ texture()

auto meshlib::PlyLoadParams::texture ( ) const -> *const *mut meshlib::ffi::MR_MeshTexture

< optional load artifact: texture image Returns a pointer to a member variable of class MR::PlyLoadParams named texture.

Calls MR_PlyLoadParams_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::PlyLoadParams::texture_mut ( ) -> *mut *mut meshlib::ffi::MR_MeshTexture

< optional load artifact: texture image Returns a mutable pointer to a member variable of class MR::PlyLoadParams named texture.

Calls MR_PlyLoadParams_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.

◆ tri_corner_uv_coords()

auto meshlib::PlyLoadParams::tri_corner_uv_coords ( ) const -> *const *mut meshlib::ffi::MR_TriCornerUVCoords

< optional load artifact: per-corner uv-coordinates for each triangle Returns a pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords.

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

◆ tri_corner_uv_coords_mut()

auto meshlib::PlyLoadParams::tri_corner_uv_coords_mut ( ) -> *mut *mut meshlib::ffi::MR_TriCornerUVCoords

< optional load artifact: per-corner uv-coordinates for each triangle Returns a mutable pointer to a member variable of class MR::PlyLoadParams named triCornerUvCoords.

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

◆ tris()

auto meshlib::PlyLoadParams::tris ( ) const -> *const *mut meshlib::ffi::MR_std_optional_MR_Triangulation

< optional load artifact: mesh triangles Returns a pointer to a member variable of class MR::PlyLoadParams named tris.

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

◆ tris_mut()

auto meshlib::PlyLoadParams::tris_mut ( ) -> *mut *mut meshlib::ffi::MR_std_optional_MR_Triangulation

< optional load artifact: mesh triangles Returns a mutable pointer to a member variable of class MR::PlyLoadParams named tris.

Calls MR_PlyLoadParams_GetMutable_tris(). 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_coords()

auto meshlib::PlyLoadParams::uv_coords ( ) const -> *const *mut meshlib::ffi::MR_VertCoords2

< optional load artifact: per-vertex uv-coordinates Returns a pointer to a member variable of class MR::PlyLoadParams named uvCoords.

Calls MR_PlyLoadParams_Get_uvCoords(). 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_coords_mut()

auto meshlib::PlyLoadParams::uv_coords_mut ( ) -> *mut *mut meshlib::ffi::MR_VertCoords2

< optional load artifact: per-vertex uv-coordinates Returns a mutable pointer to a member variable of class MR::PlyLoadParams named uvCoords.

Calls MR_PlyLoadParams_GetMutable_uvCoords(). 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: