GUIEventAdapter
Go to the documentation of this file.
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#ifndef OSGGA_GUIEVENTADAPTER
#define OSGGA_GUIEVENTADAPTER 1
#include <osg/Object>
#include <osg/Matrix>
#include <osg/GraphicsContext>
#include <osgGA/Event>
namespace osgGA{
struct PointerData : public osg::Referenced
{
PointerData():
object(0),
x(0.0f),
xMin(-1.0f),
xMax(1.0f),
y(0.0f),
yMin(-1.0f),
yMax(1.0f) {}
PointerData(osg::Object* obj, float in_x, float in_xMin, float in_xMax, float in_y, float in_yMin, float in_yMax):
object(obj),
x(in_x),
xMin(in_xMin),
xMax(in_xMax),
y(in_y),
yMin(in_yMin),
yMax(in_yMax) {}
PointerData(const PointerData& pd):
osg::Referenced(),
object(pd.object),
x(pd.x),
xMin(pd.xMin),
xMax(pd.xMax),
y(pd.y),
yMin(pd.yMin),
yMax(pd.yMax) {}
PointerData& operator = (const PointerData& pd)
{
if (&pd==this) return *this;
object = pd.object;
x = pd.x;
xMin = pd.xMin;
xMax = pd.xMax;
y = pd.y;
yMin = pd.yMin;
yMax = pd.yMax;
return *this;
}
osg::observer_ptr<osg::Object> object;
float x, xMin, xMax;
float y, yMin, yMax;
float getXnormalized() const { return (x-xMin)/(xMax-xMin)*2.0f-1.0f; }
float getYnormalized() const { return (y-yMin)/(yMax-yMin)*2.0f-1.0f; }
};
class OSGGA_EXPORT GUIEventAdapter : public Event
{
public:
enum MouseButtonMask {
LEFT_MOUSE_BUTTON = 1<<0,
MIDDLE_MOUSE_BUTTON = 1<<1,
RIGHT_MOUSE_BUTTON = 1<<2
};
enum EventType {
NONE = 0,
PUSH = 1<<0,
RELEASE = 1<<1,
DOUBLECLICK = 1<<2,
DRAG = 1<<3,
MOVE = 1<<4,
KEYDOWN = 1<<5,
KEYUP = 1<<6,
FRAME = 1<<7,
RESIZE = 1<<8,
SCROLL = 1<<9,
PEN_PRESSURE = 1<<10,
PEN_ORIENTATION = 1<<11,
PEN_PROXIMITY_ENTER = 1<<12,
PEN_PROXIMITY_LEAVE = 1<<13,
CLOSE_WINDOW = 1<<14,
QUIT_APPLICATION = 1<<15,
USER = 1<<16
};
enum KeySymbol
{
KEY_Space = 0x20,
KEY_0 = '0',
KEY_1 = '1',
KEY_2 = '2',
KEY_3 = '3',
KEY_4 = '4',
KEY_5 = '5',
KEY_6 = '6',
KEY_7 = '7',
KEY_8 = '8',
KEY_9 = '9',
KEY_A = 'a',
KEY_B = 'b',
KEY_C = 'c',
KEY_D = 'd',
KEY_E = 'e',
KEY_F = 'f',
KEY_G = 'g',
KEY_H = 'h',
KEY_I = 'i',
KEY_J = 'j',
KEY_K = 'k',
KEY_L = 'l',
KEY_M = 'm',
KEY_N = 'n',
KEY_O = 'o',
KEY_P = 'p',
KEY_Q = 'q',
KEY_R = 'r',
KEY_S = 's',
KEY_T = 't',
KEY_U = 'u',
KEY_V = 'v',
KEY_W = 'w',
KEY_X = 'x',
KEY_Y = 'y',
KEY_Z = 'z',
KEY_Exclaim = 0x21,
KEY_Quotedbl = 0x22,
KEY_Hash = 0x23,
KEY_Dollar = 0x24,
KEY_Ampersand = 0x26,
KEY_Quote = 0x27,
KEY_Leftparen = 0x28,
KEY_Rightparen = 0x29,
KEY_Asterisk = 0x2A,
KEY_Plus = 0x2B,
KEY_Comma = 0x2C,
KEY_Minus = 0x2D,
KEY_Period = 0x2E,
KEY_Slash = 0x2F,
KEY_Colon = 0x3A,
KEY_Semicolon = 0x3B,
KEY_Less = 0x3C,
KEY_Equals = 0x3D,
KEY_Greater = 0x3E,
KEY_Question = 0x3F,
KEY_At = 0x40,
KEY_Leftbracket = 0x5B,
KEY_Backslash = 0x5C,
KEY_Rightbracket = 0x5D,
KEY_Caret = 0x5E,
KEY_Underscore = 0x5F,
KEY_Backquote = 0x60,
KEY_BackSpace = 0xFF08, /* back space, back char */
KEY_Tab = 0xFF09,
KEY_Linefeed = 0xFF0A, /* Linefeed, LF */
KEY_Clear = 0xFF0B,
KEY_Return = 0xFF0D, /* Return, enter */
KEY_Pause = 0xFF13, /* Pause, hold */
KEY_Scroll_Lock = 0xFF14,
KEY_Sys_Req = 0xFF15,
KEY_Escape = 0xFF1B,
KEY_Delete = 0xFFFF, /* Delete, rubout */
/* Cursor control & motion */
KEY_Home = 0xFF50,
KEY_Left = 0xFF51, /* Move left, left arrow */
KEY_Up = 0xFF52, /* Move up, up arrow */
KEY_Right = 0xFF53, /* Move right, right arrow */
KEY_Down = 0xFF54, /* Move down, down arrow */
KEY_Prior = 0xFF55, /* Prior, previous */
KEY_Page_Up = 0xFF55,
KEY_Next = 0xFF56, /* Next */
KEY_Page_Down = 0xFF56,
KEY_End = 0xFF57, /* EOL */
KEY_Begin = 0xFF58, /* BOL */
/* Misc Functions */
KEY_Select = 0xFF60, /* Select, mark */
KEY_Print = 0xFF61,
KEY_Execute = 0xFF62, /* Execute, run, do */
KEY_Insert = 0xFF63, /* Insert, insert here */
KEY_Undo = 0xFF65, /* Undo, oops */
KEY_Redo = 0xFF66, /* redo, again */
KEY_Menu = 0xFF67, /* On Windows, this is VK_APPS, the context-menu key */
KEY_Find = 0xFF68, /* Find, search */
KEY_Cancel = 0xFF69, /* Cancel, stop, abort, exit */
KEY_Help = 0xFF6A, /* Help */
KEY_Break = 0xFF6B,
KEY_Mode_switch = 0xFF7E, /* Character set switch */
KEY_Script_switch = 0xFF7E, /* Alias for mode_switch */
KEY_Num_Lock = 0xFF7F,
/* Keypad Functions, keypad numbers cleverly chosen to map to ascii */
KEY_KP_Space = 0xFF80, /* space */
KEY_KP_Tab = 0xFF89,
KEY_KP_Enter = 0xFF8D, /* enter */
KEY_KP_F1 = 0xFF91, /* PF1, KP_A, ... */
KEY_KP_F2 = 0xFF92,
KEY_KP_F3 = 0xFF93,
KEY_KP_F4 = 0xFF94,
KEY_KP_Home = 0xFF95,
KEY_KP_Left = 0xFF96,
KEY_KP_Up = 0xFF97,
KEY_KP_Right = 0xFF98,
KEY_KP_Down = 0xFF99,
KEY_KP_Prior = 0xFF9A,
KEY_KP_Page_Up = 0xFF9A,
KEY_KP_Next = 0xFF9B,
KEY_KP_Page_Down = 0xFF9B,
KEY_KP_End = 0xFF9C,
KEY_KP_Begin = 0xFF9D,
KEY_KP_Insert = 0xFF9E,
KEY_KP_Delete = 0xFF9F,
KEY_KP_Equal = 0xFFBD, /* equals */
KEY_KP_Multiply = 0xFFAA,
KEY_KP_Add = 0xFFAB,
KEY_KP_Separator = 0xFFAC, /* separator, often comma */
KEY_KP_Subtract = 0xFFAD,
KEY_KP_Decimal = 0xFFAE,
KEY_KP_Divide = 0xFFAF,
KEY_KP_0 = 0xFFB0,
KEY_KP_1 = 0xFFB1,
KEY_KP_2 = 0xFFB2,
KEY_KP_3 = 0xFFB3,
KEY_KP_4 = 0xFFB4,
KEY_KP_5 = 0xFFB5,
KEY_KP_6 = 0xFFB6,
KEY_KP_7 = 0xFFB7,
KEY_KP_8 = 0xFFB8,
KEY_KP_9 = 0xFFB9,
/*
* Auxiliary Functions; note the duplicate definitions for left and right
* function keys; Sun keyboards and a few other manufactures have such
* function key groups on the left and/or right sides of the keyboard.
* We've not found a keyboard with more than 35 function keys total.
*/
KEY_F1 = 0xFFBE,
KEY_F2 = 0xFFBF,
KEY_F3 = 0xFFC0,
KEY_F4 = 0xFFC1,
KEY_F5 = 0xFFC2,
KEY_F6 = 0xFFC3,
KEY_F7 = 0xFFC4,
KEY_F8 = 0xFFC5,
KEY_F9 = 0xFFC6,
KEY_F10 = 0xFFC7,
KEY_F11 = 0xFFC8,
KEY_F12 = 0xFFC9,
KEY_F13 = 0xFFCA,
KEY_F14 = 0xFFCB,
KEY_F15 = 0xFFCC,
KEY_F16 = 0xFFCD,
KEY_F17 = 0xFFCE,
KEY_F18 = 0xFFCF,
KEY_F19 = 0xFFD0,
KEY_F20 = 0xFFD1,
KEY_F21 = 0xFFD2,
KEY_F22 = 0xFFD3,
KEY_F23 = 0xFFD4,
KEY_F24 = 0xFFD5,
KEY_F25 = 0xFFD6,
KEY_F26 = 0xFFD7,
KEY_F27 = 0xFFD8,
KEY_F28 = 0xFFD9,
KEY_F29 = 0xFFDA,
KEY_F30 = 0xFFDB,
KEY_F31 = 0xFFDC,
KEY_F32 = 0xFFDD,
KEY_F33 = 0xFFDE,
KEY_F34 = 0xFFDF,
KEY_F35 = 0xFFE0,
/* Modifiers */
KEY_Shift_L = 0xFFE1, /* Left shift */
KEY_Shift_R = 0xFFE2, /* Right shift */
KEY_Control_L = 0xFFE3, /* Left control */
KEY_Control_R = 0xFFE4, /* Right control */
KEY_Caps_Lock = 0xFFE5, /* Caps lock */
KEY_Shift_Lock = 0xFFE6, /* Shift lock */
KEY_Meta_L = 0xFFE7, /* Left meta */
KEY_Meta_R = 0xFFE8, /* Right meta */
KEY_Alt_L = 0xFFE9, /* Left alt */
KEY_Alt_R = 0xFFEA, /* Right alt */
KEY_Super_L = 0xFFEB, /* Left super */
KEY_Super_R = 0xFFEC, /* Right super */
KEY_Hyper_L = 0xFFED, /* Left hyper */
KEY_Hyper_R = 0xFFEE /* Right hyper */
};
enum ModKeyMask
{
MODKEY_LEFT_SHIFT = 0x0001,
MODKEY_RIGHT_SHIFT = 0x0002,
MODKEY_LEFT_CTRL = 0x0004,
MODKEY_RIGHT_CTRL = 0x0008,
MODKEY_LEFT_ALT = 0x0010,
MODKEY_RIGHT_ALT = 0x0020,
MODKEY_LEFT_META = 0x0040,
MODKEY_RIGHT_META = 0x0080,
MODKEY_LEFT_SUPER = 0x0100,
MODKEY_RIGHT_SUPER = 0x0200,
MODKEY_LEFT_HYPER = 0x0400,
MODKEY_RIGHT_HYPER = 0x0800,
MODKEY_NUM_LOCK = 0x1000,
MODKEY_CAPS_LOCK = 0x2000,
MODKEY_CTRL = (MODKEY_LEFT_CTRL|MODKEY_RIGHT_CTRL),
MODKEY_SHIFT = (MODKEY_LEFT_SHIFT|MODKEY_RIGHT_SHIFT),
MODKEY_ALT = (MODKEY_LEFT_ALT|MODKEY_RIGHT_ALT),
MODKEY_META = (MODKEY_LEFT_META|MODKEY_RIGHT_META),
MODKEY_SUPER = (MODKEY_LEFT_SUPER|MODKEY_RIGHT_SUPER),
MODKEY_HYPER = (MODKEY_LEFT_HYPER|MODKEY_RIGHT_HYPER)
};
enum MouseYOrientation
{
Y_INCREASING_UPWARDS,
Y_INCREASING_DOWNWARDS
};
enum ScrollingMotion
{
SCROLL_NONE,
SCROLL_LEFT,
SCROLL_RIGHT,
SCROLL_UP,
SCROLL_DOWN,
SCROLL_2D
};
enum TabletPointerType
{
UNKNOWN = 0,
PEN,
PUCK,
ERASER
};
enum TouchPhase
{
TOUCH_UNKNOWN,
TOUCH_BEGAN,
TOUCH_MOVED,
TOUCH_STATIONERY,
TOUCH_ENDED
};
class TouchData : public osg::Object {
public:
struct TouchPoint {
unsigned int id;
TouchPhase phase;
float x, y;
unsigned int tapCount;
TouchPoint() : id(0), phase(TOUCH_UNKNOWN), x(0.0f), y(0.0f), tapCount(0) {}
TouchPoint(unsigned int in_id, TouchPhase in_phase, float in_x, float in_y, unsigned int in_tap_count)
: id(in_id),
phase(in_phase),
x(in_x),
y(in_y),
tapCount(in_tap_count)
{
}
};
typedef std::vector<TouchPoint> TouchSet;
typedef TouchSet::iterator iterator;
typedef TouchSet::const_iterator const_iterator;
TouchData() : osg::Object() {}
TouchData(const TouchData& td, const osg::CopyOp& copyop):
osg::Object(td,copyop),
_touches(td._touches) {}
META_Object(osgGA, TouchData);
unsigned int getNumTouchPoints() const { return static_cast<unsigned int>(_touches.size()); }
iterator begin() { return _touches.begin(); }
const_iterator begin() const { return _touches.begin(); }
iterator end() { return _touches.end(); }
const_iterator end() const { return _touches.end(); }
const TouchPoint get(unsigned int i) const { return _touches[i]; }
protected:
virtual ~TouchData() {}
void addTouchPoint(unsigned int id, TouchPhase phase, float x, float y, unsigned int tap_count) {
_touches.push_back(TouchPoint(id, phase, x, y, tap_count));
}
TouchSet _touches;
friend class GUIEventAdapter;
};
public:
GUIEventAdapter();
GUIEventAdapter(const GUIEventAdapter& rhs, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
META_Object(osgGA, GUIEventAdapter);
virtual GUIEventAdapter* asGUIEventAdapter() { return this; }
virtual const GUIEventAdapter* asGUIEventAdapter() const { return this; }
static osg::ref_ptr<GUIEventAdapter>& getAccumulatedEventState();
void setEventType(EventType Type) { _eventType = Type; }
virtual EventType getEventType() const { return _eventType; }
double time() const { return _time; }
void setGraphicsContext(osg::GraphicsContext* context) { _context = context; }
osg::GraphicsContext* getGraphicsContext() { return _context.get(); }
const osg::GraphicsContext* getGraphicsContext() const { return _context.get(); }
void setWindowRectangle(int x, int y, int width, int height, bool updateMouseRange = true);
void setWindowX(int v) { _windowX = v; }
int getWindowX() const { return _windowX; }
void setWindowY(int v) { _windowY = v; }
int getWindowY() const { return _windowY; }
void setWindowWidth(int v) { _windowWidth = v; }
int getWindowWidth() const { return _windowWidth; }
void setWindowHeight(int v) { _windowHeight = v; }
int getWindowHeight() const { return _windowHeight; }
inline void setKey(int key) { _key = key; }
virtual int getKey() const { return _key; }
void setUnmodifiedKey(int key) { _unmodifiedKey = key; }
int getUnmodifiedKey() const { return _unmodifiedKey; }
void setButton(int button) { _button = button; }
int getButton() const { return _button; }
void setInputRange(float Xmin, float Ymin, float Xmax, float Ymax);
void setXmin(float v) { _Xmin = v; }
float getXmin() const { return _Xmin; }
void setXmax(float v) { _Xmax = v; }
float getXmax() const { return _Xmax; }
void setYmin(float v) { _Ymin = v; }
float getYmin() const { return _Ymin; }
void setYmax(float v) { _Ymax = v; }
float getYmax() const { return _Ymax; }
void setX(float x) { _mx = x; }
float getX() const { return _mx; }
void setY(float y) { _my = y; }
float getY() const { return _my; }
#if 1
inline float getXnormalized() const
{
return _pointerDataList.size()>=1 ?
_pointerDataList[_pointerDataList.size()-1]->getXnormalized():
2.0f*(getX()-getXmin())/(getXmax()-getXmin())-1.0f;
}
inline float getYnormalized() const
{
if (_pointerDataList.size()>=1) return _pointerDataList[_pointerDataList.size()-1]->getYnormalized();
if (_mouseYOrientation==Y_INCREASING_UPWARDS) return 2.0f*(getY()-getYmin())/(getYmax()-getYmin())-1.0f;
else return -(2.0f*(getY()-getYmin())/(getYmax()-getYmin())-1.0f);
}
#else
inline float getXnormalized() const { return 2.0f*(getX()-getXmin())/(getXmax()-getXmin())-1.0f; }
inline float getYnormalized() const
{
if (_mouseYOrientation==Y_INCREASING_UPWARDS) return 2.0f*(getY()-getYmin())/(getYmax()-getYmin())-1.0f;
else return -(2.0f*(getY()-getYmin())/(getYmax()-getYmin())-1.0f);
}
#endif
void setMouseYOrientation(MouseYOrientation myo) { _mouseYOrientation = myo; }
MouseYOrientation getMouseYOrientation() const { return _mouseYOrientation; }
void setMouseYOrientationAndUpdateCoords(MouseYOrientation myo);
void setButtonMask(int mask) { _buttonMask = mask; }
int getButtonMask() const { return _buttonMask; }
void setModKeyMask(int mask) { _modKeyMask = mask; }
int getModKeyMask() const { return _modKeyMask; }
void setScrollingMotion(ScrollingMotion motion) { _scrolling.motion = motion; }
ScrollingMotion getScrollingMotion() const { return _scrolling.motion; }
void setScrollingMotionDelta(float x, float y) {
_scrolling.motion = SCROLL_2D;
_scrolling.deltaX = x;
_scrolling.deltaY = y;
}
void setScrollingDeltaX(float v) { _scrolling.deltaX = v; }
float getScrollingDeltaX() const { return _scrolling.deltaX; }
void setScrollingDeltaY(float v) { _scrolling.deltaY = v; }
float getScrollingDeltaY() const { return _scrolling.deltaY; }
void setPenPressure(float pressure) { _tabletPen.pressure = pressure; }
float getPenPressure() const { return _tabletPen.pressure; }
void setPenTiltX(float tiltX) { _tabletPen.tiltX = tiltX; }
float getPenTiltX() const { return _tabletPen.tiltX; }
void setPenTiltY(float tiltY) { _tabletPen.tiltY = tiltY; }
float getPenTiltY() const { return _tabletPen.tiltY; }
void setPenRotation(float rotation) { _tabletPen.rotation = rotation; }
float getPenRotation() const { return _tabletPen.rotation; }
void setTabletPointerType(TabletPointerType pt) { _tabletPen.tabletPointerType = pt; }
TabletPointerType getTabletPointerType() const { return _tabletPen.tabletPointerType; }
const osg::Matrix getPenOrientation() const;
void addTouchPoint(unsigned int id, TouchPhase phase, float x, float y, unsigned int tapCount = 0);
void setTouchData(TouchData* td) { _touchData = td; }
TouchData* getTouchData() const { return _touchData.get(); }
bool isMultiTouchEvent() const { return (_touchData.valid()); }
inline float getTouchPointNormalizedX(unsigned int ndx) const {
return (getTouchData()->get(ndx).x-_Xmin)/(_Xmax-_Xmin)*2.0f-1.0f;
}
inline float getTouchPointNormalizedY(unsigned int ndx) const {
if (_mouseYOrientation==Y_INCREASING_UPWARDS)
return (getTouchData()->get(ndx).y-_Ymin)/(_Ymax-_Ymin)*2.0f-1.0f;
else
return -((getTouchData()->get(ndx).y-_Ymin)/(_Ymax-_Ymin)*2.0f-1.0f);
}
typedef std::vector< osg::ref_ptr<PointerData> > PointerDataList;
void setPointerDataList(const PointerDataList& pdl) { _pointerDataList = pdl; }
PointerDataList& getPointerDataList() { return _pointerDataList; }
const PointerDataList& getPointerDataList() const { return _pointerDataList; }
unsigned int getNumPointerData() const { return static_cast<unsigned int>(_pointerDataList.size()); }
PointerData* getPointerData(unsigned int i) { return _pointerDataList[i].get(); }
const PointerData* getPointerData(unsigned int i) const { return _pointerDataList[i].get(); }
PointerData* getPointerData(osg::Object* obj) { for(unsigned int i=0;i<_pointerDataList.size(); ++i) { if (_pointerDataList[i]->object==obj) return _pointerDataList[i].get(); } return 0; }
const PointerData* getPointerData(osg::Object* obj) const { for(unsigned int i=0;i<_pointerDataList.size(); ++i) { if (_pointerDataList[i]->object==obj) return _pointerDataList[i].get(); } return 0; }
void addPointerData(PointerData* pd) { _pointerDataList.push_back(pd); }
void copyPointerDataFrom(const osgGA::GUIEventAdapter& sourceEvent);
protected:
virtual ~GUIEventAdapter();
EventType _eventType;
osg::observer_ptr<osg::GraphicsContext> _context;
int _windowX;
int _windowY;
int _windowWidth;
int _windowHeight;
int _key;
int _unmodifiedKey;
int _button;
float _Xmin,_Xmax;
float _Ymin,_Ymax;
float _mx;
float _my;
int _buttonMask;
int _modKeyMask;
MouseYOrientation _mouseYOrientation;
struct Scrolling {
ScrollingMotion motion;
float deltaX;
float deltaY;
Scrolling() : motion(SCROLL_NONE), deltaX(0), deltaY(0) {}
Scrolling(const Scrolling& rhs) : motion(rhs.motion), deltaX(rhs.deltaX), deltaY(rhs.deltaY) {}
};
Scrolling _scrolling;
struct TabletPen {
float pressure;
float tiltX;
float tiltY;
float rotation;
TabletPointerType tabletPointerType;
TabletPen() : pressure(0), tiltX(0), tiltY(0), rotation(0), tabletPointerType(UNKNOWN) {}
TabletPen(const TabletPen& rhs) : pressure(rhs.pressure), tiltX(rhs.tiltX), tiltY(rhs.tiltY), rotation(rhs.rotation), tabletPointerType(rhs.tabletPointerType) {}
};
TabletPen _tabletPen;
osg::ref_ptr<TouchData> _touchData;
PointerDataList _pointerDataList;
};
}
#endif
Event
GraphicsContext
Matrix
Object
osgGA::Event::_time
double _time
Definition Event:56
osgGA::Event::Event
Event()
osgGA::GUIEventAdapter::TouchData
Definition GUIEventAdapter:386
osgGA::GUIEventAdapter::TouchData::_touches
TouchSet _touches
Definition GUIEventAdapter:439
osgGA::GUIEventAdapter::TouchData::iterator
TouchSet::iterator iterator
Definition GUIEventAdapter:408
osgGA::GUIEventAdapter::TouchData::getNumTouchPoints
unsigned int getNumTouchPoints() const
Definition GUIEventAdapter:421
osgGA::GUIEventAdapter::TouchData::META_Object
META_Object(osgGA, TouchData)
osgGA::GUIEventAdapter::TouchData::begin
iterator begin()
Definition GUIEventAdapter:423
osgGA::GUIEventAdapter::TouchData::GUIEventAdapter
friend class GUIEventAdapter
Definition GUIEventAdapter:441
osgGA::GUIEventAdapter::TouchData::get
const TouchPoint get(unsigned int i) const
Definition GUIEventAdapter:429
osgGA::GUIEventAdapter::TouchData::TouchData
TouchData()
Definition GUIEventAdapter:411
osgGA::GUIEventAdapter::TouchData::~TouchData
virtual ~TouchData()
Definition GUIEventAdapter:433
osgGA::GUIEventAdapter::TouchData::TouchSet
std::vector< TouchPoint > TouchSet
Definition GUIEventAdapter:406
osgGA::GUIEventAdapter::TouchData::const_iterator
TouchSet::const_iterator const_iterator
Definition GUIEventAdapter:409
osgGA::GUIEventAdapter::TouchData::begin
const_iterator begin() const
Definition GUIEventAdapter:424
osgGA::GUIEventAdapter::TouchData::addTouchPoint
void addTouchPoint(unsigned int id, TouchPhase phase, float x, float y, unsigned int tap_count)
Definition GUIEventAdapter:435
osgGA::GUIEventAdapter::TouchData::TouchData
TouchData(const TouchData &td, const osg::CopyOp &copyop)
Definition GUIEventAdapter:413
osgGA::GUIEventAdapter::TouchData::end
iterator end()
Definition GUIEventAdapter:426
osgGA::GUIEventAdapter::TouchData::end
const_iterator end() const
Definition GUIEventAdapter:427
osgGA::GUIEventAdapter
Definition GUIEventAdapter:82
osgGA::GUIEventAdapter::setXmax
void setXmax(float v)
Definition GUIEventAdapter:534
osgGA::GUIEventAdapter::getNumPointerData
unsigned int getNumPointerData() const
Definition GUIEventAdapter:701
osgGA::GUIEventAdapter::getButton
int getButton() const
Definition GUIEventAdapter:521
osgGA::GUIEventAdapter::PointerDataList
std::vector< osg::ref_ptr< PointerData > > PointerDataList
Definition GUIEventAdapter:696
osgGA::GUIEventAdapter::setWindowRectangle
void setWindowRectangle(int x, int y, int width, int height, bool updateMouseRange=true)
osgGA::GUIEventAdapter::getTouchData
TouchData * getTouchData() const
Definition GUIEventAdapter:682
osgGA::GUIEventAdapter::setKey
void setKey(int key)
Definition GUIEventAdapter:506
osgGA::GUIEventAdapter::getPenOrientation
const osg::Matrix getPenOrientation() const
set the orientation from a tablet input device as a matrix.
osgGA::GUIEventAdapter::_Ymax
float _Ymax
Definition GUIEventAdapter:727
osgGA::GUIEventAdapter::_windowY
int _windowY
Definition GUIEventAdapter:720
osgGA::GUIEventAdapter::_windowWidth
int _windowWidth
Definition GUIEventAdapter:721
osgGA::GUIEventAdapter::setButton
void setButton(int button)
Definition GUIEventAdapter:518
osgGA::GUIEventAdapter::_buttonMask
int _buttonMask
Definition GUIEventAdapter:730
osgGA::GUIEventAdapter::getXmin
float getXmin() const
Definition GUIEventAdapter:531
osgGA::GUIEventAdapter::MouseButtonMask
MouseButtonMask
Definition GUIEventAdapter:85
osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON
@ RIGHT_MOUSE_BUTTON
Definition GUIEventAdapter:88
osgGA::GUIEventAdapter::MIDDLE_MOUSE_BUTTON
@ MIDDLE_MOUSE_BUTTON
Definition GUIEventAdapter:87
osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON
@ LEFT_MOUSE_BUTTON
Definition GUIEventAdapter:86
osgGA::GUIEventAdapter::getWindowX
int getWindowX() const
Definition GUIEventAdapter:484
osgGA::GUIEventAdapter::getGraphicsContext
const osg::GraphicsContext * getGraphicsContext() const
Definition GUIEventAdapter:474
osgGA::GUIEventAdapter::_windowHeight
int _windowHeight
Definition GUIEventAdapter:722
osgGA::GUIEventAdapter::_touchData
osg::ref_ptr< TouchData > _touchData
Definition GUIEventAdapter:756
osgGA::GUIEventAdapter::getScrollingDeltaX
float getScrollingDeltaX() const
get the scrolling x-delta.
Definition GUIEventAdapter:637
osgGA::GUIEventAdapter::getPointerData
PointerData * getPointerData(unsigned int i)
Definition GUIEventAdapter:702
osgGA::GUIEventAdapter::asGUIEventAdapter
virtual GUIEventAdapter * asGUIEventAdapter()
Definition GUIEventAdapter:452
osgGA::GUIEventAdapter::_eventType
EventType _eventType
Definition GUIEventAdapter:716
osgGA::GUIEventAdapter::isMultiTouchEvent
bool isMultiTouchEvent() const
Definition GUIEventAdapter:683
osgGA::GUIEventAdapter::setWindowHeight
void setWindowHeight(int v)
Definition GUIEventAdapter:499
osgGA::GUIEventAdapter::getYmin
float getYmin() const
Definition GUIEventAdapter:543
osgGA::GUIEventAdapter::getPenRotation
float getPenRotation() const
get the tablet pen rotation around the Z-axis in degrees.
Definition GUIEventAdapter:668
osgGA::GUIEventAdapter::setUnmodifiedKey
void setUnmodifiedKey(int key)
Definition GUIEventAdapter:512
osgGA::GUIEventAdapter::getWindowY
int getWindowY() const
Definition GUIEventAdapter:490
osgGA::GUIEventAdapter::setWindowX
void setWindowX(int v)
Definition GUIEventAdapter:481
osgGA::GUIEventAdapter::getPenTiltY
float getPenTiltY() const
get the tablet pen tiltY in degrees.
Definition GUIEventAdapter:662
osgGA::GUIEventAdapter::setScrollingMotion
void setScrollingMotion(ScrollingMotion motion)
set scrolling motion (for EventType::SCROLL).
Definition GUIEventAdapter:621
osgGA::GUIEventAdapter::_mouseYOrientation
MouseYOrientation _mouseYOrientation
Definition GUIEventAdapter:732
osgGA::GUIEventAdapter::getModKeyMask
int getModKeyMask() const
get modifier key mask.
Definition GUIEventAdapter:618
osgGA::GUIEventAdapter::setGraphicsContext
void setGraphicsContext(osg::GraphicsContext *context)
Definition GUIEventAdapter:472
osgGA::GUIEventAdapter::setTabletPointerType
void setTabletPointerType(TabletPointerType pt)
set the tablet pointer type.
Definition GUIEventAdapter:671
osgGA::GUIEventAdapter::EventType
EventType
Definition GUIEventAdapter:91
osgGA::GUIEventAdapter::PEN_PRESSURE
@ PEN_PRESSURE
Definition GUIEventAdapter:103
osgGA::GUIEventAdapter::PUSH
@ PUSH
Definition GUIEventAdapter:93
osgGA::GUIEventAdapter::KEYUP
@ KEYUP
Definition GUIEventAdapter:99
osgGA::GUIEventAdapter::CLOSE_WINDOW
@ CLOSE_WINDOW
Definition GUIEventAdapter:107
osgGA::GUIEventAdapter::MOVE
@ MOVE
Definition GUIEventAdapter:97
osgGA::GUIEventAdapter::DRAG
@ DRAG
Definition GUIEventAdapter:96
osgGA::GUIEventAdapter::NONE
@ NONE
Definition GUIEventAdapter:92
osgGA::GUIEventAdapter::PEN_PROXIMITY_ENTER
@ PEN_PROXIMITY_ENTER
Definition GUIEventAdapter:105
osgGA::GUIEventAdapter::RESIZE
@ RESIZE
Definition GUIEventAdapter:101
osgGA::GUIEventAdapter::USER
@ USER
Definition GUIEventAdapter:109
osgGA::GUIEventAdapter::PEN_PROXIMITY_LEAVE
@ PEN_PROXIMITY_LEAVE
Definition GUIEventAdapter:106
osgGA::GUIEventAdapter::RELEASE
@ RELEASE
Definition GUIEventAdapter:94
osgGA::GUIEventAdapter::KEYDOWN
@ KEYDOWN
Definition GUIEventAdapter:98
osgGA::GUIEventAdapter::DOUBLECLICK
@ DOUBLECLICK
Definition GUIEventAdapter:95
osgGA::GUIEventAdapter::SCROLL
@ SCROLL
Definition GUIEventAdapter:102
osgGA::GUIEventAdapter::QUIT_APPLICATION
@ QUIT_APPLICATION
Definition GUIEventAdapter:108
osgGA::GUIEventAdapter::PEN_ORIENTATION
@ PEN_ORIENTATION
Definition GUIEventAdapter:104
osgGA::GUIEventAdapter::FRAME
@ FRAME
Definition GUIEventAdapter:100
osgGA::GUIEventAdapter::getPointerDataList
const PointerDataList & getPointerDataList() const
Definition GUIEventAdapter:699
osgGA::GUIEventAdapter::getWindowHeight
int getWindowHeight() const
Definition GUIEventAdapter:502
osgGA::GUIEventAdapter::setEventType
void setEventType(EventType Type)
Definition GUIEventAdapter:463
osgGA::GUIEventAdapter::_mx
float _mx
Definition GUIEventAdapter:728
osgGA::GUIEventAdapter::getPenPressure
float getPenPressure() const
get the tablet pen pressure (range 0..1).
Definition GUIEventAdapter:650
osgGA::GUIEventAdapter::getWindowWidth
int getWindowWidth() const
Definition GUIEventAdapter:496
osgGA::GUIEventAdapter::_Xmax
float _Xmax
Definition GUIEventAdapter:726
osgGA::GUIEventAdapter::setWindowWidth
void setWindowWidth(int v)
Definition GUIEventAdapter:493
osgGA::GUIEventAdapter::getMouseYOrientation
MouseYOrientation getMouseYOrientation() const
get mouse-Y orientation (mouse-Y increases upwards or downwards).
Definition GUIEventAdapter:603
osgGA::GUIEventAdapter::getAccumulatedEventState
static osg::ref_ptr< GUIEventAdapter > & getAccumulatedEventState()
osgGA::GUIEventAdapter::setPenRotation
void setPenRotation(float rotation)
set the tablet pen rotation around the Z-axis in degrees.
Definition GUIEventAdapter:665
osgGA::GUIEventAdapter::asGUIEventAdapter
virtual const GUIEventAdapter * asGUIEventAdapter() const
Definition GUIEventAdapter:453
osgGA::GUIEventAdapter::getTabletPointerType
TabletPointerType getTabletPointerType() const
get the tablet pointer type.
Definition GUIEventAdapter:674
osgGA::GUIEventAdapter::getButtonMask
int getButtonMask() const
get current mouse button state.
Definition GUIEventAdapter:612
osgGA::GUIEventAdapter::ScrollingMotion
ScrollingMotion
Definition GUIEventAdapter:360
osgGA::GUIEventAdapter::SCROLL_DOWN
@ SCROLL_DOWN
Definition GUIEventAdapter:365
osgGA::GUIEventAdapter::SCROLL_2D
@ SCROLL_2D
Definition GUIEventAdapter:366
osgGA::GUIEventAdapter::SCROLL_LEFT
@ SCROLL_LEFT
Definition GUIEventAdapter:362
osgGA::GUIEventAdapter::SCROLL_NONE
@ SCROLL_NONE
Definition GUIEventAdapter:361
osgGA::GUIEventAdapter::SCROLL_RIGHT
@ SCROLL_RIGHT
Definition GUIEventAdapter:363
osgGA::GUIEventAdapter::SCROLL_UP
@ SCROLL_UP
Definition GUIEventAdapter:364
osgGA::GUIEventAdapter::getX
float getX() const
Definition GUIEventAdapter:555
osgGA::GUIEventAdapter::_pointerDataList
PointerDataList _pointerDataList
Definition GUIEventAdapter:759
osgGA::GUIEventAdapter::getUnmodifiedKey
int getUnmodifiedKey() const
Definition GUIEventAdapter:515
osgGA::GUIEventAdapter::_tabletPen
TabletPen _tabletPen
Definition GUIEventAdapter:754
osgGA::GUIEventAdapter::setXmin
void setXmin(float v)
Definition GUIEventAdapter:528
osgGA::GUIEventAdapter::_key
int _key
Definition GUIEventAdapter:723
osgGA::GUIEventAdapter::getEventType
virtual EventType getEventType() const
Definition GUIEventAdapter:466
osgGA::GUIEventAdapter::setYmax
void setYmax(float v)
Definition GUIEventAdapter:546
osgGA::GUIEventAdapter::_Ymin
float _Ymin
Definition GUIEventAdapter:727
osgGA::GUIEventAdapter::setPenTiltX
void setPenTiltX(float tiltX)
set the tablet pen tiltX in degrees.
Definition GUIEventAdapter:653
osgGA::GUIEventAdapter::MouseYOrientation
MouseYOrientation
Definition GUIEventAdapter:354
osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS
@ Y_INCREASING_UPWARDS
Definition GUIEventAdapter:355
osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS
@ Y_INCREASING_DOWNWARDS
Definition GUIEventAdapter:356
osgGA::GUIEventAdapter::setWindowY
void setWindowY(int v)
Definition GUIEventAdapter:487
osgGA::GUIEventAdapter::ModKeyMask
ModKeyMask
Definition GUIEventAdapter:330
osgGA::GUIEventAdapter::MODKEY_LEFT_META
@ MODKEY_LEFT_META
Definition GUIEventAdapter:337
osgGA::GUIEventAdapter::MODKEY_LEFT_ALT
@ MODKEY_LEFT_ALT
Definition GUIEventAdapter:335
osgGA::GUIEventAdapter::MODKEY_RIGHT_ALT
@ MODKEY_RIGHT_ALT
Definition GUIEventAdapter:336
osgGA::GUIEventAdapter::MODKEY_LEFT_SUPER
@ MODKEY_LEFT_SUPER
Definition GUIEventAdapter:339
osgGA::GUIEventAdapter::MODKEY_SHIFT
@ MODKEY_SHIFT
Definition GUIEventAdapter:346
osgGA::GUIEventAdapter::MODKEY_RIGHT_HYPER
@ MODKEY_RIGHT_HYPER
Definition GUIEventAdapter:342
osgGA::GUIEventAdapter::MODKEY_HYPER
@ MODKEY_HYPER
Definition GUIEventAdapter:350
osgGA::GUIEventAdapter::MODKEY_LEFT_SHIFT
@ MODKEY_LEFT_SHIFT
Definition GUIEventAdapter:331
osgGA::GUIEventAdapter::MODKEY_RIGHT_SUPER
@ MODKEY_RIGHT_SUPER
Definition GUIEventAdapter:340
osgGA::GUIEventAdapter::MODKEY_RIGHT_META
@ MODKEY_RIGHT_META
Definition GUIEventAdapter:338
osgGA::GUIEventAdapter::MODKEY_RIGHT_CTRL
@ MODKEY_RIGHT_CTRL
Definition GUIEventAdapter:334
osgGA::GUIEventAdapter::MODKEY_RIGHT_SHIFT
@ MODKEY_RIGHT_SHIFT
Definition GUIEventAdapter:332
osgGA::GUIEventAdapter::MODKEY_CAPS_LOCK
@ MODKEY_CAPS_LOCK
Definition GUIEventAdapter:344
osgGA::GUIEventAdapter::MODKEY_NUM_LOCK
@ MODKEY_NUM_LOCK
Definition GUIEventAdapter:343
osgGA::GUIEventAdapter::MODKEY_CTRL
@ MODKEY_CTRL
Definition GUIEventAdapter:345
osgGA::GUIEventAdapter::MODKEY_META
@ MODKEY_META
Definition GUIEventAdapter:348
osgGA::GUIEventAdapter::MODKEY_LEFT_HYPER
@ MODKEY_LEFT_HYPER
Definition GUIEventAdapter:341
osgGA::GUIEventAdapter::MODKEY_ALT
@ MODKEY_ALT
Definition GUIEventAdapter:347
osgGA::GUIEventAdapter::MODKEY_SUPER
@ MODKEY_SUPER
Definition GUIEventAdapter:349
osgGA::GUIEventAdapter::MODKEY_LEFT_CTRL
@ MODKEY_LEFT_CTRL
Definition GUIEventAdapter:333
osgGA::GUIEventAdapter::getScrollingMotion
ScrollingMotion getScrollingMotion() const
get scrolling motion (for EventType::SCROLL).
Definition GUIEventAdapter:624
osgGA::GUIEventAdapter::GUIEventAdapter
GUIEventAdapter()
osgGA::GUIEventAdapter::_my
float _my
Definition GUIEventAdapter:729
osgGA::GUIEventAdapter::copyPointerDataFrom
void copyPointerDataFrom(const osgGA::GUIEventAdapter &sourceEvent)
osgGA::GUIEventAdapter::getPointerData
const PointerData * getPointerData(unsigned int i) const
Definition GUIEventAdapter:703
osgGA::GUIEventAdapter::getPenTiltX
float getPenTiltX() const
get the tablet pen tiltX in degrees.
Definition GUIEventAdapter:656
osgGA::GUIEventAdapter::setModKeyMask
void setModKeyMask(int mask)
set modifier key mask.
Definition GUIEventAdapter:615
osgGA::GUIEventAdapter::getPointerData
const PointerData * getPointerData(osg::Object *obj) const
Definition GUIEventAdapter:706
osgGA::GUIEventAdapter::getXnormalized
float getXnormalized() const
Definition GUIEventAdapter:564
osgGA::GUIEventAdapter::getXmax
float getXmax() const
Definition GUIEventAdapter:537
osgGA::GUIEventAdapter::getPointerData
PointerData * getPointerData(osg::Object *obj)
Definition GUIEventAdapter:705
osgGA::GUIEventAdapter::_unmodifiedKey
int _unmodifiedKey
Definition GUIEventAdapter:724
osgGA::GUIEventAdapter::getGraphicsContext
osg::GraphicsContext * getGraphicsContext()
Definition GUIEventAdapter:473
osgGA::GUIEventAdapter::getKey
virtual int getKey() const
Definition GUIEventAdapter:509
osgGA::GUIEventAdapter::getScrollingDeltaY
float getScrollingDeltaY() const
get the scrolling y-delta.
Definition GUIEventAdapter:643
osgGA::GUIEventAdapter::setPenTiltY
void setPenTiltY(float tiltY)
set the tablet pen tiltY in degrees.
Definition GUIEventAdapter:659
osgGA::GUIEventAdapter::getY
float getY() const
Definition GUIEventAdapter:561
osgGA::GUIEventAdapter::setScrollingMotionDelta
void setScrollingMotionDelta(float x, float y)
set the scrolling delta to x,y and the scrolling motion to SCROLL_2D.
Definition GUIEventAdapter:627
osgGA::GUIEventAdapter::setPenPressure
void setPenPressure(float pressure)
set the tablet pen pressure (range 0..1).
Definition GUIEventAdapter:647
osgGA::GUIEventAdapter::setPointerDataList
void setPointerDataList(const PointerDataList &pdl)
Definition GUIEventAdapter:697
osgGA::GUIEventAdapter::getTouchPointNormalizedY
float getTouchPointNormalizedY(unsigned int ndx) const
Definition GUIEventAdapter:689
osgGA::GUIEventAdapter::KeySymbol
KeySymbol
Definition GUIEventAdapter:113
osgGA::GUIEventAdapter::KEY_Execute
@ KEY_Execute
Definition GUIEventAdapter:212
osgGA::GUIEventAdapter::KEY_KP_Space
@ KEY_KP_Space
Definition GUIEventAdapter:227
osgGA::GUIEventAdapter::KEY_KP_Decimal
@ KEY_KP_Decimal
Definition GUIEventAdapter:252
osgGA::GUIEventAdapter::KEY_KP_8
@ KEY_KP_8
Definition GUIEventAdapter:263
osgGA::GUIEventAdapter::KEY_F9
@ KEY_F9
Definition GUIEventAdapter:281
osgGA::GUIEventAdapter::KEY_KP_Tab
@ KEY_KP_Tab
Definition GUIEventAdapter:228
osgGA::GUIEventAdapter::KEY_Colon
@ KEY_Colon
Definition GUIEventAdapter:167
osgGA::GUIEventAdapter::KEY_G
@ KEY_G
Definition GUIEventAdapter:132
osgGA::GUIEventAdapter::KEY_Find
@ KEY_Find
Definition GUIEventAdapter:217
osgGA::GUIEventAdapter::KEY_F6
@ KEY_F6
Definition GUIEventAdapter:278
osgGA::GUIEventAdapter::KEY_KP_F4
@ KEY_KP_F4
Definition GUIEventAdapter:233
osgGA::GUIEventAdapter::KEY_H
@ KEY_H
Definition GUIEventAdapter:133
osgGA::GUIEventAdapter::KEY_F34
@ KEY_F34
Definition GUIEventAdapter:306
osgGA::GUIEventAdapter::KEY_Prior
@ KEY_Prior
Definition GUIEventAdapter:200
osgGA::GUIEventAdapter::KEY_Backslash
@ KEY_Backslash
Definition GUIEventAdapter:175
osgGA::GUIEventAdapter::KEY_KP_4
@ KEY_KP_4
Definition GUIEventAdapter:259
osgGA::GUIEventAdapter::KEY_Scroll_Lock
@ KEY_Scroll_Lock
Definition GUIEventAdapter:187
osgGA::GUIEventAdapter::KEY_Print
@ KEY_Print
Definition GUIEventAdapter:211
osgGA::GUIEventAdapter::KEY_D
@ KEY_D
Definition GUIEventAdapter:129
osgGA::GUIEventAdapter::KEY_Z
@ KEY_Z
Definition GUIEventAdapter:151
osgGA::GUIEventAdapter::KEY_KP_Page_Up
@ KEY_KP_Page_Up
Definition GUIEventAdapter:240
osgGA::GUIEventAdapter::KEY_KP_Separator
@ KEY_KP_Separator
Definition GUIEventAdapter:250
osgGA::GUIEventAdapter::KEY_Redo
@ KEY_Redo
Definition GUIEventAdapter:215
osgGA::GUIEventAdapter::KEY_KP_Left
@ KEY_KP_Left
Definition GUIEventAdapter:235
osgGA::GUIEventAdapter::KEY_F23
@ KEY_F23
Definition GUIEventAdapter:295
osgGA::GUIEventAdapter::KEY_B
@ KEY_B
Definition GUIEventAdapter:127
osgGA::GUIEventAdapter::KEY_Help
@ KEY_Help
Definition GUIEventAdapter:219
osgGA::GUIEventAdapter::KEY_F22
@ KEY_F22
Definition GUIEventAdapter:294
osgGA::GUIEventAdapter::KEY_F10
@ KEY_F10
Definition GUIEventAdapter:282
osgGA::GUIEventAdapter::KEY_F26
@ KEY_F26
Definition GUIEventAdapter:298
osgGA::GUIEventAdapter::KEY_KP_1
@ KEY_KP_1
Definition GUIEventAdapter:256
osgGA::GUIEventAdapter::KEY_KP_Equal
@ KEY_KP_Equal
Definition GUIEventAdapter:247
osgGA::GUIEventAdapter::KEY_KP_Begin
@ KEY_KP_Begin
Definition GUIEventAdapter:244
osgGA::GUIEventAdapter::KEY_KP_Right
@ KEY_KP_Right
Definition GUIEventAdapter:237
osgGA::GUIEventAdapter::KEY_Page_Up
@ KEY_Page_Up
Definition GUIEventAdapter:201
osgGA::GUIEventAdapter::KEY_Select
@ KEY_Select
Definition GUIEventAdapter:210
osgGA::GUIEventAdapter::KEY_Caret
@ KEY_Caret
Definition GUIEventAdapter:177
osgGA::GUIEventAdapter::KEY_F18
@ KEY_F18
Definition GUIEventAdapter:290
osgGA::GUIEventAdapter::KEY_Super_R
@ KEY_Super_R
Definition GUIEventAdapter:323
osgGA::GUIEventAdapter::KEY_Plus
@ KEY_Plus
Definition GUIEventAdapter:162
osgGA::GUIEventAdapter::KEY_End
@ KEY_End
Definition GUIEventAdapter:204
osgGA::GUIEventAdapter::KEY_8
@ KEY_8
Definition GUIEventAdapter:124
osgGA::GUIEventAdapter::KEY_U
@ KEY_U
Definition GUIEventAdapter:146
osgGA::GUIEventAdapter::KEY_2
@ KEY_2
Definition GUIEventAdapter:118
osgGA::GUIEventAdapter::KEY_Page_Down
@ KEY_Page_Down
Definition GUIEventAdapter:203
osgGA::GUIEventAdapter::KEY_Semicolon
@ KEY_Semicolon
Definition GUIEventAdapter:168
osgGA::GUIEventAdapter::KEY_W
@ KEY_W
Definition GUIEventAdapter:148
osgGA::GUIEventAdapter::KEY_F4
@ KEY_F4
Definition GUIEventAdapter:276
osgGA::GUIEventAdapter::KEY_Quote
@ KEY_Quote
Definition GUIEventAdapter:158
osgGA::GUIEventAdapter::KEY_Clear
@ KEY_Clear
Definition GUIEventAdapter:184
osgGA::GUIEventAdapter::KEY_KP_F2
@ KEY_KP_F2
Definition GUIEventAdapter:231
osgGA::GUIEventAdapter::KEY_Rightparen
@ KEY_Rightparen
Definition GUIEventAdapter:160
osgGA::GUIEventAdapter::KEY_Slash
@ KEY_Slash
Definition GUIEventAdapter:166
osgGA::GUIEventAdapter::KEY_F14
@ KEY_F14
Definition GUIEventAdapter:286
osgGA::GUIEventAdapter::KEY_KP_Next
@ KEY_KP_Next
Definition GUIEventAdapter:241
osgGA::GUIEventAdapter::KEY_At
@ KEY_At
Definition GUIEventAdapter:173
osgGA::GUIEventAdapter::KEY_KP_2
@ KEY_KP_2
Definition GUIEventAdapter:257
osgGA::GUIEventAdapter::KEY_KP_Down
@ KEY_KP_Down
Definition GUIEventAdapter:238
osgGA::GUIEventAdapter::KEY_F20
@ KEY_F20
Definition GUIEventAdapter:292
osgGA::GUIEventAdapter::KEY_F16
@ KEY_F16
Definition GUIEventAdapter:288
osgGA::GUIEventAdapter::KEY_Pause
@ KEY_Pause
Definition GUIEventAdapter:186
osgGA::GUIEventAdapter::KEY_Linefeed
@ KEY_Linefeed
Definition GUIEventAdapter:183
osgGA::GUIEventAdapter::KEY_KP_F1
@ KEY_KP_F1
Definition GUIEventAdapter:230
osgGA::GUIEventAdapter::KEY_Comma
@ KEY_Comma
Definition GUIEventAdapter:163
osgGA::GUIEventAdapter::KEY_Begin
@ KEY_Begin
Definition GUIEventAdapter:205
osgGA::GUIEventAdapter::KEY_I
@ KEY_I
Definition GUIEventAdapter:134
osgGA::GUIEventAdapter::KEY_Asterisk
@ KEY_Asterisk
Definition GUIEventAdapter:161
osgGA::GUIEventAdapter::KEY_Undo
@ KEY_Undo
Definition GUIEventAdapter:214
osgGA::GUIEventAdapter::KEY_KP_Up
@ KEY_KP_Up
Definition GUIEventAdapter:236
osgGA::GUIEventAdapter::KEY_Mode_switch
@ KEY_Mode_switch
Definition GUIEventAdapter:221
osgGA::GUIEventAdapter::KEY_Caps_Lock
@ KEY_Caps_Lock
Definition GUIEventAdapter:315
osgGA::GUIEventAdapter::KEY_Right
@ KEY_Right
Definition GUIEventAdapter:198
osgGA::GUIEventAdapter::KEY_Hyper_L
@ KEY_Hyper_L
Definition GUIEventAdapter:324
osgGA::GUIEventAdapter::KEY_KP_Divide
@ KEY_KP_Divide
Definition GUIEventAdapter:253
osgGA::GUIEventAdapter::KEY_F31
@ KEY_F31
Definition GUIEventAdapter:303
osgGA::GUIEventAdapter::KEY_Delete
@ KEY_Delete
Definition GUIEventAdapter:190
osgGA::GUIEventAdapter::KEY_Greater
@ KEY_Greater
Definition GUIEventAdapter:171
osgGA::GUIEventAdapter::KEY_9
@ KEY_9
Definition GUIEventAdapter:125
osgGA::GUIEventAdapter::KEY_KP_3
@ KEY_KP_3
Definition GUIEventAdapter:258
osgGA::GUIEventAdapter::KEY_3
@ KEY_3
Definition GUIEventAdapter:119
osgGA::GUIEventAdapter::KEY_C
@ KEY_C
Definition GUIEventAdapter:128
osgGA::GUIEventAdapter::KEY_KP_Prior
@ KEY_KP_Prior
Definition GUIEventAdapter:239
osgGA::GUIEventAdapter::KEY_J
@ KEY_J
Definition GUIEventAdapter:135
osgGA::GUIEventAdapter::KEY_Hash
@ KEY_Hash
Definition GUIEventAdapter:155
osgGA::GUIEventAdapter::KEY_Escape
@ KEY_Escape
Definition GUIEventAdapter:189
osgGA::GUIEventAdapter::KEY_KP_Add
@ KEY_KP_Add
Definition GUIEventAdapter:249
osgGA::GUIEventAdapter::KEY_Shift_R
@ KEY_Shift_R
Definition GUIEventAdapter:312
osgGA::GUIEventAdapter::KEY_Q
@ KEY_Q
Definition GUIEventAdapter:142
osgGA::GUIEventAdapter::KEY_F24
@ KEY_F24
Definition GUIEventAdapter:296
osgGA::GUIEventAdapter::KEY_Num_Lock
@ KEY_Num_Lock
Definition GUIEventAdapter:223
osgGA::GUIEventAdapter::KEY_Sys_Req
@ KEY_Sys_Req
Definition GUIEventAdapter:188
osgGA::GUIEventAdapter::KEY_1
@ KEY_1
Definition GUIEventAdapter:117
osgGA::GUIEventAdapter::KEY_T
@ KEY_T
Definition GUIEventAdapter:145
osgGA::GUIEventAdapter::KEY_Return
@ KEY_Return
Definition GUIEventAdapter:185
osgGA::GUIEventAdapter::KEY_KP_7
@ KEY_KP_7
Definition GUIEventAdapter:262
osgGA::GUIEventAdapter::KEY_KP_0
@ KEY_KP_0
Definition GUIEventAdapter:255
osgGA::GUIEventAdapter::KEY_F30
@ KEY_F30
Definition GUIEventAdapter:302
osgGA::GUIEventAdapter::KEY_Control_L
@ KEY_Control_L
Definition GUIEventAdapter:313
osgGA::GUIEventAdapter::KEY_M
@ KEY_M
Definition GUIEventAdapter:138
osgGA::GUIEventAdapter::KEY_Menu
@ KEY_Menu
Definition GUIEventAdapter:216
osgGA::GUIEventAdapter::KEY_Hyper_R
@ KEY_Hyper_R
Definition GUIEventAdapter:325
osgGA::GUIEventAdapter::KEY_K
@ KEY_K
Definition GUIEventAdapter:136
osgGA::GUIEventAdapter::KEY_4
@ KEY_4
Definition GUIEventAdapter:120
osgGA::GUIEventAdapter::KEY_F2
@ KEY_F2
Definition GUIEventAdapter:274
osgGA::GUIEventAdapter::KEY_F3
@ KEY_F3
Definition GUIEventAdapter:275
osgGA::GUIEventAdapter::KEY_Left
@ KEY_Left
Definition GUIEventAdapter:196
osgGA::GUIEventAdapter::KEY_Control_R
@ KEY_Control_R
Definition GUIEventAdapter:314
osgGA::GUIEventAdapter::KEY_6
@ KEY_6
Definition GUIEventAdapter:122
osgGA::GUIEventAdapter::KEY_F17
@ KEY_F17
Definition GUIEventAdapter:289
osgGA::GUIEventAdapter::KEY_Underscore
@ KEY_Underscore
Definition GUIEventAdapter:178
osgGA::GUIEventAdapter::KEY_Y
@ KEY_Y
Definition GUIEventAdapter:150
osgGA::GUIEventAdapter::KEY_Minus
@ KEY_Minus
Definition GUIEventAdapter:164
osgGA::GUIEventAdapter::KEY_F15
@ KEY_F15
Definition GUIEventAdapter:287
osgGA::GUIEventAdapter::KEY_R
@ KEY_R
Definition GUIEventAdapter:143
osgGA::GUIEventAdapter::KEY_Rightbracket
@ KEY_Rightbracket
Definition GUIEventAdapter:176
osgGA::GUIEventAdapter::KEY_Question
@ KEY_Question
Definition GUIEventAdapter:172
osgGA::GUIEventAdapter::KEY_Meta_L
@ KEY_Meta_L
Definition GUIEventAdapter:318
osgGA::GUIEventAdapter::KEY_F33
@ KEY_F33
Definition GUIEventAdapter:305
osgGA::GUIEventAdapter::KEY_Space
@ KEY_Space
Definition GUIEventAdapter:114
osgGA::GUIEventAdapter::KEY_Exclaim
@ KEY_Exclaim
Definition GUIEventAdapter:153
osgGA::GUIEventAdapter::KEY_F8
@ KEY_F8
Definition GUIEventAdapter:280
osgGA::GUIEventAdapter::KEY_F32
@ KEY_F32
Definition GUIEventAdapter:304
osgGA::GUIEventAdapter::KEY_Home
@ KEY_Home
Definition GUIEventAdapter:195
osgGA::GUIEventAdapter::KEY_F7
@ KEY_F7
Definition GUIEventAdapter:279
osgGA::GUIEventAdapter::KEY_Shift_L
@ KEY_Shift_L
Definition GUIEventAdapter:311
osgGA::GUIEventAdapter::KEY_KP_Multiply
@ KEY_KP_Multiply
Definition GUIEventAdapter:248
osgGA::GUIEventAdapter::KEY_Backquote
@ KEY_Backquote
Definition GUIEventAdapter:179
osgGA::GUIEventAdapter::KEY_F19
@ KEY_F19
Definition GUIEventAdapter:291
osgGA::GUIEventAdapter::KEY_Down
@ KEY_Down
Definition GUIEventAdapter:199
osgGA::GUIEventAdapter::KEY_KP_Delete
@ KEY_KP_Delete
Definition GUIEventAdapter:246
osgGA::GUIEventAdapter::KEY_KP_Insert
@ KEY_KP_Insert
Definition GUIEventAdapter:245
osgGA::GUIEventAdapter::KEY_F1
@ KEY_F1
Definition GUIEventAdapter:273
osgGA::GUIEventAdapter::KEY_KP_Subtract
@ KEY_KP_Subtract
Definition GUIEventAdapter:251
osgGA::GUIEventAdapter::KEY_F13
@ KEY_F13
Definition GUIEventAdapter:285
osgGA::GUIEventAdapter::KEY_O
@ KEY_O
Definition GUIEventAdapter:140
osgGA::GUIEventAdapter::KEY_Period
@ KEY_Period
Definition GUIEventAdapter:165
osgGA::GUIEventAdapter::KEY_Up
@ KEY_Up
Definition GUIEventAdapter:197
osgGA::GUIEventAdapter::KEY_Script_switch
@ KEY_Script_switch
Definition GUIEventAdapter:222
osgGA::GUIEventAdapter::KEY_F27
@ KEY_F27
Definition GUIEventAdapter:299
osgGA::GUIEventAdapter::KEY_Alt_R
@ KEY_Alt_R
Definition GUIEventAdapter:321
osgGA::GUIEventAdapter::KEY_F
@ KEY_F
Definition GUIEventAdapter:131
osgGA::GUIEventAdapter::KEY_7
@ KEY_7
Definition GUIEventAdapter:123
osgGA::GUIEventAdapter::KEY_F11
@ KEY_F11
Definition GUIEventAdapter:283
osgGA::GUIEventAdapter::KEY_KP_F3
@ KEY_KP_F3
Definition GUIEventAdapter:232
osgGA::GUIEventAdapter::KEY_P
@ KEY_P
Definition GUIEventAdapter:141
osgGA::GUIEventAdapter::KEY_Less
@ KEY_Less
Definition GUIEventAdapter:169
osgGA::GUIEventAdapter::KEY_V
@ KEY_V
Definition GUIEventAdapter:147
osgGA::GUIEventAdapter::KEY_Next
@ KEY_Next
Definition GUIEventAdapter:202
osgGA::GUIEventAdapter::KEY_F12
@ KEY_F12
Definition GUIEventAdapter:284
osgGA::GUIEventAdapter::KEY_KP_End
@ KEY_KP_End
Definition GUIEventAdapter:243
osgGA::GUIEventAdapter::KEY_Ampersand
@ KEY_Ampersand
Definition GUIEventAdapter:157
osgGA::GUIEventAdapter::KEY_F35
@ KEY_F35
Definition GUIEventAdapter:307
osgGA::GUIEventAdapter::KEY_S
@ KEY_S
Definition GUIEventAdapter:144
osgGA::GUIEventAdapter::KEY_KP_6
@ KEY_KP_6
Definition GUIEventAdapter:261
osgGA::GUIEventAdapter::KEY_KP_5
@ KEY_KP_5
Definition GUIEventAdapter:260
osgGA::GUIEventAdapter::KEY_KP_Page_Down
@ KEY_KP_Page_Down
Definition GUIEventAdapter:242
osgGA::GUIEventAdapter::KEY_Break
@ KEY_Break
Definition GUIEventAdapter:220
osgGA::GUIEventAdapter::KEY_F25
@ KEY_F25
Definition GUIEventAdapter:297
osgGA::GUIEventAdapter::KEY_N
@ KEY_N
Definition GUIEventAdapter:139
osgGA::GUIEventAdapter::KEY_Quotedbl
@ KEY_Quotedbl
Definition GUIEventAdapter:154
osgGA::GUIEventAdapter::KEY_Leftbracket
@ KEY_Leftbracket
Definition GUIEventAdapter:174
osgGA::GUIEventAdapter::KEY_Leftparen
@ KEY_Leftparen
Definition GUIEventAdapter:159
osgGA::GUIEventAdapter::KEY_Tab
@ KEY_Tab
Definition GUIEventAdapter:182
osgGA::GUIEventAdapter::KEY_Shift_Lock
@ KEY_Shift_Lock
Definition GUIEventAdapter:316
osgGA::GUIEventAdapter::KEY_Dollar
@ KEY_Dollar
Definition GUIEventAdapter:156
osgGA::GUIEventAdapter::KEY_BackSpace
@ KEY_BackSpace
Definition GUIEventAdapter:181
osgGA::GUIEventAdapter::KEY_Alt_L
@ KEY_Alt_L
Definition GUIEventAdapter:320
osgGA::GUIEventAdapter::KEY_F29
@ KEY_F29
Definition GUIEventAdapter:301
osgGA::GUIEventAdapter::KEY_E
@ KEY_E
Definition GUIEventAdapter:130
osgGA::GUIEventAdapter::KEY_5
@ KEY_5
Definition GUIEventAdapter:121
osgGA::GUIEventAdapter::KEY_Cancel
@ KEY_Cancel
Definition GUIEventAdapter:218
osgGA::GUIEventAdapter::KEY_KP_9
@ KEY_KP_9
Definition GUIEventAdapter:264
osgGA::GUIEventAdapter::KEY_Equals
@ KEY_Equals
Definition GUIEventAdapter:170
osgGA::GUIEventAdapter::KEY_F21
@ KEY_F21
Definition GUIEventAdapter:293
osgGA::GUIEventAdapter::KEY_X
@ KEY_X
Definition GUIEventAdapter:149
osgGA::GUIEventAdapter::KEY_Insert
@ KEY_Insert
Definition GUIEventAdapter:213
osgGA::GUIEventAdapter::KEY_Super_L
@ KEY_Super_L
Definition GUIEventAdapter:322
osgGA::GUIEventAdapter::KEY_KP_Enter
@ KEY_KP_Enter
Definition GUIEventAdapter:229
osgGA::GUIEventAdapter::KEY_Meta_R
@ KEY_Meta_R
Definition GUIEventAdapter:319
osgGA::GUIEventAdapter::KEY_KP_Home
@ KEY_KP_Home
Definition GUIEventAdapter:234
osgGA::GUIEventAdapter::KEY_F5
@ KEY_F5
Definition GUIEventAdapter:277
osgGA::GUIEventAdapter::KEY_0
@ KEY_0
Definition GUIEventAdapter:116
osgGA::GUIEventAdapter::KEY_F28
@ KEY_F28
Definition GUIEventAdapter:300
osgGA::GUIEventAdapter::KEY_L
@ KEY_L
Definition GUIEventAdapter:137
osgGA::GUIEventAdapter::KEY_A
@ KEY_A
Definition GUIEventAdapter:126
osgGA::GUIEventAdapter::setTouchData
void setTouchData(TouchData *td)
Definition GUIEventAdapter:681
osgGA::GUIEventAdapter::setY
void setY(float y)
Definition GUIEventAdapter:558
osgGA::GUIEventAdapter::setScrollingDeltaX
void setScrollingDeltaX(float v)
set the scrolling x-delta.
Definition GUIEventAdapter:634
osgGA::GUIEventAdapter::setInputRange
void setInputRange(float Xmin, float Ymin, float Xmax, float Ymax)
osgGA::GUIEventAdapter::_scrolling
Scrolling _scrolling
Definition GUIEventAdapter:742
osgGA::GUIEventAdapter::getPointerDataList
PointerDataList & getPointerDataList()
Definition GUIEventAdapter:698
osgGA::GUIEventAdapter::TouchPhase
TouchPhase
Definition GUIEventAdapter:378
osgGA::GUIEventAdapter::TOUCH_STATIONERY
@ TOUCH_STATIONERY
Definition GUIEventAdapter:382
osgGA::GUIEventAdapter::TOUCH_BEGAN
@ TOUCH_BEGAN
Definition GUIEventAdapter:380
osgGA::GUIEventAdapter::TOUCH_ENDED
@ TOUCH_ENDED
Definition GUIEventAdapter:383
osgGA::GUIEventAdapter::TOUCH_UNKNOWN
@ TOUCH_UNKNOWN
Definition GUIEventAdapter:379
osgGA::GUIEventAdapter::TOUCH_MOVED
@ TOUCH_MOVED
Definition GUIEventAdapter:381
osgGA::GUIEventAdapter::setScrollingDeltaY
void setScrollingDeltaY(float v)
set the scrolling y-delta.
Definition GUIEventAdapter:640
osgGA::GUIEventAdapter::getYmax
float getYmax() const
Definition GUIEventAdapter:549
osgGA::GUIEventAdapter::TabletPointerType
TabletPointerType
Definition GUIEventAdapter:370
osgGA::GUIEventAdapter::ERASER
@ ERASER
Definition GUIEventAdapter:374
osgGA::GUIEventAdapter::PEN
@ PEN
Definition GUIEventAdapter:372
osgGA::GUIEventAdapter::PUCK
@ PUCK
Definition GUIEventAdapter:373
osgGA::GUIEventAdapter::UNKNOWN
@ UNKNOWN
Definition GUIEventAdapter:371
osgGA::GUIEventAdapter::META_Object
META_Object(osgGA, GUIEventAdapter)
osgGA::GUIEventAdapter::_windowX
int _windowX
Definition GUIEventAdapter:719
osgGA::GUIEventAdapter::addTouchPoint
void addTouchPoint(unsigned int id, TouchPhase phase, float x, float y, unsigned int tapCount=0)
osgGA::GUIEventAdapter::~GUIEventAdapter
virtual ~GUIEventAdapter()
osgGA::GUIEventAdapter::getTouchPointNormalizedX
float getTouchPointNormalizedX(unsigned int ndx) const
Definition GUIEventAdapter:685
osgGA::GUIEventAdapter::addPointerData
void addPointerData(PointerData *pd)
Definition GUIEventAdapter:707
osgGA::GUIEventAdapter::getYnormalized
float getYnormalized() const
Definition GUIEventAdapter:571
osgGA::GUIEventAdapter::_Xmin
float _Xmin
Definition GUIEventAdapter:726
osgGA::GUIEventAdapter::_context
osg::observer_ptr< osg::GraphicsContext > _context
Definition GUIEventAdapter:718
osgGA::GUIEventAdapter::GUIEventAdapter
GUIEventAdapter(const GUIEventAdapter &rhs, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
osgGA::GUIEventAdapter::setMouseYOrientationAndUpdateCoords
void setMouseYOrientationAndUpdateCoords(MouseYOrientation myo)
set mouse-Y orientation (mouse-Y increases upwards or downwards) and recompute variables
osgGA::GUIEventAdapter::setButtonMask
void setButtonMask(int mask)
set current mouse button state.
Definition GUIEventAdapter:609
osgGA::GUIEventAdapter::_button
int _button
Definition GUIEventAdapter:725
osgGA::GUIEventAdapter::setMouseYOrientation
void setMouseYOrientation(MouseYOrientation myo)
set mouse-Y orientation (mouse-Y increases upwards or downwards).
Definition GUIEventAdapter:600
osgGA::GUIEventAdapter::setX
void setX(float x)
Definition GUIEventAdapter:552
osgGA::GUIEventAdapter::_modKeyMask
int _modKeyMask
Definition GUIEventAdapter:731
osgGA::GUIEventAdapter::time
double time() const
Definition GUIEventAdapter:469
osgGA::GUIEventAdapter::setYmin
void setYmin(float v)
Definition GUIEventAdapter:540
osg::CopyOp
Definition CopyOp:41
osg::CopyOp::SHALLOW_COPY
@ SHALLOW_COPY
Definition CopyOp:47
osg::GraphicsContext
Definition GraphicsContext:30
osg::Object
Definition Object:61
osg::Object::Object
Object()
Definition Object:69
osg::Referenced
Definition Referenced:44
osg::Referenced::Referenced
Referenced()
osg::observer_ptr
Definition observer_ptr:39
osg::ref_ptr
Definition ref_ptr:32
osgGA
Definition Callback:21
osg
Definition AlphaFunc:19
osg::Matrix
Matrixd Matrix
Definition Matrix:27
OSGGA_EXPORT
#define OSGGA_EXPORT
Definition osgGA/Export:40
osgGA::GUIEventAdapter::Scrolling
Definition GUIEventAdapter:734
osgGA::GUIEventAdapter::Scrolling::motion
ScrollingMotion motion
Definition GUIEventAdapter:735
osgGA::GUIEventAdapter::Scrolling::deltaY
float deltaY
Definition GUIEventAdapter:737
osgGA::GUIEventAdapter::Scrolling::Scrolling
Scrolling(const Scrolling &rhs)
Definition GUIEventAdapter:740
osgGA::GUIEventAdapter::Scrolling::deltaX
float deltaX
Definition GUIEventAdapter:736
osgGA::GUIEventAdapter::Scrolling::Scrolling
Scrolling()
Definition GUIEventAdapter:739
osgGA::GUIEventAdapter::TabletPen
Definition GUIEventAdapter:744
osgGA::GUIEventAdapter::TabletPen::TabletPen
TabletPen(const TabletPen &rhs)
Definition GUIEventAdapter:752
osgGA::GUIEventAdapter::TabletPen::TabletPen
TabletPen()
Definition GUIEventAdapter:751
osgGA::GUIEventAdapter::TabletPen::pressure
float pressure
Definition GUIEventAdapter:745
osgGA::GUIEventAdapter::TabletPen::tiltY
float tiltY
Definition GUIEventAdapter:747
osgGA::GUIEventAdapter::TabletPen::tiltX
float tiltX
Definition GUIEventAdapter:746
osgGA::GUIEventAdapter::TabletPen::rotation
float rotation
Definition GUIEventAdapter:748
osgGA::GUIEventAdapter::TabletPen::tabletPointerType
TabletPointerType tabletPointerType
Definition GUIEventAdapter:749
osgGA::GUIEventAdapter::TouchData::TouchPoint
Definition GUIEventAdapter:389
osgGA::GUIEventAdapter::TouchData::TouchPoint::TouchPoint
TouchPoint(unsigned int in_id, TouchPhase in_phase, float in_x, float in_y, unsigned int in_tap_count)
Definition GUIEventAdapter:396
osgGA::GUIEventAdapter::TouchData::TouchPoint::y
float y
Definition GUIEventAdapter:392
osgGA::GUIEventAdapter::TouchData::TouchPoint::TouchPoint
TouchPoint()
Definition GUIEventAdapter:395
osgGA::GUIEventAdapter::TouchData::TouchPoint::x
float x
Definition GUIEventAdapter:392
osgGA::GUIEventAdapter::TouchData::TouchPoint::id
unsigned int id
Definition GUIEventAdapter:390
osgGA::GUIEventAdapter::TouchData::TouchPoint::tapCount
unsigned int tapCount
Definition GUIEventAdapter:394
osgGA::GUIEventAdapter::TouchData::TouchPoint::phase
TouchPhase phase
Definition GUIEventAdapter:391
osgGA::PointerData
Definition GUIEventAdapter:26
osgGA::PointerData::PointerData
PointerData(osg::Object *obj, float in_x, float in_xMin, float in_xMax, float in_y, float in_yMin, float in_yMax)
Definition GUIEventAdapter:36
osgGA::PointerData::xMax
float xMax
Definition GUIEventAdapter:71
osgGA::PointerData::xMin
float xMin
Definition GUIEventAdapter:71
osgGA::PointerData::object
osg::observer_ptr< osg::Object > object
Definition GUIEventAdapter:70
osgGA::PointerData::getYnormalized
float getYnormalized() const
Definition GUIEventAdapter:75
osgGA::PointerData::PointerData
PointerData(const PointerData &pd)
Definition GUIEventAdapter:45
osgGA::PointerData::getXnormalized
float getXnormalized() const
Definition GUIEventAdapter:74
osgGA::PointerData::yMin
float yMin
Definition GUIEventAdapter:72
osgGA::PointerData::x
float x
Definition GUIEventAdapter:71
osgGA::PointerData::yMax
float yMax
Definition GUIEventAdapter:72
osgGA::PointerData::PointerData
PointerData()
Definition GUIEventAdapter:27
osgGA::PointerData::y
float y
Definition GUIEventAdapter:72
osgGA::PointerData::operator=
PointerData & operator=(const PointerData &pd)
Definition GUIEventAdapter:55