Artificial Intelligence
Public Member Functions | Public Attributes

OpenSteer::BoxObstacle Class Reference

#include <Obstacle.h>

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

List of all members.

Public Member Functions

 BoxObstacle (float w, float h, float d)
 BoxObstacle (void)
virtual ~BoxObstacle ()
void findIntersectionWithVehiclePath (const AbstractVehicle &vehicle, PathIntersection &pi) const
Vec3 side (void) const
Vec3 up (void) const
Vec3 forward (void) const
Vec3 position (void) const
Vec3 setSide (Vec3 s)
Vec3 setSide (float x, float y, float z)
Vec3 setUp (Vec3 u)
Vec3 setUp (float x, float y, float z)
Vec3 setForward (Vec3 f)
Vec3 setForward (float x, float y, float z)
Vec3 setPosition (Vec3 p)
Vec3 setPosition (float x, float y, float z)
bool rightHanded (void) const
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

Public Attributes

float width
float height
float depth

Constructor & Destructor Documentation

OpenSteer::BoxObstacle::BoxObstacle ( float  w,
float  h,
float  d 
) [inline]
OpenSteer::BoxObstacle::BoxObstacle ( void  ) [inline]
virtual OpenSteer::BoxObstacle::~BoxObstacle ( ) [inline, virtual]

Member Function Documentation

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

Member Data Documentation


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