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

EventInertia Class Reference

Evenement liée a inertia. More...

#include <Inertia.h>

List of all members.

Public Member Functions

 EventInertia ()
void operator= (EventInertia &src)
void Init (int _numButton)
void Start (int _face, Point2D< double > _vectorInertia)
void Stop ()
void SwitchButton ()
int OnInertia (Timer *timer)

Public Attributes

BOOL enable


Detailed Description

Evenement liée a inertia.

Definition at line 92 of file Inertia.h.


Constructor & Destructor Documentation

EventInertia::EventInertia  ) 
 

Definition at line 85 of file Inertia.cpp.

References enable.


Member Function Documentation

void EventInertia::Init int  _numButton  ) 
 

Definition at line 92 of file Inertia.cpp.

Referenced by ControlEngine::ControlEngine().

int EventInertia::OnInertia Timer timer  ) 
 

Definition at line 145 of file Inertia.cpp.

References ce, Timer::GetDeltaTime(), Picking::OnMouseMove(), ControlEngine::pickingInertia, Stop(), TIME_MOVE_ON_INERTIA, Point2D< T >::x, Point2D< double >::x, Point2D< T >::y, and Point2D< double >::y.

Referenced by Start().

void EventInertia::operator= EventInertia src  ) 
 

Definition at line 97 of file Inertia.cpp.

References enable, and src.

void EventInertia::Start int  _face,
Point2D< double >  _vectorInertia
 

Definition at line 108 of file Inertia.cpp.

References BindTimer, ce, Picking::mouse, OnInertia(), ControlEngine::pickingCursor, ControlEngine::pickingInertia, StateMouse::pos, SwitchButton(), Point2D< int >::x, Point2D< double >::x, Point2D< int >::y, and Point2D< double >::y.

void EventInertia::Stop  ) 
 

Definition at line 131 of file Inertia.cpp.

References ce, enable, Picking::OnLButtonUp(), Picking::OnMButtonUp(), Picking::OnRButtonUp(), ControlEngine::pickingInertia, Timer::Stop(), and ControlEngine::usingInertia.

Referenced by OnInertia().

void EventInertia::SwitchButton  ) 
 

Definition at line 121 of file Inertia.cpp.

References StateMouse::leftBtn, StateMouse::midBtn, and StateMouse::rightBtn.

Referenced by Start().


Member Data Documentation

BOOL EventInertia::enable
 

Definition at line 103 of file Inertia.h.

Referenced by EventInertia(), operator=(), and Stop().


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 19:21:04 2004 for 3d Controls by doxygen 1.3.6