Added GeometryTechinque to osgTerrain. Added usage of GeometryTechnique into osgterrain example

Added --width and --height command line options to osgdistortion to allow users
to control the window size.
This commit is contained in:
Robert Osfield
2007-03-21 16:34:04 +00:00
parent 2b52de5e9c
commit 541c3f13e9
19 changed files with 386 additions and 53 deletions

View File

@@ -0,0 +1,61 @@
// ***************************************************************************
//
// 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 <osgTerrain/GeometryTechnique>
#include <osgUtil/CullVisitor>
#include <osgUtil/UpdateVisitor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgTerrain::GeometryTechnique)
I_BaseType(osgTerrain::TerrainTechnique);
I_Constructor0(____GeometryTechnique,
"",
"");
I_ConstructorWithDefaults2(IN, const osgTerrain::GeometryTechnique &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____GeometryTechnique__C5_GeometryTechnique_R1__C5_osg_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(void, initialize,
Properties::VIRTUAL,
__void__initialize,
"",
"");
I_Method1(void, update, IN, osgUtil::UpdateVisitor *, nv,
Properties::VIRTUAL,
__void__update__osgUtil_UpdateVisitor_P1,
"",
"");
I_Method1(void, cull, IN, osgUtil::CullVisitor *, nv,
Properties::VIRTUAL,
__void__cull__osgUtil_CullVisitor_P1,
"",
"");
I_Method0(void, cleanSceneGraph,
Properties::VIRTUAL,
__void__cleanSceneGraph,
"Clean scene graph from any terrain technique specific nodes. ",
"");
I_Method0(void, dirty,
Properties::VIRTUAL,
__void__dirty,
"Dirty so that cached data structurese are updated. ",
"");
END_REFLECTOR