Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CQuat Class Reference

#include <CQuat.h>

List of all members.

Public Member Functions

 CQuat (CMat4D &mat)
 CQuat (double qW, double qX, double qY, double qZ)
 CQuat (double qW, CV3D &vec)
 CQuat (void)
void setQuat (double qW, double qX, double qY, double qZ)
 CQuat (const CQuat &)
void operator= (const CQuat &)
CQuat operator+ (CQuat &)
CQuat operator- (CQuat &)
CQuat operator- ()
CQuat operator * (CQuat &)
CQuat operator * (double &)
CQuat conj ()
CQuat inv ()
double operator| (CQuat &)
double norm ()
CQuat normalize ()
double re ()
CV3D im ()
double xv () const
double yv () const
double zv () const
double wv () const
CQuat QVQ (CQuat &)
CV3D rotate (CV3D &vec)
void print ()

Private Attributes

double w
double x
double y
double z

Friends

class CMat4D
CQuat operator * (double a, CQuat &q)


Detailed Description

This class provides a interface to quaterions

Author:
R. Klein, Michael Meissner


Constructor & Destructor Documentation

CQuat::CQuat CMat4D   mat
 

CQuat::CQuat double    qW,
double    qX,
double    qY,
double    qZ
 

CQuat::CQuat double    qW,
CV3D   vec
 

CQuat::CQuat void   
 

CQuat::CQuat const CQuat &   
 


Member Function Documentation

CQuat CQuat::conj  
 

CV3D CQuat::im  
 

CQuat CQuat::inv  
 

double CQuat::norm  
 

CQuat CQuat::normalize  
 

CQuat CQuat::operator * double &   
 

CQuat CQuat::operator * CQuat &   
 

CQuat CQuat::operator+ CQuat &   
 

CQuat CQuat::operator-  
 

CQuat CQuat::operator- CQuat &   
 

void CQuat::operator= const CQuat &   
 

double CQuat::operator| CQuat &   
 

void CQuat::print  
 

CQuat CQuat::QVQ CQuat &   
 

double CQuat::re  
 

CV3D CQuat::rotate CV3D   vec
 

void CQuat::setQuat double    qW,
double    qX,
double    qY,
double    qZ
[inline]
 

double CQuat::wv   const [inline]
 

double CQuat::xv   const [inline]
 

double CQuat::yv   const [inline]
 

double CQuat::zv   const [inline]
 


Friends And Related Function Documentation

friend class CMat4D [friend]
 

CQuat operator * double    a,
CQuat &    q
[friend]
 


Member Data Documentation

double CQuat::w [private]
 

double CQuat::x [private]
 

double CQuat::y [private]
 

double CQuat::z [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Mar 5 18:23:26 2003 for QGLViewer by doxygen1.3-rc3