Classes | Public Member Functions | Protected Attributes | List of all members
ion::CCameraController Class Reference

#include <CCameraController.h>

Inheritance diagram for ion::CCameraController:
Inheritance graph
[legend]
Collaboration diagram for ion::CCameraController:
Collaboration graph
[legend]

Classes

struct  ECommand
 

Public Member Functions

 CCameraController (Scene::ICamera *Camera)
 
virtual void OnEvent (IEvent &Event)
 
virtual void Update (double const TickTime)
 
virtual vec3f const & GetPosition () const
 
virtual float GetPhi () const
 
virtual float GetTheta () const
 
virtual float GetVelocity () const
 
virtual Scene::ICamera const * GetCamera () const
 
virtual Scene::ICameraGetCamera ()
 
virtual void CalculateInitialAngles ()
 
virtual vec3f GetCurrentSpeed () const
 
virtual void SetVelocity (float const Velocity)
 
virtual void SetPhi (float const Phi)
 
virtual void SetTheta (float const Theta)
 
virtual void SetActive (bool const Active)
 
virtual bool GetUseWASD () const
 
virtual bool GetUseArrowKeys () const
 
virtual bool GetUseScrollWheel () const
 
virtual void SetUseWASD (bool const UseWASD)
 
virtual void SetUseArrowKeys (bool const UseArrowKeys)
 
virtual void SetUseScrollWheel (bool const UseScrollWheel)
 
- Public Member Functions inherited from IEventListener
void AddListener (IEventListener *Listener)
 
void RemoveListener (IEventListener *Listener)
 
void TriggerEvent (IEvent &Event)
 
- Public Member Functions inherited from ion::IMultiTreeNode< IEventListener >
set< IEventListener * > const & GetChildren () const
 
void AddChild (IEventListener *Child)
 
void RemoveChild (IEventListener *Child)
 
void RemoveAllChildren ()
 
void RecurseOnChildren (Return(IEventListener::*Function)())
 
void RecurseOnChildren (Return(IEventListener::*Function)(P1), P1 p1)
 
void RecurseOnChildren (Return(IEventListener::*Function)(P1, P2), P1 p1, P2 p2)
 

Protected Attributes

bool UseWASD = true
 
bool UseArrowKeys = true
 
bool UseScrollWheel = true
 
bool WASDCommands [(int) ECommand::Count]
 
bool ArrowCommands [(int) ECommand::Count]
 
float MoveSpeed
 
float LookSpeed
 
float FocalLengthDelta
 
float MaxAngleEpsilon
 
bool Tracking
 
float Phi
 
float Theta
 
vec3f CurrentSpeed
 
Scene::ICameraCamera
 
bool Active = true
 
- Protected Attributes inherited from ion::IMultiTreeNode< IEventListener >
set< IEventListener * > Children
 

Additional Inherited Members

- Protected Member Functions inherited from ion::IMultiTreeNode< IEventListener >
 IMultiTreeNode ()
 

Constructor & Destructor Documentation

ion::CCameraController::CCameraController ( Scene::ICamera Camera)

Member Function Documentation

void ion::CCameraController::CalculateInitialAngles ( )
virtual
Scene::ICamera const * ion::CCameraController::GetCamera ( ) const
virtual
Scene::ICamera * ion::CCameraController::GetCamera ( )
virtual
vec3f ion::CCameraController::GetCurrentSpeed ( ) const
virtual
float ion::CCameraController::GetPhi ( ) const
virtual
vec3f const & ion::CCameraController::GetPosition ( ) const
virtual
float ion::CCameraController::GetTheta ( ) const
virtual
bool ion::CCameraController::GetUseArrowKeys ( ) const
virtual
bool ion::CCameraController::GetUseScrollWheel ( ) const
virtual
bool ion::CCameraController::GetUseWASD ( ) const
virtual
float ion::CCameraController::GetVelocity ( ) const
virtual
void ion::CCameraController::OnEvent ( IEvent Event)
virtual

Reimplemented from IEventListener.

void ion::CCameraController::SetActive ( bool const  Active)
virtual
void ion::CCameraController::SetPhi ( float const  Phi)
virtual
void ion::CCameraController::SetTheta ( float const  Theta)
virtual
void ion::CCameraController::SetUseArrowKeys ( bool const  UseArrowKeys)
virtual
void ion::CCameraController::SetUseScrollWheel ( bool const  UseScrollWheel)
virtual
void ion::CCameraController::SetUseWASD ( bool const  UseWASD)
virtual
void ion::CCameraController::SetVelocity ( float const  Velocity)
virtual
void ion::CCameraController::Update ( double const  TickTime)
virtual

Reimplemented in ion::CGamePadCameraController.

Member Data Documentation

bool ion::CCameraController::Active = true
protected
bool ion::CCameraController::ArrowCommands[(int) ECommand::Count]
protected
Scene::ICamera* ion::CCameraController::Camera
protected
vec3f ion::CCameraController::CurrentSpeed
protected
float ion::CCameraController::FocalLengthDelta
protected
float ion::CCameraController::LookSpeed
protected
float ion::CCameraController::MaxAngleEpsilon
protected
float ion::CCameraController::MoveSpeed
protected
float ion::CCameraController::Phi
protected
float ion::CCameraController::Theta
protected
bool ion::CCameraController::Tracking
protected
bool ion::CCameraController::UseArrowKeys = true
protected
bool ion::CCameraController::UseScrollWheel = true
protected
bool ion::CCameraController::UseWASD = true
protected
bool ion::CCameraController::WASDCommands[(int) ECommand::Count]
protected

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