Project

General

Profile

BitmapToolkit Scol plugin

#include <Prerequisites.h>

Public Member Functions

 BtQuaternion ()
 
 BtQuaternion (float ww, float xx, float yy, float zz)
 
 BtQuaternion (float quat[4])
 
 BtQuaternion (double quat[4])
 
bool operator== (const BtQuaternion &rhs) const
 
bool operator!= (const BtQuaternion &rhs) const
 
BtQuaternion operator+ (const BtQuaternion &rkQ) const
 
BtQuaternion operator- (const BtQuaternion &rkQ) const
 
BtQuaternion operator- () const
 
BtQuaternion operator* (const BtQuaternion &rkQ) const
 
BtQuaternion operator* (float s) const
 
BtQuaternion Inverse () const
 
Vector3 operator* (const Vector3 &v) const
 
float Dot (const BtQuaternion &rkQ) const
 
float Norm () const
 
float normalise (void)
 

Static Public Member Functions

static BtQuaternion FromRotationMatrix (double rotMatrix[16], bool reverseX=false, bool reverseY=true)
 
static BtQuaternion Slerp (float fT, const BtQuaternion &rkP, const BtQuaternion &rkQ, bool shortestPath)
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

Static Public Attributes

static const BtQuaternion IDENTITY
 

Friends

BtQuaternion operator* (float s, const BtQuaternion &q)
 

Detailed Description

Definition at line 283 of file Prerequisites.h.

Constructor & Destructor Documentation

◆ BtQuaternion() [1/4]

BtQuaternion::BtQuaternion ( )
inline

Definition at line 286 of file Prerequisites.h.

◆ BtQuaternion() [2/4]

BtQuaternion::BtQuaternion ( float  ww,
float  xx,
float  yy,
float  zz 
)
inline

Definition at line 294 of file Prerequisites.h.

◆ BtQuaternion() [3/4]

BtQuaternion::BtQuaternion ( float  quat[4])
inline

Definition at line 302 of file Prerequisites.h.

◆ BtQuaternion() [4/4]

BtQuaternion::BtQuaternion ( double  quat[4])
inline

Definition at line 310 of file Prerequisites.h.

Member Function Documentation

◆ Dot()

float BtQuaternion::Dot ( const BtQuaternion rkQ) const
inline

Definition at line 478 of file Prerequisites.h.

◆ FromRotationMatrix()

static BtQuaternion BtQuaternion::FromRotationMatrix ( double  rotMatrix[16],
bool  reverseX = false,
bool  reverseY = true 
)
inlinestatic

Definition at line 396 of file Prerequisites.h.

◆ Inverse()

BtQuaternion BtQuaternion::Inverse ( ) const
inline

Definition at line 368 of file Prerequisites.h.

◆ Norm()

float BtQuaternion::Norm ( ) const
inline

Definition at line 483 of file Prerequisites.h.

◆ normalise()

float BtQuaternion::normalise ( void  )
inline

Definition at line 485 of file Prerequisites.h.

◆ operator!=()

bool BtQuaternion::operator!= ( const BtQuaternion rhs) const
inline

Definition at line 327 of file Prerequisites.h.

◆ operator*() [1/3]

BtQuaternion BtQuaternion::operator* ( const BtQuaternion rkQ) const
inline

Definition at line 344 of file Prerequisites.h.

◆ operator*() [2/3]

Vector3 BtQuaternion::operator* ( const Vector3 v) const
inline

Definition at line 383 of file Prerequisites.h.

◆ operator*() [3/3]

BtQuaternion BtQuaternion::operator* ( float  s) const
inline

Definition at line 358 of file Prerequisites.h.

◆ operator+()

BtQuaternion BtQuaternion::operator+ ( const BtQuaternion rkQ) const
inline

Definition at line 332 of file Prerequisites.h.

◆ operator-() [1/2]

BtQuaternion BtQuaternion::operator- ( ) const
inline

Definition at line 342 of file Prerequisites.h.

◆ operator-() [2/2]

BtQuaternion BtQuaternion::operator- ( const BtQuaternion rkQ) const
inline

Definition at line 337 of file Prerequisites.h.

◆ operator==()

bool BtQuaternion::operator== ( const BtQuaternion rhs) const
inline

Definition at line 321 of file Prerequisites.h.

◆ Slerp()

static BtQuaternion BtQuaternion::Slerp ( float  fT,
const BtQuaternion rkP,
const BtQuaternion rkQ,
bool  shortestPath 
)
inlinestatic

Definition at line 492 of file Prerequisites.h.

Friends And Related Symbol Documentation

◆ operator*

BtQuaternion operator* ( float  s,
const BtQuaternion q 
)
friend

Definition at line 363 of file Prerequisites.h.

Member Data Documentation

◆ IDENTITY

const BtQuaternion BtQuaternion::IDENTITY
static

Definition at line 318 of file Prerequisites.h.

◆ w

float BtQuaternion::w

Definition at line 540 of file Prerequisites.h.

◆ x

float BtQuaternion::x

Definition at line 537 of file Prerequisites.h.

◆ y

float BtQuaternion::y

Definition at line 538 of file Prerequisites.h.

◆ z

float BtQuaternion::z

Definition at line 539 of file Prerequisites.h.


The documentation for this class was generated from the following files: