Classes | Macros | Functions
vnl_quaternion.h File Reference

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

#include <iostream>
#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix_fixed.h>
#include "vnl/vnl_export.h"

Go to the source code of this file.

Classes

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

Macros

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

Functions

template<class T >
std::istream & operator>> (std::istream &is, vnl_quaternion< T > &q)
 operator<<. More...
 
template<class T >
std::ostream & operator<< (std::ostream &os, vnl_quaternion< T > const &q)
 operator<<. More...
 

Detailed Description

Unit quaternion represents rotation in 3D.

Author
awf@r.nosp@m.obot.nosp@m.s.ox..nosp@m.ac.u.nosp@m.k
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.

Macro Definition Documentation

◆ VNL_QUATERNION_INSTANTIATE

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

Definition at line 193 of file vnl_quaternion.h.

Function Documentation

◆ operator<<()

template<class T >
std::ostream & operator<< ( std::ostream &  os,
vnl_quaternion< T > const &  q 
)
inline

operator<<.

Definition at line 188 of file vnl_quaternion.h.

◆ operator>>()

template<class T >
std::istream & operator>> ( std::istream &  is,
vnl_quaternion< T > &  q 
)

operator<<.

Definition at line 176 of file vnl_quaternion.h.