widget.cpp
来自「最新osg包」· C++ 代码 · 共 979 行 · 第 1/3 页
CPP
979 行
// ***************************************************************************//// 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#endifBEGIN_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_REFLECTORBEGIN_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_REFLECTORBEGIN_ENUM_REFLECTOR(osgWidget::Widget::Corner) 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_CORNERS);END_REFLECTORBEGIN_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_REFLECTORBEGIN_ENUM_REFLECTOR(osgWidget::Widget::VerticalAlignment) I_DeclaringFile("osgWidget/Widget"); I_EnumLabel(osgWidget::Widget::VA_CENTER); I_EnumLabel(osgWidget::Widget::VA_TOP); I_EnumLabel(osgWidget::Widget::VA_BOTTOM);END_REFLECTORBEGIN_ENUM_REFLECTOR(osgWidget::Widget::HorizontalAlignment) I_DeclaringFile("osgWidget/Widget"); I_EnumLabel(osgWidget::Widget::HA_CENTER); I_EnumLabel(osgWidget::Widget::HA_LEFT); I_EnumLabel(osgWidget::Widget::HA_RIGHT);END_REFLECTORBEGIN_ENUM_REFLECTOR(osgWidget::Widget::CoordinateMode) I_DeclaringFile("osgWidget/Widget"); I_EnumLabel(osgWidget::Widget::CM_ABSOLUTE); I_EnumLabel(osgWidget::Widget::CM_RELATIVE);END_REFLECTORBEGIN_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(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,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?