Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SmHelicopterEventHandler.cpp File Reference
#include "SmHelicopterEventHandler.h"
#include <Inventor/actions/SoHandleEventAction.h>
#include <Inventor/events/SoMouseButtonEvent.h>
#include <Inventor/events/SoLocation2Event.h>
#include <SmallChange/nodes/UTMCamera.h>
#include <Inventor/SbMatrix.h>
#include <Inventor/SbRotation.h>
#include <cmath>

Macros

#define WAIT_FOR_BUTTONDOWN   0
 
#define LMB_DOWN   1
 
#define RMB_DOWN   2
 
#define MMB_DOWN   3
 
#define DIRECTION_NONE   0
 
#define DIRECTION_FWD   1
 
#define DIRECTION_BACK   2
 

Functions

 SO_NODE_SOURCE (SmHelicopterEventHandler)
 

Macro Definition Documentation

◆ DIRECTION_BACK

#define DIRECTION_BACK   2

◆ DIRECTION_FWD

#define DIRECTION_FWD   1

◆ DIRECTION_NONE

#define DIRECTION_NONE   0

◆ LMB_DOWN

#define LMB_DOWN   1

◆ MMB_DOWN

#define MMB_DOWN   3

◆ RMB_DOWN

#define RMB_DOWN   2

◆ WAIT_FOR_BUTTONDOWN

#define WAIT_FOR_BUTTONDOWN   0

Function Documentation

◆ SO_NODE_SOURCE()

SO_NODE_SOURCE ( SmHelicopterEventHandler  )