1#ifndef COIN_SOSCXMLFLIGHTCONTROLTARGET_H
2#define COIN_SOSCXMLFLIGHTCONTROLTARGET_H
36#include <Inventor/navigation/SoScXMLNavigationTarget.h>
39#define COIN_NAVIGATION_FLIGHT_CONTROL_TARGET_EVENT_PREFIX SOSCXML_NAVIGATION_TARGETTYPE ".FlightControl"
41class COIN_DLL_API SoScXMLFlightControlTarget :
public SoScXMLNavigationTarget {
42 typedef SoScXMLNavigationTarget inherited;
43 SCXML_OBJECT_HEADER(SoScXMLFlightControlTarget)
49 static SoScXMLFlightControlTarget * constructSingleton(
void);
50 static void destructSingleton(
void);
51 static SoScXMLFlightControlTarget * singleton(
void);
53 static const SbName & PITCH(
void);
54 static const SbName & YAW(
void);
55 static const SbName & ROLL(
void);
56 static const SbName & RESET_ROLL(
void);
58 static void pitch(
SoCamera * camera,
float radians);
59 static void yaw(
SoCamera * camera,
float radians);
60 static void roll(
SoCamera * camera,
float radians);
65 SoScXMLFlightControlTarget(
void);
66 virtual ~SoScXMLFlightControlTarget(
void);
72 static SoScXMLFlightControlTarget * theSingleton;
The SbName class stores strings by reference.
Definition SbName.h:40
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
virtual SbBool processOneEvent(const ScXMLEvent *event)
Definition ScXMLEventTarget.cpp:582
Base class for events sent to SCXML state machines.
Definition ScXMLEvent.h:40
static void cleanClass(void)
Does the opposite of initClass, deallocates any class specific resources and resets the class to an u...
Definition ScXMLObject.cpp:115
static void initClass(void)
Sets up initialization for data common to all instances of this class, like submitting necessary info...
Definition ScXMLObject.cpp:102
The SoCamera class is the abstract base class for camera definition nodes.
Definition SoCamera.h:64