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

OpenCAL::Utils::WalkNavigation Class Reference

#include <WalkNavigation.h>

Inheritance diagram for OpenCAL::Utils::WalkNavigation:

Inheritance graph
[legend]
Collaboration diagram for OpenCAL::Utils::WalkNavigation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WalkNavigation (float walkSpeed=3.0f, float runSpeed=7.0f, float turnSpeed=30.0f)
const Vector3getPosition () const
Vector3getPositionP ()
float getTurnAngle () const
float getLookAngle () const
void setPosition (const Vector3 &position)
void setTurnAngle (float angle)
void setLookAngle (float angle)
void move (float distance)
void strafe (float distance)
void rotate (float angle)
void look (float angle)
void walkForward (float deltaSeconds)
void walkBackward (float deltaSeconds)
void runForward (float deltaSeconds)
void runBackward (float deltaSeconds)
void strafeLeft (float deltaSeconds)
void strafeRight (float deltaSeconds)
void rotateLeft (float deltaSeconds)
void rotateRight (float deltaSeconds)
void lookUp (float deltaSeconds)
void lookDown (float deltaSeconds)
void reset ()

Protected Attributes

Vector3 m_position
float m_turnAngle
float m_lookAngle
float m_walkSpeed
float m_runSpeed
float m_turnSpeed

Detailed Description

This navigation class simulates the human walking

Definition at line 30 of file WalkNavigation.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 15 19:19:38 2004 for OpenCAL: Open Computer Animation Library by doxygen 1.3.8