1#ifndef COIN_SOSCXMLPANTARGET_H
2#define COIN_SOSCXMLPANTARGET_H
36#include <Inventor/navigation/SoScXMLNavigationTarget.h>
42#define COIN_NAVIGATION_PAN_TARGET_EVENT_PREFIX COIN_NAVIGATION_EVENT_PREFIX ".Pan"
44class COIN_DLL_API SoScXMLPanTarget :
public SoScXMLNavigationTarget {
45 typedef SoScXMLNavigationTarget inherited;
46 SCXML_OBJECT_HEADER(SoScXMLPanTarget)
52 static SoScXMLPanTarget * constructSingleton(
void);
53 static void destructSingleton(
void);
54 static SoScXMLPanTarget * 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);
60 static const SbName & MOVE(
void);
62 static void panCamera(
SoCamera * camera,
68 static void panSetFocalPoint(
SoCamera * camera,
const SbVec3f & worldspace);
70 static void translateCamera(
SoCamera * camera,
const SbVec3f & translation, SbBool cameraspace = FALSE);
73 SoScXMLPanTarget(
void);
74 virtual ~SoScXMLPanTarget(
void);
80 static SoScXMLPanTarget * theSingleton;
The SbName class stores strings by reference.
Definition SbName.h:40
The SbPlane class represents a plane in 3D space.
Definition SbPlane.h:43
The SbVec2f class is a 2 dimensional vector with floating point coordinates.
Definition SbVec2f.h:49
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