Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
// ***************************************************************************
|
|
|
|
//
|
|
|
|
// Generated automatically by genwrapper.
|
|
|
|
// Please DO NOT EDIT this file!
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
|
|
|
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
|
|
#include <osgIntrospection/TypedMethodInfo>
|
2006-09-01 21:34:05 +08:00
|
|
|
#include <osgIntrospection/StaticMethodInfo>
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
|
2007-05-19 21:43:38 +08:00
|
|
|
#include <osg/CopyOp>
|
|
|
|
#include <osg/Object>
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
#include <osgGA/GUIEventAdapter>
|
|
|
|
|
2005-05-16 17:41:10 +08:00
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
|
|
#ifdef IN
|
|
|
|
#undef IN
|
|
|
|
#endif
|
|
|
|
#ifdef OUT
|
|
|
|
#undef OUT
|
|
|
|
#endif
|
|
|
|
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseButtonMask)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2005-05-16 17:41:10 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::LEFT_MOUSE_BUTTON);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MIDDLE_MOUSE_BUTTON);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::EventType)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2005-05-16 17:41:10 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::NONE);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::PUSH);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::RELEASE);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::DOUBLECLICK);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::DRAG);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MOVE);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEYDOWN);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEYUP);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::FRAME);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::RESIZE);
|
2006-03-08 22:09:47 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL);
|
2006-07-04 22:37:56 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::PEN_PRESSURE);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::PEN_PROXIMITY_ENTER);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::PEN_PROXIMITY_LEAVE);
|
2007-01-09 03:33:31 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::CLOSE_WINDOW);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::QUIT_APPLICATION);
|
2007-05-19 21:43:38 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::USER);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::KeySymbol)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2005-05-16 17:41:10 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Space);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_BackSpace);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Tab);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Linefeed);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Clear);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Return);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Pause);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Scroll_Lock);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Sys_Req);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Escape);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Delete);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Home);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Left);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Up);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Right);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Down);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Prior);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Up);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Next);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Page_Down);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_End);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Begin);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Select);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Print);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Execute);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Insert);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Undo);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Redo);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Menu);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Find);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Cancel);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Help);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Break);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Mode_switch);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Script_switch);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Num_Lock);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Space);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Tab);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Enter);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F1);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F2);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F3);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_F4);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Home);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Left);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Up);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Right);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Down);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Prior);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Up);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Next);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Page_Down);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_End);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Begin);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Insert);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Delete);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Equal);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Multiply);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Add);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Separator);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Subtract);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Decimal);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_Divide);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_0);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_1);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_2);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_3);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_4);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_5);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_6);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_7);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_8);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_KP_9);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F1);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F2);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F3);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F4);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F5);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F6);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F7);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F8);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F9);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F10);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F11);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F12);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F13);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F14);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F15);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F16);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F17);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F18);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F19);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F20);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F21);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F22);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F23);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F24);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F25);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F26);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F27);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F28);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F29);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F30);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F31);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F32);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F33);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F34);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_F35);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_L);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_R);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Control_L);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Control_R);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Caps_Lock);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Shift_Lock);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_L);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Meta_R);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_L);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Alt_R);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Super_L);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Super_R);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_L);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::KEY_Hyper_R);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ModKeyMask)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2005-05-16 17:41:10 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_SHIFT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_SHIFT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_CTRL);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_CTRL);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_ALT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_ALT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_LEFT_META);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_RIGHT_META);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_NUM_LOCK);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_CAPS_LOCK);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_CTRL);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_SHIFT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_ALT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::MODKEY_META);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::MouseYOrientation)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2005-05-16 17:41:10 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_UPWARDS);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::Y_INCREASING_DOWNWARDS);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2006-03-08 22:09:47 +08:00
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::ScrollingMotion)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2006-07-04 22:37:56 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_NONE);
|
2006-03-08 22:09:47 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_LEFT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_RIGHT);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_UP);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_DOWN);
|
2006-07-04 22:37:56 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::SCROLL_2D);
|
|
|
|
END_REFLECTOR
|
|
|
|
|
|
|
|
BEGIN_ENUM_REFLECTOR(osgGA::GUIEventAdapter::TabletPointerType)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2006-07-04 22:37:56 +08:00
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::UNKNOWN);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::PEN);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::PUCK);
|
|
|
|
I_EnumLabel(osgGA::GUIEventAdapter::ERASER);
|
2006-03-08 22:09:47 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|
2007-02-14 19:24:42 +08:00
|
|
|
BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter)
|
2007-06-08 18:42:52 +08:00
|
|
|
I_DeclaringFile("osgGA/GUIEventAdapter");
|
2007-05-19 21:43:38 +08:00
|
|
|
I_BaseType(osg::Object);
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Constructor0(____GUIEventAdapter,
|
|
|
|
"",
|
|
|
|
"");
|
2007-05-19 21:43:38 +08:00
|
|
|
I_ConstructorWithDefaults2(IN, const osgGA::GUIEventAdapter &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
|
|
|
____GUIEventAdapter__C5_GUIEventAdapter_R1__C5_osg_CopyOp_R1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(osg::Object *, cloneType,
|
|
|
|
Properties::VIRTUAL,
|
|
|
|
__osg_Object_P1__cloneType,
|
|
|
|
"Clone the type of an object, with Object* return type. ",
|
|
|
|
"Must be defined by derived classes. ");
|
|
|
|
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
|
|
|
Properties::VIRTUAL,
|
|
|
|
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
|
|
|
"Clone an object, with Object* return type. ",
|
|
|
|
"Must be defined by derived classes. ");
|
|
|
|
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
|
|
|
Properties::VIRTUAL,
|
|
|
|
__bool__isSameKindAs__C5_osg_Object_P1,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(const char *, libraryName,
|
|
|
|
Properties::VIRTUAL,
|
|
|
|
__C5_char_P1__libraryName,
|
|
|
|
"return the name of the object's library. ",
|
|
|
|
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
|
|
|
I_Method0(const char *, className,
|
|
|
|
Properties::VIRTUAL,
|
|
|
|
__C5_char_P1__className,
|
|
|
|
"return the name of the object's class type. ",
|
|
|
|
"Must be defined by derived classes. ");
|
2007-01-24 20:59:11 +08:00
|
|
|
I_Method1(void, setHandled, IN, bool, handled,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2007-01-24 20:59:11 +08:00
|
|
|
__void__setHandled__bool,
|
|
|
|
"Set whether this event has been handled by an event handler or not. ",
|
|
|
|
"");
|
|
|
|
I_Method0(bool, getHandled,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2007-01-24 20:59:11 +08:00
|
|
|
__bool__getHandled,
|
|
|
|
"Get whether this event has been handled by an event handler or not. ",
|
|
|
|
"");
|
2006-10-24 17:45:50 +08:00
|
|
|
I_Method1(void, setEventType, IN, osgGA::GUIEventAdapter::EventType, Type,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setEventType__EventType,
|
|
|
|
"Get the Type of the GUI GUIEventAdapter. ",
|
|
|
|
"");
|
|
|
|
I_Method0(osgGA::GUIEventAdapter::EventType, getEventType,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__EventType__getEventType,
|
|
|
|
"Get the Type of the GUI GUIEventAdapter. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setTime, IN, double, time,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setTime__double,
|
|
|
|
"set time in seconds of event. ",
|
|
|
|
"");
|
|
|
|
I_Method0(double, getTime,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__double__getTime,
|
|
|
|
"get time in seconds of event. ",
|
|
|
|
"");
|
|
|
|
I_Method0(double, time,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__double__time,
|
|
|
|
"deprecated function for getting time of event. ",
|
|
|
|
"");
|
2007-01-06 01:21:35 +08:00
|
|
|
I_MethodWithDefaults5(void, setWindowRectangle, IN, int, x, , IN, int, y, , IN, int, width, , IN, int, height, , IN, bool, updateMouseRange, true,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2007-01-06 01:21:35 +08:00
|
|
|
__void__setWindowRectangle__int__int__int__int__bool,
|
2006-10-24 17:45:50 +08:00
|
|
|
"set window rectangle. ",
|
|
|
|
"");
|
|
|
|
I_Method0(int, getWindowX,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__int__getWindowX,
|
|
|
|
"get window x origin. ",
|
|
|
|
"");
|
|
|
|
I_Method0(int, getWindowY,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__int__getWindowY,
|
|
|
|
"get window y origin. ",
|
|
|
|
"");
|
2007-01-06 01:21:35 +08:00
|
|
|
I_Method0(int, getWindowWidth,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2007-01-06 01:21:35 +08:00
|
|
|
__int__getWindowWidth,
|
2006-10-24 17:45:50 +08:00
|
|
|
"get window width. ",
|
|
|
|
"");
|
2007-01-06 01:21:35 +08:00
|
|
|
I_Method0(int, getWindowHeight,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2007-01-06 01:21:35 +08:00
|
|
|
__int__getWindowHeight,
|
2006-10-24 17:45:50 +08:00
|
|
|
"get window height. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setKey, IN, int, key,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setKey__int,
|
|
|
|
"set key pressed. ",
|
|
|
|
"");
|
|
|
|
I_Method0(int, getKey,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__int__getKey,
|
|
|
|
"get key pressed, return -1 if inappropriate for this GUIEventAdapter. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setButton, IN, int, button,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setButton__int,
|
|
|
|
"set button pressed/released. ",
|
|
|
|
"");
|
|
|
|
I_Method0(int, getButton,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setInputRange__float__float__float__float,
|
|
|
|
"set mouse input range. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getXmin,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getXmin,
|
|
|
|
"get mouse minimum x. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getXmax,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getXmax,
|
|
|
|
"get mouse maximum x. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getYmin,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getYmin,
|
|
|
|
"get mmouse minimum y. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getYmax,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getYmax,
|
|
|
|
"get mouse maYimum y. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setX, IN, float, x,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setX__float,
|
|
|
|
"set current mouse x position. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getX,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getX,
|
|
|
|
"get current mouse x position. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setY, IN, float, y,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setY__float,
|
|
|
|
"set current mouse y position. ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getY,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getY,
|
|
|
|
"get current mouse y position. ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setButtonMask, IN, unsigned int, mask,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setButtonMask__unsigned_int,
|
|
|
|
"set current mouse button state ",
|
|
|
|
"");
|
|
|
|
I_Method0(unsigned int, getButtonMask,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__unsigned_int__getButtonMask,
|
|
|
|
"get current mouse button state ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setModKeyMask, IN, unsigned int, mask,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setModKeyMask__unsigned_int,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(unsigned int, getModKeyMask,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__unsigned_int__getModKeyMask,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getPenPressure,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getPenPressure,
|
|
|
|
"get the pressure, from a tablet input device (range 0 - 1) ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setPenPressure, IN, float, pressure,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setPenPressure__float,
|
|
|
|
"sets the pressure from a tablet ",
|
|
|
|
"");
|
|
|
|
I_Method0(osgGA::GUIEventAdapter::TabletPointerType, getTabletPointerType,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__TabletPointerType__getTabletPointerType,
|
|
|
|
"get the current used tablet pointer type ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setTabletPointerType, IN, osgGA::GUIEventAdapter::TabletPointerType, pt,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setTabletPointerType__TabletPointerType,
|
|
|
|
"set the current used tablet pointer type ",
|
|
|
|
"");
|
|
|
|
I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, motion,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setScrollingMotion__ScrollingMotion,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getScrollingDeltaX,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getScrollingDeltaX,
|
|
|
|
"get the scrolling x-delta ",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getScrollingDeltaY,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getScrollingDeltaY,
|
|
|
|
"get the scrolling y-delta ",
|
|
|
|
"");
|
|
|
|
I_Method2(void, setScrollingMotionDelta, IN, float, x, IN, float, y,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__ScrollingMotion__getScrollingMotion,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(float, getXnormalized,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getXnormalized,
|
|
|
|
"return the getX() value normalised 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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__float__getYnormalized,
|
|
|
|
"return the getY() value normalised 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,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__void__setMouseYOrientation__MouseYOrientation,
|
|
|
|
"",
|
|
|
|
"");
|
|
|
|
I_Method0(osgGA::GUIEventAdapter::MouseYOrientation, getMouseYOrientation,
|
2007-02-13 02:02:15 +08:00
|
|
|
Properties::NON_VIRTUAL,
|
2006-10-24 17:45:50 +08:00
|
|
|
__MouseYOrientation__getMouseYOrientation,
|
|
|
|
"",
|
|
|
|
"");
|
2007-07-13 19:22:44 +08:00
|
|
|
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. ");
|
2006-10-24 17:45:50 +08:00
|
|
|
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);
|
2007-01-24 20:59:11 +08:00
|
|
|
I_SimpleProperty(bool, Handled,
|
|
|
|
__bool__getHandled,
|
|
|
|
__void__setHandled__bool);
|
2006-10-24 17:45:50 +08:00
|
|
|
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(float, PenPressure,
|
|
|
|
__float__getPenPressure,
|
|
|
|
__void__setPenPressure__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);
|
2007-01-06 01:21:35 +08:00
|
|
|
I_SimpleProperty(int, WindowHeight,
|
|
|
|
__int__getWindowHeight,
|
2006-10-24 17:45:50 +08:00
|
|
|
0);
|
2007-01-06 01:21:35 +08:00
|
|
|
I_SimpleProperty(int, WindowWidth,
|
|
|
|
__int__getWindowWidth,
|
2006-10-24 17:45:50 +08:00
|
|
|
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);
|
Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.
Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors. I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 18:17:56 +08:00
|
|
|
END_REFLECTOR
|
|
|
|
|