OpenGLPrakt --> events --> cEventConsumer --> cWorldControl

class cWorldControl
    extends cEventConsumer as public

class for translating low-level events into high-level ones

Source:
../src/cWorldControl.hh:26

Constructors Index

cWorldControl
[public] default constructor
~cWorldControl
[public] destructor


Enums Index

teControlMode
[protected]


Variables Index

mControlMode
[protected] current control mode
mGlobalMode
[protected] remeber whether we rotate/move within object's or global coord.
mMouseButtonState
[protected] current state of mouse buttons


Methods Index

ReceiveEvent
[protected] event receiver (called by dispatcher)


Constructors

cWorldControl

public cWorldControl ( cEventDispatcher * disp ) ;

default constructor

cWorldControl

public virtual ~ cWorldControl ( ) ;

destructor


Enums

teControlMode

protected enum teControlMode { CM_WALK ,
                               CM_ORBIT ,
                               CM_ROTATE_OBJECT ,
                               CM_MOVE_OBJECT } ;


Variables

mMouseButtonState

protected int mMouseButtonState

current state of mouse buttons

mControlMode

protected teControlMode mControlMode

current control mode

mGlobalMode

protected bool mGlobalMode

remeber whether we rotate/move within object's or global coord.


Methods

ReceiveEvent

protected virtual int ReceiveEvent ( const cEvent & event ) ;

event receiver (called by dispatcher)


This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.