2#ifndef SMALLCHANGE_PAN_EVENTHANDLER_H
3#define SMALLCHANGE_PAN_EVENTHANDLER_H
37#include <Inventor/fields/SoSFFloat.h>
39#include <SmallChange/eventhandlers/SmEventHandler.h>
40#include <SmallChange/basic.h>
42class SmPanEventHandlerP;
43class SbSphereSheetProjector;
52 virtual void handleEvent(SoHandleEventAction * action);
53 static void initClass(
void);
60 void pan(
const SbVec2f & currpos,
61 const SbVec2f & prevpos);
63 void spin(
const SbVec2f & currpos,
64 const SbVec2f & prevpos);
66 void zoom(
const SbVec2f & currpos,
67 const SbVec2f & prevpos);
69 void zoom(
const float delta);
72 SmPanEventHandlerP * pimpl;
The SmEventHandler class...
Definition SmEventHandler.h:50
Google Earth type navigation mode.
Definition SmPanEventHandler.h:45