Updated wrappers

This commit is contained in:
Robert Osfield
2007-12-21 15:04:56 +00:00
parent b052e18f6e
commit 6b59b1739f
7 changed files with 988 additions and 0 deletions

View File

@@ -0,0 +1,161 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingSphere>
#include <osg/Camera>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/OcclusionQueryNode>
#include <osg/StateSet>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::OcclusionQueryNode)
I_DeclaringFile("osg/OcclusionQueryNode");
I_BaseType(osg::Group);
I_Constructor0(____OcclusionQueryNode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::OcclusionQueryNode &, oqn, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____OcclusionQueryNode__C5_OcclusionQueryNode_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"clone an object of the same type as the node. ",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"return a clone of a node, with Object* return type. ",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"return true if this and obj are of the same kind of object. ",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the node's class type. ",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the node's library. ",
"");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osg_NodeVisitor_R1,
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__osg_BoundingSphere__computeBound,
"Compute the bounding sphere around Node's geometry or children. ",
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
I_MethodWithDefaults1(void, setQueriesEnabled, IN, bool, enable, true,
Properties::NON_VIRTUAL,
__void__setQueriesEnabled__bool,
"",
"");
I_Method0(bool, getQueriesEnabled,
Properties::NON_VIRTUAL,
__bool__getQueriesEnabled,
"",
"");
I_Method1(void, setVisibilityThreshold, IN, unsigned int, pixels,
Properties::NON_VIRTUAL,
__void__setVisibilityThreshold__unsigned_int,
"",
"");
I_Method0(unsigned int, getVisibilityThreshold,
Properties::NON_VIRTUAL,
__unsigned_int__getVisibilityThreshold,
"",
"");
I_Method1(void, setQueryFrameCount, IN, int, frames,
Properties::NON_VIRTUAL,
__void__setQueryFrameCount__int,
"",
"");
I_Method0(int, getQueryFrameCount,
Properties::NON_VIRTUAL,
__int__getQueryFrameCount,
"",
"");
I_Method1(void, setDebugDisplay, IN, bool, enable,
Properties::NON_VIRTUAL,
__void__setDebugDisplay__bool,
"",
"");
I_Method0(bool, getDebugDisplay,
Properties::NON_VIRTUAL,
__bool__getDebugDisplay,
"",
"");
I_Method2(void, setQueryStateSets, IN, osg::StateSet *, ss, IN, osg::StateSet *, ssDebug,
Properties::NON_VIRTUAL,
__void__setQueryStateSets__osg_StateSet_P1__osg_StateSet_P1,
"",
"");
I_Method0(bool, getPassed,
Properties::NON_VIRTUAL,
__bool__getPassed,
"",
"");
I_Method2(bool, getPassed, IN, const osg::Camera *, camera, IN, float, distanceToEyePoint,
Properties::NON_VIRTUAL,
__bool__getPassed__C5_osg_Camera_P1__float,
"",
"");
I_Method2(void, traverseQuery, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv,
Properties::NON_VIRTUAL,
__void__traverseQuery__C5_osg_Camera_P1__osg_NodeVisitor_R1,
"",
"");
I_Method1(void, traverseDebug, IN, osg::NodeVisitor &, nv,
Properties::NON_VIRTUAL,
__void__traverseDebug__osg_NodeVisitor_R1,
"",
"");
I_ProtectedMethod0(void, createSupportNodes,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__createSupportNodes,
"",
"");
I_SimpleProperty(bool, DebugDisplay,
__bool__getDebugDisplay,
__void__setDebugDisplay__bool);
I_SimpleProperty(bool, Passed,
__bool__getPassed,
0);
I_SimpleProperty(bool, QueriesEnabled,
__bool__getQueriesEnabled,
__void__setQueriesEnabled__bool);
I_SimpleProperty(int, QueryFrameCount,
__int__getQueryFrameCount,
__void__setQueryFrameCount__int);
I_SimpleProperty(unsigned int, VisibilityThreshold,
__unsigned_int__getVisibilityThreshold,
__void__setVisibilityThreshold__unsigned_int);
END_REFLECTOR