50#ifndef _SO_SCALE_GESTURE_EVENT_
51#define _SO_SCALE_GESTURE_EVENT_
53#include <Inventor/SbBasic.h>
54#include <Inventor/events/SoSubEvent.h>
55#include <Inventor/gestures/events/SoGestureEvent.h>
94 #ifndef HIDDEN_FROM_DOC
111 static void initClass();
112 static void exitClass();
118 float getFirstDistance()
const;
124 void setFirstDistance(
float d);
130 void setScaleFactor(
float r);
136 void setDeltaScaleFactor(
float r);
139 float m_deltaScaleFactor;
143 float m_firstDistance;
Base class for gesture events.
Class for scale (pinch) gesture events.
float getScaleFactor() const
Gets the ratio between the current fingers distance and the first distance evaluated after the second...
float getDeltaScaleFactor() const
Gets the ratio between the current fingers distance and the previous distance.
SoScaleGestureEvent()
Constructor.