45 void clear(){ this->myRotations.clear(); }
51 vector<Rotation> myRotations;
62 OiMat(
const int &rows,
const int &cols);
67 vector<double> values;
72 double getAt(
const int &row,
const int &col)
const;
73 unsigned int getRowCount()
const;
74 unsigned int getColCount()
const;
75 void getRow(
OiVec &result,
const int &row)
const;
76 void getCol(
OiVec &result,
const int &col)
const;
78 void replace(
const OiMat &m);
79 void setAt(
const int &row,
const int &col,
const double &value);
80 void diag(vector<double> diagVec);
81 void setRow(
const int &index,
const OiVec &row);
82 void setCol(
const int &index,
const OiVec &col);
90 OiMat operator*(
const double &value)
const;
94 OiMat::mult(result, value, m);
99 OiMat::mult(result, (1.0 / value), m);
113 static OiMat getRotationMatrix(
double angle,
OiVec axis);
118 static void mult(
OiMat &result,
const double &value,
const OiMat &m);
unsigned int getColCount() const
OiMat::getColCount.
Definition: oimat.cpp:51
void appendRotation(Rotation r)
Definition: oimat.h:46
RotationAxis
Definition: oimat.h:23
The OiVec class.
Definition: oivec.h:22
Definition: coordinatesystem.h:15
void clear()
Definition: oimat.h:45
The RotationChain class.
Definition: oimat.h:42
int getRotationCount()
Definition: oimat.h:47
The OiMat class.
Definition: oimat.h:58
The Rotation struct Struct that represents a rotation around one of the three coordinate axes...
Definition: oimat.h:21
Rotation getRotationAt(int index)
Definition: oimat.h:48
friend OiMat operator/(const OiMat &m, const double &value)
Definition: oimat.h:97
The LinearAlgebra class.
Definition: linearalgebra.h:15
unsigned int getRowCount() const
OiMat::getRowCount.
Definition: oimat.cpp:43
Rotation(double angle, RotationAxis axis)
Definition: oimat.h:29
RotationAxis axis
Definition: oimat.h:34
double angle
Definition: oimat.h:35
#define OI_MATH_EXPORT
Definition: global.h:9
static LinearAlgebra * myLinearAlgebra
Definition: oimat.h:64
friend OiMat operator*(const double &value, const OiMat &m)
Definition: oimat.h:92