diff --git a/src/osgWrappers/OpenThreads/Block.cpp b/src/osgWrappers/OpenThreads/Block.cpp index ae8233056..0d372a001 100644 --- a/src/osgWrappers/OpenThreads/Block.cpp +++ b/src/osgWrappers/OpenThreads/Block.cpp @@ -52,3 +52,53 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::Block) ""); END_REFLECTOR +BEGIN_VALUE_REFLECTOR(OpenThreads::BlockCount) + I_DeclaringFile("OpenThreads/Block"); + I_Constructor1(IN, unsigned int, blockCount, + Properties::NON_EXPLICIT, + ____BlockCount__unsigned_int, + "", + ""); + I_Method0(void, completed, + Properties::NON_VIRTUAL, + __void__completed, + "", + ""); + I_Method0(void, block, + Properties::NON_VIRTUAL, + __void__block, + "", + ""); + I_Method0(void, reset, + Properties::NON_VIRTUAL, + __void__reset, + "", + ""); + I_Method0(void, release, + Properties::NON_VIRTUAL, + __void__release, + "", + ""); + I_Method1(void, setBlockCount, IN, unsigned int, blockCount, + Properties::NON_VIRTUAL, + __void__setBlockCount__unsigned_int, + "", + ""); + I_Method0(unsigned int, getBlockCount, + Properties::NON_VIRTUAL, + __unsigned_int__getBlockCount, + "", + ""); + I_Method0(unsigned int, getCurrentCount, + Properties::NON_VIRTUAL, + __unsigned_int__getCurrentCount, + "", + ""); + I_SimpleProperty(unsigned int, BlockCount, + __unsigned_int__getBlockCount, + __void__setBlockCount__unsigned_int); + I_SimpleProperty(unsigned int, CurrentCount, + __unsigned_int__getCurrentCount, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/osg/OperationThread.cpp b/src/osgWrappers/osg/OperationThread.cpp index 0ac0237a8..95c2bf835 100644 --- a/src/osgWrappers/osg/OperationThread.cpp +++ b/src/osgWrappers/osg/OperationThread.cpp @@ -236,6 +236,17 @@ BEGIN_OBJECT_REFLECTOR(osg::RefBlock) ""); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osg::RefBlockCount) + I_DeclaringFile("osg/OperationThread"); + I_VirtualBaseType(osg::Referenced); + I_BaseType(OpenThreads::BlockCount); + I_Constructor1(IN, unsigned, blockCount, + Properties::NON_EXPLICIT, + ____RefBlockCount__unsigned, + "", + ""); +END_REFLECTOR + TYPE_NAME_ALIAS(osg::OperationThread, osg::OperationsThread) STD_SET_REFLECTOR(std::set< osg::OperationThread * >) diff --git a/src/osgWrappers/osgTerrain/GeometryTechnique.cpp b/src/osgWrappers/osgTerrain/GeometryTechnique.cpp index 5ba747096..ae8c9b8b9 100644 --- a/src/osgWrappers/osgTerrain/GeometryTechnique.cpp +++ b/src/osgWrappers/osgTerrain/GeometryTechnique.cpp @@ -11,6 +11,7 @@ #include #include +#include #include #include #include @@ -56,6 +57,11 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique) __void__cull__osgUtil_CullVisitor_P1, "", ""); + I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, + Properties::VIRTUAL, + __void__traverse__osg_NodeVisitor_R1, + "Traverse the terain subgraph. ", + ""); I_Method0(void, cleanSceneGraph, Properties::VIRTUAL, __void__cleanSceneGraph,