1#ifndef COIN_SOSCXMLROTATETARGET_H
2#define COIN_SOSCXMLROTATETARGET_H
36#include <Inventor/navigation/SoScXMLNavigationTarget.h>
42#define COIN_NAVIGATION_ROTATE_TARGET_EVENT_PREFIX COIN_NAVIGATION_EVENT_PREFIX ".Rotate"
44class COIN_DLL_API SoScXMLRotateTarget :
public SoScXMLNavigationTarget {
45 typedef SoScXMLNavigationTarget inherited;
46 SCXML_OBJECT_HEADER(SoScXMLRotateTarget)
49 static void initClass(
void);
50 static void cleanClass(
void);
52 static SoScXMLRotateTarget * constructSingleton(
void);
53 static void destructSingleton(
void);
54 static SoScXMLRotateTarget * singleton(
void);
56 static const SbName & BEGIN(
void);
57 static const SbName & UPDATE(
void);
58 static const SbName & END(
void);
59 static const SbName & SET_FOCAL_POINT(
void);
62 static void setFocalPoint(
SoCamera * camera,
const SbVec3f & worldspace);
67 SoScXMLRotateTarget(
void);
68 virtual ~SoScXMLRotateTarget(
void);
71 static const SbName & TRIGGER_SPIN(
void);
77 static SoScXMLRotateTarget * theSingleton;
The SbName class stores strings by reference.
Definition SbName.h:40
The SbRotation class represents a rotation in 3D space.
Definition SbRotation.h:44
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
The SoCamera class is the abstract base class for camera definition nodes.
Definition SoCamera.h:64