Artificial Intelligence
Public Member Functions | Private Attributes

OpenSteer::LocalSpaceMixin< Super > Class Template Reference

#include <LocalSpace.h>

Inheritance diagram for OpenSteer::LocalSpaceMixin< Super >:
OpenSteer::BoxObstacle OpenSteer::PlaneObstacle OpenSteer::RectangleObstacle

List of all members.

Public Member Functions

Vec3 side (void) const
Vec3 up (void) const
Vec3 forward (void) const
Vec3 position (void) const
Vec3 setSide (Vec3 s)
Vec3 setUp (Vec3 u)
Vec3 setForward (Vec3 f)
Vec3 setPosition (Vec3 p)
Vec3 setSide (float x, float y, float z)
Vec3 setUp (float x, float y, float z)
Vec3 setForward (float x, float y, float z)
Vec3 setPosition (float x, float y, float z)
bool rightHanded (void) const
 LocalSpaceMixin (void)
 LocalSpaceMixin (const Vec3 &Side, const Vec3 &Up, const Vec3 &Forward, const Vec3 &Position)
 LocalSpaceMixin (const Vec3 &Up, const Vec3 &Forward, const Vec3 &Position)
virtual ~LocalSpaceMixin ()
void resetLocalSpace (void)
Vec3 localizeDirection (const Vec3 &globalDirection) const
Vec3 localizePosition (const Vec3 &globalPosition) const
Vec3 globalizePosition (const Vec3 &localPosition) const
Vec3 globalizeDirection (const Vec3 &localDirection) const
void setUnitSideFromForwardAndUp (void)
void regenerateOrthonormalBasisUF (const Vec3 &newUnitForward)
void regenerateOrthonormalBasis (const Vec3 &newForward)
void regenerateOrthonormalBasis (const Vec3 &newForward, const Vec3 &newUp)
Vec3 localRotateForwardToSide (const Vec3 &v) const
Vec3 globalRotateForwardToSide (const Vec3 &globalForward) const

Private Attributes

Vec3 _side
Vec3 _up
Vec3 _forward
Vec3 _position

template<class Super>
class OpenSteer::LocalSpaceMixin< Super >


Constructor & Destructor Documentation

template<class Super >
OpenSteer::LocalSpaceMixin< Super >::LocalSpaceMixin ( void  ) [inline]
template<class Super >
OpenSteer::LocalSpaceMixin< Super >::LocalSpaceMixin ( const Vec3 Side,
const Vec3 Up,
const Vec3 Forward,
const Vec3 Position 
) [inline]
template<class Super >
OpenSteer::LocalSpaceMixin< Super >::LocalSpaceMixin ( const Vec3 Up,
const Vec3 Forward,
const Vec3 Position 
) [inline]
template<class Super >
virtual OpenSteer::LocalSpaceMixin< Super >::~LocalSpaceMixin ( ) [inline, virtual]

Member Function Documentation

template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::forward ( void  ) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::globalizeDirection ( const Vec3 localDirection) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::globalizePosition ( const Vec3 localPosition) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::globalRotateForwardToSide ( const Vec3 globalForward) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::localizeDirection ( const Vec3 globalDirection) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::localizePosition ( const Vec3 globalPosition) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::localRotateForwardToSide ( const Vec3 v) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::position ( void  ) const [inline]
template<class Super >
void OpenSteer::LocalSpaceMixin< Super >::regenerateOrthonormalBasis ( const Vec3 newForward,
const Vec3 newUp 
) [inline]
template<class Super >
void OpenSteer::LocalSpaceMixin< Super >::regenerateOrthonormalBasis ( const Vec3 newForward) [inline]
template<class Super >
void OpenSteer::LocalSpaceMixin< Super >::regenerateOrthonormalBasisUF ( const Vec3 newUnitForward) [inline]
template<class Super >
void OpenSteer::LocalSpaceMixin< Super >::resetLocalSpace ( void  ) [inline]
template<class Super >
bool OpenSteer::LocalSpaceMixin< Super >::rightHanded ( void  ) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setForward ( float  x,
float  y,
float  z 
) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setForward ( Vec3  f) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setPosition ( Vec3  p) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setPosition ( float  x,
float  y,
float  z 
) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setSide ( Vec3  s) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setSide ( float  x,
float  y,
float  z 
) [inline]
template<class Super >
void OpenSteer::LocalSpaceMixin< Super >::setUnitSideFromForwardAndUp ( void  ) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setUp ( float  x,
float  y,
float  z 
) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::setUp ( Vec3  u) [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::side ( void  ) const [inline]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::up ( void  ) const [inline]

Member Data Documentation

template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::_forward [private]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::_position [private]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::_side [private]
template<class Super >
Vec3 OpenSteer::LocalSpaceMixin< Super >::_up [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines