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

@@ -25,6 +25,7 @@
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/OccluderNode>
#include <osg/OcclusionQueryNode>
#include <osg/PagedLOD>
#include <osg/PositionAttitudeTransform>
#include <osg/Projection>
@@ -322,6 +323,11 @@ BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor)
__void__apply__OccluderNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::OcclusionQueryNode &, node,
Properties::VIRTUAL,
__void__apply__OcclusionQueryNode_R1,
"",
"");
I_Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler,
Properties::NON_VIRTUAL,
__void__setDatabaseRequestHandler__DatabaseRequestHandler_P1,

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

View File

@@ -0,0 +1,22 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgUtil/ConvertVec>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

View File

@@ -25,6 +25,7 @@
#include <osg/Matrixf>
#include <osg/Node>
#include <osg/OccluderNode>
#include <osg/OcclusionQueryNode>
#include <osg/Polytope>
#include <osg/Projection>
#include <osg/RenderInfo>
@@ -167,6 +168,11 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor)
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::OcclusionQueryNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OcclusionQueryNode_R1,
"",
"");
I_Method1(void, pushStateSet, IN, const osg::StateSet *, ss,
Properties::NON_VIRTUAL,
__void__pushStateSet__C5_osg_StateSet_P1,

View File

@@ -0,0 +1,479 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Array>
#include <osg/Geometry>
#include <osg/Vec3>
#include <osgUtil/EdgeCollector>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgUtil::dereference_clear)
I_DeclaringFile("osgUtil/EdgeCollector");
I_Constructor0(____dereference_clear,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgUtil::dereference_less)
I_DeclaringFile("osgUtil/EdgeCollector");
I_Constructor0(____dereference_less,
"",
"");
END_REFLECTOR
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::UIntArray > >, osgUtil::EdgeCollector::IndexArrayList)
TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Edge > COMMA osgUtil::dereference_less >, osgUtil::EdgeCollector::EdgeSet)
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Edge > >, osgUtil::EdgeCollector::EdgeList)
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > >, osgUtil::EdgeCollector::EdgeloopList)
TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Point > COMMA osgUtil::dereference_less >, osgUtil::EdgeCollector::PointSet)
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Point > >, osgUtil::EdgeCollector::PointList)
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >, osgUtil::EdgeCollector::TriangleList)
TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >, osgUtil::EdgeCollector::TriangleSet)
TYPE_NAME_ALIAS(std::map< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > COMMA unsigned int COMMA osgUtil::dereference_less >, osgUtil::EdgeCollector::TriangleMap)
BEGIN_VALUE_REFLECTOR(osgUtil::EdgeCollector)
I_DeclaringFile("osgUtil/EdgeCollector");
I_Constructor0(____EdgeCollector,
"",
"");
I_Method1(void, setGeometry, IN, osg::Geometry *, geometry,
Properties::NON_VIRTUAL,
__void__setGeometry__osg_Geometry_P1,
"",
"");
I_Method0(osg::Geometry *, getGeometry,
Properties::NON_VIRTUAL,
__osg_Geometry_P1__getGeometry,
"",
"");
I_Method0(unsigned int, getNumOfTriangles,
Properties::NON_VIRTUAL,
__unsigned_int__getNumOfTriangles,
"",
"");
I_Method3(osgUtil::EdgeCollector::Triangle *, addTriangle, IN, unsigned int, p1, IN, unsigned int, p2, IN, unsigned int, p3,
Properties::NON_VIRTUAL,
__Triangle_P1__addTriangle__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_Method3(osgUtil::EdgeCollector::Triangle *, addTriangle, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2, IN, osgUtil::EdgeCollector::Point *, p3,
Properties::NON_VIRTUAL,
__Triangle_P1__addTriangle__Point_P1__Point_P1__Point_P1,
"",
"");
I_Method3(osgUtil::EdgeCollector::Edge *, addEdge, IN, osgUtil::EdgeCollector::Triangle *, triangle, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2,
Properties::NON_VIRTUAL,
__Edge_P1__addEdge__Triangle_P1__Point_P1__Point_P1,
"",
"");
I_Method2(osgUtil::EdgeCollector::Point *, addPoint, IN, osgUtil::EdgeCollector::Triangle *, triangle, IN, unsigned int, p1,
Properties::NON_VIRTUAL,
__Point_P1__addPoint__Triangle_P1__unsigned_int,
"",
"");
I_Method2(osgUtil::EdgeCollector::Point *, addPoint, IN, osgUtil::EdgeCollector::Triangle *, triangle, IN, osgUtil::EdgeCollector::Point *, point,
Properties::NON_VIRTUAL,
__Point_P1__addPoint__Triangle_P1__Point_P1,
"",
"");
I_Method1(void, getBoundaryEdgeList, IN, osgUtil::EdgeCollector::EdgeList &, el,
Properties::NON_VIRTUAL,
__void__getBoundaryEdgeList__EdgeList_R1,
"",
"");
I_Method2(bool, extractBoundaryEdgeloop, IN, osgUtil::EdgeCollector::EdgeList &, el, IN, osgUtil::EdgeCollector::Edgeloop &, edgeloop,
Properties::NON_VIRTUAL,
__bool__extractBoundaryEdgeloop__EdgeList_R1__Edgeloop_R1,
"",
"");
I_Method2(bool, extractBoundaryEdgeloopList, IN, osgUtil::EdgeCollector::EdgeList &, el, IN, osgUtil::EdgeCollector::EdgeloopList &, edgeloopList,
Properties::NON_VIRTUAL,
__bool__extractBoundaryEdgeloopList__EdgeList_R1__EdgeloopList_R1,
"",
"");
I_Method1(void, getEdgeloopIndexList, IN, osgUtil::EdgeCollector::IndexArrayList &, ial,
Properties::NON_VIRTUAL,
__void__getEdgeloopIndexList__IndexArrayList_R1,
"",
"");
I_SimpleProperty(osg::Geometry *, Geometry,
__osg_Geometry_P1__getGeometry,
__void__setGeometry__osg_Geometry_P1);
I_PublicMemberProperty(osg::Geometry *, _geometry);
I_PublicMemberProperty(osgUtil::EdgeCollector::EdgeSet, _edgeSet);
I_PublicMemberProperty(osgUtil::EdgeCollector::TriangleSet, _triangleSet);
I_PublicMemberProperty(osgUtil::EdgeCollector::PointSet, _pointSet);
I_PublicMemberProperty(osgUtil::EdgeCollector::PointList, _originalPointList);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Edge)
I_DeclaringFile("osgUtil/EdgeCollector");
I_BaseType(osg::Referenced);
I_Constructor0(____Edge,
"",
"");
I_Method0(void, clear,
Properties::NON_VIRTUAL,
__void__clear,
"",
"");
I_Method2(void, setOrderedPoints, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2,
Properties::NON_VIRTUAL,
__void__setOrderedPoints__Point_P1__Point_P1,
"",
"");
I_Method1(void, addTriangle, IN, osgUtil::EdgeCollector::Triangle *, triangle,
Properties::NON_VIRTUAL,
__void__addTriangle__Triangle_P1,
"",
"");
I_Method0(bool, isBoundaryEdge,
Properties::NON_VIRTUAL,
__bool__isBoundaryEdge,
"",
"");
I_Method0(bool, isAdjacentToBoundary,
Properties::NON_VIRTUAL,
__bool__isAdjacentToBoundary,
"",
"");
I_Method1(bool, endConnected, IN, const osgUtil::EdgeCollector::Edge &, rhs,
Properties::NON_VIRTUAL,
__bool__endConnected__C5_Edge_R1,
"",
"");
I_Method1(bool, beginConnected, IN, const osgUtil::EdgeCollector::Edge &, rhs,
Properties::NON_VIRTUAL,
__bool__beginConnected__C5_Edge_R1,
"",
"");
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p1);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p2);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op1);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op2);
I_PublicMemberProperty(osgUtil::EdgeCollector::TriangleSet, _triangles);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Edge > >, osgUtil::EdgeCollector::Edgeloop::EdgeList)
BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Edgeloop)
I_DeclaringFile("osgUtil/EdgeCollector");
I_BaseType(osg::Referenced);
I_Constructor0(____Edgeloop,
"",
"");
I_Method0(bool, isClosed,
Properties::NON_VIRTUAL,
__bool__isClosed,
"",
"");
I_Method0(osg::UIntArray *, toIndexArray,
Properties::NON_VIRTUAL,
__osg_UIntArray_P1__toIndexArray,
"",
"");
I_PublicMemberProperty(osgUtil::EdgeCollector::Edgeloop::EdgeList, _edgeList);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Point)
I_DeclaringFile("osgUtil/EdgeCollector");
I_BaseType(osg::Referenced);
I_Constructor0(____Point,
"",
"");
I_Method0(void, clear,
Properties::NON_VIRTUAL,
__void__clear,
"",
"");
I_Method0(bool, isBoundaryPoint,
Properties::NON_VIRTUAL,
__bool__isBoundaryPoint,
"",
"");
I_PublicMemberProperty(bool, _protected);
I_PublicMemberProperty(unsigned int, _index);
I_PublicMemberProperty(osg::Vec3, _vertex);
I_PublicMemberProperty(osgUtil::EdgeCollector::TriangleSet, _triangles);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::EdgeCollector::Triangle)
I_DeclaringFile("osgUtil/EdgeCollector");
I_BaseType(osg::Referenced);
I_Constructor0(____Triangle,
"",
"");
I_Method0(void, clear,
Properties::NON_VIRTUAL,
__void__clear,
"",
"");
I_Method3(void, setOrderedPoints, IN, osgUtil::EdgeCollector::Point *, p1, IN, osgUtil::EdgeCollector::Point *, p2, IN, osgUtil::EdgeCollector::Point *, p3,
Properties::NON_VIRTUAL,
__void__setOrderedPoints__Point_P1__Point_P1__Point_P1,
"",
"");
I_Method1(float, distance, IN, const osg::Vec3 &, vertex,
Properties::NON_VIRTUAL,
__float__distance__C5_osg_Vec3_R1,
"",
"");
I_Method0(bool, isBoundaryTriangle,
Properties::NON_VIRTUAL,
__bool__isBoundaryTriangle,
"",
"");
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p1);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p2);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _p3);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op1);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op2);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Point >, _op3);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Edge >, _e1);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Edge >, _e2);
I_PublicMemberProperty(osg::ref_ptr< osgUtil::EdgeCollector::Edge >, _e3);
I_PublicMemberProperty(osg::Plane, _plane);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::UIntArray >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::UIntArray *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::UIntArray > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::UIntArray *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::UIntArray *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::UIntArray > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::UIntArray *, ,
__T_P1__get,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Edge >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgUtil::EdgeCollector::Edge *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Edge > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::EdgeCollector::Edge *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgUtil::EdgeCollector::Edge *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Edge > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgUtil::EdgeCollector::Edge *, ,
__T_P1__get,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgUtil::EdgeCollector::Edgeloop *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::EdgeCollector::Edgeloop *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgUtil::EdgeCollector::Edgeloop *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgUtil::EdgeCollector::Edgeloop *, ,
__T_P1__get,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Point >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgUtil::EdgeCollector::Point *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Point > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::EdgeCollector::Point *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgUtil::EdgeCollector::Point *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Point > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgUtil::EdgeCollector::Point *, ,
__T_P1__get,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::EdgeCollector::Triangle >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgUtil::EdgeCollector::Triangle *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgUtil::EdgeCollector::Triangle > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::EdgeCollector::Triangle *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgUtil::EdgeCollector::Triangle *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::EdgeCollector::Triangle > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgUtil::EdgeCollector::Triangle *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::UIntArray > >)
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Edgeloop > >)
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >)
STD_MAP_REFLECTOR(std::map< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > COMMA unsigned int COMMA osgUtil::dereference_less >)
STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Edge > COMMA osgUtil::dereference_less >)
STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Point > COMMA osgUtil::dereference_less >)
STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgUtil::EdgeCollector::Triangle > >)
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Edge > >)
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::EdgeCollector::Point > >)

View File

@@ -0,0 +1,203 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Array>
#include <osgUtil/OperationArrayFunctor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osgUtil::AddRangeOperator)
I_DeclaringFile("osgUtil/OperationArrayFunctor");
I_Constructor0(____AddRangeOperator,
"",
"");
I_PublicMemberProperty(unsigned int, _begin);
I_PublicMemberProperty(unsigned int, _count);
I_PublicMemberProperty(osg::Vec3, _vector);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osgUtil::MultiplyRangeOperator)
I_DeclaringFile("osgUtil/OperationArrayFunctor");
I_Constructor0(____MultiplyRangeOperator,
"",
"");
I_PublicMemberProperty(unsigned int, _begin);
I_PublicMemberProperty(unsigned int, _count);
I_PublicMemberProperty(osg::Vec3, _vector);
END_REFLECTOR
TYPE_NAME_ALIAS(osgUtil::OperationArrayFunctor< osgUtil::AddRangeOperator >, osgUtil::AddRangeFunctor)
TYPE_NAME_ALIAS(osgUtil::OperationArrayFunctor< osgUtil::MultiplyRangeOperator >, osgUtil::MultiplyRangeFunctor)
BEGIN_OBJECT_REFLECTOR(osgUtil::OperationArrayFunctor< osgUtil::AddRangeOperator >)
I_DeclaringFile("osgUtil/OperationArrayFunctor");
I_BaseType(osg::ArrayVisitor);
I_Constructor0(____AddRangeOperator >,
"",
"");
I_Method1(void, apply, IN, osg::Array &, x,
Properties::VIRTUAL,
__void__apply__osg_Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2Array &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3Array &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4Array &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4ubArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4ubArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2bArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3bArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4bArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2sArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3sArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4sArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2dArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2dArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3dArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3dArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4dArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4dArray_R1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::OperationArrayFunctor< osgUtil::MultiplyRangeOperator >)
I_DeclaringFile("osgUtil/OperationArrayFunctor");
I_BaseType(osg::ArrayVisitor);
I_Constructor0(____MultiplyRangeOperator >,
"",
"");
I_Method1(void, apply, IN, osg::Array &, x,
Properties::VIRTUAL,
__void__apply__osg_Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2Array &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3Array &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4Array &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4ubArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4ubArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2bArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3bArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4bArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2sArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3sArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4sArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2dArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec2dArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3dArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec3dArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4dArray &, array,
Properties::VIRTUAL,
__void__apply__osg_Vec4dArray_R1,
"",
"");
END_REFLECTOR

View File

@@ -0,0 +1,111 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/PrimitiveSet>
#include <osg/Vec2>
#include <osg/Vec2d>
#include <osg/Vec3>
#include <osg/Vec3d>
#include <osg/Vec4>
#include <osg/Vec4d>
#include <osgUtil/ReversePrimitiveFunctor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::ReversePrimitiveFunctor)
I_DeclaringFile("osgUtil/ReversePrimitiveFunctor");
I_BaseType(osg::PrimitiveIndexFunctor);
I_Constructor0(____ReversePrimitiveFunctor,
"",
"");
I_Method0(osg::PrimitiveSet *, getReversedPrimitiveSet,
Properties::NON_VIRTUAL,
__osg_PrimitiveSet_P1__getReversedPrimitiveSet,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec2 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned__C5_osg_Vec2_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec3 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned__C5_osg_Vec3_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec4 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned__C5_osg_Vec4_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec2d *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned__C5_osg_Vec2d_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec3d *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned__C5_osg_Vec3d_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned, int, IN, const osg::Vec4d *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned__C5_osg_Vec4d_P1,
"",
"");
I_Method3(void, drawArrays, IN, GLenum, x, IN, GLint, x, IN, GLsizei, x,
Properties::VIRTUAL,
__void__drawArrays__GLenum__GLint__GLsizei,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
"",
"");
I_Method1(void, begin, IN, GLenum, x,
Properties::VIRTUAL,
__void__begin__GLenum,
"Mimics the OpenGL glBegin() function. ",
"");
I_Method1(void, vertex, IN, unsigned, int,
Properties::VIRTUAL,
__void__vertex__unsigned,
"",
"");
I_Method0(void, end,
Properties::VIRTUAL,
__void__end,
"",
"");
I_SimpleProperty(osg::PrimitiveSet *, ReversedPrimitiveSet,
__osg_PrimitiveSet_P1__getReversedPrimitiveSet,
0);
I_PublicMemberProperty(osg::ref_ptr< osg::PrimitiveSet >, _reversedPrimitiveSet);
END_REFLECTOR