2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class osgUtil::GUIEventAdapter< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class < A HREF = "#DOC.DOCU" > osgUtil::GUIEventAdapter< / A > < / H2 > < / H2 > < BLOCKQUOTE > Pure virtual base class for adapting platform specific events into generic keyboard and mouse events.< / BLOCKQUOTE >
< HR >
< H2 > Inheritance:< / H2 >
< APPLET CODE = "ClassGraph.class" WIDTH = 600 HEIGHT = 65 >
< param name = classes value = "Mosg::Referenced,M,CGUIEventAdapter,MGUIEventAdapter.html" >
< param name = before value = "M,M" >
< param name = after value = "Md_,M" >
< param name = indent value = "0,1" >
< param name = arrowdir value = "down" >
< / APPLET >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > < B > < A HREF = "#DOC.2.11.1" > GUIEventAdapter< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual <!1> < A HREF = "GUIEventAdapter.html#DOC.2.11.3" > EventType< / A > < B > < A HREF = "#DOC.2.11.4" > getEventType< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > Get the EventType of the GUI event< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.5" > getKey< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > key pressed, return -1 if inappropriate for this event.< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.6" > getButton< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > button pressed/released, return -1 if inappropriate for this event< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.7" > getXmin< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > window minimum x.< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.8" > getXmax< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > window maximum x.< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.9" > getYmin< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > window minimum y.< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.10" > getYmax< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > window maximum y.< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.11" > getX< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > current mouse x position< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual int < B > < A HREF = "#DOC.2.11.12" > getY< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > current mouse y position< / I >
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual unsigned int < B > < A HREF = "#DOC.2.11.13" > getButtonMask< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > current mouse button state < / I >
< DT >
2002-04-22 05:53:03 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual double < B > < A HREF = "#DOC.2.11.14" > time< / A > < / B > () const = 0
2001-09-20 05:19:47 +08:00
< DD > < I > time in seconds of event.< / I >
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.11.2" > MouseButtonMask< / A > < / B >
2001-09-20 05:19:47 +08:00
< DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.11.3" > EventType< / A > < / B >
2001-09-20 05:19:47 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Methods< / H3 > < DD > < DT >
2001-12-25 05:56:22 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual < B > < A HREF = "#DOC.2.11.15" > ~GUIEventAdapter< / A > < / B > ()
2001-09-20 05:19:47 +08:00
< DD > < I > Force users to create on heap, so that multiple referencing is safe< / I >
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > Pure virtual base class for adapting platform specific events into
generic keyboard and mouse events.
< P > Used as GUI toolkit independent input into the osgUtil::CameraManipualor's.
For an example of how GUIEventAdapter is specialised for a particular GUI
Toolkit see osgGLUT::GLUTEventAdapter.< / BLOCKQUOTE >
< DL >
< A NAME = "GUIEventAdapter" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.1" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > GUIEventAdapter()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "MouseButtonMask" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.2" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum MouseButtonMask< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < DL >
2002-02-09 18:54:18 +08:00
< A NAME = "LEFT_MOUSE_BUTTON" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.2.1" > < / A >
2002-02-09 18:54:18 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LEFT_MOUSE_BUTTON< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DL > < DT > < DD > < / DL > < P >
2002-02-09 18:54:18 +08:00
< A NAME = "MIDDLE_MOUSE_BUTTON" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.2.2" > < / A >
2002-02-09 18:54:18 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > MIDDLE_MOUSE_BUTTON< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DL > < DT > < DD > < / DL > < P >
2002-02-09 18:54:18 +08:00
< A NAME = "RIGHT_MOUSE_BUTTON" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.2.3" > < / A >
2002-02-09 18:54:18 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RIGHT_MOUSE_BUTTON< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "EventType" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > enum EventType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < DL >
< A NAME = "PUSH" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.1" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > PUSH< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RELEASE" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.2" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RELEASE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DRAG" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.3" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DRAG< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "MOVE" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.4" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > MOVE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "KEYBOARD" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.5" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > KEYBOARD< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "FRAME" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.6" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > FRAME< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "RESIZE" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.7" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > RESIZE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "NONE" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.3.8" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > NONE< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "getEventType" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.4" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual <!1> < A HREF = "GUIEventAdapter.html#DOC.2.11.3" > EventType< / A > getEventType() const = 0< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DD > Get the EventType of the GUI event
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getKey" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.5" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getKey() const = 0< / B > < / TT >
< DD > key pressed, return -1 if inappropriate for this event.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getButton" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.6" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getButton() const = 0< / B > < / TT >
< DD > button pressed/released, return -1 if inappropriate for this event
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getXmin" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.7" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getXmin() const = 0< / B > < / TT >
< DD > window minimum x.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getXmax" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.8" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getXmax() const = 0< / B > < / TT >
< DD > window maximum x.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getYmin" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.9" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getYmin() const = 0< / B > < / TT >
< DD > window minimum y.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getYmax" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.10" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getYmax() const = 0< / B > < / TT >
< DD > window maximum y.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getX" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.11" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getX() const = 0< / B > < / TT >
< DD > current mouse x position
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getY" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.12" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual int getY() const = 0< / B > < / TT >
< DD > current mouse y position
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getButtonMask" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.13" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual unsigned int getButtonMask() const = 0< / B > < / TT >
< DD > current mouse button state
< DL > < DT > < DD > < / DL > < P >
< A NAME = "time" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.14" > < / A >
2002-04-22 05:53:03 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual double time() const = 0< / B > < / TT >
2001-09-20 05:19:47 +08:00
< DD > time in seconds of event.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~GUIEventAdapter" > < / A >
2001-12-25 05:56:22 +08:00
< A NAME = "DOC.2.11.15" > < / A >
2001-09-20 05:19:47 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > virtual ~GUIEventAdapter()< / B > < / TT >
< DD > Force users to create on heap, so that multiple referencing is safe
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >