Starshatter_Open
Open source Starshatter engine
|
#include <Geometry.h>
Public Member Functions | |
Matrix () | |
Matrix (const Matrix &m) | |
Matrix (const Point &vrt, const Point &vup, const Point &vpn) | |
Matrix & | operator= (const Matrix &m) |
Matrix & | operator*= (const Matrix &m) |
double | operator() (int i, int j) const |
double & | operator() (int i, int j) |
void | Identity () |
void | Transpose () |
void | Rotate (double roll, double pitch, double yaw) |
void | Roll (double roll) |
void | Pitch (double pitch) |
void | Yaw (double yaw) |
void | ComputeEulerAngles (double &roll, double &pitch, double &yaw) const |
double | Cofactor (int i, int j) const |
void | Invert () |
Matrix | Inverse () const |
Matrix | operator* (const Matrix &m) const |
Point | operator* (const Point &p) const |
Vec3 | operator* (const Vec3 &v) const |
Static Public Member Functions | |
static const char * | TYPENAME () |
Public Attributes | |
double | elem [3][3] |
Definition at line 68 of file Geometry.h.
Matrix::Matrix | ( | ) |
Definition at line 201 of file Geometry.cpp.
Matrix::Matrix | ( | const Matrix & | m | ) |
Definition at line 206 of file Geometry.cpp.
Definition at line 211 of file Geometry.cpp.
double Matrix::Cofactor | ( | int | i, |
int | j | ||
) | const |
Definition at line 462 of file Geometry.cpp.
void Matrix::ComputeEulerAngles | ( | double & | roll, |
double & | pitch, | ||
double & | yaw | ||
) | const |
Definition at line 393 of file Geometry.cpp.
void Matrix::Identity | ( | ) |
Definition at line 247 of file Geometry.cpp.
|
inline |
Definition at line 93 of file Geometry.h.
void Matrix::Invert | ( | ) |
Definition at line 483 of file Geometry.cpp.
|
inline |
Definition at line 79 of file Geometry.h.
|
inline |
Definition at line 80 of file Geometry.h.
Definition at line 412 of file Geometry.cpp.
Definition at line 434 of file Geometry.cpp.
Definition at line 448 of file Geometry.cpp.
Definition at line 239 of file Geometry.cpp.
Definition at line 229 of file Geometry.cpp.
void Matrix::Pitch | ( | double | pitch | ) |
Definition at line 343 of file Geometry.cpp.
void Matrix::Roll | ( | double | roll | ) |
Definition at line 319 of file Geometry.cpp.
void Matrix::Rotate | ( | double | roll, |
double | pitch, | ||
double | yaw | ||
) |
Definition at line 277 of file Geometry.cpp.
void Matrix::Transpose | ( | ) |
Definition at line 267 of file Geometry.cpp.
|
inlinestatic |
Definition at line 70 of file Geometry.h.
void Matrix::Yaw | ( | double | yaw | ) |
Definition at line 367 of file Geometry.cpp.
double Matrix::elem[3][3] |
Definition at line 103 of file Geometry.h.