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

Public Member Functions

auto assign_from_another (_other:&meshlib::SmoothCameraMeshDepthSettings) -> &mut meshlib::SmoothCameraMeshDepthSettings
auto region () const -> *const *const meshlib::ffi::MR_VertBitSet
auto region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet
void set_region (value:Option<&meshlib::VertBitSet >)
auto edge_weights () const -> &meshlib::EdgeWeights
auto edge_weights_mut () -> &mut meshlib::EdgeWeights
void set_edge_weights (value:meshlib::EdgeWeights)
auto bd_stabilizer () const -> &f32
auto bd_stabilizer_mut () -> &mut f32
void set_bd_stabilizer (value:f32)
auto inner_stabilizer () const -> &f32
auto inner_stabilizer_mut () -> &mut f32
void set_inner_stabilizer (value:f32)
auto inner_stabilizer_type () const -> &meshlib::AreaStabilizer
auto inner_stabilizer_type_mut () -> &mut meshlib::AreaStabilizer
void set_inner_stabilizer_type (value:meshlib::AreaStabilizer)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::SmoothCameraMeshDepthSettings >
static auto construct_from (region:Option<&meshlib::VertBitSet >, edgeWeights:meshlib::EdgeWeights, bdStabilizer:f32, innerStabilizer:f32, innerStabilizerType:meshlib::AreaStabilizer) -> meshlib::Owned< meshlib::SmoothCameraMeshDepthSettings >
static auto construct_from_another (_other:&meshlib::SmoothCameraMeshDepthSettings) -> meshlib::Owned< meshlib::SmoothCameraMeshDepthSettings >
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::SmoothCameraMeshDepthSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ bd_stabilizer()

auto meshlib::SmoothCameraMeshDepthSettings::bd_stabilizer ( ) const -> &f32

stabilizer of every boundary vertex of the mesh: the more the value, the bigger attraction of the vertex to its measured depth Returns a pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named bdStabilizer.

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

◆ bd_stabilizer_mut()

auto meshlib::SmoothCameraMeshDepthSettings::bd_stabilizer_mut ( ) -> &mut f32

stabilizer of every boundary vertex of the mesh: the more the value, the bigger attraction of the vertex to its measured depth Returns a mutable pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named bdStabilizer.

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

◆ construct_from()

auto meshlib::SmoothCameraMeshDepthSettings::construct_from ( region:Option<&meshlib::VertBitSet > ,
edgeWeights:meshlib::EdgeWeights ,
bdStabilizer:f32 ,
innerStabilizer:f32 ,
innerStabilizerType:meshlib::AreaStabilizer  ) -> meshlib::Owned< meshlib::SmoothCameraMeshDepthSettings >
static

Constructs MR::SmoothCameraMeshDepthSettings elementwise.

Calls MR_SmoothCameraMeshDepthSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter edgeWeights might be preserved in the constructed object. The reference to the parameter innerStabilizerType might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::SmoothCameraMeshDepthSettings::SmoothCameraMeshDepthSettings.

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

◆ edge_weights()

auto meshlib::SmoothCameraMeshDepthSettings::edge_weights ( ) const -> &meshlib::EdgeWeights

weights of edges in the equations, computed on the mesh projected in the image plane Returns a pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named edgeWeights.

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

◆ edge_weights_mut()

auto meshlib::SmoothCameraMeshDepthSettings::edge_weights_mut ( ) -> &mut meshlib::EdgeWeights

weights of edges in the equations, computed on the mesh projected in the image plane Returns a mutable pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named edgeWeights.

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

◆ inner_stabilizer()

auto meshlib::SmoothCameraMeshDepthSettings::inner_stabilizer ( ) const -> &f32

average stabilizer of inner vertices Returns a pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named innerStabilizer.

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

◆ inner_stabilizer_mut()

auto meshlib::SmoothCameraMeshDepthSettings::inner_stabilizer_mut ( ) -> &mut f32

average stabilizer of inner vertices Returns a mutable pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named innerStabilizer.

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

◆ inner_stabilizer_type()

auto meshlib::SmoothCameraMeshDepthSettings::inner_stabilizer_type ( ) const -> &meshlib::AreaStabilizer

distribution of innerStabilizer among inner vertices Returns a pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named innerStabilizerType.

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

◆ inner_stabilizer_type_mut()

auto meshlib::SmoothCameraMeshDepthSettings::inner_stabilizer_type_mut ( ) -> &mut meshlib::AreaStabilizer

distribution of innerStabilizer among inner vertices Returns a mutable pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named innerStabilizerType.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SmoothCameraMeshDepthSettings_DefaultConstruct().

◆ region()

auto meshlib::SmoothCameraMeshDepthSettings::region ( ) const -> *const *const meshlib::ffi::MR_VertBitSet

vertices where the depth is smoothed, nullptr means all vertices Returns a pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named region.

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

◆ region_mut()

auto meshlib::SmoothCameraMeshDepthSettings::region_mut ( ) -> *mut *const meshlib::ffi::MR_VertBitSet

vertices where the depth is smoothed, nullptr means all vertices Returns a mutable pointer to a member variable of class MR::SmoothCameraMeshDepthSettings named region.

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

void meshlib::SmoothCameraMeshDepthSettings::set_bd_stabilizer ( value:f32 )

stabilizer of every boundary vertex of the mesh: the more the value, the bigger attraction of the vertex to its measured depth Modifies a member variable of class MR::SmoothCameraMeshDepthSettings named bdStabilizer.

Calls MR_SmoothCameraMeshDepthSettings_Set_bdStabilizer().

◆ set_edge_weights()

void meshlib::SmoothCameraMeshDepthSettings::set_edge_weights ( value:meshlib::EdgeWeights )

weights of edges in the equations, computed on the mesh projected in the image plane Modifies a member variable of class MR::SmoothCameraMeshDepthSettings named edgeWeights.

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

◆ set_inner_stabilizer()

void meshlib::SmoothCameraMeshDepthSettings::set_inner_stabilizer ( value:f32 )

average stabilizer of inner vertices Modifies a member variable of class MR::SmoothCameraMeshDepthSettings named innerStabilizer.

Calls MR_SmoothCameraMeshDepthSettings_Set_innerStabilizer().

◆ set_inner_stabilizer_type()

void meshlib::SmoothCameraMeshDepthSettings::set_inner_stabilizer_type ( value:meshlib::AreaStabilizer )

distribution of innerStabilizer among inner vertices Modifies a member variable of class MR::SmoothCameraMeshDepthSettings named innerStabilizerType.

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

◆ set_region()

void meshlib::SmoothCameraMeshDepthSettings::set_region ( value:Option<&meshlib::VertBitSet > )

vertices where the depth is smoothed, nullptr means all vertices Modifies a member variable of class MR::SmoothCameraMeshDepthSettings named region.

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


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