103 inline float operator()(
int row,
int col )
const {
return _matData[row][col]; }
114 inline float &
operator()(
int row,
int col ) {
return _matData[row][col]; }
125 void setRow(
int row,
float v0,
float v1,
float v2,
float v3 = 1.f );
134 void setRow(
int row,
const Vector3 & vec,
float v3 = 1.f );
176 return _matData[0][0] * _matData[1][1] * _matData[2][2] * _matData[3][3];
187 return _matData[0][0] * _matData[1][1] * _matData[2][2];
202 void translateRotation(
const Vector3 & trans );
216 void translateRotationLeft(
const Vector3 & trans );
226 void setDiagonal(
float v0,
float v1,
float v2,
float v3 = 1.f );
234 void setDiagonal(
const Vector3 & vec,
float v3 = 1.f );
295 float _matData[4][4];
305 #endif // __MATRIX_H__
float operator()(int row, int col) const
Index operation.
Definition: Matrix.h:103
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
float & operator()(int row, int col)
Reference index operation.
Definition: Matrix.h:114
Logger & operator<<(Logger &out, const BFSM::PropertyOperand op)
Friend function for printing string versions of the PropertyOperand enum.
Definition: FSMEnumeration.cpp:43
Basic 4x4 matrix of floats.
Definition: Matrix.h:70
Sets up the proper compiler directives for platform and dll export/import.
Matrix4x4(bool garbage)
Non-initializing constructor.
Definition: Matrix.h:87
float trace3x3() const
Compute the trace of the upper-left 3x3 sub-matrix.
Definition: Matrix.h:186
An html logger - writes messages to a formatted html file.
Definition: Logger.h:59
The namespace for math primitives for simulation and visualization.
Collection of Vector2, Vector3, and constants for simple inclusion.
float trace() const
Compute the trace of the 4x4 matrix.
Definition: Matrix.h:175
float * getFlattened()
Get a pointer to the underlying data as a flat array.
Definition: Matrix.h:286