RigsofRods
Soft-body Physics Simulation
Data Fields
ScriptValueTypes::quaternion Struct Reference

Binding of Ogre::Quaternion. More...

#include <(ValueTypes) quaternion.h>

Public Member Functions

Constructors
 quaternion ()
 
 quaternion (const radian &in, const vector3 &in)
 
 quaternion (float, float, float, float)
 
 quaternion (const quaternion &in)
 
 quaternion (float)
 
Operators
float opIndex (int) const
 
bool opEquals (const quaternion &in) const
 
quaternion opAdd (const quaternion &in) const
 
quaternion opSub (const quaternion &in) const
 
quaternion opMul (const vector &in) const
 
quaternion opSub () const
 
quaternion opMul (const quaternion &in) const
 
quaternionopAssign (const quaternion &in)
 
Methods
float Dot (const quaternion &in) const
 
float Norm () const
 
float normalise ()
 
quaternion Inverse () const
 
quaternion UnitInverse () const
 
quaternion Exp () const
 
quaternion Log () const
 
radian getRoll (bool reprojectAxis=true) const
 
radian getPitch (bool reprojectAxis=true) const
 
radian getYaw (bool reprojectAxis=true) const
 
bool equals (const quaternion &in, const radian &in) const
 
bool isNaN () const
 

Data Fields

float w
 
float x
 
float y
 
float z
 

Detailed Description

Binding of Ogre::Quaternion.

Definition at line 19 of file (ValueTypes) quaternion.h.

Constructor & Destructor Documentation

◆ quaternion() [1/5]

ScriptValueTypes::quaternion::quaternion ( )

◆ quaternion() [2/5]

ScriptValueTypes::quaternion::quaternion ( const radian in,
const vector3 in 
)

◆ quaternion() [3/5]

ScriptValueTypes::quaternion::quaternion ( float  ,
float  ,
float  ,
float   
)

◆ quaternion() [4/5]

ScriptValueTypes::quaternion::quaternion ( const quaternion in)

◆ quaternion() [5/5]

ScriptValueTypes::quaternion::quaternion ( float  )

Member Function Documentation

◆ Dot()

float ScriptValueTypes::quaternion::Dot ( const quaternion in) const

◆ equals()

bool ScriptValueTypes::quaternion::equals ( const quaternion in,
const radian in 
) const

◆ Exp()

quaternion ScriptValueTypes::quaternion::Exp ( ) const

◆ getPitch()

radian ScriptValueTypes::quaternion::getPitch ( bool  reprojectAxis = true) const

◆ getRoll()

radian ScriptValueTypes::quaternion::getRoll ( bool  reprojectAxis = true) const

◆ getYaw()

radian ScriptValueTypes::quaternion::getYaw ( bool  reprojectAxis = true) const

◆ Inverse()

quaternion ScriptValueTypes::quaternion::Inverse ( ) const

◆ isNaN()

bool ScriptValueTypes::quaternion::isNaN ( ) const

◆ Log()

quaternion ScriptValueTypes::quaternion::Log ( ) const

◆ Norm()

float ScriptValueTypes::quaternion::Norm ( ) const

◆ normalise()

float ScriptValueTypes::quaternion::normalise ( )

◆ opAdd()

quaternion ScriptValueTypes::quaternion::opAdd ( const quaternion in) const

◆ opAssign()

quaternion& ScriptValueTypes::quaternion::opAssign ( const quaternion in)

◆ opEquals()

bool ScriptValueTypes::quaternion::opEquals ( const quaternion in) const

◆ opIndex()

float ScriptValueTypes::quaternion::opIndex ( int  ) const

◆ opMul() [1/2]

quaternion ScriptValueTypes::quaternion::opMul ( const quaternion in) const

◆ opMul() [2/2]

quaternion ScriptValueTypes::quaternion::opMul ( const vector &  in) const

◆ opSub() [1/2]

quaternion ScriptValueTypes::quaternion::opSub ( ) const

◆ opSub() [2/2]

quaternion ScriptValueTypes::quaternion::opSub ( const quaternion in) const

◆ UnitInverse()

quaternion ScriptValueTypes::quaternion::UnitInverse ( ) const

Field Documentation

◆ w

float ScriptValueTypes::quaternion::w

Definition at line 23 of file (ValueTypes) quaternion.h.

◆ x

float ScriptValueTypes::quaternion::x

Definition at line 24 of file (ValueTypes) quaternion.h.

◆ y

float ScriptValueTypes::quaternion::y

Definition at line 25 of file (ValueTypes) quaternion.h.

◆ z

float ScriptValueTypes::quaternion::z

Definition at line 26 of file (ValueTypes) quaternion.h.


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