1#ifndef COIN_SOSCXMLZOOMTARGET_H
2#define COIN_SOSCXMLZOOMTARGET_H
36#include <Inventor/navigation/SoScXMLNavigationTarget.h>
43#define COIN_NAVIGATION_ZOOM_TARGET_EVENT_PREFIX SOSCXML_NAVIGATION_TARGETTYPE ".Zoom"
45class COIN_DLL_API SoScXMLZoomTarget :
public SoScXMLNavigationTarget {
46 typedef SoScXMLNavigationTarget inherited;
47 SCXML_OBJECT_HEADER(SoScXMLZoomTarget)
53 static SoScXMLZoomTarget * constructSingleton(
void);
54 static void destructSingleton(
void);
55 static SoScXMLZoomTarget * singleton(
void);
57 static const SbName & BEGIN(
void);
58 static const SbName & UPDATE(
void);
59 static const SbName & END(
void);
60 static const SbName & ZOOM(
void);
61 static const SbName & ZOOM_IN(
void);
62 static const SbName & ZOOM_OUT(
void);
63 static const SbName & RESET(
void);
65 static void zoom(
SoCamera * camera,
float factor);
69 SoScXMLZoomTarget(
void);
70 virtual ~SoScXMLZoomTarget(
void);
76 static SoScXMLZoomTarget * theSingleton;
The SbName class stores strings by reference.
Definition SbName.h:40
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
The SoFrustumCamera class defines a camera with a generic frustum..
Definition SoFrustumCamera.h:40
The SoOrthographicCamera class defines a camera node with orthographic rendering.
Definition SoOrthographicCamera.h:39
The SoPerspectiveCamera class defines a camera node with perspective rendering.
Definition SoPerspectiveCamera.h:39
static void reset(SoCamera *camera)
Definition SoScXMLZoomTarget.cpp:473