g4tools  5.4.0
Public Member Functions | List of all members
tools::mat3f Class Reference
Inheritance diagram for tools::mat3f:
Inheritance graph
[legend]
Collaboration diagram for tools::mat3f:
Collaboration graph
[legend]

Public Member Functions

 mat3f ()
 
 mat3f (float a_00, float a_01, float a_02, float a_10, float a_11, float a_12, float a_20, float a_21, float a_22)
 
virtual ~mat3f ()
 
 mat3f (const mat3f &a_from)
 
mat3foperator= (const mat3f &a_from)
 
- Public Member Functions inherited from tools::mat3< float >
 mat3 ()
 
 mat3 (const mat< float, 3 > &a_from)
 
 mat3 (const mat3 &a_from)
 
 mat3 (const float &a_00, const float &a_01, const float &a_02, const float &a_10, const float &a_11, const float &a_12, const float &a_20, const float &a_21, const float &a_22)
 
virtual ~mat3 ()
 
mat3operator= (const mat3 &a_from)
 
void set_matrix (const mat3< float > &a_m)
 
void set_matrix (const float &a_00, const float &a_01, const float &a_02, const float &a_10, const float &a_11, const float &a_12, const float &a_20, const float &a_21, const float &a_22)
 
void set_scale (const float &a_s)
 
void set_scale (const float &a_1, const float &a_2, const float &a_3)
 
void set_rotate (const float &a_x, const float &a_y, const float &a_z, const float &a_angle, float(*a_sin)(float), float(*a_cos)(float))
 
bool get_rotate (float &a_x, float &a_y, float &a_z, float &a_angle, float(*a_acos)(float), float(*a_sin)(float), float(*a_sqrt)(float))
 
void mul_3 (float &a_x, float &a_y, float &a_z) const
 
void mul_rotate (const float &a_x, const float &a_y, const float &a_z, const float &a_angle, float(*a_sin)(float), float(*a_cos)(float))
 
void left_mul_rotate (const float &a_x, const float &a_y, const float &a_z, const float &a_angle, float(*a_sin)(float), float(*a_cos)(float))
 
void v00 (const float &a_value)
 
const float & v00 () const
 
void v10 (const float &a_value)
 
const float & v10 () const
 
void v20 (const float &a_value)
 
const float & v20 () const
 
void v01 (const float &a_value)
 
const float & v01 () const
 
void v11 (const float &a_value)
 
const float & v11 () const
 
void v21 (const float &a_value)
 
const float & v21 () const
 
void v02 (const float &a_value)
 
const float & v02 () const
 
void v12 (const float &a_value)
 
const float & v12 () const
 
void v22 (const float &a_value)
 
const float & v22 () const
 
- Public Member Functions inherited from tools::mat< float, 3 >
 mat ()
 
 mat (const mat &a_from)
 
 mat (const float a_v[])
 
virtual ~mat ()
 
matoperator= (const mat &a_from)
 
unsigned int dimension () const
 

Additional Inherited Members

- Static Protected Member Functions inherited from tools::mat3< float >
static void _set_scale (const float &a_1, const float &a_2, const float &a_3, float v[])
 
static void _set_rotate (const float &a_x, const float &a_y, const float &a_z, const float &a_angle, float v[], float(*a_sin)(float), float(*a_cos)(float))
 
- Protected Attributes inherited from tools::mat< float, 3 >
float m_vec [D *D]
 

Detailed Description

Definition at line 12 of file mat3f.

Constructor & Destructor Documentation

◆ mat3f() [1/3]

tools::mat3f::mat3f ( )
inline

Definition at line 15 of file mat3f.

15 {}

◆ mat3f() [2/3]

tools::mat3f::mat3f ( float  a_00,
float  a_01,
float  a_02,
float  a_10,
float  a_11,
float  a_12,
float  a_20,
float  a_21,
float  a_22 
)
inline

Definition at line 16 of file mat3f.

19  :parent(a_00,a_01,a_02,
20  a_10,a_11,a_12,
21  a_20,a_21,a_22)
22  {}

◆ ~mat3f()

virtual tools::mat3f::~mat3f ( )
inlinevirtual

Definition at line 23 of file mat3f.

23 {}

◆ mat3f() [3/3]

tools::mat3f::mat3f ( const mat3f a_from)
inline

Definition at line 25 of file mat3f.

25 :parent(a_from){}

Member Function Documentation

◆ operator=()

mat3f& tools::mat3f::operator= ( const mat3f a_from)
inline

Definition at line 26 of file mat3f.

26  {
27  parent::operator=(a_from);
28  return *this;
29  }

The documentation for this class was generated from the following file:
tools::mat3< float >::operator=
mat3 & operator=(const mat3 &a_from)
Definition: mat3:27