Public Member Functions | Static Public Member Functions | Public Attributes | Friends
math3d::quaternion< T > Struct Template Reference

#include <math3d.h>

List of all members.

Public Member Functions

quaternion< T > & operator*= (T a)
quaternion< T > & operator+= (const quaternion< T > &a)
 quaternion (T v=0)
 quaternion (T ww, T ii, T jj, T kk)
void to_vector (T *p) const

Static Public Member Functions

static quaternion< T > convert (const vec3d< T > &p)
static quaternion< T > convert (const T *p)

Public Attributes

i
j
k
w

Friends

std::ostream & operator<< (std::ostream &os, const quaternion< T > &q)
std::istream & operator>> (std::istream &is, quaternion< T > &q)

Detailed Description

template<typename T>
struct math3d::quaternion< T >

Definition at line 520 of file math3d.h.


Constructor & Destructor Documentation

template<typename T>
math3d::quaternion< T >::quaternion ( v = 0) [inline, explicit]

Definition at line 524 of file math3d.h.

template<typename T>
math3d::quaternion< T >::quaternion ( ww,
ii,
jj,
kk 
) [inline]

Definition at line 526 of file math3d.h.


Member Function Documentation

template<typename T>
static quaternion<T> math3d::quaternion< T >::convert ( const vec3d< T > &  p) [inline, static]

Definition at line 528 of file math3d.h.

template<typename T>
static quaternion<T> math3d::quaternion< T >::convert ( const T *  p) [inline, static]

Definition at line 530 of file math3d.h.

template<typename T>
quaternion<T>& math3d::quaternion< T >::operator*= ( a) [inline]

Definition at line 534 of file math3d.h.

template<typename T>
quaternion<T>& math3d::quaternion< T >::operator+= ( const quaternion< T > &  a) [inline]

Definition at line 532 of file math3d.h.

template<typename T>
void math3d::quaternion< T >::to_vector ( T *  p) const [inline]

Definition at line 536 of file math3d.h.


Friends And Related Function Documentation

template<typename T>
std::ostream& operator<< ( std::ostream &  os,
const quaternion< T > &  q 
) [friend]

Definition at line 538 of file math3d.h.

template<typename T>
std::istream& operator>> ( std::istream &  is,
quaternion< T > &  q 
) [friend]

Definition at line 543 of file math3d.h.


Member Data Documentation

template<typename T>
T math3d::quaternion< T >::i

Definition at line 522 of file math3d.h.

template<typename T>
T math3d::quaternion< T >::j

Definition at line 522 of file math3d.h.

template<typename T>
T math3d::quaternion< T >::k

Definition at line 522 of file math3d.h.

template<typename T>
T math3d::quaternion< T >::w

Definition at line 522 of file math3d.h.


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


trac_ik_lib
Author(s): Patrick Beeson, Barrett Ames
autogenerated on Thu Sep 21 2017 02:53:02