⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guieventadapter.cpp

📁 最新osg包
💻 CPP
📖 第 1 页 / 共 2 页
字号:
	          "");	I_MethodWithDefaults5(void, setWindowRectangle, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, bool, updateMouseRange, true,	                      Properties::NON_VIRTUAL,	                      __void__setWindowRectangle__int__int__int__int__bool,	                      "set window rectangle. ",	                      "");	I_Method0(int, getWindowX,	          Properties::NON_VIRTUAL,	          __int__getWindowX,	          "get window x origin. ",	          "");	I_Method0(int, getWindowY,	          Properties::NON_VIRTUAL,	          __int__getWindowY,	          "get window y origin. ",	          "");	I_Method0(int, getWindowWidth,	          Properties::NON_VIRTUAL,	          __int__getWindowWidth,	          "get window width. ",	          "");	I_Method0(int, getWindowHeight,	          Properties::NON_VIRTUAL,	          __int__getWindowHeight,	          "get window height. ",	          "");	I_Method1(void, setKey, IN, int, key,	          Properties::NON_VIRTUAL,	          __void__setKey__int,	          "set key pressed. ",	          "");	I_Method0(int, getKey,	          Properties::VIRTUAL,	          __int__getKey,	          "get key pressed, return -1 if inappropriate for this GUIEventAdapter. ",	          "");	I_Method1(void, setButton, IN, int, button,	          Properties::NON_VIRTUAL,	          __void__setButton__int,	          "set button pressed/released. ",	          "");	I_Method0(int, getButton,	          Properties::NON_VIRTUAL,	          __int__getButton,	          "button pressed/released, return -1 if inappropriate for this GUIEventAdapter. ",	          "");	I_Method4(void, setInputRange, IN, float, Xmin, IN, float, Ymin, IN, float, Xmax, IN, float, Ymax,	          Properties::NON_VIRTUAL,	          __void__setInputRange__float__float__float__float,	          "set mouse input range. ",	          "");	I_Method0(float, getXmin,	          Properties::NON_VIRTUAL,	          __float__getXmin,	          "get mouse minimum x. ",	          "");	I_Method0(float, getXmax,	          Properties::NON_VIRTUAL,	          __float__getXmax,	          "get mouse maximum x. ",	          "");	I_Method0(float, getYmin,	          Properties::NON_VIRTUAL,	          __float__getYmin,	          "get mouse minimum y. ",	          "");	I_Method0(float, getYmax,	          Properties::NON_VIRTUAL,	          __float__getYmax,	          "get mouse maYimum y. ",	          "");	I_Method1(void, setX, IN, float, x,	          Properties::NON_VIRTUAL,	          __void__setX__float,	          "set current mouse x position. ",	          "");	I_Method0(float, getX,	          Properties::NON_VIRTUAL,	          __float__getX,	          "get current mouse x position. ",	          "");	I_Method1(void, setY, IN, float, y,	          Properties::NON_VIRTUAL,	          __void__setY__float,	          "set current mouse y position. ",	          "");	I_Method0(float, getY,	          Properties::NON_VIRTUAL,	          __float__getY,	          "get current mouse y position. ",	          "");	I_Method1(void, setButtonMask, IN, unsigned int, mask,	          Properties::NON_VIRTUAL,	          __void__setButtonMask__unsigned_int,	          "set current mouse button state ",	          "");	I_Method0(unsigned int, getButtonMask,	          Properties::NON_VIRTUAL,	          __unsigned_int__getButtonMask,	          "get current mouse button state ",	          "");	I_Method1(void, setModKeyMask, IN, unsigned int, mask,	          Properties::NON_VIRTUAL,	          __void__setModKeyMask__unsigned_int,	          "",	          "");	I_Method0(unsigned int, getModKeyMask,	          Properties::NON_VIRTUAL,	          __unsigned_int__getModKeyMask,	          "",	          "");	I_Method0(float, getPenPressure,	          Properties::NON_VIRTUAL,	          __float__getPenPressure,	          "get the pressure, from a tablet input device (range 0 - 1) ",	          "");	I_Method1(void, setPenPressure, IN, float, pressure,	          Properties::NON_VIRTUAL,	          __void__setPenPressure__float,	          "sets the pressure from a tablet ",	          "");	I_Method0(float, getPenTiltX,	          Properties::NON_VIRTUAL,	          __float__getPenTiltX,	          "get the tiltX, from a tablet input device (range -1 - 1) ",	          "");	I_Method1(void, setPenTiltX, IN, float, tiltX,	          Properties::NON_VIRTUAL,	          __void__setPenTiltX__float,	          "sets the tiltX from a tablet ",	          "");	I_Method0(float, getPenTiltY,	          Properties::NON_VIRTUAL,	          __float__getPenTiltY,	          "get the tiltY, from a tablet input device (range -1 - 1) ",	          "");	I_Method1(void, setPenTiltY, IN, float, tiltY,	          Properties::NON_VIRTUAL,	          __void__setPenTiltY__float,	          "sets the tiltY from a tablet ",	          "");	I_Method0(float, getPenRotation,	          Properties::NON_VIRTUAL,	          __float__getPenRotation,	          "get the rotation, from a tablet input device (range 0 - 2PI) ",	          "");	I_Method1(void, setPenRotation, IN, float, rotation,	          Properties::NON_VIRTUAL,	          __void__setPenRotation__float,	          "sets the rotation from a tablet ",	          "");	I_Method0(const osg::Matrix, getPenOrientation,	          Properties::NON_VIRTUAL,	          __C5_osg_Matrix__getPenOrientation,	          "get the orientation from a tablet input device as a matrix ",	          "");	I_Method0(osgGA::GUIEventAdapter::TabletPointerType, getTabletPointerType,	          Properties::NON_VIRTUAL,	          __TabletPointerType__getTabletPointerType,	          "get the current used tablet pointer type ",	          "");	I_Method1(void, setTabletPointerType, IN, osgGA::GUIEventAdapter::TabletPointerType, pt,	          Properties::NON_VIRTUAL,	          __void__setTabletPointerType__TabletPointerType,	          "set the current used tablet pointer type ",	          "");	I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, motion,	          Properties::NON_VIRTUAL,	          __void__setScrollingMotion__ScrollingMotion,	          "",	          "");	I_Method0(float, getScrollingDeltaX,	          Properties::NON_VIRTUAL,	          __float__getScrollingDeltaX,	          "get the scrolling x-delta ",	          "");	I_Method0(float, getScrollingDeltaY,	          Properties::NON_VIRTUAL,	          __float__getScrollingDeltaY,	          "get the scrolling y-delta ",	          "");	I_Method2(void, setScrollingMotionDelta, IN, float, x, IN, float, y,	          Properties::NON_VIRTUAL,	          __void__setScrollingMotionDelta__float__float,	          "sets the scrolling delta to x,y and the type of scrolling to SCROLL_2D ",	          "");	I_Method0(osgGA::GUIEventAdapter::ScrollingMotion, getScrollingMotion,	          Properties::NON_VIRTUAL,	          __ScrollingMotion__getScrollingMotion,	          "",	          "");	I_Method0(float, getXnormalized,	          Properties::NON_VIRTUAL,	          __float__getXnormalized,	          "return the getX() value normalized to the range of -1 to 1. ",	          "-1 would be the left hand side of the window. 0.0 would be the middle of the window. +1 would be the right hand side of the window. ");	I_Method0(float, getYnormalized,	          Properties::NON_VIRTUAL,	          __float__getYnormalized,	          "return the getY() value normalized to the range of -1 to 1. ",	          "-1 would be the bottom of the window. 0.0 would be the middle of the window. +1 would be the top of the window. ");	I_Method1(void, setMouseYOrientation, IN, osgGA::GUIEventAdapter::MouseYOrientation, myo,	          Properties::NON_VIRTUAL,	          __void__setMouseYOrientation__MouseYOrientation,	          "",	          "");	I_Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation,	          Properties::NON_VIRTUAL,	          __MouseYOrientation__getMouseYOrientation,	          "",	          "");	I_StaticMethod0(osg::ref_ptr< osgGA::GUIEventAdapter > &, getAccumulatedEventState,	                __osg_ref_ptrT1_GUIEventAdapter__R1__getAccumulatedEventState_S,	                "Get the accumulated event state singleton. ",	                "Typically all EventQueue will share this single GUIEventAdapter object for tracking the mouse position, keyboard and mouse masks. ");	I_SimpleProperty(int, Button, 	                 __int__getButton, 	                 __void__setButton__int);	I_SimpleProperty(unsigned int, ButtonMask, 	                 __unsigned_int__getButtonMask, 	                 __void__setButtonMask__unsigned_int);	I_SimpleProperty(osgGA::GUIEventAdapter::EventType, EventType, 	                 __EventType__getEventType, 	                 __void__setEventType__EventType);	I_SimpleProperty(osg::GraphicsContext *, GraphicsContext, 	                 0, 	                 __void__setGraphicsContext__osg_GraphicsContext_P1);	I_SimpleProperty(bool, Handled, 	                 __bool__getHandled, 	                 __void__setHandled__bool);	I_SimpleProperty(int, Key, 	                 __int__getKey, 	                 __void__setKey__int);	I_SimpleProperty(unsigned int, ModKeyMask, 	                 __unsigned_int__getModKeyMask, 	                 __void__setModKeyMask__unsigned_int);	I_SimpleProperty(osgGA::GUIEventAdapter::MouseYOrientation, MouseYOrientation, 	                 __MouseYOrientation__getMouseYOrientation, 	                 __void__setMouseYOrientation__MouseYOrientation);	I_SimpleProperty(const osg::Matrix, PenOrientation, 	                 __C5_osg_Matrix__getPenOrientation, 	                 0);	I_SimpleProperty(float, PenPressure, 	                 __float__getPenPressure, 	                 __void__setPenPressure__float);	I_SimpleProperty(float, PenRotation, 	                 __float__getPenRotation, 	                 __void__setPenRotation__float);	I_SimpleProperty(float, PenTiltX, 	                 __float__getPenTiltX, 	                 __void__setPenTiltX__float);	I_SimpleProperty(float, PenTiltY, 	                 __float__getPenTiltY, 	                 __void__setPenTiltY__float);	I_SimpleProperty(float, ScrollingDeltaX, 	                 __float__getScrollingDeltaX, 	                 0);	I_SimpleProperty(float, ScrollingDeltaY, 	                 __float__getScrollingDeltaY, 	                 0);	I_SimpleProperty(osgGA::GUIEventAdapter::ScrollingMotion, ScrollingMotion, 	                 __ScrollingMotion__getScrollingMotion, 	                 __void__setScrollingMotion__ScrollingMotion);	I_SimpleProperty(osgGA::GUIEventAdapter::TabletPointerType, TabletPointerType, 	                 __TabletPointerType__getTabletPointerType, 	                 __void__setTabletPointerType__TabletPointerType);	I_SimpleProperty(double, Time, 	                 __double__getTime, 	                 __void__setTime__double);	I_SimpleProperty(int, WindowHeight, 	                 __int__getWindowHeight, 	                 0);	I_SimpleProperty(int, WindowWidth, 	                 __int__getWindowWidth, 	                 0);	I_SimpleProperty(int, WindowX, 	                 __int__getWindowX, 	                 0);	I_SimpleProperty(int, WindowY, 	                 __int__getWindowY, 	                 0);	I_SimpleProperty(float, X, 	                 __float__getX, 	                 __void__setX__float);	I_SimpleProperty(float, Xmax, 	                 __float__getXmax, 	                 0);	I_SimpleProperty(float, Xmin, 	                 __float__getXmin, 	                 0);	I_SimpleProperty(float, Xnormalized, 	                 __float__getXnormalized, 	                 0);	I_SimpleProperty(float, Y, 	                 __float__getY, 	                 __void__setY__float);	I_SimpleProperty(float, Ymax, 	                 __float__getYmax, 	                 0);	I_SimpleProperty(float, Ymin, 	                 __float__getYmin, 	                 0);	I_SimpleProperty(float, Ynormalized, 	                 __float__getYnormalized, 	                 0);END_REFLECTOR

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -