Updated wrappers

This commit is contained in:
Robert Osfield 2007-08-16 15:29:50 +00:00
parent 2f41234793
commit 3c82058c68
4 changed files with 41 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class OSGTERRAIN_EXPORT GeometryTechnique : public TerrainTechnique
virtual Locator* computeMasterLocator();
virtual const osg::Vec3d computeCenterModel(Locator* masterLocator);
virtual osg::Vec3d computeCenterModel(Locator* masterLocator);
virtual void generateGeometry(Locator* masterLocator, const osg::Vec3d& centerModel);

View File

@ -11,6 +11,8 @@
* OpenSceneGraph Public License for more details.
*/
#include <stdlib.h>
#include <osgShadow/SoftShadowMap>
#include <osgShadow/ShadowedScene>
#include <osg/Notify>

View File

@ -143,7 +143,7 @@ Locator* GeometryTechnique::computeMasterLocator()
return masterLocator;
}
const osg::Vec3d GeometryTechnique::computeCenterModel(Locator* masterLocator)
osg::Vec3d GeometryTechnique::computeCenterModel(Locator* masterLocator)
{
BufferData& buffer = getWriteBuffer();

View File

@ -13,7 +13,9 @@
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Uniform>
#include <osg/Vec3d>
#include <osgTerrain/GeometryTechnique>
#include <osgTerrain/Locator>
#include <osgUtil/CullVisitor>
#include <osgUtil/UpdateVisitor>
@ -47,6 +49,41 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique)
__void__init,
"",
"");
I_Method0(osgTerrain::Locator *, computeMasterLocator,
Properties::VIRTUAL,
__Locator_P1__computeMasterLocator,
"",
"");
I_Method1(osg::Vec3d, computeCenterModel, IN, osgTerrain::Locator *, masterLocator,
Properties::VIRTUAL,
__osg_Vec3d__computeCenterModel__Locator_P1,
"",
"");
I_Method2(void, generateGeometry, IN, osgTerrain::Locator *, masterLocator, IN, const osg::Vec3d &, centerModel,
Properties::VIRTUAL,
__void__generateGeometry__Locator_P1__C5_osg_Vec3d_R1,
"",
"");
I_Method0(void, applyColorLayers,
Properties::VIRTUAL,
__void__applyColorLayers,
"",
"");
I_Method0(void, applyTransferFunctions,
Properties::VIRTUAL,
__void__applyTransferFunctions,
"",
"");
I_Method0(void, applyTransparency,
Properties::VIRTUAL,
__void__applyTransparency,
"",
"");
I_Method0(void, smoothGeometry,
Properties::VIRTUAL,
__void__smoothGeometry,
"",
"");
I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv,
Properties::VIRTUAL,
__void__update__osgUtil_UpdateVisitor_P1,