34 template<
class fpType>
36 template<
class fpType>
47 template<
class fpType>
51 friend std::istream& operator>>(std::istream &stream,
Matrix3<fpT> &mat);
76 virtual void initialize(
bool identity =
false);
130 Matrix3(fpType m11, fpType m12, fpType m13,
131 fpType m21, fpType m22, fpType m23,
132 fpType m31, fpType m32, fpType m33);
175 virtual void set(
const fpType
data[3][3]);
192 virtual void get(fpType storage[3][3])
const;
202 virtual void get(fpType *
const col1, fpType *
const col2,
203 fpType *
const col3)
const;
219 virtual void getColumn(
int index, fpType *
const &col);
285 virtual fpType
det();
312 virtual const fpType (&
operator[](
int i1)
const)[3];
322 virtual fpType (&
operator[](
int i1))[3];
462 template<
class fpType>
472 template<
class fpType>
482 template<
class fpType>
483 std::ostream& operator<<(std::ostream &stream, const Matrix3<fpType> &mat);
492 template<
class fpType>
fpType data[3][3]
Definition: Matrix3.h:65
virtual void setColumn(int index, const Vector3< fpType > &col)
virtual Matrix3 getInverse() const
virtual void operator+=(const Matrix3 &mat)
virtual Matrix3 operator+(const Matrix3 &mat) const
A class to store vectors of 3 elements.
Definition: Matrix3.h:35
std::istream & operator>>(std::istream &stream, Matrix3< fpType > &mat)
virtual void getColumn(int index, fpType *const &col)
virtual void operator/=(const fpType &scale)
virtual void operator=(const Matrix3 &mat)
virtual bool operator==(const Matrix3 &mat) const
Matrix3(bool identity=false)
virtual void operator-=(const Matrix3 &mat)
virtual bool compare(const Matrix3< fpType > &mat, const fpType &precision=PRECISION) const
Matrix3< fpType > operator*(const double &scale, const Matrix3< fpType > &mat)
virtual void initialize(bool identity=false)
Matrix3< float > Matrix3F
Definition: Matrix3.h:507
A class to store 3x3 rotation matrices.
Definition: Matrix3.h:48
virtual Matrix3 operator-() const
virtual bool operator!=(const Matrix3 &mat) const
static const int ADJUGATE_INDICES[3][3][4][2]
Definition: Matrix3.h:62
#define PRECISION
Definition: global.h:51
virtual Matrix3 operator/(const fpType &scale) const
Matrix3< double > Matrix3D
Definition: Matrix3.h:500
A class to store quaternions.
Definition: Matrix3.h:37
virtual void operator*=(const Matrix3 &mat)
virtual Matrix3 getTranspose() const
virtual void set(const fpType data[3][3])
Vector3< fpType > getAxis() const
virtual Matrix3 operator*(const Matrix3 &mat) const
virtual bool isOrthogonal()