Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Matrix Struct Reference

#include <Geometry.h>

List of all members.

Public Member Functions

 Matrix ()
 Matrix (const Matrix &m)
 Matrix (const Point &vrt, const Point &vup, const Point &vpn)
Matrixoperator= (const Matrix &m)
Matrixoperator*= (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]

Detailed Description

Definition at line 68 of file Geometry.h.


Constructor & Destructor Documentation

Matrix::Matrix ( )

Definition at line 201 of file Geometry.cpp.

Matrix::Matrix ( const Matrix m)

Definition at line 206 of file Geometry.cpp.

Matrix::Matrix ( const Point vrt,
const Point vup,
const Point vpn 
)

Definition at line 211 of file Geometry.cpp.


Member Function Documentation

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.

Matrix Matrix::Inverse ( ) const
inline

Definition at line 93 of file Geometry.h.

void Matrix::Invert ( )

Definition at line 483 of file Geometry.cpp.

double Matrix::operator() ( int  i,
int  j 
) const
inline

Definition at line 79 of file Geometry.h.

double& Matrix::operator() ( int  i,
int  j 
)
inline

Definition at line 80 of file Geometry.h.

Matrix Matrix::operator* ( const Matrix m) const

Definition at line 412 of file Geometry.cpp.

Point Matrix::operator* ( const Point p) const

Definition at line 434 of file Geometry.cpp.

Vec3 Matrix::operator* ( const Vec3 v) const

Definition at line 448 of file Geometry.cpp.

Matrix & Matrix::operator*= ( const Matrix m)

Definition at line 239 of file Geometry.cpp.

Matrix & Matrix::operator= ( const Matrix m)

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.

static const char* Matrix::TYPENAME ( )
inlinestatic

Definition at line 70 of file Geometry.h.

void Matrix::Yaw ( double  yaw)

Definition at line 367 of file Geometry.cpp.


Member Data Documentation

double Matrix::elem[3][3]

Definition at line 103 of file Geometry.h.


The documentation for this struct was generated from the following files: