#include <Karto.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Defines a Matrix 3 x 3 class.
Definition at line 2444 of file Karto.h.
◆ Matrix3() [1/2]
karto::Matrix3::Matrix3 |
( |
| ) |
|
|
inline |
Default constructor
Definition at line 2450 of file Karto.h.
◆ Matrix3() [2/2]
karto::Matrix3::Matrix3 |
( |
const Matrix3 & |
rOther | ) |
|
|
inline |
Copy constructor
Definition at line 2458 of file Karto.h.
◆ Clear()
void karto::Matrix3::Clear |
( |
| ) |
|
|
inline |
Sets this matrix to zero matrix
Definition at line 2480 of file Karto.h.
◆ FromAxisAngle()
Sets this matrix to be the rotation matrix of rotation around given axis
- Parameters
-
x | x-coordinate of axis |
y | y-coordinate of axis |
z | z-coordinate of axis |
radians | amount of rotation |
Definition at line 2492 of file Karto.h.
◆ Inverse()
Matrix3 karto::Matrix3::Inverse |
( |
| ) |
const |
|
inline |
Returns the inverse of the matrix
Definition at line 2545 of file Karto.h.
◆ InverseFast()
Internal helper method for inverse matrix calculation This code is lifted from the OgreMatrix3 class!!
Definition at line 2560 of file Karto.h.
◆ operator()() [1/2]
Matrix element access, allows use of construct mat(r, c)
- Parameters
-
- Returns
- reference to mat(r,c)
Definition at line 2631 of file Karto.h.
◆ operator()() [2/2]
Read-only matrix element access, allows use of construct mat(r, c)
- Parameters
-
- Returns
- mat(r,c)
Definition at line 2642 of file Karto.h.
◆ operator*() [1/2]
◆ operator*() [2/2]
Pose2 karto::Matrix3::operator* |
( |
const Pose2 & |
rPose2 | ) |
const |
|
inline |
◆ operator+=()
void karto::Matrix3::operator+= |
( |
const Matrix3 & |
rkMatrix | ) |
|
|
inline |
◆ operator=()
Assignment operator
Definition at line 2619 of file Karto.h.
◆ serialize()
template<class Archive >
void karto::Matrix3::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprivate |
◆ SetToIdentity()
void karto::Matrix3::SetToIdentity |
( |
| ) |
|
|
inline |
Sets this matrix to identity matrix
Definition at line 2467 of file Karto.h.
◆ ToString()
std::string karto::Matrix3::ToString |
( |
| ) |
const |
|
inline |
Returns a string representation of this matrix
- Returns
- string representation of this matrix
Definition at line 2599 of file Karto.h.
◆ Transpose()
Matrix3 karto::Matrix3::Transpose |
( |
| ) |
const |
|
inline |
Returns transposed version of this matrix
- Returns
- transposed matrix
Definition at line 2527 of file Karto.h.
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
rStream, |
|
|
const Matrix3 & |
rMatrix |
|
) |
| |
|
friend |
Write Matrix3 onto output stream
- Parameters
-
rStream | output stream |
rMatrix | to write |
Definition at line 2708 of file Karto.h.
◆ m_Matrix
The documentation for this class was generated from the following file: