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

Public Member Functions

auto assign_from_another (_other:&meshlib::RigidScaleXf3f) -> &mut meshlib::RigidScaleXf3f
auto rigid_scale_xf () const -> meshlib::AffineXf3f
auto linear_xf () const -> meshlib::AffineXf3f
auto a () const -> &meshlib::Vector3f
auto a_mut () -> &mut meshlib::Vector3f
void set_a (value:meshlib::Vector3f)
auto b () const -> &meshlib::Vector3f
auto b_mut () -> &mut meshlib::Vector3f
void set_b (value:meshlib::Vector3f)
auto s () const -> &f32
auto s_mut () -> &mut f32
void set_s (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::RigidScaleXf3f >
static auto construct_from_another (_other:&meshlib::RigidScaleXf3f) -> meshlib::Owned< meshlib::RigidScaleXf3f >
static auto construct (a:&meshlib::Vector3f, b:&meshlib::Vector3f, s:f32) -> meshlib::Owned< meshlib::RigidScaleXf3f >
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

rigid (with scale) transformation that multiplies all distances on same scale: y = s*A*x + b, where s is a scalar, A is rotation matrix 3x3 stored as 3 angles, and b is shift vector Generated from class MR::RigidScaleXf3f.

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

Member Function Documentation

◆ a()

auto meshlib::RigidScaleXf3f::a ( ) const -> &meshlib::Vector3f

< rotation angles relative to x,y,z axes Returns a pointer to a member variable of class MR::RigidScaleXf3f named a.

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

◆ a_mut()

auto meshlib::RigidScaleXf3f::a_mut ( ) -> &mut meshlib::Vector3f

< rotation angles relative to x,y,z axes Returns a mutable pointer to a member variable of class MR::RigidScaleXf3f named a.

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

◆ assign_from_another()

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

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

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

◆ b()

auto meshlib::RigidScaleXf3f::b ( ) const -> &meshlib::Vector3f

< shift Returns a pointer to a member variable of class MR::RigidScaleXf3f named b.

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

◆ b_mut()

auto meshlib::RigidScaleXf3f::b_mut ( ) -> &mut meshlib::Vector3f

< shift Returns a mutable pointer to a member variable of class MR::RigidScaleXf3f named b.

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

◆ construct()

auto meshlib::RigidScaleXf3f::construct ( a:&meshlib::Vector3f ,
b:&meshlib::Vector3f ,
s:f32  ) -> meshlib::Owned< meshlib::RigidScaleXf3f >
static

Generated from constructor MR::RigidScaleXf3f::RigidScaleXf3f.

Calls MR_RigidScaleXf3f_Construct(). The reference to the parameter a might be preserved in the constructed object. The reference to the parameter b might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::RigidScaleXf3f::RigidScaleXf3f.

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

◆ linear_xf()

auto meshlib::RigidScaleXf3f::linear_xf ( ) const -> meshlib::AffineXf3f

converts this into not-rigid transformation but with matrix, which linearly depends on angles Generated from method MR::RigidScaleXf3f::linearXf.

Calls MR_RigidScaleXf3f_linearXf().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_RigidScaleXf3f_DefaultConstruct().

◆ rigid_scale_xf()

auto meshlib::RigidScaleXf3f::rigid_scale_xf ( ) const -> meshlib::AffineXf3f

converts this into rigid (with scale) transformation, which non-linearly depends on angles Generated from method MR::RigidScaleXf3f::rigidScaleXf.

Calls MR_RigidScaleXf3f_rigidScaleXf().

◆ s()

auto meshlib::RigidScaleXf3f::s ( ) const -> &f32

< scaling Returns a pointer to a member variable of class MR::RigidScaleXf3f named s.

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

◆ s_mut()

auto meshlib::RigidScaleXf3f::s_mut ( ) -> &mut f32

< scaling Returns a mutable pointer to a member variable of class MR::RigidScaleXf3f named s.

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

◆ set_a()

void meshlib::RigidScaleXf3f::set_a ( value:meshlib::Vector3f )

< rotation angles relative to x,y,z axes Modifies a member variable of class MR::RigidScaleXf3f named a.

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

◆ set_b()

void meshlib::RigidScaleXf3f::set_b ( value:meshlib::Vector3f )

< shift Modifies a member variable of class MR::RigidScaleXf3f named b.

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

◆ set_s()

void meshlib::RigidScaleXf3f::set_s ( value:f32 )

< scaling Modifies a member variable of class MR::RigidScaleXf3f named s.

Calls MR_RigidScaleXf3f_Set_s().


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