diff --git a/src/osgWrappers/osgDB/DatabasePager.cpp b/src/osgWrappers/osgDB/DatabasePager.cpp index f77235bea..718cbbe6e 100644 --- a/src/osgWrappers/osgDB/DatabasePager.cpp +++ b/src/osgWrappers/osgDB/DatabasePager.cpp @@ -59,6 +59,16 @@ BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager) I_Constructor0(____DatabasePager, "", ""); + I_Constructor1(IN, const osgDB::DatabasePager &, rhs, + Properties::NON_EXPLICIT, + ____DatabasePager__C5_DatabasePager_R1, + "", + ""); + I_Method0(osgDB::DatabasePager *, clone, + Properties::VIRTUAL, + __DatabasePager_P1__clone, + "Create a shallow copy on the DatabasePager. ", + ""); I_Method4(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp, Properties::VIRTUAL, __void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_osg_FrameStamp_P1, @@ -299,6 +309,14 @@ BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager) __unsigned_int__getDataToCompileListSize, "Report how many items are in the _dataToCompileList queue. ", ""); + I_StaticMethod0(osg::ref_ptr< osgDB::DatabasePager > &, prototype, + __osg_ref_ptrT1_DatabasePager__R1__prototype_S, + "get the prototype singleton used by DatabasePager::create(). ", + ""); + I_StaticMethod0(osgDB::DatabasePager *, create, + __DatabasePager_P1__create_S, + "create a DatabasePager by cloning DatabasePager::prototype(). ", + ""); I_ProtectedMethod0(void, updateDatabasePagerThreadBlock, Properties::NON_VIRTUAL, Properties::NON_CONST, @@ -455,6 +473,46 @@ BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PagedLOD >) 0); END_REFLECTOR +BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgDB::DatabasePager >) + I_DeclaringFile("osg/ref_ptr"); + I_Constructor0(____ref_ptr, + "", + ""); + I_Constructor1(IN, osgDB::DatabasePager *, ptr, + Properties::NON_EXPLICIT, + ____ref_ptr__T_P1, + "", + ""); + I_Constructor1(IN, const osg::ref_ptr< osgDB::DatabasePager > &, rp, + Properties::NON_EXPLICIT, + ____ref_ptr__C5_ref_ptr_R1, + "", + ""); + I_Method0(osgDB::DatabasePager *, get, + Properties::NON_VIRTUAL, + __T_P1__get, + "", + ""); + I_Method0(bool, valid, + Properties::NON_VIRTUAL, + __bool__valid, + "", + ""); + I_Method0(osgDB::DatabasePager *, release, + Properties::NON_VIRTUAL, + __T_P1__release, + "", + ""); + I_Method1(void, swap, IN, osg::ref_ptr< osgDB::DatabasePager > &, rp, + Properties::NON_VIRTUAL, + __void__swap__ref_ptr_R1, + "", + ""); + I_SimpleProperty(osgDB::DatabasePager *, , + __T_P1__get, + 0); +END_REFLECTOR + STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::PagedLOD > >) STD_MAP_REFLECTOR(std::map< unsigned int COMMA osgDB::DatabasePager::DataToCompile >) diff --git a/src/osgWrappers/osgUtil/CullVisitor.cpp b/src/osgWrappers/osgUtil/CullVisitor.cpp index 987a2f12b..031af8726 100644 --- a/src/osgWrappers/osgUtil/CullVisitor.cpp +++ b/src/osgWrappers/osgUtil/CullVisitor.cpp @@ -57,10 +57,15 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor) I_Constructor0(____CullVisitor, "", ""); - I_Method0(osgUtil::CullVisitor *, cloneType, + I_Constructor1(IN, const osgUtil::CullVisitor &, x, + Properties::NON_EXPLICIT, + ____CullVisitor__C5_CullVisitor_R1, + "Copy constructor that does a shallow copy. ", + ""); + I_Method0(osgUtil::CullVisitor *, clone, Properties::VIRTUAL, - __CullVisitor_P1__cloneType, - "", + __CullVisitor_P1__clone, + "Create a shallow copy on the CullVisitor. ", ""); I_Method0(void, reset, Properties::VIRTUAL, @@ -327,6 +332,14 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor) __C5_osg_RenderInfo_R1__getRenderInfo, "", ""); + I_StaticMethod0(osg::ref_ptr< osgUtil::CullVisitor > &, prototype, + __osg_ref_ptrT1_CullVisitor__R1__prototype_S, + "get the prototype singleton used by CullVisitor::create(). ", + ""); + I_StaticMethod0(osgUtil::CullVisitor *, create, + __CullVisitor_P1__create_S, + "create a CullVisitor by cloning CullVisitor::prototype(). ", + ""); I_ProtectedMethod1(void, handle_cull_callbacks_and_traverse, IN, osg::Node &, node, Properties::NON_VIRTUAL, Properties::NON_CONST, @@ -383,3 +396,43 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor) 0); END_REFLECTOR +BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::CullVisitor >) + I_DeclaringFile("osg/ref_ptr"); + I_Constructor0(____ref_ptr, + "", + ""); + I_Constructor1(IN, osgUtil::CullVisitor *, ptr, + Properties::NON_EXPLICIT, + ____ref_ptr__T_P1, + "", + ""); + I_Constructor1(IN, const osg::ref_ptr< osgUtil::CullVisitor > &, rp, + Properties::NON_EXPLICIT, + ____ref_ptr__C5_ref_ptr_R1, + "", + ""); + I_Method0(osgUtil::CullVisitor *, get, + Properties::NON_VIRTUAL, + __T_P1__get, + "", + ""); + I_Method0(bool, valid, + Properties::NON_VIRTUAL, + __bool__valid, + "", + ""); + I_Method0(osgUtil::CullVisitor *, release, + Properties::NON_VIRTUAL, + __T_P1__release, + "", + ""); + I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::CullVisitor > &, rp, + Properties::NON_VIRTUAL, + __void__swap__ref_ptr_R1, + "", + ""); + I_SimpleProperty(osgUtil::CullVisitor *, , + __T_P1__get, + 0); +END_REFLECTOR +