Classes | |
struct | color_rgb24 |
class | invalid_vector |
class | matrix |
struct | matrix3x3 |
class | oriented_point3d |
struct | quaternion |
struct | triangle |
struct | vec3d |
Typedefs | |
typedef vec3d< double > | normal3d |
typedef vec3d< double > | point3d |
typedef std::pair< matrix3x3 < double >, point3d > | rigid_motion_t |
Functions | |
template<typename T > | |
bool | almost_zero (T a, double e) |
template<typename T > | |
void | conjugate (quaternion< T > &q) |
template<typename T > | |
vec3d< T > | cross_product (const vec3d< T > &v1, const vec3d< T > &v2) |
template<typename T > | |
double | dist (const T &p1, const T &p2) |
template<typename T > | |
T | dot (const quaternion< T > &a, const quaternion< T > &b) |
template<typename T > | |
T | dot_product (const vec3d< T > &v1, const vec3d< T > &v2) |
template<typename T , typename S > | |
double | dot_product (const vec3d< T > &v1, const vec3d< S > &v2) |
template<typename T > | |
T | dot_product (const quaternion< T > &p, const quaternion< T > &q) |
template<typename T > | |
vec3d< T > | get_normalize (const vec3d< T > &p) |
template<typename T > | |
vec3d< T > | get_rotate (const vec3d< T > &v, const quaternion< T > &q) |
template<typename T > | |
vec3d< T > | get_rotate (const vec3d< T > &p, const matrix3x3< T > &rot) |
template<typename T > | |
vec3d< T > | get_rotate_translate (const vec3d< T > &p, const matrix3x3< T > &rot, const point3d &t) |
template<typename T > | |
vec3d< T > | get_rotate_translate (const vec3d< T > &p, const matrix< T > &rot, const point3d &t) |
template<typename T > | |
vec3d< T > | get_rotate_translate (const vec3d< T > &p, const T *rot, const T *t) |
template<typename T > | |
vec3d< T > | get_rotate_translate (const vec3d< T > &v, const quaternion< T > &rot, const point3d &t) |
template<typename T > | |
matrix3x3< T > | get_transpose (const matrix3x3< T > &m) |
template<typename T > | |
matrix3x3< T > | identity3x3 () |
template<typename R , typename T > | |
void | invert (R &r, T &t) |
template<typename T > | |
double | magnitude (const T &p) |
template<typename Iterator > | |
double | median (Iterator start, Iterator end) |
template<typename T > | |
void | mult_matrix (const matrix3x3< T > &m1, const matrix3x3< T > &m2, matrix3x3< T > &r) |
template<typename Rot1 , typename Rot2 , typename Rot3 > | |
void | mult_matrix (const Rot1 &m1, const Rot2 &m2, Rot3 &r) |
template<typename T > | |
void | mult_matrix_inplace (const matrix3x3< T > &m1, const matrix3x3< T > &m2, matrix3x3< T > &r) |
template<typename T > | |
void | mult_quaternion (const quaternion< T > &a, const quaternion< T > &b, quaternion< T > &r) |
template<typename T > | |
T | norm (const quaternion< T > &a) |
template<typename T > | |
double | norm2 (const T &v) |
template<typename T > | |
void | normalize (quaternion< T > &q) |
template<typename T > | |
double | normalize (vec3d< T > &p) |
template<typename T > | |
quaternion< T > | operator* (const quaternion< T > &a, const quaternion< T > &b) |
template<typename T > | |
quaternion< T > | operator+ (const quaternion< T > &a, const quaternion< T > &b) |
template<typename T > | |
quaternion< T > | operator~ (const quaternion< T > &a) |
template<typename T > | |
matrix3x3< T > | quaternion_to_rot_matrix (const quaternion< T > &q) |
template<typename T > | |
void | relative_motion (const matrix3x3< T > &Ri, const point3d &Ti, const matrix3x3< T > &Rj, const point3d &Tj, matrix3x3< T > &Rij, point3d &Tij) |
template<typename T > | |
quaternion< T > | rot_matrix_to_quaternion (const matrix3x3< T > &m) |
template<typename T > | |
void | rotate (vec3d< T > &p, const matrix< T > &rot) |
template<typename T > | |
void | rotate (vec3d< T > &p, const matrix3x3< T > &rot) |
template<typename T , typename S > | |
void | rotate (vec3d< T > &p, const matrix< S > &rot) |
template<typename T , typename S > | |
void | rotate (vec3d< T > &p, const matrix3x3< S > &rot) |
template<typename T > | |
void | rotate (vec3d< T > &p, const quaternion< T > &rot) |
template<typename T , typename RotationType > | |
void | rotate_translate (vec3d< T > &v, const RotationType &rot, const point3d &trans) |
template<typename T > | |
void | set_identity (quaternion< T > &q) |
template<typename T > | |
void | set_identity (matrix< T > &m, T val=1) |
template<typename T > | |
void | set_identity (matrix3x3< T > &m, T val=1) |
template<typename T > | |
double | squared_dist (const vec3d< T > &p1, const vec3d< T > &p2) |
template<typename T > | |
void | transpose (matrix< T > &m) |
template<typename T > | |
void | transpose (matrix3x3< T > &m) |
template<typename T > | |
void | transpose (const matrix< T > &src, matrix< T > &dest) |
template<typename T > | |
void | transpose (const matrix3x3< T > &src, matrix3x3< T > &dest) |
Variables | |
static const double | deg_on_rad = 180. / pi |
static const double | pi = M_PI |
static const double | rad_on_deg = pi / 180. |
typedef vec3d<double> math3d::normal3d |
typedef vec3d<double> math3d::point3d |
typedef std::pair<matrix3x3<double>, point3d> math3d::rigid_motion_t |
bool math3d::almost_zero | ( | T | a, |
double | e | ||
) | [inline] |
void math3d::conjugate | ( | quaternion< T > & | q | ) | [inline] |
vec3d<T> math3d::cross_product | ( | const vec3d< T > & | v1, |
const vec3d< T > & | v2 | ||
) | [inline] |
double math3d::dist | ( | const T & | p1, |
const T & | p2 | ||
) | [inline] |
T math3d::dot | ( | const quaternion< T > & | a, |
const quaternion< T > & | b | ||
) |
T math3d::dot_product | ( | const vec3d< T > & | v1, |
const vec3d< T > & | v2 | ||
) | [inline] |
double math3d::dot_product | ( | const vec3d< T > & | v1, |
const vec3d< S > & | v2 | ||
) | [inline] |
T math3d::dot_product | ( | const quaternion< T > & | p, |
const quaternion< T > & | q | ||
) | [inline] |
vec3d<T> math3d::get_normalize | ( | const vec3d< T > & | p | ) | [inline] |
vec3d<T> math3d::get_rotate | ( | const vec3d< T > & | v, |
const quaternion< T > & | q | ||
) | [inline] |
vec3d<T> math3d::get_rotate | ( | const vec3d< T > & | p, |
const matrix3x3< T > & | rot | ||
) | [inline] |
vec3d<T> math3d::get_rotate_translate | ( | const vec3d< T > & | p, |
const matrix3x3< T > & | rot, | ||
const point3d & | t | ||
) | [inline] |
vec3d<T> math3d::get_rotate_translate | ( | const vec3d< T > & | p, |
const matrix< T > & | rot, | ||
const point3d & | t | ||
) | [inline] |
vec3d<T> math3d::get_rotate_translate | ( | const vec3d< T > & | p, |
const T * | rot, | ||
const T * | t | ||
) | [inline] |
vec3d<T> math3d::get_rotate_translate | ( | const vec3d< T > & | v, |
const quaternion< T > & | rot, | ||
const point3d & | t | ||
) | [inline] |
matrix3x3<T> math3d::get_transpose | ( | const matrix3x3< T > & | m | ) | [inline] |
matrix3x3<T> math3d::identity3x3 | ( | ) | [inline] |
void math3d::invert | ( | R & | r, |
T & | t | ||
) | [inline] |
double math3d::magnitude | ( | const T & | p | ) | [inline] |
double math3d::median | ( | Iterator | start, |
Iterator | end | ||
) | [inline] |
void math3d::mult_matrix | ( | const matrix3x3< T > & | m1, |
const matrix3x3< T > & | m2, | ||
matrix3x3< T > & | r | ||
) | [inline] |
void math3d::mult_matrix | ( | const Rot1 & | m1, |
const Rot2 & | m2, | ||
Rot3 & | r | ||
) |
void math3d::mult_matrix_inplace | ( | const matrix3x3< T > & | m1, |
const matrix3x3< T > & | m2, | ||
matrix3x3< T > & | r | ||
) | [inline] |
void math3d::mult_quaternion | ( | const quaternion< T > & | a, |
const quaternion< T > & | b, | ||
quaternion< T > & | r | ||
) | [inline] |
T math3d::norm | ( | const quaternion< T > & | a | ) |
double math3d::norm2 | ( | const T & | v | ) | [inline] |
void math3d::normalize | ( | quaternion< T > & | q | ) | [inline] |
double math3d::normalize | ( | vec3d< T > & | p | ) | [inline] |
quaternion<T> math3d::operator* | ( | const quaternion< T > & | a, |
const quaternion< T > & | b | ||
) |
quaternion<T> math3d::operator+ | ( | const quaternion< T > & | a, |
const quaternion< T > & | b | ||
) |
quaternion<T> math3d::operator~ | ( | const quaternion< T > & | a | ) |
matrix3x3<T> math3d::quaternion_to_rot_matrix | ( | const quaternion< T > & | q | ) |
void math3d::relative_motion | ( | const matrix3x3< T > & | Ri, |
const point3d & | Ti, | ||
const matrix3x3< T > & | Rj, | ||
const point3d & | Tj, | ||
matrix3x3< T > & | Rij, | ||
point3d & | Tij | ||
) |
quaternion<T> math3d::rot_matrix_to_quaternion | ( | const matrix3x3< T > & | m | ) |
void math3d::rotate | ( | vec3d< T > & | p, |
const matrix< T > & | rot | ||
) |
void math3d::rotate | ( | vec3d< T > & | p, |
const matrix3x3< T > & | rot | ||
) |
void math3d::rotate | ( | vec3d< T > & | p, |
const matrix< S > & | rot | ||
) |
void math3d::rotate | ( | vec3d< T > & | p, |
const matrix3x3< S > & | rot | ||
) | [inline] |
void math3d::rotate | ( | vec3d< T > & | p, |
const quaternion< T > & | rot | ||
) | [inline] |
void math3d::rotate_translate | ( | vec3d< T > & | v, |
const RotationType & | rot, | ||
const point3d & | trans | ||
) | [inline] |
void math3d::set_identity | ( | quaternion< T > & | q | ) | [inline] |
void math3d::set_identity | ( | matrix< T > & | m, |
T | val = 1 |
||
) |
void math3d::set_identity | ( | matrix3x3< T > & | m, |
T | val = 1 |
||
) |
double math3d::squared_dist | ( | const vec3d< T > & | p1, |
const vec3d< T > & | p2 | ||
) | [inline] |
void math3d::transpose | ( | matrix< T > & | m | ) |
void math3d::transpose | ( | matrix3x3< T > & | m | ) | [inline] |
void math3d::transpose | ( | const matrix< T > & | src, |
matrix< T > & | dest | ||
) |
void math3d::transpose | ( | const matrix3x3< T > & | src, |
matrix3x3< T > & | dest | ||
) | [inline] |
const double math3d::deg_on_rad = 180. / pi [static] |
const double math3d::pi = M_PI [static] |
const double math3d::rad_on_deg = pi / 180. [static] |