Added osgWidget wrappers
This commit is contained in:
91
src/osgWrappers/osgWidget/Box.cpp
Normal file
91
src/osgWrappers/osgWidget/Box.cpp
Normal file
@@ -0,0 +1,91 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Box>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Box::BOX_TYPE)
|
||||
I_DeclaringFile("osgWidget/Box");
|
||||
I_EnumLabel(osgWidget::Box::VERTICAL);
|
||||
I_EnumLabel(osgWidget::Box::HORIZONTAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Box)
|
||||
I_DeclaringFile("osgWidget/Box");
|
||||
I_BaseType(osgWidget::Window);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Box, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Box,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, osgWidget::Box::BOX_TYPE, x, osgWidget::Box::HORIZONTAL, IN, bool, x, false,
|
||||
____Box__C5_std_string_R1__BOX_TYPE__bool,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Box &, x, IN, const osg::CopyOp &, x,
|
||||
____Box__C5_Box_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___resizeImplementation__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window::Sizes, _getWidthImplementation,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Sizes___getWidthImplementation,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window::Sizes, _getHeightImplementation,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Sizes___getHeightImplementation,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
81
src/osgWrappers/osgWidget/Canvas.cpp
Normal file
81
src/osgWrappers/osgWidget/Canvas.cpp
Normal file
@@ -0,0 +1,81 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Canvas>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Widget>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Canvas)
|
||||
I_DeclaringFile("osgWidget/Canvas");
|
||||
I_BaseType(osgWidget::Window);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Canvas, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Canvas,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, x, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____Canvas__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Canvas &, x, IN, const osg::CopyOp &, x,
|
||||
____Canvas__C5_Canvas_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addWidget, IN, osgWidget::Widget *, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addWidget__Widget_P1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___resizeImplementation__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
332
src/osgWrappers/osgWidget/EventInterface.cpp
Normal file
332
src/osgWrappers/osgWidget/EventInterface.cpp
Normal file
@@ -0,0 +1,332 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/EventInterface>
|
||||
#include <osgWidget/Widget>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::Callback)
|
||||
I_DeclaringFile("osgWidget/EventInterface");
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::EVENT_TYPE, getType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EVENT_TYPE__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void *, getData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void_P1__getData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const void *, getData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_void_P1__getData,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, Data,
|
||||
__void_P1__getData,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::EVENT_TYPE, Type,
|
||||
__EVENT_TYPE__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::CallbackInterface)
|
||||
I_DeclaringFile("osgWidget/EventInterface");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____CallbackInterface,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::Event)
|
||||
I_DeclaringFile("osgWidget/EventInterface");
|
||||
I_ConstructorWithDefaults2(IN, osgWidget::WindowManager *, wm, , IN, osgWidget::EVENT_TYPE, _type, osgWidget::EVENT_NONE,
|
||||
____Event__WindowManager_P1__EVENT_TYPE,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgWidget::Event &, makeType, IN, osgWidget::EVENT_TYPE, _type,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Event_R1__makeType__EVENT_TYPE,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(osgWidget::Event &, makeMouse, IN, double, _x, , IN, double, _y, , IN, osgWidget::EVENT_TYPE, _type, osgWidget::EVENT_NONE,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Event_R1__makeMouse__double__double__EVENT_TYPE,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(osgWidget::Event &, makeKey, IN, int, _key, , IN, int, _keyMask, , IN, osgWidget::EVENT_TYPE, _type, osgWidget::EVENT_NONE,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Event_R1__makeKey__int__int__EVENT_TYPE,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::WindowManager *, getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__WindowManager_P1__getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::WindowManager *, getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_WindowManager_P1__getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window *, getWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Window_P1__getWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Window *, getWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Window_P1__getWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget *, getWidget,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Widget_P1__getWidget,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Widget *, getWidget,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Widget_P1__getWidget,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void *, getData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void_P1__getData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const void *, getData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_void_P1__getData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setData, IN, void *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setData__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, Data,
|
||||
__void_P1__getData,
|
||||
__void__setData__void_P1);
|
||||
I_SimpleProperty(osgWidget::Widget *, Widget,
|
||||
__Widget_P1__getWidget,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Window *, Window,
|
||||
__Window_P1__getWindow,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::WindowManager *, WindowManager,
|
||||
__WindowManager_P1__getWindowManager,
|
||||
0);
|
||||
I_PublicMemberProperty(osgWidget::EVENT_TYPE, type);
|
||||
I_PublicMemberProperty(double, x);
|
||||
I_PublicMemberProperty(double, y);
|
||||
I_PublicMemberProperty(int, key);
|
||||
I_PublicMemberProperty(int, keyMask);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::EventInterface)
|
||||
I_DeclaringFile("osgWidget/EventInterface");
|
||||
I_Constructor0(____EventInterface,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgWidget::EventInterface &, ei,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EventInterface__C5_EventInterface_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, focus, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__focus__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, unfocus, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__unfocus__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseEnter, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseEnter__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseOver, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseOver__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseLeave, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseLeave__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseDrag__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mousePush, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mousePush__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseRelease, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseRelease__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseScroll, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseScroll__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyDown, IN, int, x, IN, int, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__keyDown__int__int__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyUp, IN, int, x, IN, int, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__keyUp__int__int__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEventMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEventMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeEventMask, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeEventMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getEventMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getEventMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addCallback, IN, const osgWidget::Callback &, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addCallback__C5_Callback_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, callCallbacks, IN, osgWidget::Event &, ev,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__callCallbacks__Event_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, callMethodAndCallbacks, IN, osgWidget::Event &, ev,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__callMethodAndCallbacks__Event_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canUnfocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canUnfocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMouseEnter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMouseEnter,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMouseOver,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMouseOver,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMouseLeave,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMouseLeave,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMouseDrag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMouseDrag,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMousePush,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMousePush,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMouseRelease,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMouseRelease,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canMouseScroll,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canMouseScroll,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canKeyDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canKeyDown,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canKeyUp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canKeyUp,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, EventMask,
|
||||
__unsigned_int__getEventMask,
|
||||
__void__setEventMask__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::EVENT_TYPE)
|
||||
I_DeclaringFile("osgWidget/EventInterface");
|
||||
I_EnumLabel(osgWidget::EVENT_NONE);
|
||||
I_EnumLabel(osgWidget::EVENT_FOCUS);
|
||||
I_EnumLabel(osgWidget::EVENT_UNFOCUS);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_ENTER);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_OVER);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_LEAVE);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_DRAG);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_PUSH);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_RELEASE);
|
||||
I_EnumLabel(osgWidget::EVENT_MOUSE_SCROLL);
|
||||
I_EnumLabel(osgWidget::EVENT_KEY_DOWN);
|
||||
I_EnumLabel(osgWidget::EVENT_KEY_UP);
|
||||
I_EnumLabel(osgWidget::EVENT_ALL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::EVENT_MASK)
|
||||
I_DeclaringFile("osgWidget/EventInterface");
|
||||
I_EnumLabel(osgWidget::EVENT_MASK_FOCUS);
|
||||
I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_MOVE);
|
||||
I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_CLICK);
|
||||
I_EnumLabel(osgWidget::EVENT_MASK_MOUSE_DRAG);
|
||||
I_EnumLabel(osgWidget::EVENT_MASK_KEY);
|
||||
END_REFLECTOR
|
||||
|
||||
22
src/osgWrappers/osgWidget/Export.cpp
Normal file
22
src/osgWrappers/osgWidget/Export.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/Export>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
309
src/osgWrappers/osgWidget/Frame.cpp
Normal file
309
src/osgWrappers/osgWidget/Frame.cpp
Normal file
@@ -0,0 +1,309 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Frame>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Frame::CORNER)
|
||||
I_DeclaringFile("osgWidget/Frame");
|
||||
I_EnumLabel(osgWidget::Frame::CORNER_LOWER_LEFT);
|
||||
I_EnumLabel(osgWidget::Frame::CORNER_LOWER_RIGHT);
|
||||
I_EnumLabel(osgWidget::Frame::CORNER_UPPER_LEFT);
|
||||
I_EnumLabel(osgWidget::Frame::CORNER_UPPER_RIGHT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Frame::BORDER)
|
||||
I_DeclaringFile("osgWidget/Frame");
|
||||
I_EnumLabel(osgWidget::Frame::BORDER_LEFT);
|
||||
I_EnumLabel(osgWidget::Frame::BORDER_RIGHT);
|
||||
I_EnumLabel(osgWidget::Frame::BORDER_TOP);
|
||||
I_EnumLabel(osgWidget::Frame::BORDER_BOTTOM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Frame)
|
||||
I_DeclaringFile("osgWidget/Frame");
|
||||
I_BaseType(osgWidget::Table);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Frame, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Frame,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, x, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____Frame__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Frame &, x, IN, const osg::CopyOp &, x,
|
||||
____Frame__C5_Frame_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, managed, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__managed__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, createSimpleFrame, IN, osgWidget::point_type, cw, IN, osgWidget::point_type, ch, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__createSimpleFrame__point_type__point_type__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method7(void, createSimpleFrameWithSingleTexture, IN, const std::string &, tex, IN, osgWidget::point_type, tw, IN, osgWidget::point_type, th, IN, osgWidget::point_type, cw, IN, osgWidget::point_type, ch, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__createSimpleFrameWithSingleTexture__C5_std_string_R1__point_type__point_type__point_type__point_type__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setWindow, IN, osgWidget::Window *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setWindow__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window::EmbeddedWindow *, getEmbeddedWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EmbeddedWindow_P1__getEmbeddedWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Window::EmbeddedWindow *, getEmbeddedWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EmbeddedWindow_P1__getEmbeddedWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgWidget::Frame::Corner *, getCorner, IN, osgWidget::Frame::CORNER, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Corner_P1__getCorner__CORNER,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgWidget::Frame::Corner *, getCorner, IN, osgWidget::Frame::CORNER, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Corner_P1__getCorner__CORNER,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgWidget::Frame::Border *, getBorder, IN, osgWidget::Frame::BORDER, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Border_P1__getBorder__BORDER,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgWidget::Frame::Border *, getBorder, IN, osgWidget::Frame::BORDER, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Border_P1__getBorder__BORDER,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(std::string, cornerToString, IN, osgWidget::Frame::CORNER, x,
|
||||
__std_string__cornerToString__CORNER_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(std::string, borderToString, IN, osgWidget::Frame::BORDER, x,
|
||||
__std_string__borderToString__BORDER_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethodWithDefaults6(osgWidget::Frame *, createSimpleFrame, IN, const std::string &, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::Frame *, x, 0,
|
||||
__Frame_P1__createSimpleFrame__C5_std_string_R1__point_type__point_type__point_type__point_type__Frame_P1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethodWithDefaults9(osgWidget::Frame *, createSimpleFrameWithSingleTexture, IN, const std::string &, x, , IN, const std::string &, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::point_type, x, , IN, osgWidget::Frame *, x, 0,
|
||||
__Frame_P1__createSimpleFrameWithSingleTexture__C5_std_string_R1__C5_std_string_R1__point_type__point_type__point_type__point_type__point_type__point_type__Frame_P1_S,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(osgWidget::Widget *, _getCorner, IN, osgWidget::Frame::CORNER, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Widget_P1___getCorner__CORNER,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(osgWidget::Widget *, _getBorder, IN, osgWidget::Frame::BORDER, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Widget_P1___getBorder__BORDER,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Window::EmbeddedWindow *, EmbeddedWindow,
|
||||
__EmbeddedWindow_P1__getEmbeddedWindow,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Window *, Window,
|
||||
0,
|
||||
__bool__setWindow__Window_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Frame::Border)
|
||||
I_DeclaringFile("osgWidget/Frame");
|
||||
I_BaseType(osgWidget::Widget);
|
||||
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. ");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Frame::Border, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Border,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osgWidget::Frame::BORDER, x, osgWidget::Frame::BORDER_LEFT, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
____Border__BORDER__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Frame::Border &, x, IN, const osg::CopyOp &, x,
|
||||
____Border__C5_Border_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseDrag__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Frame::BORDER, getBorder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BORDER__getBorder,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBorder, IN, osgWidget::Frame::BORDER, border,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBorder__BORDER,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBorderAndName, IN, osgWidget::Frame::BORDER, border,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBorderAndName__BORDER,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Frame::BORDER, Border,
|
||||
__BORDER__getBorder,
|
||||
__void__setBorder__BORDER);
|
||||
I_SimpleProperty(osgWidget::Frame::BORDER, BorderAndName,
|
||||
0,
|
||||
__void__setBorderAndName__BORDER);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Frame::Corner)
|
||||
I_DeclaringFile("osgWidget/Frame");
|
||||
I_BaseType(osgWidget::Widget);
|
||||
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. ");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Frame::Corner, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Corner,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osgWidget::Frame::CORNER, x, osgWidget::Frame::CORNER_LOWER_LEFT, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
____Corner__CORNER__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Frame::Corner &, x, IN, const osg::CopyOp &, x,
|
||||
____Corner__C5_Corner_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__mouseDrag__double__double__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Frame::CORNER, getCorner,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CORNER__getCorner,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCorner, IN, osgWidget::Frame::CORNER, corner,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCorner__CORNER,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCornerAndName, IN, osgWidget::Frame::CORNER, corner,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCornerAndName__CORNER,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Frame::CORNER, Corner,
|
||||
__CORNER__getCorner,
|
||||
__void__setCorner__CORNER);
|
||||
I_SimpleProperty(osgWidget::Frame::CORNER, CornerAndName,
|
||||
0,
|
||||
__void__setCornerAndName__CORNER);
|
||||
END_REFLECTOR
|
||||
|
||||
135
src/osgWrappers/osgWidget/Input.cpp
Normal file
135
src/osgWrappers/osgWidget/Input.cpp
Normal file
@@ -0,0 +1,135 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Drawable>
|
||||
#include <osgWidget/Input>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Widget>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Input)
|
||||
I_DeclaringFile("osgWidget/Input");
|
||||
I_BaseType(osgWidget::Label);
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, const std::string &, x, "", IN, unsigned, int, 20,
|
||||
____Input__C5_std_string_R1__C5_std_string_R1__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, parented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__parented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, positioned,
|
||||
Properties::VIRTUAL,
|
||||
__void__positioned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, focus, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__focus__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, unfocus, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__unfocus__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyUp, IN, int, x, IN, int, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__keyUp__int__int__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyDown, IN, int, x, IN, int, x, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__keyDown__int__int__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCursor, IN, osgWidget::Widget *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCursor__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setXOffset, IN, osgWidget::point_type, xo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXOffset__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setYOffset, IN, osgWidget::point_type, yo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setYOffset__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setXYOffset, IN, osgWidget::point_type, xo, IN, osgWidget::point_type, yo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setXYOffset__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Drawable *, getCursor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Drawable_P1__getCursor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Drawable *, getCursor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Drawable_P1__getCursor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getXOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getXOffset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getYOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getYOffset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getXYOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getXYOffset,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, _calculateSize, IN, const osgWidget::XYCoord &, x,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___calculateSize__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, _calculateCursorOffsets,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___calculateCursorOffsets,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Drawable *, Cursor,
|
||||
__osg_Drawable_P1__getCursor,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, XOffset,
|
||||
__point_type__getXOffset,
|
||||
__void__setXOffset__point_type);
|
||||
I_SimpleProperty(osgWidget::XYCoord, XYOffset,
|
||||
__XYCoord__getXYOffset,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, YOffset,
|
||||
__point_type__getYOffset,
|
||||
__void__setYOffset__point_type);
|
||||
END_REFLECTOR
|
||||
|
||||
168
src/osgWrappers/osgWidget/Label.cpp
Normal file
168
src/osgWrappers/osgWidget/Label.cpp
Normal file
@@ -0,0 +1,168 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgText/Text>
|
||||
#include <osgWidget/Label>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Label)
|
||||
I_DeclaringFile("osgWidget/Label");
|
||||
I_BaseType(osgWidget::Widget);
|
||||
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. ");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Label, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Label,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const std::string &, x, "", IN, const std::string &, x, "",
|
||||
____Label__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Label &, x, IN, const osg::CopyOp &, x,
|
||||
____Label__C5_Label_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, parented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__parented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unparented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__unparented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, managed, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__managed__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, positioned,
|
||||
Properties::VIRTUAL,
|
||||
__void__positioned,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLabel, IN, const std::string &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLabel__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFont, IN, const std::string &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFont__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFontSize, IN, unsigned, int,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFontSize__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFontColor, IN, const osgWidget::Color &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFontColor__C5_Color_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShadow, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShadow__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getTextSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getTextSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(std::string, getLabel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getLabel,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setFontColor, IN, osgWidget::point_type, r, IN, osgWidget::point_type, g, IN, osgWidget::point_type, b, IN, osgWidget::point_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFontColor__point_type__point_type__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgText::Text *, getText,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgText_Text_P1__getText,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, _calculateSize, IN, const osgWidget::XYCoord &, x,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___calculateSize__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, Font,
|
||||
0,
|
||||
__void__setFont__C5_std_string_R1);
|
||||
I_SimpleProperty(const osgWidget::Color &, FontColor,
|
||||
0,
|
||||
__void__setFontColor__C5_Color_R1);
|
||||
I_SimpleProperty(unsigned, FontSize,
|
||||
0,
|
||||
__void__setFontSize__unsigned);
|
||||
I_SimpleProperty(std::string, Label,
|
||||
__std_string__getLabel,
|
||||
__void__setLabel__C5_std_string_R1);
|
||||
I_SimpleProperty(osgWidget::point_type, Shadow,
|
||||
0,
|
||||
__void__setShadow__point_type);
|
||||
I_SimpleProperty(const osgText::Text *, Text,
|
||||
__C5_osgText_Text_P1__getText,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::XYCoord, TextSize,
|
||||
__XYCoord__getTextSize,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
53
src/osgWrappers/osgWidget/Lua.cpp
Normal file
53
src/osgWrappers/osgWidget/Lua.cpp
Normal file
@@ -0,0 +1,53 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/Lua>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::LuaEngine)
|
||||
I_DeclaringFile("osgWidget/Lua");
|
||||
I_BaseType(osgWidget::ScriptEngine);
|
||||
I_ConstructorWithDefaults1(IN, osgWidget::WindowManager *, x, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____LuaEngine__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, initialize,
|
||||
Properties::VIRTUAL,
|
||||
__bool__initialize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, close,
|
||||
Properties::VIRTUAL,
|
||||
__bool__close,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, eval, IN, const std::string &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__eval__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, runFile, IN, const std::string &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__runFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
53
src/osgWrappers/osgWidget/Python.cpp
Normal file
53
src/osgWrappers/osgWidget/Python.cpp
Normal file
@@ -0,0 +1,53 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/Python>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::PythonEngine)
|
||||
I_DeclaringFile("osgWidget/Python");
|
||||
I_BaseType(osgWidget::ScriptEngine);
|
||||
I_ConstructorWithDefaults1(IN, osgWidget::WindowManager *, x, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____PythonEngine__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, initialize,
|
||||
Properties::VIRTUAL,
|
||||
__bool__initialize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, close,
|
||||
Properties::VIRTUAL,
|
||||
__bool__close,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, eval, IN, const std::string &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__eval__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, runFile, IN, const std::string &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__runFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
58
src/osgWrappers/osgWidget/ScriptEngine.cpp
Normal file
58
src/osgWrappers/osgWidget/ScriptEngine.cpp
Normal file
@@ -0,0 +1,58 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/ScriptEngine>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::ScriptEngine)
|
||||
I_DeclaringFile("osgWidget/ScriptEngine");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ScriptEngine,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, initialize,
|
||||
Properties::VIRTUAL,
|
||||
__bool__initialize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, close,
|
||||
Properties::VIRTUAL,
|
||||
__bool__close,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, eval, IN, const std::string &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__eval__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, runFile, IN, const std::string &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__runFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getLastErrorText,
|
||||
Properties::VIRTUAL,
|
||||
__C5_std_string_R1__getLastErrorText,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, LastErrorText,
|
||||
__C5_std_string_R1__getLastErrorText,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
52
src/osgWrappers/osgWidget/StyleInterface.cpp
Normal file
52
src/osgWrappers/osgWidget/StyleInterface.cpp
Normal file
@@ -0,0 +1,52 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/StyleInterface>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::StyleInterface)
|
||||
I_DeclaringFile("osgWidget/StyleInterface");
|
||||
I_Constructor0(____StyleInterface,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgWidget::StyleInterface &, si,
|
||||
Properties::NON_EXPLICIT,
|
||||
____StyleInterface__C5_StyleInterface_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStyle, IN, const std::string &, style,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStyle__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(std::string &, getStyle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string_R1__getStyle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getStyle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getStyle,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, Style,
|
||||
__C5_std_string_R1__getStyle,
|
||||
__void__setStyle__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
248
src/osgWrappers/osgWidget/StyleManager.cpp
Normal file
248
src/osgWrappers/osgWidget/StyleManager.cpp
Normal file
@@ -0,0 +1,248 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Box>
|
||||
#include <osgWidget/Frame>
|
||||
#include <osgWidget/Input>
|
||||
#include <osgWidget/Label>
|
||||
#include <osgWidget/StyleManager>
|
||||
#include <osgWidget/Widget>
|
||||
#include <osgWidget/Window>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Style)
|
||||
I_DeclaringFile("osgWidget/StyleManager");
|
||||
I_BaseType(osg::Object);
|
||||
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. ");
|
||||
I_ConstructorWithDefaults2(IN, const std::string &, x, "", IN, const std::string &, x, "",
|
||||
____Style__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Style &, x, IN, const osg::CopyOp &, x,
|
||||
____Style__C5_Style_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Widget *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Widget_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Label *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Label_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Input *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Input_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Window *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Window_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Window::EmbeddedWindow *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Window_EmbeddedWindow_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Box *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Box_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Frame::Corner *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Frame_Corner_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyStyle, IN, osgWidget::Frame::Border *, x, IN, osgWidget::Reader, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__applyStyle__Frame_Border_P1__Reader,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStyle, IN, const std::string &, style,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStyle__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(std::string &, getStyle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string_R1__getStyle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getStyle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getStyle,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osgWidget::Widget::LAYER, strToLayer, IN, const std::string &, x,
|
||||
__Widget_LAYER__strToLayer__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osgWidget::Widget::VERTICAL_ALIGNMENT, strToVAlign, IN, const std::string &, x,
|
||||
__Widget_VERTICAL_ALIGNMENT__strToVAlign__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osgWidget::Widget::HORIZONTAL_ALIGNMENT, strToHAlign, IN, const std::string &, x,
|
||||
__Widget_HORIZONTAL_ALIGNMENT__strToHAlign__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osgWidget::Widget::COORDINATE_MODE, strToCoordMode, IN, const std::string &, x,
|
||||
__Widget_COORDINATE_MODE__strToCoordMode__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(bool, strToFill, IN, const std::string &, x,
|
||||
__bool__strToFill__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, Style,
|
||||
__C5_std_string_R1__getStyle,
|
||||
__void__setStyle__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osgWidget::Style > >, osgWidget::StyleManager::Styles)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::StyleManager::Styles::iterator, osgWidget::StyleManager::Iterator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::StyleManager::Styles::const_iterator, osgWidget::StyleManager::ConstIterator)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::StyleManager)
|
||||
I_DeclaringFile("osgWidget/StyleManager");
|
||||
I_BaseType(osg::Object);
|
||||
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. ");
|
||||
I_Constructor0(____StyleManager,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::StyleManager &, x, IN, const osg::CopyOp &, x,
|
||||
____StyleManager__C5_StyleManager_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addStyle, IN, osgWidget::Style *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addStyle__Style_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, applyStyles, IN, osgWidget::Widget *, widget,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__applyStyles__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, applyStyles, IN, osgWidget::Window *, window,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__applyStyles__Window_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgDB::FieldReaderIterator &, osgWidget::Reader)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgWidget::Style >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgWidget::Style *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgWidget::Style > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Style *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Style *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgWidget::Style > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Style *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osgWidget::Style > >)
|
||||
|
||||
169
src/osgWrappers/osgWidget/Table.cpp
Normal file
169
src/osgWrappers/osgWidget/Table.cpp
Normal file
@@ -0,0 +1,169 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Table>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Widget>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgWidget::point_type >, osgWidget::Table::CellSizes)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Table)
|
||||
I_DeclaringFile("osgWidget/Table");
|
||||
I_BaseType(osgWidget::Window);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Table, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Table,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, unsigned, int, 0, IN, unsigned, int, 0,
|
||||
____Table__C5_std_string_R1__unsigned__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Table &, x, IN, const osg::CopyOp &, x,
|
||||
____Table__C5_Table_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addWidget, IN, osgWidget::Widget *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addWidget__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addWidget, IN, osgWidget::Widget *, x, IN, unsigned, int, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addWidget__Widget_P1__unsigned__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getRowHeights, IN, osgWidget::Table::CellSizes &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRowHeights__CellSizes_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getRowMinHeights, IN, osgWidget::Table::CellSizes &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRowMinHeights__CellSizes_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getColumnWidths, IN, osgWidget::Table::CellSizes &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getColumnWidths__CellSizes_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getColumnMinWidths, IN, osgWidget::Table::CellSizes &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getColumnMinWidths__CellSizes_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addHeightToRow, IN, unsigned, int, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addHeightToRow__unsigned__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addWidthToColumn, IN, unsigned, int, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addWidthToColumn__unsigned__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isRowVerticallyFillable, IN, unsigned, int,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRowVerticallyFillable__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isColumnHorizontallyFillable, IN, unsigned, int,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isColumnHorizontallyFillable__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgWidget::Widget *, getByRowCol, IN, unsigned int, row, IN, unsigned int, col,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Widget_P1__getByRowCol__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(const osgWidget::Widget *, getByRowCol, IN, unsigned int, row, IN, unsigned int, col,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Widget_P1__getByRowCol__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(unsigned int, _calculateIndex, IN, unsigned, int, IN, unsigned, int,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__unsigned_int___calculateIndex__unsigned__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _getRows, IN, osgWidget::Table::CellSizes &, x, IN, Getter, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void___getRows__CellSizes_R1__Getter,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _getColumns, IN, osgWidget::Table::CellSizes &, x, IN, Getter, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void___getColumns__CellSizes_R1__Getter,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___resizeImplementation__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window::Sizes, _getWidthImplementation,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Sizes___getWidthImplementation,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window::Sizes, _getHeightImplementation,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Sizes___getHeightImplementation,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgWidget::point_type >)
|
||||
|
||||
46
src/osgWrappers/osgWidget/Types.cpp
Normal file
46
src/osgWrappers/osgWidget/Types.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/Types>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec2Array, osgWidget::TexCoordArray)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec3Array, osgWidget::PointArray)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec4Array, osgWidget::ColorArray)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::TexCoordArray::value_type, osgWidget::TexCoord)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::PointArray::value_type, osgWidget::Point)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::ColorArray::value_type, osgWidget::Color)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::TexCoord::value_type, osgWidget::texcoord_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::Point::value_type, osgWidget::point_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::Color::value_type, osgWidget::color_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec2, osgWidget::XYCoord)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec4, osgWidget::Quad)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Matrix::value_type, osgWidget::matrix_type)
|
||||
|
||||
72
src/osgWrappers/osgWidget/ViewerEventHandlers.cpp
Normal file
72
src/osgWrappers/osgWidget/ViewerEventHandlers.cpp
Normal file
@@ -0,0 +1,72 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgWidget/ViewerEventHandlers>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::KeyboardHandler)
|
||||
I_DeclaringFile("osgWidget/ViewerEventHandlers");
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor1(IN, osgWidget::WindowManager *, x,
|
||||
Properties::NON_EXPLICIT,
|
||||
____KeyboardHandler__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::MouseHandler)
|
||||
I_DeclaringFile("osgWidget/ViewerEventHandlers");
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor1(IN, osgWidget::WindowManager *, x,
|
||||
Properties::NON_EXPLICIT,
|
||||
____MouseHandler__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::ResizeHandler)
|
||||
I_DeclaringFile("osgWidget/ViewerEventHandlers");
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor2(IN, osgWidget::WindowManager *, x, IN, osg::Camera *, x,
|
||||
____ResizeHandler__WindowManager_P1__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
|
||||
"Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
983
src/osgWrappers/osgWidget/Widget.cpp
Normal file
983
src/osgWrappers/osgWidget/Widget.cpp
Normal file
@@ -0,0 +1,983 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Widget>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::NotifyWidget)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_BaseType(osgWidget::Widget);
|
||||
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. ");
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, n, "", IN, osgWidget::point_type, w, 0.0f, IN, osgWidget::point_type, h, 0.0f,
|
||||
____NotifyWidget__C5_std_string_R1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::NotifyWidget &, widget, IN, const osg::CopyOp &, co,
|
||||
____NotifyWidget__C5_NotifyWidget_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__focus__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__unfocus__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseEnter, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseEnter__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseOver, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseOver__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseLeave, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseLeave__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseDrag__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mousePush, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mousePush__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseRelease, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseRelease__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseScroll, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseScroll__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyPress, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__keyPress__int__int__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyRelease, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__keyRelease__int__int__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::NullWidget)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_BaseType(osgWidget::Widget);
|
||||
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. ");
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, n, "", IN, osgWidget::point_type, w, 0.0f, IN, osgWidget::point_type, h, 0.0f,
|
||||
____NullWidget__C5_std_string_R1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::NullWidget &, widget, IN, const osg::CopyOp &, co,
|
||||
____NullWidget__C5_NullWidget_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, focus, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__focus__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, unfocus, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__unfocus__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseEnter, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseEnter__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseOver, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseOver__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseLeave, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseLeave__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseDrag, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseDrag__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mousePush, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mousePush__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseRelease, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseRelease__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, mouseScroll, IN, double, x, IN, double, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseScroll__double__double__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyPress, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__keyPress__int__int__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, keyRelease, IN, int, x, IN, int, x, IN, const osgWidget::WindowManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__keyRelease__int__int__C5_WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::POINT)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_EnumLabel(osgWidget::Widget::LOWER_LEFT);
|
||||
I_EnumLabel(osgWidget::Widget::LOWER_RIGHT);
|
||||
I_EnumLabel(osgWidget::Widget::UPPER_RIGHT);
|
||||
I_EnumLabel(osgWidget::Widget::UPPER_LEFT);
|
||||
I_EnumLabel(osgWidget::Widget::LL);
|
||||
I_EnumLabel(osgWidget::Widget::LR);
|
||||
I_EnumLabel(osgWidget::Widget::UR);
|
||||
I_EnumLabel(osgWidget::Widget::UL);
|
||||
I_EnumLabel(osgWidget::Widget::ALL_POINTS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::LAYER)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_EnumLabel(osgWidget::Widget::LAYER_TOP);
|
||||
I_EnumLabel(osgWidget::Widget::LAYER_HIGH);
|
||||
I_EnumLabel(osgWidget::Widget::LAYER_MIDDLE);
|
||||
I_EnumLabel(osgWidget::Widget::LAYER_LOW);
|
||||
I_EnumLabel(osgWidget::Widget::LAYER_BG);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::VERTICAL_ALIGNMENT)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_EnumLabel(osgWidget::Widget::VA_CENTER);
|
||||
I_EnumLabel(osgWidget::Widget::VA_TOP);
|
||||
I_EnumLabel(osgWidget::Widget::VA_BOTTOM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::HORIZONTAL_ALIGNMENT)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_EnumLabel(osgWidget::Widget::HA_CENTER);
|
||||
I_EnumLabel(osgWidget::Widget::HA_LEFT);
|
||||
I_EnumLabel(osgWidget::Widget::HA_RIGHT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Widget::COORDINATE_MODE)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_EnumLabel(osgWidget::Widget::CM_ABSOLUTE);
|
||||
I_EnumLabel(osgWidget::Widget::CM_RELATIVE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Widget)
|
||||
I_DeclaringFile("osgWidget/Widget");
|
||||
I_BaseType(osg::Geometry);
|
||||
I_BaseType(osgWidget::EventInterface);
|
||||
I_BaseType(osgWidget::StyleInterface);
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
____Widget__C5_std_string_R1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Widget &, x, IN, const osg::CopyOp &, x,
|
||||
____Widget__C5_Widget_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. ");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Widget, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Widget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, parented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__parented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unparented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__unparented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, managed, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__managed__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unmanaged, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__unmanaged__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, positioned,
|
||||
Properties::VIRTUAL,
|
||||
__void__positioned,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, setDimensions, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f, IN, osgWidget::point_type, x, -1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDimensions__point_type__point_type__point_type__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPadding, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPadding__point_type,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, setColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__color_type__color_type__color_type__color_type__POINT,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, addColor, IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::color_type, x, , IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addColor__color_type__color_type__color_type__color_type__POINT,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setTexCoord, IN, osgWidget::texcoord_type, x, , IN, osgWidget::texcoord_type, x, , IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexCoord__texcoord_type__texcoord_type__POINT,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setTexCoordRegion, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexCoordRegion__point_type__point_type__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setTexCoordWrapHorizontal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexCoordWrapHorizontal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setTexCoordWrapVertical,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexCoordWrapVertical,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, setImage, IN, osg::Image *, x, , IN, bool, x, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setImage__osg_Image_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, setImage, IN, const std::string &, x, , IN, bool, x, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setImage__C5_std_string_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addX, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addX__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addY, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addY__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addWidth, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addWidth__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addHeight, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addHeight__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addOrigin, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addOrigin__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addSize, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addSize__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getX,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getY,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getZ,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getZ,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getPadHorizontal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getPadHorizontal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getPadVertical,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getPadVertical,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(const osgWidget::Point &, getPoint, IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Point_R1__getPoint__POINT,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(const osgWidget::Color &, getColor, IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Color_R1__getColor__POINT,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(const osgWidget::TexCoord &, getTexCoord, IN, osgWidget::Widget::POINT, x, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexCoord_R1__getTexCoord__POINT,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgWidget::Widget::POINT, convertPoint, IN, osgWidget::Widget::POINT, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__POINT__convertPoint__POINT,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgWidget::Color, getImageColorAtXY, IN, osgWidget::point_type, x, IN, osgWidget::point_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Color__getImageColorAtXY__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgWidget::XYCoord, localXY, IN, double, x, IN, double, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__localXY__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPaddingUniform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPaddingUniform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isManaged,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isManaged,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isStyled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isStyled,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setDimensions, IN, const osgWidget::Quad &, q, , IN, osgWidget::point_type, z, -1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDimensions__C5_Quad_R1__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setX, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setX__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setY, IN, osgWidget::point_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setY__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setZ, IN, osgWidget::point_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setZ__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, osgWidget::point_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setOrigin, IN, osgWidget::point_type, x, IN, osgWidget::point_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrigin__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOrigin, IN, const osgWidget::XYCoord &, xy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrigin__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, const osgWidget::XYCoord &, xy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::POINT, p, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Color_R1__POINT,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setTexCoord, IN, const osgWidget::XYCoord &, xy, , IN, osgWidget::Widget::POINT, p, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexCoord__C5_XYCoord_R1__POINT,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setTexCoordRegion, IN, const osgWidget::XYCoord &, xy, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexCoordRegion__C5_XYCoord_R1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, addColor, IN, const osgWidget::Color &, col, , IN, osgWidget::Widget::POINT, p, osgWidget::Widget::ALL_POINTS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addColor__C5_Color_R1__POINT,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addOrigin, IN, const osgWidget::XYCoord &, xy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addOrigin__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addSize, IN, const osgWidget::XYCoord &, xy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addSize__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setMinimumSize, IN, osgWidget::point_type, width, IN, osgWidget::point_type, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinimumSize__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumSize, IN, const osgWidget::XYCoord &, xy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinimumSize__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setLayer, IN, osgWidget::Widget::LAYER, l, , IN, unsigned int, offset, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLayer__LAYER__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPadLeft, IN, osgWidget::point_type, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPadLeft__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPadRight, IN, osgWidget::point_type, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPadRight__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPadTop, IN, osgWidget::point_type, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPadTop__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPadBottom, IN, osgWidget::point_type, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPadBottom__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAlignHorizontal, IN, osgWidget::Widget::HORIZONTAL_ALIGNMENT, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignHorizontal__HORIZONTAL_ALIGNMENT,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAlignVertical, IN, osgWidget::Widget::VERTICAL_ALIGNMENT, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAlignVertical__VERTICAL_ALIGNMENT,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoordinateMode, IN, osgWidget::Widget::COORDINATE_MODE, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoordinateMode__COORDINATE_MODE,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCanFill, IN, bool, f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCanFill__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCanClone, IN, bool, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCanClone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::WindowManager *, getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__WindowManager_P1__getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::WindowManager *, getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_WindowManager_P1__getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Window_P1__getParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Window *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Window_P1__getParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getIndex,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getIndex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getOrigin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getOrigin,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgWidget::Color, getImageColorAtXY, IN, const osgWidget::XYCoord &, xy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Color__getImageColorAtXY__C5_XYCoord_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgWidget::Color, getImageColorAtPointerXY, IN, double, x, IN, double, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Color__getImageColorAtPointerXY__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Point, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Point__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Quad, getDimensions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Quad__getDimensions,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getPadLeft,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getPadLeft,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getPadRight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getPadRight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getPadTop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getPadTop,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getPadBottom,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getPadBottom,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget::HORIZONTAL_ALIGNMENT, getAlignHorizontal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HORIZONTAL_ALIGNMENT__getAlignHorizontal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget::VERTICAL_ALIGNMENT, getAlignVertical,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VERTICAL_ALIGNMENT__getAlignVertical,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget::COORDINATE_MODE, getCoordinateMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__COORDINATE_MODE__getCoordinateMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canFill,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canFill,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, canClone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__canClone,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getFillAsNumeric,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getFillAsNumeric,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getWidthTotal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getWidthTotal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getHeightTotal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getHeightTotal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getMinWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getMinWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getMinHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getMinHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getMinWidthTotal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getMinWidthTotal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getMinHeightTotal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getMinHeightTotal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getLayer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getLayer,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(osgWidget::point_type, _calculateZ, IN, unsigned, int,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___calculateZ__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::PointArray *, _verts,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__PointArray_P1___verts,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osgWidget::PointArray *, _verts,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_PointArray_P1___verts,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::ColorArray *, _cols,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__ColorArray_P1___cols,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osgWidget::ColorArray *, _cols,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_ColorArray_P1___cols,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::TexCoordArray *, _texs,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__TexCoordArray_P1___texs,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osgWidget::TexCoordArray *, _texs,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_TexCoordArray_P1___texs,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osg::Texture2D *, _texture,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__osg_Texture2D_P1___texture,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osg::Texture2D *, _texture,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_osg_Texture2D_P1___texture,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osg::Image *, _image,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__osg_Image_P1___image,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osg::Image *, _image,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_osg_Image_P1___image,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::WindowManager *, _getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__WindowManager_P1___getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osg::Image *, _getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__osg_Image_P1___getImage,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Widget::HORIZONTAL_ALIGNMENT, AlignHorizontal,
|
||||
__HORIZONTAL_ALIGNMENT__getAlignHorizontal,
|
||||
__void__setAlignHorizontal__HORIZONTAL_ALIGNMENT);
|
||||
I_SimpleProperty(osgWidget::Widget::VERTICAL_ALIGNMENT, AlignVertical,
|
||||
__VERTICAL_ALIGNMENT__getAlignVertical,
|
||||
__void__setAlignVertical__VERTICAL_ALIGNMENT);
|
||||
I_SimpleProperty(bool, CanClone,
|
||||
0,
|
||||
__void__setCanClone__bool);
|
||||
I_SimpleProperty(bool, CanFill,
|
||||
0,
|
||||
__void__setCanFill__bool);
|
||||
I_SimpleProperty(osgWidget::Widget::COORDINATE_MODE, CoordinateMode,
|
||||
__COORDINATE_MODE__getCoordinateMode,
|
||||
__void__setCoordinateMode__COORDINATE_MODE);
|
||||
I_SimpleProperty(osgWidget::Quad, Dimensions,
|
||||
__Quad__getDimensions,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, FillAsNumeric,
|
||||
__point_type__getFillAsNumeric,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, Height,
|
||||
__point_type__getHeight,
|
||||
__void__setHeight__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, HeightTotal,
|
||||
__point_type__getHeightTotal,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, Index,
|
||||
__unsigned_int__getIndex,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, Layer,
|
||||
__unsigned_int__getLayer,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, MinHeight,
|
||||
__point_type__getMinHeight,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, MinHeightTotal,
|
||||
__point_type__getMinHeightTotal,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, MinWidth,
|
||||
__point_type__getMinWidth,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, MinWidthTotal,
|
||||
__point_type__getMinWidthTotal,
|
||||
0);
|
||||
I_SimpleProperty(const osgWidget::XYCoord &, MinimumSize,
|
||||
0,
|
||||
__void__setMinimumSize__C5_XYCoord_R1);
|
||||
I_SimpleProperty(osgWidget::XYCoord, Origin,
|
||||
__XYCoord__getOrigin,
|
||||
__void__setOrigin__C5_XYCoord_R1);
|
||||
I_SimpleProperty(osgWidget::point_type, PadBottom,
|
||||
__point_type__getPadBottom,
|
||||
__void__setPadBottom__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, PadHorizontal,
|
||||
__point_type__getPadHorizontal,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, PadLeft,
|
||||
__point_type__getPadLeft,
|
||||
__void__setPadLeft__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, PadRight,
|
||||
__point_type__getPadRight,
|
||||
__void__setPadRight__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, PadTop,
|
||||
__point_type__getPadTop,
|
||||
__void__setPadTop__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, PadVertical,
|
||||
__point_type__getPadVertical,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, Padding,
|
||||
0,
|
||||
__void__setPadding__point_type);
|
||||
I_SimpleProperty(osgWidget::Window *, Parent,
|
||||
__Window_P1__getParent,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Point, Position,
|
||||
__Point__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::XYCoord, Size,
|
||||
__XYCoord__getSize,
|
||||
__void__setSize__C5_XYCoord_R1);
|
||||
I_SimpleProperty(osgWidget::point_type, Width,
|
||||
__point_type__getWidth,
|
||||
__void__setWidth__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, WidthTotal,
|
||||
__point_type__getWidthTotal,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::WindowManager *, WindowManager,
|
||||
__WindowManager_P1__getWindowManager,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, X,
|
||||
__point_type__getX,
|
||||
__void__setX__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, Y,
|
||||
__point_type__getY,
|
||||
__void__setY__point_type);
|
||||
I_SimpleProperty(osgWidget::point_type, Z,
|
||||
__point_type__getZ,
|
||||
__void__setZ__point_type);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::observer_ptr< osgWidget::Widget > >, osgWidget::WidgetList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osgWidget::Widget >)
|
||||
I_DeclaringFile("osg/observer_ptr");
|
||||
I_BaseType(osg::Observer);
|
||||
I_Constructor0(____observer_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgWidget::Widget *, t,
|
||||
Properties::NON_EXPLICIT,
|
||||
____observer_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::observer_ptr< osgWidget::Widget > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____observer_ptr__C5_observer_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, objectDeleted, IN, void *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__objectDeleted__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Widget *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::observer_ptr< osgWidget::Widget > >)
|
||||
|
||||
970
src/osgWrappers/osgWidget/Window.cpp
Normal file
970
src/osgWrappers/osgWidget/Window.cpp
Normal file
@@ -0,0 +1,970 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Object>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Widget>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::observer_ptr< osgWidget::Window > >, osgWidget::Window::WindowList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Window::STRATA)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_EnumLabel(osgWidget::Window::STRATA_NONE);
|
||||
I_EnumLabel(osgWidget::Window::STRATA_BACKGROUND);
|
||||
I_EnumLabel(osgWidget::Window::STRATA_FOREGROUND);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Window::VISIBILITY_MODE)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_EnumLabel(osgWidget::Window::VM_FULL);
|
||||
I_EnumLabel(osgWidget::Window::VM_PARTIAL);
|
||||
I_EnumLabel(osgWidget::Window::VM_ENTIRE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Window::VERTICAL_ANCHOR)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_EnumLabel(osgWidget::Window::VA_NONE);
|
||||
I_EnumLabel(osgWidget::Window::VA_CENTER);
|
||||
I_EnumLabel(osgWidget::Window::VA_TOP);
|
||||
I_EnumLabel(osgWidget::Window::VA_BOTTOM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::Window::HORIZONTAL_ANCHOR)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_EnumLabel(osgWidget::Window::HA_NONE);
|
||||
I_EnumLabel(osgWidget::Window::HA_CENTER);
|
||||
I_EnumLabel(osgWidget::Window::HA_LEFT);
|
||||
I_EnumLabel(osgWidget::Window::HA_RIGHT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::Window)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_BaseType(osg::MatrixTransform);
|
||||
I_BaseType(osgWidget::UIObjectParent);
|
||||
I_BaseType(osgWidget::EventInterface);
|
||||
I_BaseType(osgWidget::StyleInterface);
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Window, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__Window,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, x, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____Window__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Window &, x, IN, const osg::CopyOp &, x,
|
||||
____Window__C5_Window_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, resize, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__resize__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, resizeAdd, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__resizeAdd__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, resizePercent, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__resizePercent__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, update,
|
||||
Properties::VIRTUAL,
|
||||
__void__update,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, managed, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__managed__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unmanaged, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__unmanaged__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addWidget, IN, osgWidget::Widget *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addWidget__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertWidget, IN, osgWidget::Widget *, x, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertWidget__Widget_P1__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeWidget, IN, osgWidget::Widget *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeWidget__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, replaceWidget, IN, osgWidget::Widget *, x, IN, osgWidget::Widget *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__replaceWidget__Widget_P1__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addDrawableAndGetIndex, IN, osg::Drawable *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addDrawableAndGetIndex__osg_Drawable_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isVisible,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isVisible,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, isXYWithinVisible, IN, float, x, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isXYWithinVisible__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, setVisibleArea, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibleArea__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, addVisibleArea, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0, IN, int, x, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVisibleArea__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setFocused, IN, const osgWidget::Widget *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setFocused__C5_Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setFocused, IN, const std::string &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setFocused__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, setFirstFocusable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setFirstFocusable,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, setNextFocusable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setNextFocusable,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getFocusList, IN, osgWidget::WidgetList &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFocusList__WidgetList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getEmbeddedList, IN, osgWidget::Window::WindowList &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEmbeddedList__WindowList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getParentList, IN, osgWidget::Window::WindowList &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getParentList__WindowList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgWidget::XYCoord, localXY, IN, double, x, IN, double, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__localXY__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getAbsoluteOrigin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getAbsoluteOrigin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window::EmbeddedWindow *, embed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EmbeddedWindow_P1__embed,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget *, getFocused,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Widget_P1__getFocused,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Widget *, getFocused,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Widget_P1__getFocused,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, show,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__show,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, hide,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hide,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, isPointerXYWithinVisible, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerXYWithinVisible__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geode *, getGeode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geode_P1__getGeode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geode *, getGeode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Geode_P1__getGeode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Widget *, getBackground,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Widget_P1__getBackground,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Widget *, getBackground,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Widget_P1__getBackground,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::WindowManager *, getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__WindowManager_P1__getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::WindowManager *, getWindowManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_WindowManager_P1__getWindowManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Window_P1__getParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Window *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Window_P1__getParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window *, getTopmostParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Window_P1__getTopmostParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Window *, getTopmostParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Window_P1__getTopmostParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getIndex,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getIndex,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getX,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getX,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getY,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getZ,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getZ,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getMinWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getMinWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getMinHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getMinHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window::VERTICAL_ANCHOR, getAnchorVertical,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VERTICAL_ANCHOR__getAnchorVertical,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window::HORIZONTAL_ANCHOR, getAnchorHorizontal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HORIZONTAL_ANCHOR__getAnchorHorizontal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getOrigin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getOrigin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::XYCoord, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__XYCoord__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getZRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getZRange,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window::STRATA, getStrata,
|
||||
Properties::NON_VIRTUAL,
|
||||
__STRATA__getStrata,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Quad &, getVisibleArea,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quad_R1__getVisibleArea,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window::VISIBILITY_MODE, getVisibilityMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VISIBILITY_MODE__getVisibilityMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Point, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Point__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getRotate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getRotate,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::matrix_type, getScaleDenominator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__matrix_type__getScaleDenominator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setX, IN, osgWidget::matrix_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setX__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setY, IN, osgWidget::matrix_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setY__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setPosition, IN, osgWidget::matrix_type, x, IN, osgWidget::matrix_type, y, IN, osgWidget::matrix_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__matrix_type__matrix_type__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osgWidget::Point &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_Point_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setOrigin, IN, osgWidget::matrix_type, x, IN, osgWidget::matrix_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrigin__matrix_type__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotate, IN, osgWidget::matrix_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotate__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, osgWidget::matrix_type, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScaleDenominator, IN, osgWidget::matrix_type, sd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleDenominator__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnchorVertical, IN, osgWidget::Window::VERTICAL_ANCHOR, va,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnchorVertical__VERTICAL_ANCHOR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnchorHorizontal, IN, osgWidget::Window::HORIZONTAL_ANCHOR, ha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnchorHorizontal__HORIZONTAL_ANCHOR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStrata, IN, osgWidget::Window::STRATA, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStrata__STRATA,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityMode, IN, osgWidget::Window::VISIBILITY_MODE, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityMode__VISIBILITY_MODE,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addX, IN, osgWidget::matrix_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addX__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addY, IN, osgWidget::matrix_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addY__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addZ, IN, osgWidget::matrix_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addZ__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addRotate, IN, osgWidget::matrix_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addRotate__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addScale, IN, osgWidget::matrix_type, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addScale__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addOrigin, IN, osgWidget::matrix_type, x, IN, osgWidget::matrix_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addOrigin__matrix_type__matrix_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, attachMoveCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachMoveCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, attachRotateCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachRotateCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, attachScaleCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachScaleCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, attachTabFocusCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachTabFocusCallback,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _setWidthAndHeightUnknownSizeError, IN, const std::string &, x, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setWidthAndHeightUnknownSizeError__C5_std_string_R1__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _setWidthAndHeightNotPAError, IN, const std::string &, x, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setWidthAndHeightNotPAError__C5_std_string_R1__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, _setWidthAndHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setWidthAndHeight,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, _removeFromGeode, IN, osgWidget::Widget *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___removeFromGeode__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Widget *, _getBackground,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Widget_P1___getBackground,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window *, _getTopmostParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Window_P1___getTopmostParent,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osg::Geode *, _geode,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__osg_Geode_P1___geode,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osg::Geode *, _geode,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_osg_Geode_P1___geode,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Widget *, _bg,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__Widget_P1___bg,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(const osgWidget::Widget *, _bg,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__C5_Widget_P1___bg,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osg::Scissor *, _scissor,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__osg_Scissor_P1___scissor,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults2(bool, _setWidget, IN, osgWidget::Widget *, x, , IN, int, x, -1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__bool___setWidget__Widget_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(bool, _setVisible, IN, bool, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__bool___setVisible__bool,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, _setFocused, IN, osgWidget::Widget *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setFocused__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, _setStyled, IN, osgWidget::Widget *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setStyled__Widget_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults2(void, _setParented, IN, osgWidget::Widget *, x, , IN, bool, x, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setParented__Widget_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults2(void, _setManaged, IN, osgWidget::Widget *, x, , IN, bool, x, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___setManaged__Widget_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod3(void, _positionWidget, IN, osgWidget::Widget *, x, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___positionWidget__Widget_P1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetWidth__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetHeight__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetWidth__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetHeight__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetMinWidth__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetMinHeight__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinWidth, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetMinWidth__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinHeight, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetMinHeight__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetWidthTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetHeightTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetWidthTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetHeightTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetMinWidthTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetMinHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetMinHeightTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinWidthTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetMinWidthTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetMinHeightTotal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetMinHeightTotal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetPadHorizontal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetPadHorizontal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMinWidgetPadVertical, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMinWidgetPadVertical__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetPadHorizontal, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetPadHorizontal__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getMaxWidgetPadVertical, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getMaxWidgetPadVertical__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethodWithDefaults3(osgWidget::point_type, _getNumFill, IN, int, x, 0, IN, int, x, 0, IN, int, x, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__point_type___getNumFill__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, _resizeImplementation, IN, osgWidget::point_type, x, IN, osgWidget::point_type, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void___resizeImplementation__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window::Sizes, _getWidthImplementation,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Sizes___getWidthImplementation,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgWidget::Window::Sizes, _getHeightImplementation,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__Sizes___getHeightImplementation,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::XYCoord, AbsoluteOrigin,
|
||||
__XYCoord__getAbsoluteOrigin,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Window::HORIZONTAL_ANCHOR, AnchorHorizontal,
|
||||
__HORIZONTAL_ANCHOR__getAnchorHorizontal,
|
||||
__void__setAnchorHorizontal__HORIZONTAL_ANCHOR);
|
||||
I_SimpleProperty(osgWidget::Window::VERTICAL_ANCHOR, AnchorVertical,
|
||||
__VERTICAL_ANCHOR__getAnchorVertical,
|
||||
__void__setAnchorVertical__VERTICAL_ANCHOR);
|
||||
I_SimpleProperty(osgWidget::Widget *, Background,
|
||||
__Widget_P1__getBackground,
|
||||
0);
|
||||
I_SimpleProperty(const osgWidget::Widget *, Focused,
|
||||
__C5_Widget_P1__getFocused,
|
||||
__bool__setFocused__C5_Widget_P1);
|
||||
I_SimpleProperty(osg::Geode *, Geode,
|
||||
__osg_Geode_P1__getGeode,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, Height,
|
||||
__point_type__getHeight,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, Index,
|
||||
__unsigned_int__getIndex,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, MinHeight,
|
||||
__point_type__getMinHeight,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::XYCoord, MinSize,
|
||||
__XYCoord__getMinSize,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, MinWidth,
|
||||
__point_type__getMinWidth,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::XYCoord, Origin,
|
||||
__XYCoord__getOrigin,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Window *, Parent,
|
||||
__Window_P1__getParent,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Point, Position,
|
||||
__Point__getPosition,
|
||||
__void__setPosition__C5_Point_R1);
|
||||
I_SimpleProperty(osgWidget::matrix_type, Rotate,
|
||||
__matrix_type__getRotate,
|
||||
__void__setRotate__matrix_type);
|
||||
I_SimpleProperty(osgWidget::matrix_type, Scale,
|
||||
__matrix_type__getScale,
|
||||
__void__setScale__matrix_type);
|
||||
I_SimpleProperty(osgWidget::matrix_type, ScaleDenominator,
|
||||
__matrix_type__getScaleDenominator,
|
||||
__void__setScaleDenominator__matrix_type);
|
||||
I_SimpleProperty(osgWidget::XYCoord, Size,
|
||||
__XYCoord__getSize,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Window::STRATA, Strata,
|
||||
__STRATA__getStrata,
|
||||
__void__setStrata__STRATA);
|
||||
I_SimpleProperty(osgWidget::Window *, TopmostParent,
|
||||
__Window_P1__getTopmostParent,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::Window::VISIBILITY_MODE, VisibilityMode,
|
||||
__VISIBILITY_MODE__getVisibilityMode,
|
||||
__void__setVisibilityMode__VISIBILITY_MODE);
|
||||
I_SimpleProperty(const osgWidget::Quad &, VisibleArea,
|
||||
__C5_Quad_R1__getVisibleArea,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::point_type, Width,
|
||||
__point_type__getWidth,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::WindowManager *, WindowManager,
|
||||
__WindowManager_P1__getWindowManager,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::matrix_type, X,
|
||||
__matrix_type__getX,
|
||||
__void__setX__matrix_type);
|
||||
I_SimpleProperty(osgWidget::matrix_type, Y,
|
||||
__matrix_type__getY,
|
||||
__void__setY__matrix_type);
|
||||
I_SimpleProperty(osgWidget::matrix_type, Z,
|
||||
__matrix_type__getZ,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::matrix_type, ZRange,
|
||||
__matrix_type__getZRange,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::Window::EmbeddedWindow)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_BaseType(osgWidget::Widget);
|
||||
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. ");
|
||||
I_Method1(, META_UIObject, IN, osgWidget::Window::EmbeddedWindow, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_UIObject__EmbeddedWindow,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, const std::string &, x, "", IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f,
|
||||
____EmbeddedWindow__C5_std_string_R1__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::Window::EmbeddedWindow &, x, IN, const osg::CopyOp &, x,
|
||||
____EmbeddedWindow__C5_EmbeddedWindow_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, parented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__parented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unparented, IN, osgWidget::Window *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__unparented__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, managed, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__managed__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unmanaged, IN, osgWidget::WindowManager *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__unmanaged__WindowManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, positioned,
|
||||
Properties::VIRTUAL,
|
||||
__void__positioned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setWindow, IN, osgWidget::Window *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setWindow__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window *, getWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Window_P1__getWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::Window *, getWindow,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Window_P1__getWindow,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Window *, Window,
|
||||
__Window_P1__getWindow,
|
||||
__bool__setWindow__Window_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::Window::Sizes)
|
||||
I_DeclaringFile("osgWidget/Window");
|
||||
I_ConstructorWithDefaults2(IN, osgWidget::point_type, c, -1.0f, IN, osgWidget::point_type, m, -1.0f,
|
||||
____Sizes__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osgWidget::point_type, cur);
|
||||
I_PublicMemberProperty(osgWidget::point_type, min);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgWidget::Window::WindowList, osgWidget::WindowList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osgWidget::Window >)
|
||||
I_DeclaringFile("osg/observer_ptr");
|
||||
I_BaseType(osg::Observer);
|
||||
I_Constructor0(____observer_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgWidget::Window *, t,
|
||||
Properties::NON_EXPLICIT,
|
||||
____observer_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::observer_ptr< osgWidget::Window > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____observer_ptr__C5_observer_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, objectDeleted, IN, void *, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__objectDeleted__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::Window *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Window *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::observer_ptr< osgWidget::Window > >)
|
||||
|
||||
400
src/osgWrappers/osgWidget/WindowManager.cpp
Normal file
400
src/osgWrappers/osgWidget/WindowManager.cpp
Normal file
@@ -0,0 +1,400 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgViewer/View>
|
||||
#include <osgWidget/EventInterface>
|
||||
#include <osgWidget/ScriptEngine>
|
||||
#include <osgWidget/StyleManager>
|
||||
#include <osgWidget/Types>
|
||||
#include <osgWidget/Widget>
|
||||
#include <osgWidget/Window>
|
||||
#include <osgWidget/WindowManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::WM_FLAGS)
|
||||
I_DeclaringFile("osgWidget/WindowManager");
|
||||
I_EnumLabel(osgWidget::WindowManager::WM_USE_LUA);
|
||||
I_EnumLabel(osgWidget::WindowManager::WM_USE_PYTHON);
|
||||
I_EnumLabel(osgWidget::WindowManager::WM_PICK_DEBUG);
|
||||
I_EnumLabel(osgWidget::WindowManager::WM_NO_INVERT_Y);
|
||||
I_EnumLabel(osgWidget::WindowManager::WM_NO_BETA_WARN);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::POINTER_DIRECTION)
|
||||
I_DeclaringFile("osgWidget/WindowManager");
|
||||
I_EnumLabel(osgWidget::WindowManager::PD_NONE);
|
||||
I_EnumLabel(osgWidget::WindowManager::PD_LEFT);
|
||||
I_EnumLabel(osgWidget::WindowManager::PD_RIGHT);
|
||||
I_EnumLabel(osgWidget::WindowManager::PD_UP);
|
||||
I_EnumLabel(osgWidget::WindowManager::PD_DOWN);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::WindowManager::POINTER_FOCUS_MODE)
|
||||
I_DeclaringFile("osgWidget/WindowManager");
|
||||
I_EnumLabel(osgWidget::WindowManager::PFM_FOCUS);
|
||||
I_EnumLabel(osgWidget::WindowManager::PFM_UNFOCUS);
|
||||
I_EnumLabel(osgWidget::WindowManager::PFM_SLOPPY);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::WindowManager)
|
||||
I_DeclaringFile("osgWidget/WindowManager");
|
||||
I_BaseType(osg::Switch);
|
||||
I_BaseType(osgWidget::UIObjectParent);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults5(IN, osgViewer::View *, x, 0, IN, osgWidget::point_type, x, 0.0f, IN, osgWidget::point_type, x, 0.0f, IN, unsigned, int, 0, IN, unsigned, int, 0,
|
||||
____WindowManager__osgViewer_View_P1__point_type__point_type__unsigned__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgWidget::WindowManager &, x, IN, const osg::CopyOp &, x,
|
||||
____WindowManager__C5_WindowManager_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, pickAtXY, IN, float, x, IN, float, x, IN, osgWidget::WidgetList &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__pickAtXY__float__float__WidgetList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setFocused, IN, osgWidget::Window *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setFocused__Window_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPointerXY, IN, float, x, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointerXY__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStyleManager, IN, osgWidget::StyleManager *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStyleManager__StyleManager_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, resizeAllWindows, IN, bool, x, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__resizeAllWindows__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, pointerMove, IN, float, x, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__pointerMove__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, pointerDrag, IN, float, x, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__pointerDrag__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mouseScroll, IN, float, x, IN, float, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseScroll__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, createParentOrthoCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__createParentOrthoCamera,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNodeMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNodeMask,
|
||||
"Get the node Mask. ",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::point_type, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__point_type__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isUsingLua,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isUsingLua,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isUsingPython,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isUsingPython,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isInvertedY,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isInvertedY,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getMouseKeysDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getMouseKeysDown,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::ScriptEngine *, getLuaEngine,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScriptEngine_P1__getLuaEngine,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::ScriptEngine *, getLuaEngine,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScriptEngine_P1__getLuaEngine,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::ScriptEngine *, getPythonEngine,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScriptEngine_P1__getPythonEngine,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::ScriptEngine *, getPythonEngine,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScriptEngine_P1__getPythonEngine,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::StyleManager *, getStyleManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__StyleManager_P1__getStyleManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgWidget::StyleManager *, getStyleManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_StyleManager_P1__getStyleManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::WindowManager::POINTER_DIRECTION, getPointerVerticalDirection,
|
||||
Properties::NON_VIRTUAL,
|
||||
__POINTER_DIRECTION__getPointerVerticalDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::WindowManager::POINTER_DIRECTION, getPointerHorizontalDirection,
|
||||
Properties::NON_VIRTUAL,
|
||||
__POINTER_DIRECTION__getPointerHorizontalDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgWidget::WindowManager::POINTER_FOCUS_MODE, getPointerFocusMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__POINTER_FOCUS_MODE__getPointerFocusMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getPointerDirectionVector,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPointerDirectionVector,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointerMovingUp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerMovingUp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointerMovingDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerMovingDown,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointerMovingLeft,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerMovingLeft,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointerMovingRight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerMovingRight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointerMovingVertically,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerMovingVertically,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointerMovingHorizontally,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointerMovingHorizontally,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLeftMouseButtonDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isLeftMouseButtonDown,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMiddleMouseButtonDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isMiddleMouseButtonDown,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRightMouseButtonDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRightMouseButtonDown,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMouseScrollingUp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isMouseScrollingUp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMouseScrollingDown,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isMouseScrollingDown,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setFocusedByName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setFocusedByName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScrollingMotion, IN, osgGA::GUIEventAdapter::ScrollingMotion, sm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScrollingMotion__osgGA_GUIEventAdapter_ScrollingMotion,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPointerFocusMode, IN, osgWidget::WindowManager::POINTER_FOCUS_MODE, pfm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointerFocusMode__POINTER_FOCUS_MODE,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, osgWidget::point_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, osgWidget::point_type, w, IN, osgWidget::point_type, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__point_type__point_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mousePushedLeft, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mousePushedLeft__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mousePushedMiddle, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mousePushedMiddle__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mousePushedRight, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mousePushedRight__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mouseReleasedLeft, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseReleasedLeft__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mouseReleasedMiddle, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseReleasedMiddle__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, mouseReleasedRight, IN, float, x, IN, float, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__mouseReleasedRight__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, keyDown, IN, int, x, IN, int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__keyDown__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, keyUp, IN, int, x, IN, int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__keyUp__int__int,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, setEventFromInterface, IN, osgWidget::Event &, x, IN, osgWidget::EventInterface *, x,
|
||||
__void__setEventFromInterface__Event_R1__EventInterface_P1_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgWidget::Window *, Focused,
|
||||
0,
|
||||
__bool__setFocused__Window_P1);
|
||||
I_SimpleProperty(const std::string &, FocusedByName,
|
||||
0,
|
||||
__bool__setFocusedByName__C5_std_string_R1);
|
||||
I_SimpleProperty(osgWidget::point_type, Height,
|
||||
__point_type__getHeight,
|
||||
__void__setHeight__point_type);
|
||||
I_SimpleProperty(osgWidget::ScriptEngine *, LuaEngine,
|
||||
__ScriptEngine_P1__getLuaEngine,
|
||||
0);
|
||||
I_SimpleProperty(int, MouseKeysDown,
|
||||
__int__getMouseKeysDown,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, NodeMask,
|
||||
__unsigned_int__getNodeMask,
|
||||
0);
|
||||
I_SimpleProperty(int, PointerDirectionVector,
|
||||
__int__getPointerDirectionVector,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::WindowManager::POINTER_FOCUS_MODE, PointerFocusMode,
|
||||
__POINTER_FOCUS_MODE__getPointerFocusMode,
|
||||
__void__setPointerFocusMode__POINTER_FOCUS_MODE);
|
||||
I_SimpleProperty(osgWidget::WindowManager::POINTER_DIRECTION, PointerHorizontalDirection,
|
||||
__POINTER_DIRECTION__getPointerHorizontalDirection,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::WindowManager::POINTER_DIRECTION, PointerVerticalDirection,
|
||||
__POINTER_DIRECTION__getPointerVerticalDirection,
|
||||
0);
|
||||
I_SimpleProperty(osgWidget::ScriptEngine *, PythonEngine,
|
||||
__ScriptEngine_P1__getPythonEngine,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::GUIEventAdapter::ScrollingMotion, ScrollingMotion,
|
||||
0,
|
||||
__void__setScrollingMotion__osgGA_GUIEventAdapter_ScrollingMotion);
|
||||
I_SimpleProperty(osgWidget::StyleManager *, StyleManager,
|
||||
__StyleManager_P1__getStyleManager,
|
||||
__void__setStyleManager__StyleManager_P1);
|
||||
I_SimpleProperty(osgWidget::point_type, Width,
|
||||
__point_type__getWidth,
|
||||
__void__setWidth__point_type);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgUtil::LineSegmentIntersector::Intersections, osgWidget::Intersections)
|
||||
|
||||
Reference in New Issue
Block a user