17 #ifndef ASTRA_MATRIX3X3_HPP
18 #define ASTRA_MATRIX3X3_HPP
21 #include "Vector3f.hpp"
22 #include "capi/astra_ctypes.h"
34 ::astra_matrix3x3_t::m00 = 0.f;
35 ::astra_matrix3x3_t::m10 = 0.f;
36 ::astra_matrix3x3_t::m20 = 0.f;
38 ::astra_matrix3x3_t::m01 = 0.f;
39 ::astra_matrix3x3_t::m11 = 0.f;
40 ::astra_matrix3x3_t::m21 = 0.f;
42 ::astra_matrix3x3_t::m02 = 0.f;
43 ::astra_matrix3x3_t::m12 = 0.f;
44 ::astra_matrix3x3_t::m22 = 0.f;
50 return *
static_cast<const Vector3f*
>(&(::astra_matrix3x3_t::xAxis));
55 return *
static_cast<const Vector3f*
>(&(::astra_matrix3x3_t::yAxis));
60 return *
static_cast<const Vector3f*
>(&(::astra_matrix3x3_t::zAxis));
63 float m00()
const { return ::astra_matrix3x3_t::m00; }
64 float m10()
const { return ::astra_matrix3x3_t::m10; }
65 float m20()
const { return ::astra_matrix3x3_t::m20; }
67 float m01()
const { return ::astra_matrix3x3_t::m01; }
68 float m11()
const { return ::astra_matrix3x3_t::m11; }
69 float m21()
const { return ::astra_matrix3x3_t::m21; }
71 float m02()
const { return ::astra_matrix3x3_t::m02; }
72 float m12()
const { return ::astra_matrix3x3_t::m12; }
73 float m22()
const { return ::astra_matrix3x3_t::m22; }
Represents a 3x3 rotation matrix
Definition: astra_ctypes.h:50
Represents a 3x3 rotation matrix
Definition: Matrix3x3.hpp:31
const Vector3f & x_axis() const
X axis basis vector, or the first column vector.
Definition: Matrix3x3.hpp:48
const Vector3f & z_axis() const
Z axis basis vector, or the third column vector.
Definition: Matrix3x3.hpp:58
const Vector3f & y_axis() const
Y axis basis vector, or the second column vector.
Definition: Matrix3x3.hpp:53
Represents a float 3d vector
Definition: Vector3f.hpp:30