Classes | Defines | Functions
core/vnl/vnl_quaternion.h File Reference

Unit quaternion represents rotation in 3D. More...

#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix_fixed.h>
#include <vcl_iostream.h>

Go to the source code of this file.

Classes

class  vnl_quaternion< T >
 4-element vector that represents rotation in 3D. More...

Defines

#define VNL_QUATERNION_INSTANTIATE(T)   extern "Please #include <vnl/vnl_quaternion.txx> first"

Functions

template<class T >
vcl_ostream & operator<< (vcl_ostream &os, vnl_quaternion< T > const &q)
 operator<<.

Detailed Description

Unit quaternion represents rotation in 3D.

Author:
awf@robots.ox.ac.uk
Date:
16 Mar 00
    Modifications
     20-05-2000 fsm. changed FLOAT to T since gcc will barf at
                the very reasonable forward declaration
                template <class FLOAT> class vnl_quaternion;
     23-3-2001 LSB (Manchester) Tidied documentation
     13-1-2003 Peter Vanroose - removed unimplemented method rotation_matrix()
     20-2-2006 Ian Scott - Added conversion to from Euler angles
     06-5-2006 Peter Vanroose - replaced all vnl_vector by vnl_vector_fixed
   

Definition in file vnl_quaternion.h.


Define Documentation

#define VNL_QUATERNION_INSTANTIATE (   T)    extern "Please #include <vnl/vnl_quaternion.txx> first"

Definition at line 179 of file vnl_quaternion.h.


Function Documentation

template<class T >
vcl_ostream & operator<< ( vcl_ostream &  os,
vnl_quaternion< T > const &  q 
) [inline]

operator<<.

Definition at line 174 of file vnl_quaternion.h.