Fixed genwrapper so that it handles .svn directories, updated wrappers

This commit is contained in:
Robert Osfield
2007-02-16 17:45:53 +00:00
parent 049f907aad
commit afab03a0fa
240 changed files with 10258 additions and 85887 deletions

View File

@@ -10,8 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Image.svn-base>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/TextureCubeMap>
#include <osgUtil/CubeMapGenerator>
// Must undefine IN and OUT macros defined in Windows headers
@@ -24,84 +25,6 @@
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::CubeMapGenerator)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::EXPLICIT,
____CubeMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::CubeMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CubeMapGenerator__C5_CubeMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method1(osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_Method1(const osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_MethodWithDefaults1(void, generateMap, IN, bool, use_osg_system, true,
Properties::NON_VIRTUAL,
__void__generateMap__bool,
"Generate the six cube images. ",
"If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one.");
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::EXPLICIT,
____CubeMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::CubeMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CubeMapGenerator__C5_CubeMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method1(osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_Method1(const osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_MethodWithDefaults1(void, generateMap, IN, bool, use_osg_system, true,
Properties::NON_VIRTUAL,
__void__generateMap__bool,
"Generate the six cube images. ",
"If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one.");
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::CubeMapGenerator)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::EXPLICIT,
____CubeMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::CubeMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CubeMapGenerator__C5_CubeMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method1(osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_Method1(const osg::Image *, getImage, IN, osg::TextureCubeMap::Face, face,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage__osg_TextureCubeMap_Face,
"",
"");
I_MethodWithDefaults1(void, generateMap, IN, bool, use_osg_system, true,
Properties::NON_VIRTUAL,
__void__generateMap__bool,
"Generate the six cube images. ",
"If use_osg_system is true, then the OSG's coordinate system is used instead of the default OpenGL one.");
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::EXPLICIT,
____CubeMapGenerator__int,

View File

@@ -10,36 +10,35 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Billboard.svn-base>
#include <osg/.svn/text-base/BoundingBox.svn-base>
#include <osg/.svn/text-base/ClearNode.svn-base>
#include <osg/.svn/text-base/ClipNode.svn-base>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/Group.svn-base>
#include <osg/.svn/text-base/LOD.svn-base>
#include <osg/.svn/text-base/LightSource.svn-base>
#include <osg/.svn/text-base/Matrix.svn-base>
#include <osg/.svn/text-base/Matrixd.svn-base>
#include <osg/.svn/text-base/Matrixf.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/OccluderNode.svn-base>
#include <osg/.svn/text-base/Polytope.svn-base>
#include <osg/.svn/text-base/RenderInfo.svn-base>
#include <osg/.svn/text-base/StateAttribute.svn-base>
#include <osg/.svn/text-base/Switch.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/Billboard>
#include <osg/BoundingBox>
#include <osg/Camera>
#include <osg/ClearNode>
#include <osg/ClipNode>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/Matrix>
#include <osg/Matrixd>
#include <osg/Matrixf>
#include <osg/Node>
#include <osg/OccluderNode>
#include <osg/Polytope>
#include <osg/Projection>
#include <osg/RenderInfo>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/StateSet>
#include <osg/Switch>
#include <osg/TexGenNode>
#include <osg/Transform>
#include <osgUtil/.svn/text-base/CullVisitor.svn-base>
#include <osgUtil/.svn/text-base/RenderBin.svn-base>
#include <osgUtil/.svn/text-base/StateGraph.svn-base>
#include <osg/Vec3>
#include <osgUtil/CullVisitor>
#include <osgUtil/RenderBin>
#include <osgUtil/RenderStage>
#include <osgUtil/StateGraph>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -52,8 +51,6 @@
TYPE_NAME_ALIAS(osg::Matrix::value_type, osgUtil::CullVisitor::value_type);
BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::CullStack);
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::CullStack);
I_Constructor0(____CullVisitor,
@@ -72,877 +69,28 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor)
I_Method0(osg::Vec3, getEyePoint,
Properties::VIRTUAL,
__osg_Vec3__getEyePoint,
"",
"");
"Get the eye point in local coordinates. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
I_Method0(osg::Vec3, getViewPoint,
Properties::VIRTUAL,
__osg_Vec3__getViewPoint,
"",
"");
"Get the view point in local coordinates. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. ");
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceFromEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
"Get the distance of a point from the eye point, distance value in the eye coordinate system. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToViewPoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__osg_LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClipNode &, node,
Properties::VIRTUAL,
__void__apply__osg_ClipNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::TexGenNode &, node,
Properties::VIRTUAL,
__void__apply__osg_TexGenNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClearNode &, node,
Properties::VIRTUAL,
__void__apply__osg_ClearNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, node,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Method1(void, setClearNode, IN, const osg::ClearNode *, earthSky,
Properties::NON_VIRTUAL,
__void__setClearNode__C5_osg_ClearNode_P1,
"",
"");
I_Method0(const osg::ClearNode *, getClearNode,
Properties::NON_VIRTUAL,
__C5_osg_ClearNode_P1__getClearNode,
"",
"");
I_Method1(void, pushStateSet, IN, const osg::StateSet *, ss,
Properties::NON_VIRTUAL,
__void__pushStateSet__C5_osg_StateSet_P1,
"Push state set on the current state group. ",
"If the state exists in a child state group of the current state group then move the current state group to that child. Otherwise, create a new state group for the state set, add it to the current state group then move the current state group pointer to the new state group.");
I_Method0(void, popStateSet,
Properties::NON_VIRTUAL,
__void__popStateSet,
"Pop the top state set and hence associated state group. ",
"Move the current state group to the parent of the popped state group.");
I_Method1(void, setStateGraph, IN, osgUtil::StateGraph *, rg,
Properties::NON_VIRTUAL,
__void__setStateGraph__StateGraph_P1,
"",
"");
I_Method0(osgUtil::StateGraph *, getRootStateGraph,
Properties::NON_VIRTUAL,
__StateGraph_P1__getRootStateGraph,
"",
"");
I_Method0(osgUtil::StateGraph *, getCurrentStateGraph,
Properties::NON_VIRTUAL,
__StateGraph_P1__getCurrentStateGraph,
"",
"");
I_Method1(void, setRenderStage, IN, osgUtil::RenderStage *, rg,
Properties::NON_VIRTUAL,
__void__setRenderStage__RenderStage_P1,
"",
"");
I_Method0(osgUtil::RenderStage *, getRenderStage,
Properties::NON_VIRTUAL,
__RenderStage_P1__getRenderStage,
"",
"");
I_Method0(osgUtil::RenderBin *, getCurrentRenderBin,
Properties::NON_VIRTUAL,
__RenderBin_P1__getCurrentRenderBin,
"",
"");
I_Method1(void, setCurrentRenderBin, IN, osgUtil::RenderBin *, rb,
Properties::NON_VIRTUAL,
__void__setCurrentRenderBin__RenderBin_P1,
"",
"");
I_Method0(osgUtil::CullVisitor::value_type, getCalculatedNearPlane,
Properties::NON_VIRTUAL,
__value_type__getCalculatedNearPlane,
"",
"");
I_Method0(osgUtil::CullVisitor::value_type, getCalculatedFarPlane,
Properties::NON_VIRTUAL,
__value_type__getCalculatedFarPlane,
"",
"");
I_Method3(osgUtil::CullVisitor::value_type, computeNearestPointInFrustum, IN, const osg::Matrix &, matrix, IN, const osg::Polytope::PlaneList &, planes, IN, const osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__value_type__computeNearestPointInFrustum__C5_osg_Matrix_R1__C5_osg_Polytope_PlaneList_R1__C5_osg_Drawable_R1,
"",
"");
I_Method2(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_BoundingBox_R1,
"",
"");
I_MethodWithDefaults3(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, , IN, const osg::Drawable &, drawable, , IN, bool, isBillboard, false,
Properties::NON_VIRTUAL,
__bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_Drawable_R1__bool,
"",
"");
I_Method1(void, updateCalculatedNearFar, IN, const osg::Vec3 &, pos,
Properties::NON_VIRTUAL,
__void__updateCalculatedNearFar__C5_osg_Vec3_R1,
"",
"");
I_Method2(void, addDrawable, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__addDrawable__osg_Drawable_P1__osg_RefMatrix_P1,
"Add a drawable to current render graph. ",
"");
I_Method3(void, addDrawableAndDepth, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix, IN, float, depth,
Properties::NON_VIRTUAL,
__void__addDrawableAndDepth__osg_Drawable_P1__osg_RefMatrix_P1__float,
"Add a drawable and depth to current render graph. ",
"");
I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr,
Properties::NON_VIRTUAL,
__void__addPositionedAttribute__osg_RefMatrix_P1__C5_osg_StateAttribute_P1,
"Add an attribute which is positioned relative to the modelview matrix. ",
"");
I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr,
Properties::NON_VIRTUAL,
__void__addPositionedTextureAttribute__unsigned_int__osg_RefMatrix_P1__C5_osg_StateAttribute_P1,
"Add an attribute which is positioned relative to the modelview matrix. ",
"");
I_Method0(void, popProjectionMatrix,
Properties::VIRTUAL,
__void__popProjectionMatrix,
"Re-implement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far. ",
"");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar,
Properties::VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1,
"CullVisitor's default clamping of the projection float matrix to computed near and far values. ",
"Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. ");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar,
Properties::VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1,
"CullVisitor's default clamping of the projection double matrix to computed near and far values. ",
"Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. ");
I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixf &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar,
Properties::NON_VIRTUAL,
__bool__clampProjectionMatrix__osg_Matrixf_R1__value_type_R1__value_type_R1,
"Clamp the projection float matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ",
"");
I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixd &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar,
Properties::NON_VIRTUAL,
__bool__clampProjectionMatrix__osg_Matrixd_R1__value_type_R1__value_type_R1,
"Clamp the projection double matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__osg_State_P1__getState,
"",
"");
I_Method0(const osg::State *, getState,
Properties::NON_VIRTUAL,
__C5_osg_State_P1__getState,
"",
"");
I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__setRenderInfo__osg_RenderInfo_R1,
"",
"");
I_Method0(osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Method0(const osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__C5_osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Constructor0(____CullVisitor,
"",
"");
I_Method0(osgUtil::CullVisitor *, cloneType,
Properties::VIRTUAL,
__CullVisitor_P1__cloneType,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(osg::Vec3, getEyePoint,
Properties::VIRTUAL,
__osg_Vec3__getEyePoint,
"",
"");
I_Method0(osg::Vec3, getViewPoint,
Properties::VIRTUAL,
__osg_Vec3__getViewPoint,
"",
"");
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceFromEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToViewPoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__osg_LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClipNode &, node,
Properties::VIRTUAL,
__void__apply__osg_ClipNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::TexGenNode &, node,
Properties::VIRTUAL,
__void__apply__osg_TexGenNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClearNode &, node,
Properties::VIRTUAL,
__void__apply__osg_ClearNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, node,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Method1(void, setClearNode, IN, const osg::ClearNode *, earthSky,
Properties::NON_VIRTUAL,
__void__setClearNode__C5_osg_ClearNode_P1,
"",
"");
I_Method0(const osg::ClearNode *, getClearNode,
Properties::NON_VIRTUAL,
__C5_osg_ClearNode_P1__getClearNode,
"",
"");
I_Method1(void, pushStateSet, IN, const osg::StateSet *, ss,
Properties::NON_VIRTUAL,
__void__pushStateSet__C5_osg_StateSet_P1,
"Push state set on the current state group. ",
"If the state exists in a child state group of the current state group then move the current state group to that child. Otherwise, create a new state group for the state set, add it to the current state group then move the current state group pointer to the new state group.");
I_Method0(void, popStateSet,
Properties::NON_VIRTUAL,
__void__popStateSet,
"Pop the top state set and hence associated state group. ",
"Move the current state group to the parent of the popped state group.");
I_Method1(void, setStateGraph, IN, osgUtil::StateGraph *, rg,
Properties::NON_VIRTUAL,
__void__setStateGraph__StateGraph_P1,
"",
"");
I_Method0(osgUtil::StateGraph *, getRootStateGraph,
Properties::NON_VIRTUAL,
__StateGraph_P1__getRootStateGraph,
"",
"");
I_Method0(osgUtil::StateGraph *, getCurrentStateGraph,
Properties::NON_VIRTUAL,
__StateGraph_P1__getCurrentStateGraph,
"",
"");
I_Method1(void, setRenderStage, IN, osgUtil::RenderStage *, rg,
Properties::NON_VIRTUAL,
__void__setRenderStage__RenderStage_P1,
"",
"");
I_Method0(osgUtil::RenderStage *, getRenderStage,
Properties::NON_VIRTUAL,
__RenderStage_P1__getRenderStage,
"",
"");
I_Method0(osgUtil::RenderBin *, getCurrentRenderBin,
Properties::NON_VIRTUAL,
__RenderBin_P1__getCurrentRenderBin,
"",
"");
I_Method1(void, setCurrentRenderBin, IN, osgUtil::RenderBin *, rb,
Properties::NON_VIRTUAL,
__void__setCurrentRenderBin__RenderBin_P1,
"",
"");
I_Method0(osgUtil::CullVisitor::value_type, getCalculatedNearPlane,
Properties::NON_VIRTUAL,
__value_type__getCalculatedNearPlane,
"",
"");
I_Method0(osgUtil::CullVisitor::value_type, getCalculatedFarPlane,
Properties::NON_VIRTUAL,
__value_type__getCalculatedFarPlane,
"",
"");
I_Method3(osgUtil::CullVisitor::value_type, computeNearestPointInFrustum, IN, const osg::Matrix &, matrix, IN, const osg::Polytope::PlaneList &, planes, IN, const osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__value_type__computeNearestPointInFrustum__C5_osg_Matrix_R1__C5_osg_Polytope_PlaneList_R1__C5_osg_Drawable_R1,
"",
"");
I_Method2(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_BoundingBox_R1,
"",
"");
I_MethodWithDefaults3(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, , IN, const osg::Drawable &, drawable, , IN, bool, isBillboard, false,
Properties::NON_VIRTUAL,
__bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_Drawable_R1__bool,
"",
"");
I_Method1(void, updateCalculatedNearFar, IN, const osg::Vec3 &, pos,
Properties::NON_VIRTUAL,
__void__updateCalculatedNearFar__C5_osg_Vec3_R1,
"",
"");
I_Method2(void, addDrawable, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__addDrawable__osg_Drawable_P1__osg_RefMatrix_P1,
"Add a drawable to current render graph. ",
"");
I_Method3(void, addDrawableAndDepth, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix, IN, float, depth,
Properties::NON_VIRTUAL,
__void__addDrawableAndDepth__osg_Drawable_P1__osg_RefMatrix_P1__float,
"Add a drawable and depth to current render graph. ",
"");
I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr,
Properties::NON_VIRTUAL,
__void__addPositionedAttribute__osg_RefMatrix_P1__C5_osg_StateAttribute_P1,
"Add an attribute which is positioned relative to the modelview matrix. ",
"");
I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr,
Properties::NON_VIRTUAL,
__void__addPositionedTextureAttribute__unsigned_int__osg_RefMatrix_P1__C5_osg_StateAttribute_P1,
"Add an attribute which is positioned relative to the modelview matrix. ",
"");
I_Method0(void, popProjectionMatrix,
Properties::VIRTUAL,
__void__popProjectionMatrix,
"Re-implement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far. ",
"");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar,
Properties::VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1,
"CullVisitor's default clamping of the projection float matrix to computed near and far values. ",
"Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. ");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar,
Properties::VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1,
"CullVisitor's default clamping of the projection double matrix to computed near and far values. ",
"Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. ");
I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixf &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar,
Properties::NON_VIRTUAL,
__bool__clampProjectionMatrix__osg_Matrixf_R1__value_type_R1__value_type_R1,
"Clamp the projection float matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ",
"");
I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixd &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar,
Properties::NON_VIRTUAL,
__bool__clampProjectionMatrix__osg_Matrixd_R1__value_type_R1__value_type_R1,
"Clamp the projection double matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__osg_State_P1__getState,
"",
"");
I_Method0(const osg::State *, getState,
Properties::NON_VIRTUAL,
__C5_osg_State_P1__getState,
"",
"");
I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__setRenderInfo__osg_RenderInfo_R1,
"",
"");
I_Method0(osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Method0(const osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__C5_osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_SimpleProperty(osgUtil::CullVisitor::value_type, CalculatedFarPlane,
__value_type__getCalculatedFarPlane,
0);
I_SimpleProperty(osgUtil::CullVisitor::value_type, CalculatedNearPlane,
__value_type__getCalculatedNearPlane,
0);
I_SimpleProperty(const osg::ClearNode *, ClearNode,
__C5_osg_ClearNode_P1__getClearNode,
__void__setClearNode__C5_osg_ClearNode_P1);
I_SimpleProperty(osgUtil::RenderBin *, CurrentRenderBin,
__RenderBin_P1__getCurrentRenderBin,
__void__setCurrentRenderBin__RenderBin_P1);
I_SimpleProperty(osgUtil::StateGraph *, CurrentStateGraph,
__StateGraph_P1__getCurrentStateGraph,
0);
I_SimpleProperty(osg::Vec3, EyePoint,
__osg_Vec3__getEyePoint,
0);
I_SimpleProperty(osg::RenderInfo &, RenderInfo,
__osg_RenderInfo_R1__getRenderInfo,
__void__setRenderInfo__osg_RenderInfo_R1);
I_SimpleProperty(osgUtil::RenderStage *, RenderStage,
__RenderStage_P1__getRenderStage,
__void__setRenderStage__RenderStage_P1);
I_SimpleProperty(osgUtil::StateGraph *, RootStateGraph,
__StateGraph_P1__getRootStateGraph,
0);
I_SimpleProperty(osg::State *, State,
__osg_State_P1__getState,
__void__setState__osg_State_P1);
I_SimpleProperty(osgUtil::StateGraph *, StateGraph,
0,
__void__setStateGraph__StateGraph_P1);
I_SimpleProperty(osg::Vec3, ViewPoint,
__osg_Vec3__getViewPoint,
0);
END_REFLECTOR
TYPE_NAME_ALIAS(osg::Matrix::value_type, osgUtil::CullVisitor::value_type);
BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::CullStack);
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::CullStack);
I_Constructor0(____CullVisitor,
"",
"");
I_Method0(osgUtil::CullVisitor *, cloneType,
Properties::VIRTUAL,
__CullVisitor_P1__cloneType,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(osg::Vec3, getEyePoint,
Properties::VIRTUAL,
__osg_Vec3__getEyePoint,
"",
"");
I_Method0(osg::Vec3, getViewPoint,
Properties::VIRTUAL,
__osg_Vec3__getViewPoint,
"",
"");
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceFromEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToViewPoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__osg_LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClipNode &, node,
Properties::VIRTUAL,
__void__apply__osg_ClipNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::TexGenNode &, node,
Properties::VIRTUAL,
__void__apply__osg_TexGenNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClearNode &, node,
Properties::VIRTUAL,
__void__apply__osg_ClearNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, node,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Method1(void, setClearNode, IN, const osg::ClearNode *, earthSky,
Properties::NON_VIRTUAL,
__void__setClearNode__C5_osg_ClearNode_P1,
"",
"");
I_Method0(const osg::ClearNode *, getClearNode,
Properties::NON_VIRTUAL,
__C5_osg_ClearNode_P1__getClearNode,
"",
"");
I_Method1(void, pushStateSet, IN, const osg::StateSet *, ss,
Properties::NON_VIRTUAL,
__void__pushStateSet__C5_osg_StateSet_P1,
"Push state set on the current state group. ",
"If the state exists in a child state group of the current state group then move the current state group to that child. Otherwise, create a new state group for the state set, add it to the current state group then move the current state group pointer to the new state group.");
I_Method0(void, popStateSet,
Properties::NON_VIRTUAL,
__void__popStateSet,
"Pop the top state set and hence associated state group. ",
"Move the current state group to the parent of the popped state group.");
I_Method1(void, setStateGraph, IN, osgUtil::StateGraph *, rg,
Properties::NON_VIRTUAL,
__void__setStateGraph__StateGraph_P1,
"",
"");
I_Method0(osgUtil::StateGraph *, getRootStateGraph,
Properties::NON_VIRTUAL,
__StateGraph_P1__getRootStateGraph,
"",
"");
I_Method0(osgUtil::StateGraph *, getCurrentStateGraph,
Properties::NON_VIRTUAL,
__StateGraph_P1__getCurrentStateGraph,
"",
"");
I_Method1(void, setRenderStage, IN, osgUtil::RenderStage *, rg,
Properties::NON_VIRTUAL,
__void__setRenderStage__RenderStage_P1,
"",
"");
I_Method0(osgUtil::RenderStage *, getRenderStage,
Properties::NON_VIRTUAL,
__RenderStage_P1__getRenderStage,
"",
"");
I_Method0(osgUtil::RenderBin *, getCurrentRenderBin,
Properties::NON_VIRTUAL,
__RenderBin_P1__getCurrentRenderBin,
"",
"");
I_Method1(void, setCurrentRenderBin, IN, osgUtil::RenderBin *, rb,
Properties::NON_VIRTUAL,
__void__setCurrentRenderBin__RenderBin_P1,
"",
"");
I_Method0(osgUtil::CullVisitor::value_type, getCalculatedNearPlane,
Properties::NON_VIRTUAL,
__value_type__getCalculatedNearPlane,
"",
"");
I_Method0(osgUtil::CullVisitor::value_type, getCalculatedFarPlane,
Properties::NON_VIRTUAL,
__value_type__getCalculatedFarPlane,
"",
"");
I_Method3(osgUtil::CullVisitor::value_type, computeNearestPointInFrustum, IN, const osg::Matrix &, matrix, IN, const osg::Polytope::PlaneList &, planes, IN, const osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__value_type__computeNearestPointInFrustum__C5_osg_Matrix_R1__C5_osg_Polytope_PlaneList_R1__C5_osg_Drawable_R1,
"",
"");
I_Method2(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_BoundingBox_R1,
"",
"");
I_MethodWithDefaults3(bool, updateCalculatedNearFar, IN, const osg::Matrix &, matrix, , IN, const osg::Drawable &, drawable, , IN, bool, isBillboard, false,
Properties::NON_VIRTUAL,
__bool__updateCalculatedNearFar__C5_osg_Matrix_R1__C5_osg_Drawable_R1__bool,
"",
"");
I_Method1(void, updateCalculatedNearFar, IN, const osg::Vec3 &, pos,
Properties::NON_VIRTUAL,
__void__updateCalculatedNearFar__C5_osg_Vec3_R1,
"",
"");
I_Method2(void, addDrawable, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__addDrawable__osg_Drawable_P1__osg_RefMatrix_P1,
"Add a drawable to current render graph. ",
"");
I_Method3(void, addDrawableAndDepth, IN, osg::Drawable *, drawable, IN, osg::RefMatrix *, matrix, IN, float, depth,
Properties::NON_VIRTUAL,
__void__addDrawableAndDepth__osg_Drawable_P1__osg_RefMatrix_P1__float,
"Add a drawable and depth to current render graph. ",
"");
I_Method2(void, addPositionedAttribute, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr,
Properties::NON_VIRTUAL,
__void__addPositionedAttribute__osg_RefMatrix_P1__C5_osg_StateAttribute_P1,
"Add an attribute which is positioned relative to the modelview matrix. ",
"");
I_Method3(void, addPositionedTextureAttribute, IN, unsigned int, textureUnit, IN, osg::RefMatrix *, matrix, IN, const osg::StateAttribute *, attr,
Properties::NON_VIRTUAL,
__void__addPositionedTextureAttribute__unsigned_int__osg_RefMatrix_P1__C5_osg_StateAttribute_P1,
"Add an attribute which is positioned relative to the modelview matrix. ",
"");
I_Method0(void, popProjectionMatrix,
Properties::VIRTUAL,
__void__popProjectionMatrix,
"Re-implement CullStack's popProjectionMatrix() adding clamping of the projection matrix to the computed near and far. ",
"");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar,
Properties::VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1,
"CullVisitor's default clamping of the projection float matrix to computed near and far values. ",
"Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. ");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar,
Properties::VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1,
"CullVisitor's default clamping of the projection double matrix to computed near and far values. ",
"Note, do not call this method directly, use clampProjectionMatrix(..) instead, unless you want to bypass the callback. ");
I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixf &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar,
Properties::NON_VIRTUAL,
__bool__clampProjectionMatrix__osg_Matrixf_R1__value_type_R1__value_type_R1,
"Clamp the projection float matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ",
"");
I_Method3(bool, clampProjectionMatrix, IN, osg::Matrixd &, projection, IN, osgUtil::CullVisitor::value_type &, znear, IN, osgUtil::CullVisitor::value_type &, zfar,
Properties::NON_VIRTUAL,
__bool__clampProjectionMatrix__osg_Matrixd_R1__value_type_R1__value_type_R1,
"Clamp the projection double matrix to computed near and far values, use callback if it exists, otherwise use default CullVisitor implementation. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__osg_State_P1__getState,
"",
"");
I_Method0(const osg::State *, getState,
Properties::NON_VIRTUAL,
__C5_osg_State_P1__getState,
"",
"");
I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__setRenderInfo__osg_RenderInfo_R1,
"",
"");
I_Method0(osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Method0(const osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__C5_osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Constructor0(____CullVisitor,
"",
"");
I_Method0(osgUtil::CullVisitor *, cloneType,
Properties::VIRTUAL,
__CullVisitor_P1__cloneType,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(osg::Vec3, getEyePoint,
Properties::VIRTUAL,
__osg_Vec3__getEyePoint,
"",
"");
I_Method0(osg::Vec3, getViewPoint,
Properties::VIRTUAL,
__osg_Vec3__getViewPoint,
"",
"");
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceFromEyePoint__C5_osg_Vec3_R1__bool,
"",
"");
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToViewPoint__C5_osg_Vec3_R1__bool,
"",
"");
"Get the distance from a point to the view point, distance value in local coordinate system. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. ");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,

View File

@@ -10,10 +10,10 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Array.svn-base>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/Array>
#include <osg/CopyOp>
#include <osg/PrimitiveSet>
#include <osg/Vec3>
#include <osgUtil/DelaunayTriangulator>
// Must undefine IN and OUT macros defined in Windows headers
@@ -26,189 +26,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayConstraint)
I_BaseType(osg::Geometry);
I_BaseType(osg::Geometry);
I_Constructor0(____DelaunayConstraint,
"",
"");
I_Method3(void, addtriangle, IN, const int, i1, IN, const int, i2, IN, const int, i3,
Properties::NON_VIRTUAL,
__void__addtriangle__C5_int__C5_int__C5_int,
"collect up indices of triangle from delaunay triangles. ",
"The delaunay triangles inside the DelaunayConstraint area can be used to fill the area or generate geometry that terrain follows the area in some way. These triangles can form a canopy or a field. ");
I_Method0(const osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__C5_osg_DrawElementsUInt_P1__getTriangles,
"Get the filling primitive. ",
"One: triangulate must have bneen called and two: triangle list is filled when DelaunayTriangulator::removeInternalTriangles is called. These return the triangles removed from the delaunay triangulation by DelaunayTriangulator::removeInternalTriangles. ");
I_Method0(osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__getTriangles,
"",
"");
I_Method1(osg::Vec3Array *, getPoints, IN, const osg::Vec3Array *, points,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getPoints__C5_osg_Vec3Array_P1,
"Call BEFORE makeDrawable to reorder points to make optimised set. ",
"");
I_Method0(osg::DrawElementsUInt *, makeDrawable,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__makeDrawable,
"converts simple list of triangles into a drawarray. ",
"");
I_Method1(void, merge, IN, osgUtil::DelaunayConstraint *, dco,
Properties::NON_VIRTUAL,
__void__merge__DelaunayConstraint_P1,
"Add vertices and constraint loops from dco Can be used to generate extra vertices where dco crosses 'this' using osgUtil::Tessellator to insert overlap vertices. ",
"");
I_Method1(void, removeVerticesInside, IN, const osgUtil::DelaunayConstraint *, dco,
Properties::NON_VIRTUAL,
__void__removeVerticesInside__C5_DelaunayConstraint_P1,
"remove from line the vertices that are inside dco ",
"");
I_Method1(float, windingNumber, IN, const osg::Vec3, testpoint,
Properties::NON_VIRTUAL,
__float__windingNumber__C5_osg_Vec3,
"return winding number as a float of loop around testpoint; may use multiple loops does not reject points on the edge or very very close to the edge ",
"");
I_Method1(bool, contains, IN, const osg::Vec3, testpoint,
Properties::VIRTUAL,
__bool__contains__C5_osg_Vec3,
"true if testpoint is internal (or external) to constraint. ",
"");
I_Method1(bool, outside, IN, const osg::Vec3, testpoint,
Properties::VIRTUAL,
__bool__outside__C5_osg_Vec3,
"",
"");
I_Method0(void, handleOverlaps,
Properties::NON_VIRTUAL,
__void__handleOverlaps,
"Tessellate the constraint loops so that the crossing points are interpolated and added to the contraints for the triangulation. ",
"");
I_Constructor0(____DelaunayConstraint,
"",
"");
I_Method3(void, addtriangle, IN, const int, i1, IN, const int, i2, IN, const int, i3,
Properties::NON_VIRTUAL,
__void__addtriangle__C5_int__C5_int__C5_int,
"collect up indices of triangle from delaunay triangles. ",
"The delaunay triangles inside the DelaunayConstraint area can be used to fill the area or generate geometry that terrain follows the area in some way. These triangles can form a canopy or a field. ");
I_Method0(const osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__C5_osg_DrawElementsUInt_P1__getTriangles,
"Get the filling primitive. ",
"One: triangulate must have bneen called and two: triangle list is filled when DelaunayTriangulator::removeInternalTriangles is called. These return the triangles removed from the delaunay triangulation by DelaunayTriangulator::removeInternalTriangles. ");
I_Method0(osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__getTriangles,
"",
"");
I_Method1(osg::Vec3Array *, getPoints, IN, const osg::Vec3Array *, points,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getPoints__C5_osg_Vec3Array_P1,
"Call BEFORE makeDrawable to reorder points to make optimised set. ",
"");
I_Method0(osg::DrawElementsUInt *, makeDrawable,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__makeDrawable,
"converts simple list of triangles into a drawarray. ",
"");
I_Method1(void, merge, IN, osgUtil::DelaunayConstraint *, dco,
Properties::NON_VIRTUAL,
__void__merge__DelaunayConstraint_P1,
"Add vertices and constraint loops from dco Can be used to generate extra vertices where dco crosses 'this' using osgUtil::Tessellator to insert overlap vertices. ",
"");
I_Method1(void, removeVerticesInside, IN, const osgUtil::DelaunayConstraint *, dco,
Properties::NON_VIRTUAL,
__void__removeVerticesInside__C5_DelaunayConstraint_P1,
"remove from line the vertices that are inside dco ",
"");
I_Method1(float, windingNumber, IN, const osg::Vec3, testpoint,
Properties::NON_VIRTUAL,
__float__windingNumber__C5_osg_Vec3,
"return winding number as a float of loop around testpoint; may use multiple loops does not reject points on the edge or very very close to the edge ",
"");
I_Method1(bool, contains, IN, const osg::Vec3, testpoint,
Properties::VIRTUAL,
__bool__contains__C5_osg_Vec3,
"true if testpoint is internal (or external) to constraint. ",
"");
I_Method1(bool, outside, IN, const osg::Vec3, testpoint,
Properties::VIRTUAL,
__bool__outside__C5_osg_Vec3,
"",
"");
I_Method0(void, handleOverlaps,
Properties::NON_VIRTUAL,
__void__handleOverlaps,
"Tessellate the constraint loops so that the crossing points are interpolated and added to the contraints for the triangulation. ",
"");
I_SimpleProperty(osg::DrawElementsUInt *, Triangles,
__osg_DrawElementsUInt_P1__getTriangles,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayConstraint)
I_BaseType(osg::Geometry);
I_BaseType(osg::Geometry);
I_Constructor0(____DelaunayConstraint,
"",
"");
I_Method3(void, addtriangle, IN, const int, i1, IN, const int, i2, IN, const int, i3,
Properties::NON_VIRTUAL,
__void__addtriangle__C5_int__C5_int__C5_int,
"collect up indices of triangle from delaunay triangles. ",
"The delaunay triangles inside the DelaunayConstraint area can be used to fill the area or generate geometry that terrain follows the area in some way. These triangles can form a canopy or a field. ");
I_Method0(const osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__C5_osg_DrawElementsUInt_P1__getTriangles,
"Get the filling primitive. ",
"One: triangulate must have bneen called and two: triangle list is filled when DelaunayTriangulator::removeInternalTriangles is called. These return the triangles removed from the delaunay triangulation by DelaunayTriangulator::removeInternalTriangles. ");
I_Method0(osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__getTriangles,
"",
"");
I_Method1(osg::Vec3Array *, getPoints, IN, const osg::Vec3Array *, points,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getPoints__C5_osg_Vec3Array_P1,
"Call BEFORE makeDrawable to reorder points to make optimised set. ",
"");
I_Method0(osg::DrawElementsUInt *, makeDrawable,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__makeDrawable,
"converts simple list of triangles into a drawarray. ",
"");
I_Method1(void, merge, IN, osgUtil::DelaunayConstraint *, dco,
Properties::NON_VIRTUAL,
__void__merge__DelaunayConstraint_P1,
"Add vertices and constraint loops from dco Can be used to generate extra vertices where dco crosses 'this' using osgUtil::Tessellator to insert overlap vertices. ",
"");
I_Method1(void, removeVerticesInside, IN, const osgUtil::DelaunayConstraint *, dco,
Properties::NON_VIRTUAL,
__void__removeVerticesInside__C5_DelaunayConstraint_P1,
"remove from line the vertices that are inside dco ",
"");
I_Method1(float, windingNumber, IN, const osg::Vec3, testpoint,
Properties::NON_VIRTUAL,
__float__windingNumber__C5_osg_Vec3,
"return winding number as a float of loop around testpoint; may use multiple loops does not reject points on the edge or very very close to the edge ",
"");
I_Method1(bool, contains, IN, const osg::Vec3, testpoint,
Properties::VIRTUAL,
__bool__contains__C5_osg_Vec3,
"true if testpoint is internal (or external) to constraint. ",
"");
I_Method1(bool, outside, IN, const osg::Vec3, testpoint,
Properties::VIRTUAL,
__bool__outside__C5_osg_Vec3,
"",
"");
I_Method0(void, handleOverlaps,
Properties::NON_VIRTUAL,
__void__handleOverlaps,
"Tessellate the constraint loops so that the crossing points are interpolated and added to the contraints for the triangulation. ",
"");
I_Constructor0(____DelaunayConstraint,
"",
"");
@@ -276,73 +93,6 @@ TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::DelaunayConstraint > >, osgU
BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayTriangulator)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____DelaunayTriangulator,
"",
"");
I_ConstructorWithDefaults2(IN, osg::Vec3Array *, points, , IN, osg::Vec3Array *, normals, 0,
____DelaunayTriangulator__osg_Vec3Array_P1__osg_Vec3Array_P1,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::DelaunayTriangulator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DelaunayTriangulator__C5_DelaunayTriangulator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(const osg::Vec3Array *, getInputPointArray,
Properties::NON_VIRTUAL,
__C5_osg_Vec3Array_P1__getInputPointArray,
"Get the const input point array. ",
"");
I_Method0(osg::Vec3Array *, getInputPointArray,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getInputPointArray,
"Get the input point array. ",
"");
I_Method1(void, setInputPointArray, IN, osg::Vec3Array *, points,
Properties::NON_VIRTUAL,
__void__setInputPointArray__osg_Vec3Array_P1,
"Set the input point array. ",
"");
I_Method1(void, addInputConstraint, IN, osgUtil::DelaunayConstraint *, dc,
Properties::NON_VIRTUAL,
__void__addInputConstraint__DelaunayConstraint_P1,
"Add an input constraint loop. ",
"the edges of the loop will constrain the triangulation. if remove!=0, the internal triangles of the constraint will be removed; the user may the replace the constraint line with an equivalent geometry. GWM July 2005 ");
I_Method0(const osg::Vec3Array *, getOutputNormalArray,
Properties::NON_VIRTUAL,
__C5_osg_Vec3Array_P1__getOutputNormalArray,
"Get the const output normal array (optional). ",
"");
I_Method0(osg::Vec3Array *, getOutputNormalArray,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getOutputNormalArray,
"Get the output normal array (optional). ",
"");
I_Method1(void, setOutputNormalArray, IN, osg::Vec3Array *, normals,
Properties::NON_VIRTUAL,
__void__setOutputNormalArray__osg_Vec3Array_P1,
"Set the output normal array (optional). ",
"");
I_Method0(bool, triangulate,
Properties::NON_VIRTUAL,
__bool__triangulate,
"Start triangulation. ",
"");
I_Method0(const osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__C5_osg_DrawElementsUInt_P1__getTriangles,
"Get the generated primitive (call triangulate() first). ",
"");
I_Method0(osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__getTriangles,
"Get the generated primitive (call triangulate() first). ",
"");
I_Method1(void, removeInternalTriangles, IN, osgUtil::DelaunayConstraint *, constraint,
Properties::NON_VIRTUAL,
__void__removeInternalTriangles__DelaunayConstraint_P1,
"remove the triangles internal to the constraint loops. ",
"(Line strips cannot remove any internal triangles). ");
I_Constructor0(____DelaunayTriangulator,
"",
"");
@@ -420,151 +170,44 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayTriangulator)
0);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::DelaunayConstraint > >, osgUtil::DelaunayTriangulator::linelist);
BEGIN_OBJECT_REFLECTOR(osgUtil::DelaunayTriangulator)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____DelaunayTriangulator,
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::DelaunayConstraint >)
I_Constructor0(____ref_ptr,
"",
"");
I_ConstructorWithDefaults2(IN, osg::Vec3Array *, points, , IN, osg::Vec3Array *, normals, 0,
____DelaunayTriangulator__osg_Vec3Array_P1__osg_Vec3Array_P1,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::DelaunayTriangulator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DelaunayTriangulator__C5_DelaunayTriangulator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(const osg::Vec3Array *, getInputPointArray,
Properties::NON_VIRTUAL,
__C5_osg_Vec3Array_P1__getInputPointArray,
"Get the const input point array. ",
"");
I_Method0(osg::Vec3Array *, getInputPointArray,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getInputPointArray,
"Get the input point array. ",
"");
I_Method1(void, setInputPointArray, IN, osg::Vec3Array *, points,
Properties::NON_VIRTUAL,
__void__setInputPointArray__osg_Vec3Array_P1,
"Set the input point array. ",
"");
I_Method1(void, addInputConstraint, IN, osgUtil::DelaunayConstraint *, dc,
Properties::NON_VIRTUAL,
__void__addInputConstraint__DelaunayConstraint_P1,
"Add an input constraint loop. ",
"the edges of the loop will constrain the triangulation. if remove!=0, the internal triangles of the constraint will be removed; the user may the replace the constraint line with an equivalent geometry. GWM July 2005 ");
I_Method0(const osg::Vec3Array *, getOutputNormalArray,
Properties::NON_VIRTUAL,
__C5_osg_Vec3Array_P1__getOutputNormalArray,
"Get the const output normal array (optional). ",
"");
I_Method0(osg::Vec3Array *, getOutputNormalArray,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getOutputNormalArray,
"Get the output normal array (optional). ",
"");
I_Method1(void, setOutputNormalArray, IN, osg::Vec3Array *, normals,
Properties::NON_VIRTUAL,
__void__setOutputNormalArray__osg_Vec3Array_P1,
"Set the output normal array (optional). ",
"");
I_Method0(bool, triangulate,
Properties::NON_VIRTUAL,
__bool__triangulate,
"Start triangulation. ",
"");
I_Method0(const osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__C5_osg_DrawElementsUInt_P1__getTriangles,
"Get the generated primitive (call triangulate() first). ",
"");
I_Method0(osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__getTriangles,
"Get the generated primitive (call triangulate() first). ",
"");
I_Method1(void, removeInternalTriangles, IN, osgUtil::DelaunayConstraint *, constraint,
Properties::NON_VIRTUAL,
__void__removeInternalTriangles__DelaunayConstraint_P1,
"remove the triangles internal to the constraint loops. ",
"(Line strips cannot remove any internal triangles). ");
I_Constructor0(____DelaunayTriangulator,
I_Constructor1(IN, osgUtil::DelaunayConstraint *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_ConstructorWithDefaults2(IN, osg::Vec3Array *, points, , IN, osg::Vec3Array *, normals, 0,
____DelaunayTriangulator__osg_Vec3Array_P1__osg_Vec3Array_P1,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::DelaunayTriangulator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DelaunayTriangulator__C5_DelaunayTriangulator_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(const osg::Vec3Array *, getInputPointArray,
I_Constructor1(IN, const osg::ref_ptr< osgUtil::DelaunayConstraint > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::DelaunayConstraint *, get,
Properties::NON_VIRTUAL,
__C5_osg_Vec3Array_P1__getInputPointArray,
"Get the const input point array. ",
__T_P1__get,
"",
"");
I_Method0(osg::Vec3Array *, getInputPointArray,
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getInputPointArray,
"Get the input point array. ",
__bool__valid,
"",
"");
I_Method1(void, setInputPointArray, IN, osg::Vec3Array *, points,
I_Method0(osgUtil::DelaunayConstraint *, release,
Properties::NON_VIRTUAL,
__void__setInputPointArray__osg_Vec3Array_P1,
"Set the input point array. ",
__T_P1__release,
"",
"");
I_Method1(void, addInputConstraint, IN, osgUtil::DelaunayConstraint *, dc,
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::DelaunayConstraint > &, rp,
Properties::NON_VIRTUAL,
__void__addInputConstraint__DelaunayConstraint_P1,
"Add an input constraint loop. ",
"the edges of the loop will constrain the triangulation. if remove!=0, the internal triangles of the constraint will be removed; the user may the replace the constraint line with an equivalent geometry. GWM July 2005 ");
I_Method0(const osg::Vec3Array *, getOutputNormalArray,
Properties::NON_VIRTUAL,
__C5_osg_Vec3Array_P1__getOutputNormalArray,
"Get the const output normal array (optional). ",
__void__swap__ref_ptr_R1,
"",
"");
I_Method0(osg::Vec3Array *, getOutputNormalArray,
Properties::NON_VIRTUAL,
__osg_Vec3Array_P1__getOutputNormalArray,
"Get the output normal array (optional). ",
"");
I_Method1(void, setOutputNormalArray, IN, osg::Vec3Array *, normals,
Properties::NON_VIRTUAL,
__void__setOutputNormalArray__osg_Vec3Array_P1,
"Set the output normal array (optional). ",
"");
I_Method0(bool, triangulate,
Properties::NON_VIRTUAL,
__bool__triangulate,
"Start triangulation. ",
"");
I_Method0(const osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__C5_osg_DrawElementsUInt_P1__getTriangles,
"Get the generated primitive (call triangulate() first). ",
"");
I_Method0(osg::DrawElementsUInt *, getTriangles,
Properties::NON_VIRTUAL,
__osg_DrawElementsUInt_P1__getTriangles,
"Get the generated primitive (call triangulate() first). ",
"");
I_Method1(void, removeInternalTriangles, IN, osgUtil::DelaunayConstraint *, constraint,
Properties::NON_VIRTUAL,
__void__removeInternalTriangles__DelaunayConstraint_P1,
"remove the triangles internal to the constraint loops. ",
"(Line strips cannot remove any internal triangles). ");
I_SimpleProperty(osg::Vec3Array *, InputPointArray,
__osg_Vec3Array_P1__getInputPointArray,
__void__setInputPointArray__osg_Vec3Array_P1);
I_SimpleProperty(osg::Vec3Array *, OutputNormalArray,
__osg_Vec3Array_P1__getOutputNormalArray,
__void__setOutputNormalArray__osg_Vec3Array_P1);
I_SimpleProperty(osg::DrawElementsUInt *, Triangles,
__osg_DrawElementsUInt_P1__getTriangles,
I_SimpleProperty(osgUtil::DelaunayConstraint *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::DelaunayConstraint > >);

View File

@@ -10,9 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/DisplaySettings.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/DisplaySettings>
#include <osg/Geode>
#include <osg/Node>
#include <osg/StateSet>
#include <osgUtil/DisplayRequirementsVisitor>
@@ -26,99 +26,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::DisplayRequirementsVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____DisplayRequirementsVisitor,
"Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. ",
"");
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds,
Properties::NON_VIRTUAL,
__void__setDisplaySettings__osg_DisplaySettings_P1,
"Set the DisplaySettings. ",
"");
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
Properties::NON_VIRTUAL,
__C5_osg_DisplaySettings_P1__getDisplaySettings,
"Get the DisplaySettings. ",
"");
I_Method1(void, applyStateSet, IN, osg::StateSet &, stateset,
Properties::VIRTUAL,
__void__applyStateSet__osg_StateSet_R1,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Constructor0(____DisplayRequirementsVisitor,
"Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. ",
"");
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds,
Properties::NON_VIRTUAL,
__void__setDisplaySettings__osg_DisplaySettings_P1,
"Set the DisplaySettings. ",
"");
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
Properties::NON_VIRTUAL,
__C5_osg_DisplaySettings_P1__getDisplaySettings,
"Get the DisplaySettings. ",
"");
I_Method1(void, applyStateSet, IN, osg::StateSet &, stateset,
Properties::VIRTUAL,
__void__applyStateSet__osg_StateSet_R1,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_SimpleProperty(osg::DisplaySettings *, DisplaySettings,
0,
__void__setDisplaySettings__osg_DisplaySettings_P1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::DisplayRequirementsVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____DisplayRequirementsVisitor,
"Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. ",
"");
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds,
Properties::NON_VIRTUAL,
__void__setDisplaySettings__osg_DisplaySettings_P1,
"Set the DisplaySettings. ",
"");
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
Properties::NON_VIRTUAL,
__C5_osg_DisplaySettings_P1__getDisplaySettings,
"Get the DisplaySettings. ",
"");
I_Method1(void, applyStateSet, IN, osg::StateSet &, stateset,
Properties::VIRTUAL,
__void__applyStateSet__osg_StateSet_R1,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Constructor0(____DisplayRequirementsVisitor,
"Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. ",
"");

View File

@@ -10,13 +10,12 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/RenderInfo.svn-base>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Node>
#include <osg/RenderInfo>
#include <osg/State>
#include <osg/StateSet>
#include <osgUtil/.svn/text-base/GLObjectsVisitor.svn-base>
#include <osgUtil/GLObjectsVisitor>
// Must undefine IN and OUT macros defined in Windows headers
@@ -42,7 +41,6 @@ BEGIN_ENUM_REFLECTOR(osgUtil::GLObjectsVisitor::ModeValues)
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES,
Properties::NON_EXPLICIT,
@@ -52,216 +50,8 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor)
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"Set the operational mode of what operations to do on the scene graph. ",
"");
I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__getMode,
"Get the operational mode. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"Set the State to use during traversal. ",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__osg_State_P1__getState,
"",
"");
I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__setRenderInfo__osg_RenderInfo_R1,
"",
"");
I_Method0(osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"Simply traverse using standard NodeVisitor traverse method. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"For each Geode visited set the display list usage according to the _displayListMode. ",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method1(void, apply, IN, osg::StateSet &, stateset,
Properties::NON_VIRTUAL,
__void__apply__osg_StateSet_R1,
"",
"");
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES,
Properties::NON_EXPLICIT,
____GLObjectsVisitor__Mode,
"Construct a GLObjectsVisitor to traverse all children, operating on node according to specified mode, such as to compile or release display list/texture objects etc. ",
"Default mode is to compile GL objects.");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"Set the operational mode of what operations to do on the scene graph. ",
"");
I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__getMode,
"Get the operational mode. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"Set the State to use during traversal. ",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__osg_State_P1__getState,
"",
"");
I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__setRenderInfo__osg_RenderInfo_R1,
"",
"");
I_Method0(osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"Simply traverse using standard NodeVisitor traverse method. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"For each Geode visited set the display list usage according to the _displayListMode. ",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method1(void, apply, IN, osg::StateSet &, stateset,
Properties::NON_VIRTUAL,
__void__apply__osg_StateSet_R1,
"",
"");
I_SimpleProperty(osgUtil::GLObjectsVisitor::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);
I_SimpleProperty(osg::RenderInfo &, RenderInfo,
__osg_RenderInfo_R1__getRenderInfo,
__void__setRenderInfo__osg_RenderInfo_R1);
I_SimpleProperty(osg::State *, State,
__osg_State_P1__getState,
__void__setState__osg_State_P1);
END_REFLECTOR
TYPE_NAME_ALIAS(unsigned int, osgUtil::GLObjectsVisitor::Mode);
BEGIN_ENUM_REFLECTOR(osgUtil::GLObjectsVisitor::ModeValues)
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_ON_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_OFF_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES);
I_EnumLabel(osgUtil::GLObjectsVisitor::RELEASE_DISPLAY_LISTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::RELEASE_STATE_ATTRIBUTES);
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_ON_VERTEX_BUFFER_OBJECTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::SWITCH_OFF_VERTEX_BUFFER_OBJECTS);
I_EnumLabel(osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES,
Properties::NON_EXPLICIT,
____GLObjectsVisitor__Mode,
"Construct a GLObjectsVisitor to traverse all children, operating on node according to specified mode, such as to compile or release display list/texture objects etc. ",
"Default mode is to compile GL objects.");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"Set the operational mode of what operations to do on the scene graph. ",
"");
I_Method0(osgUtil::GLObjectsVisitor::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__getMode,
"Get the operational mode. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"Set the State to use during traversal. ",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__osg_State_P1__getState,
"",
"");
I_Method1(void, setRenderInfo, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__setRenderInfo__osg_RenderInfo_R1,
"",
"");
I_Method0(osg::RenderInfo &, getRenderInfo,
Properties::NON_VIRTUAL,
__osg_RenderInfo_R1__getRenderInfo,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"Simply traverse using standard NodeVisitor traverse method. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"For each Geode visited set the display list usage according to the _displayListMode. ",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method1(void, apply, IN, osg::StateSet &, stateset,
Properties::NON_VIRTUAL,
__void__apply__osg_StateSet_R1,
"",
"");
I_ConstructorWithDefaults1(IN, osgUtil::GLObjectsVisitor::Mode, mode, osgUtil::GLObjectsVisitor::COMPILE_DISPLAY_LISTS|osgUtil::GLObjectsVisitor::COMPILE_STATE_ATTRIBUTES|osgUtil::GLObjectsVisitor::CHECK_BLACK_LISTED_MODES,
Properties::NON_EXPLICIT,
____GLObjectsVisitor__Mode,
"Construct a GLObjectsVisitor to traverse all children, operating on node according to specified mode, such as to compile or release display list/texture objects etc. ",
"Default mode is to compile GL objects.");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, setMode, IN, osgUtil::GLObjectsVisitor::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,

View File

@@ -13,15 +13,22 @@ CXXFILES =\
IntersectionVisitor.cpp\
LineSegmentIntersector.cpp\
Optimizer.cpp\
PlaneIntersector.cpp\
PolytopeIntersector.cpp\
PositionalStateContainer.cpp\
ReflectionMapGenerator.cpp\
RenderBin.cpp\
RenderLeaf.cpp\
RenderStage.cpp\
SceneView.cpp\
Simplifier.cpp\
SmoothingVisitor.cpp\
StateGraph.cpp\
Statistics.cpp\
TangentSpaceGenerator.cpp\
Tessellator.cpp\
TransformAttributeFunctor.cpp\
TransformCallback.cpp\
TriStripVisitor.cpp\
UpdateVisitor.cpp\

View File

@@ -10,8 +10,8 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/CopyOp>
#include <osg/Vec3>
#include <osgUtil/HalfWayMapGenerator>
// Must undefine IN and OUT macros defined in Windows headers
@@ -24,36 +24,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::HalfWayMapGenerator)
I_BaseType(osgUtil::CubeMapGenerator);
I_BaseType(osgUtil::CubeMapGenerator);
I_ConstructorWithDefaults2(IN, const osg::Vec3 &, light_direction, , IN, int, texture_size, 64,
____HalfWayMapGenerator__C5_osg_Vec3_R1__int,
"",
"");
I_Constructor2(IN, const osgUtil::HalfWayMapGenerator &, copy, IN, const osg::CopyOp &, copyop,
____HalfWayMapGenerator__C5_HalfWayMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Vec3 &, light_direction, , IN, int, texture_size, 64,
____HalfWayMapGenerator__C5_osg_Vec3_R1__int,
"",
"");
I_Constructor2(IN, const osgUtil::HalfWayMapGenerator &, copy, IN, const osg::CopyOp &, copyop,
____HalfWayMapGenerator__C5_HalfWayMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::HalfWayMapGenerator)
I_BaseType(osgUtil::CubeMapGenerator);
I_BaseType(osgUtil::CubeMapGenerator);
I_ConstructorWithDefaults2(IN, const osg::Vec3 &, light_direction, , IN, int, texture_size, 64,
____HalfWayMapGenerator__C5_osg_Vec3_R1__int,
"",
"");
I_Constructor2(IN, const osgUtil::HalfWayMapGenerator &, copy, IN, const osg::CopyOp &, copyop,
____HalfWayMapGenerator__C5_HalfWayMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Vec3 &, light_direction, , IN, int, texture_size, 64,
____HalfWayMapGenerator__C5_osg_Vec3_R1__int,
"",

View File

@@ -10,9 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/.svn/text-base/Vec4.svn-base>
#include <osg/CopyOp>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osgUtil/HighlightMapGenerator>
// Must undefine IN and OUT macros defined in Windows headers
@@ -25,36 +25,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::HighlightMapGenerator)
I_BaseType(osgUtil::CubeMapGenerator);
I_BaseType(osgUtil::CubeMapGenerator);
I_ConstructorWithDefaults4(IN, const osg::Vec3 &, light_direction, , IN, const osg::Vec4 &, light_color, , IN, float, specular_exponent, , IN, int, texture_size, 64,
____HighlightMapGenerator__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::HighlightMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____HighlightMapGenerator__C5_HighlightMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults4(IN, const osg::Vec3 &, light_direction, , IN, const osg::Vec4 &, light_color, , IN, float, specular_exponent, , IN, int, texture_size, 64,
____HighlightMapGenerator__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::HighlightMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____HighlightMapGenerator__C5_HighlightMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::HighlightMapGenerator)
I_BaseType(osgUtil::CubeMapGenerator);
I_BaseType(osgUtil::CubeMapGenerator);
I_ConstructorWithDefaults4(IN, const osg::Vec3 &, light_direction, , IN, const osg::Vec4 &, light_color, , IN, float, specular_exponent, , IN, int, texture_size, 64,
____HighlightMapGenerator__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::HighlightMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____HighlightMapGenerator__C5_HighlightMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults4(IN, const osg::Vec3 &, light_direction, , IN, const osg::Vec4 &, light_color, , IN, float, specular_exponent, , IN, int, texture_size, 64,
____HighlightMapGenerator__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__int,
"",

View File

@@ -10,17 +10,21 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/LineSegment.svn-base>
#include <osg/.svn/text-base/Matrix.svn-base>
#include <osg/.svn/text-base/Matrixd.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/.svn/text-base/Viewport.svn-base>
#include <osg/Billboard>
#include <osg/Camera>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/LOD>
#include <osg/LineSegment>
#include <osg/Matrix>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/Projection>
#include <osgUtil/.svn/text-base/IntersectVisitor.svn-base>
#include <osg/Switch>
#include <osg/Transform>
#include <osg/Vec3>
#include <osg/Viewport>
#include <osgUtil/IntersectVisitor>
// Must undefine IN and OUT macros defined in Windows headers
@@ -34,99 +38,6 @@
TYPE_NAME_ALIAS(std::vector< int >, osgUtil::Hit::VecIndexList);
BEGIN_VALUE_REFLECTOR(osgUtil::Hit)
I_Constructor0(____Hit,
"Describes a point in space produced by an intersection of a line with a scene. ",
"A Hit is always on a surface as rendered by the Open Scene Graph scene (usually a triangle or other primitive, but a special hit handler could return a different value perhaps: a sphere shape might return a Hit on the true sphere rather than the approximate tessellated sphere rendered.");
I_Constructor1(IN, const osgUtil::Hit &, hit,
Properties::NON_EXPLICIT,
____Hit__C5_Hit_R1,
"",
"");
I_Method0(const osg::Vec3 &, getLocalIntersectPoint,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getLocalIntersectPoint,
"",
"");
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getLocalIntersectNormal,
"",
"");
I_Method0(const osg::Vec3, getWorldIntersectPoint,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getWorldIntersectPoint,
"",
"");
I_Method0(const osg::Vec3, getWorldIntersectNormal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getWorldIntersectNormal,
"",
"");
I_Method0(float, getRatio,
Properties::NON_VIRTUAL,
__float__getRatio,
"",
"");
I_Method0(const osg::LineSegment *, getOriginalLineSegment,
Properties::NON_VIRTUAL,
__C5_osg_LineSegment_P1__getOriginalLineSegment,
"",
"");
I_Method0(const osg::LineSegment *, getLocalLineSegment,
Properties::NON_VIRTUAL,
__C5_osg_LineSegment_P1__getLocalLineSegment,
"",
"");
I_Method0(osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__osg_NodePath_R1__getNodePath,
"",
"");
I_Method0(const osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__C5_osg_NodePath_R1__getNodePath,
"",
"");
I_Method0(osg::Geode *, getGeode,
Properties::NON_VIRTUAL,
__osg_Geode_P1__getGeode,
"",
"");
I_Method0(const osg::Geode *, getGeode,
Properties::NON_VIRTUAL,
__C5_osg_Geode_P1__getGeode,
"",
"");
I_Method0(osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__osg_Drawable_P1__getDrawable,
"",
"");
I_Method0(const osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__C5_osg_Drawable_P1__getDrawable,
"",
"");
I_Method0(const osg::RefMatrix *, getMatrix,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getMatrix,
"",
"");
I_Method0(const osg::RefMatrix *, getInverseMatrix,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getInverseMatrix,
"",
"");
I_Method0(const osgUtil::Hit::VecIndexList &, getVecIndexList,
Properties::NON_VIRTUAL,
__C5_VecIndexList_R1__getVecIndexList,
"",
"");
I_Method0(int, getPrimitiveIndex,
Properties::NON_VIRTUAL,
__int__getPrimitiveIndex,
"",
"");
I_Constructor0(____Hit,
"Describes a point in space produced by an intersection of a line with a scene. ",
"A Hit is always on a surface as rendered by the Open Scene Graph scene (usually a triangle or other primitive, but a special hit handler could return a different value perhaps: a sphere shape might return a Hit on the true sphere rather than the approximate tessellated sphere rendered.");
@@ -274,267 +185,124 @@ BEGIN_VALUE_REFLECTOR(osgUtil::Hit)
I_PublicMemberProperty(int, _primitiveIndex);
I_PublicMemberProperty(osg::Vec3, _intersectPoint);
I_PublicMemberProperty(osg::Vec3, _intersectNormal);
I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _originalLineSegment);
I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _localLineSegment);
I_PublicMemberProperty(osg::ref_ptr< osg::Geode >, _geode);
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, _drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _matrix);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _inverse);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< int >, osgUtil::Hit::VecIndexList);
TYPE_NAME_ALIAS(std::vector< osgUtil::Hit >, osgUtil::IntersectVisitor::HitList);
BEGIN_VALUE_REFLECTOR(osgUtil::Hit)
I_Constructor0(____Hit,
"Describes a point in space produced by an intersection of a line with a scene. ",
"A Hit is always on a surface as rendered by the Open Scene Graph scene (usually a triangle or other primitive, but a special hit handler could return a different value perhaps: a sphere shape might return a Hit on the true sphere rather than the approximate tessellated sphere rendered.");
I_Constructor1(IN, const osgUtil::Hit &, hit,
Properties::NON_EXPLICIT,
____Hit__C5_Hit_R1,
TYPE_NAME_ALIAS(std::map< const osg::LineSegment * COMMA osgUtil::IntersectVisitor::HitList >, osgUtil::IntersectVisitor::LineSegmentHitListMap);
BEGIN_ENUM_REFLECTOR(osgUtil::IntersectVisitor::LODSelectionMode)
I_EnumLabel(osgUtil::IntersectVisitor::USE_HIGHEST_LEVEL_OF_DETAIL);
I_EnumLabel(osgUtil::IntersectVisitor::USE_SEGMENT_START_POINT_AS_EYE_POINT_FOR_LOD_LEVEL_SELECTION);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectVisitor)
I_BaseType(osg::NodeVisitor);
I_Constructor0(____IntersectVisitor,
"",
"");
I_Method0(const osg::Vec3 &, getLocalIntersectPoint,
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, addLineSegment, IN, osg::LineSegment *, seg,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getLocalIntersectPoint,
__void__addLineSegment__osg_LineSegment_P1,
"Add a line segment to use for intersection testing during scene traversal. ",
"Note, a maximum of 32 line segments can be added to a IntersectVistor, adding more than this will result in warning being emitted to the console and the excess segments being ignored. ");
I_Method1(osgUtil::IntersectVisitor::HitList &, getHitList, IN, const osg::LineSegment *, seg,
Properties::NON_VIRTUAL,
__HitList_R1__getHitList__C5_osg_LineSegment_P1,
"",
"");
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
I_Method1(int, getNumHits, IN, const osg::LineSegment *, seg,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getLocalIntersectNormal,
__int__getNumHits__C5_osg_LineSegment_P1,
"",
"");
I_Method0(const osg::Vec3, getWorldIntersectPoint,
I_Method0(osgUtil::IntersectVisitor::LineSegmentHitListMap &, getSegHitList,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getWorldIntersectPoint,
__LineSegmentHitListMap_R1__getSegHitList,
"",
"");
I_Method0(const osg::Vec3, getWorldIntersectNormal,
I_Method0(bool, hits,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getWorldIntersectNormal,
__bool__hits,
"",
"");
I_Method0(float, getRatio,
I_Method1(void, setLODSelectionMode, IN, osgUtil::IntersectVisitor::LODSelectionMode, mode,
Properties::NON_VIRTUAL,
__float__getRatio,
__void__setLODSelectionMode__LODSelectionMode,
"",
"");
I_Method0(const osg::LineSegment *, getOriginalLineSegment,
I_Method0(osgUtil::IntersectVisitor::LODSelectionMode, getLODSelectionMode,
Properties::NON_VIRTUAL,
__C5_osg_LineSegment_P1__getOriginalLineSegment,
__LODSelectionMode__getLODSelectionMode,
"",
"");
I_Method0(const osg::LineSegment *, getLocalLineSegment,
I_Method1(void, setEyePoint, IN, const osg::Vec3 &, eye,
Properties::NON_VIRTUAL,
__C5_osg_LineSegment_P1__getLocalLineSegment,
__void__setEyePoint__C5_osg_Vec3_R1,
"Set the eye point in local coordinates. ",
"This is a pseudo-EyePoint for billboarding and LOD purposes. It is copied from the Start point of the most-recently-added segment of the intersection ray set (IntersectState::_segList). ");
I_Method0(osg::Vec3, getEyePoint,
Properties::VIRTUAL,
__osg_Vec3__getEyePoint,
"Get the eye point in local coordinates. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
Properties::VIRTUAL,
__float__getDistanceToEyePoint__C5_osg_Vec3_R1__bool,
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
"This is calculated using the pseudo-EyePoint (above) when doing LOD calculcations. ");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method0(osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__osg_NodePath_R1__getNodePath,
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method0(const osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__C5_osg_NodePath_R1__getNodePath,
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method0(osg::Geode *, getGeode,
Properties::NON_VIRTUAL,
__osg_Geode_P1__getGeode,
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method0(const osg::Geode *, getGeode,
Properties::NON_VIRTUAL,
__C5_osg_Geode_P1__getGeode,
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method0(osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__osg_Drawable_P1__getDrawable,
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method0(const osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__C5_osg_Drawable_P1__getDrawable,
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method0(const osg::RefMatrix *, getMatrix,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getMatrix,
"",
"");
I_Method0(const osg::RefMatrix *, getInverseMatrix,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getInverseMatrix,
"",
"");
I_Method0(const osgUtil::Hit::VecIndexList &, getVecIndexList,
Properties::NON_VIRTUAL,
__C5_VecIndexList_R1__getVecIndexList,
"",
"");
I_Method0(int, getPrimitiveIndex,
Properties::NON_VIRTUAL,
__int__getPrimitiveIndex,
"",
"");
I_Constructor0(____Hit,
"Describes a point in space produced by an intersection of a line with a scene. ",
"A Hit is always on a surface as rendered by the Open Scene Graph scene (usually a triangle or other primitive, but a special hit handler could return a different value perhaps: a sphere shape might return a Hit on the true sphere rather than the approximate tessellated sphere rendered.");
I_Constructor1(IN, const osgUtil::Hit &, hit,
Properties::NON_EXPLICIT,
____Hit__C5_Hit_R1,
"",
"");
I_Method0(const osg::Vec3 &, getLocalIntersectPoint,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getLocalIntersectPoint,
"",
"");
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getLocalIntersectNormal,
"",
"");
I_Method0(const osg::Vec3, getWorldIntersectPoint,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getWorldIntersectPoint,
"",
"");
I_Method0(const osg::Vec3, getWorldIntersectNormal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getWorldIntersectNormal,
"",
"");
I_Method0(float, getRatio,
Properties::NON_VIRTUAL,
__float__getRatio,
"",
"");
I_Method0(const osg::LineSegment *, getOriginalLineSegment,
Properties::NON_VIRTUAL,
__C5_osg_LineSegment_P1__getOriginalLineSegment,
"",
"");
I_Method0(const osg::LineSegment *, getLocalLineSegment,
Properties::NON_VIRTUAL,
__C5_osg_LineSegment_P1__getLocalLineSegment,
"",
"");
I_Method0(osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__osg_NodePath_R1__getNodePath,
"",
"");
I_Method0(const osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__C5_osg_NodePath_R1__getNodePath,
"",
"");
I_Method0(osg::Geode *, getGeode,
Properties::NON_VIRTUAL,
__osg_Geode_P1__getGeode,
"",
"");
I_Method0(const osg::Geode *, getGeode,
Properties::NON_VIRTUAL,
__C5_osg_Geode_P1__getGeode,
"",
"");
I_Method0(osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__osg_Drawable_P1__getDrawable,
"",
"");
I_Method0(const osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__C5_osg_Drawable_P1__getDrawable,
"",
"");
I_Method0(const osg::RefMatrix *, getMatrix,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getMatrix,
"",
"");
I_Method0(const osg::RefMatrix *, getInverseMatrix,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getInverseMatrix,
"",
"");
I_Method0(const osgUtil::Hit::VecIndexList &, getVecIndexList,
Properties::NON_VIRTUAL,
__C5_VecIndexList_R1__getVecIndexList,
"",
"");
I_Method0(int, getPrimitiveIndex,
Properties::NON_VIRTUAL,
__int__getPrimitiveIndex,
"",
"");
I_SimpleProperty(osg::Drawable *, Drawable,
__osg_Drawable_P1__getDrawable,
I_SimpleProperty(osg::Vec3, EyePoint,
__osg_Vec3__getEyePoint,
__void__setEyePoint__C5_osg_Vec3_R1);
I_SimpleProperty(osgUtil::IntersectVisitor::LODSelectionMode, LODSelectionMode,
__LODSelectionMode__getLODSelectionMode,
__void__setLODSelectionMode__LODSelectionMode);
I_SimpleProperty(osgUtil::IntersectVisitor::LineSegmentHitListMap &, SegHitList,
__LineSegmentHitListMap_R1__getSegHitList,
0);
I_SimpleProperty(osg::Geode *, Geode,
__osg_Geode_P1__getGeode,
0);
I_SimpleProperty(const osg::RefMatrix *, InverseMatrix,
__C5_osg_RefMatrix_P1__getInverseMatrix,
0);
I_SimpleProperty(const osg::Vec3 &, LocalIntersectNormal,
__C5_osg_Vec3_R1__getLocalIntersectNormal,
0);
I_SimpleProperty(const osg::Vec3 &, LocalIntersectPoint,
__C5_osg_Vec3_R1__getLocalIntersectPoint,
0);
I_SimpleProperty(const osg::LineSegment *, LocalLineSegment,
__C5_osg_LineSegment_P1__getLocalLineSegment,
0);
I_SimpleProperty(const osg::RefMatrix *, Matrix,
__C5_osg_RefMatrix_P1__getMatrix,
0);
I_SimpleProperty(osg::NodePath &, NodePath,
__osg_NodePath_R1__getNodePath,
0);
I_SimpleProperty(const osg::LineSegment *, OriginalLineSegment,
__C5_osg_LineSegment_P1__getOriginalLineSegment,
0);
I_SimpleProperty(int, PrimitiveIndex,
__int__getPrimitiveIndex,
0);
I_SimpleProperty(float, Ratio,
__float__getRatio,
0);
I_SimpleProperty(const osgUtil::Hit::VecIndexList &, VecIndexList,
__C5_VecIndexList_R1__getVecIndexList,
0);
I_SimpleProperty(const osg::Vec3, WorldIntersectNormal,
__C5_osg_Vec3__getWorldIntersectNormal,
0);
I_SimpleProperty(const osg::Vec3, WorldIntersectPoint,
__C5_osg_Vec3__getWorldIntersectPoint,
0);
I_PublicMemberProperty(float, _ratio);
I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _originalLineSegment);
I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _localLineSegment);
I_PublicMemberProperty(osg::NodePath, _nodePath);
I_PublicMemberProperty(osg::ref_ptr< osg::Geode >, _geode);
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, _drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _matrix);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _inverse);
I_PublicMemberProperty(osgUtil::Hit::VecIndexList, _vecIndexList);
I_PublicMemberProperty(int, _primitiveIndex);
I_PublicMemberProperty(osg::Vec3, _intersectPoint);
I_PublicMemberProperty(osg::Vec3, _intersectNormal);
I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _originalLineSegment);
I_PublicMemberProperty(osg::ref_ptr< osg::LineSegment >, _localLineSegment);
I_PublicMemberProperty(osg::ref_ptr< osg::Geode >, _geode);
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, _drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _matrix);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _inverse);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::PickVisitor)
I_BaseType(osgUtil::IntersectVisitor);
I_BaseType(osgUtil::IntersectVisitor);
I_Constructor5(IN, const osg::Viewport *, viewport, IN, const osg::Matrixd &, proj, IN, const osg::Matrixd &, view, IN, float, mx, IN, float, my,
____PickVisitor__C5_osg_Viewport_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__float__float,
@@ -546,76 +314,20 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::PickVisitor)
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::NON_VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_Constructor5(IN, const osg::Viewport *, viewport, IN, const osg::Matrixd &, proj, IN, const osg::Matrixd &, view, IN, float, mx, IN, float, my,
____PickVisitor__C5_osg_Viewport_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__float__float,
"",
"");
I_Method6(void, runNestedPickVisitor, IN, osg::Node &, node, IN, const osg::Viewport *, viewport, IN, const osg::Matrix &, proj, IN, const osg::Matrix &, view, IN, float, mx, IN, float, my,
Properties::NON_VIRTUAL,
__void__runNestedPickVisitor__osg_Node_R1__C5_osg_Viewport_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float__float,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::NON_VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::PickVisitor)
I_BaseType(osgUtil::IntersectVisitor);
I_BaseType(osgUtil::IntersectVisitor);
I_Constructor5(IN, const osg::Viewport *, viewport, IN, const osg::Matrixd &, proj, IN, const osg::Matrixd &, view, IN, float, mx, IN, float, my,
____PickVisitor__C5_osg_Viewport_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__float__float,
"",
"");
I_Method6(void, runNestedPickVisitor, IN, osg::Node &, node, IN, const osg::Viewport *, viewport, IN, const osg::Matrix &, proj, IN, const osg::Matrix &, view, IN, float, mx, IN, float, my,
Properties::NON_VIRTUAL,
__void__runNestedPickVisitor__osg_Node_R1__C5_osg_Viewport_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float__float,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::NON_VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::NON_VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_Constructor5(IN, const osg::Viewport *, viewport, IN, const osg::Matrixd &, proj, IN, const osg::Matrixd &, view, IN, float, mx, IN, float, my,
____PickVisitor__C5_osg_Viewport_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__float__float,
"",
"");
I_Method6(void, runNestedPickVisitor, IN, osg::Node &, node, IN, const osg::Viewport *, viewport, IN, const osg::Matrix &, proj, IN, const osg::Matrix &, view, IN, float, mx, IN, float, my,
Properties::NON_VIRTUAL,
__void__runNestedPickVisitor__osg_Node_R1__C5_osg_Viewport_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__float__float,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::NON_VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::NON_VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< const osg::LineSegment * COMMA osgUtil::IntersectVisitor::HitList >);
STD_VECTOR_REFLECTOR(std::vector< int >);
STD_VECTOR_REFLECTOR(std::vector< osgUtil::Hit >);

View File

@@ -10,19 +10,18 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Billboard.svn-base>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/Group.svn-base>
#include <osg/.svn/text-base/LOD.svn-base>
#include <osg/.svn/text-base/Matrix.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/PagedLOD.svn-base>
#include <osg/.svn/text-base/Viewport.svn-base>
#include <osg/Billboard>
#include <osg/Camera>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/LOD>
#include <osg/Matrix>
#include <osg/Node>
#include <osg/PagedLOD>
#include <osg/Projection>
#include <osg/Transform>
#include <osgUtil/.svn/text-base/IntersectionVisitor.svn-base>
#include <osg/Viewport>
#include <osgUtil/IntersectionVisitor>
// Must undefine IN and OUT macros defined in Windows headers
@@ -34,7 +33,6 @@
#endif
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults2(IN, osgUtil::Intersector *, intersector, 0, IN, osgUtil::IntersectionVisitor::ReadCallback *, readCallback, 0,
____IntersectionVisitor__Intersector_P1__ReadCallback_P1,
@@ -43,478 +41,8 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor)
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setIntersector, IN, osgUtil::Intersector *, intersector,
Properties::NON_VIRTUAL,
__void__setIntersector__Intersector_P1,
"Set the intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method0(osgUtil::Intersector *, getIntersector,
Properties::NON_VIRTUAL,
__Intersector_P1__getIntersector,
"Get the intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method0(const osgUtil::Intersector *, getIntersector,
Properties::NON_VIRTUAL,
__C5_Intersector_P1__getIntersector,
"Get the const intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method1(void, setReadCallback, IN, osgUtil::IntersectionVisitor::ReadCallback *, rc,
Properties::NON_VIRTUAL,
__void__setReadCallback__ReadCallback_P1,
"Set the read callback. ",
"");
I_Method0(osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback,
Properties::NON_VIRTUAL,
__ReadCallback_P1__getReadCallback,
"Get the read callback. ",
"");
I_Method0(const osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback,
Properties::NON_VIRTUAL,
__C5_ReadCallback_P1__getReadCallback,
"Get the const read callback. ",
"");
I_Method1(void, pushWindowMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushWindowMatrix__osg_RefMatrix_P1,
"",
"");
I_Method1(void, pushWindowMatrix, IN, osg::Viewport *, viewport,
Properties::NON_VIRTUAL,
__void__pushWindowMatrix__osg_Viewport_P1,
"",
"");
I_Method0(void, popWindowMatrix,
Properties::NON_VIRTUAL,
__void__popWindowMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getWindowMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getWindowMatrix,
"",
"");
I_Method1(void, pushProjectionMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushProjectionMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popProjectionMatrix,
Properties::NON_VIRTUAL,
__void__popProjectionMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getProjectionMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getProjectionMatrix,
"",
"");
I_Method1(void, pushViewMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushViewMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popViewMatrix,
Properties::NON_VIRTUAL,
__void__popViewMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getViewMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getViewMatrix,
"",
"");
I_Method1(void, pushModelMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushModelMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popModelMatrix,
Properties::NON_VIRTUAL,
__void__popModelMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getModelMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getModelMatrix,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, geode,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, group,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, lod,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::PagedLOD &, lod,
Properties::VIRTUAL,
__void__apply__osg_PagedLOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, transform,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_ConstructorWithDefaults2(IN, osgUtil::Intersector *, intersector, 0, IN, osgUtil::IntersectionVisitor::ReadCallback *, readCallback, 0,
____IntersectionVisitor__Intersector_P1__ReadCallback_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setIntersector, IN, osgUtil::Intersector *, intersector,
Properties::NON_VIRTUAL,
__void__setIntersector__Intersector_P1,
"Set the intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method0(osgUtil::Intersector *, getIntersector,
Properties::NON_VIRTUAL,
__Intersector_P1__getIntersector,
"Get the intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method0(const osgUtil::Intersector *, getIntersector,
Properties::NON_VIRTUAL,
__C5_Intersector_P1__getIntersector,
"Get the const intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method1(void, setReadCallback, IN, osgUtil::IntersectionVisitor::ReadCallback *, rc,
Properties::NON_VIRTUAL,
__void__setReadCallback__ReadCallback_P1,
"Set the read callback. ",
"");
I_Method0(osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback,
Properties::NON_VIRTUAL,
__ReadCallback_P1__getReadCallback,
"Get the read callback. ",
"");
I_Method0(const osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback,
Properties::NON_VIRTUAL,
__C5_ReadCallback_P1__getReadCallback,
"Get the const read callback. ",
"");
I_Method1(void, pushWindowMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushWindowMatrix__osg_RefMatrix_P1,
"",
"");
I_Method1(void, pushWindowMatrix, IN, osg::Viewport *, viewport,
Properties::NON_VIRTUAL,
__void__pushWindowMatrix__osg_Viewport_P1,
"",
"");
I_Method0(void, popWindowMatrix,
Properties::NON_VIRTUAL,
__void__popWindowMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getWindowMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getWindowMatrix,
"",
"");
I_Method1(void, pushProjectionMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushProjectionMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popProjectionMatrix,
Properties::NON_VIRTUAL,
__void__popProjectionMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getProjectionMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getProjectionMatrix,
"",
"");
I_Method1(void, pushViewMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushViewMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popViewMatrix,
Properties::NON_VIRTUAL,
__void__popViewMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getViewMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getViewMatrix,
"",
"");
I_Method1(void, pushModelMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushModelMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popModelMatrix,
Properties::NON_VIRTUAL,
__void__popModelMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getModelMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getModelMatrix,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, geode,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, group,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, lod,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::PagedLOD &, lod,
Properties::VIRTUAL,
__void__apply__osg_PagedLOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, transform,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_SimpleProperty(osgUtil::Intersector *, Intersector,
__Intersector_P1__getIntersector,
__void__setIntersector__Intersector_P1);
I_SimpleProperty(osg::RefMatrix *, ModelMatrix,
__osg_RefMatrix_P1__getModelMatrix,
0);
I_SimpleProperty(osg::RefMatrix *, ProjectionMatrix,
__osg_RefMatrix_P1__getProjectionMatrix,
0);
I_SimpleProperty(osgUtil::IntersectionVisitor::ReadCallback *, ReadCallback,
__ReadCallback_P1__getReadCallback,
__void__setReadCallback__ReadCallback_P1);
I_SimpleProperty(osg::RefMatrix *, ViewMatrix,
__osg_RefMatrix_P1__getViewMatrix,
0);
I_SimpleProperty(osg::RefMatrix *, WindowMatrix,
__osg_RefMatrix_P1__getWindowMatrix,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults2(IN, osgUtil::Intersector *, intersector, 0, IN, osgUtil::IntersectionVisitor::ReadCallback *, readCallback, 0,
____IntersectionVisitor__Intersector_P1__ReadCallback_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setIntersector, IN, osgUtil::Intersector *, intersector,
Properties::NON_VIRTUAL,
__void__setIntersector__Intersector_P1,
"Set the intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method0(osgUtil::Intersector *, getIntersector,
Properties::NON_VIRTUAL,
__Intersector_P1__getIntersector,
"Get the intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method0(const osgUtil::Intersector *, getIntersector,
Properties::NON_VIRTUAL,
__C5_Intersector_P1__getIntersector,
"Get the const intersector that will be used to intersect with the scene, and to store any hits that occur. ",
"");
I_Method1(void, setReadCallback, IN, osgUtil::IntersectionVisitor::ReadCallback *, rc,
Properties::NON_VIRTUAL,
__void__setReadCallback__ReadCallback_P1,
"Set the read callback. ",
"");
I_Method0(osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback,
Properties::NON_VIRTUAL,
__ReadCallback_P1__getReadCallback,
"Get the read callback. ",
"");
I_Method0(const osgUtil::IntersectionVisitor::ReadCallback *, getReadCallback,
Properties::NON_VIRTUAL,
__C5_ReadCallback_P1__getReadCallback,
"Get the const read callback. ",
"");
I_Method1(void, pushWindowMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushWindowMatrix__osg_RefMatrix_P1,
"",
"");
I_Method1(void, pushWindowMatrix, IN, osg::Viewport *, viewport,
Properties::NON_VIRTUAL,
__void__pushWindowMatrix__osg_Viewport_P1,
"",
"");
I_Method0(void, popWindowMatrix,
Properties::NON_VIRTUAL,
__void__popWindowMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getWindowMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getWindowMatrix,
"",
"");
I_Method1(void, pushProjectionMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushProjectionMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popProjectionMatrix,
Properties::NON_VIRTUAL,
__void__popProjectionMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getProjectionMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getProjectionMatrix,
"",
"");
I_Method1(void, pushViewMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushViewMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popViewMatrix,
Properties::NON_VIRTUAL,
__void__popViewMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getViewMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getViewMatrix,
"",
"");
I_Method1(void, pushModelMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushModelMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popModelMatrix,
Properties::NON_VIRTUAL,
__void__popModelMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getModelMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getModelMatrix,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, geode,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, group,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, lod,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::PagedLOD &, lod,
Properties::VIRTUAL,
__void__apply__osg_PagedLOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, transform,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, projection,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, camera,
Properties::VIRTUAL,
__void__apply__osg_Camera_R1,
"",
"");
I_ConstructorWithDefaults2(IN, osgUtil::Intersector *, intersector, 0, IN, osgUtil::IntersectionVisitor::ReadCallback *, readCallback, 0,
____IntersectionVisitor__Intersector_P1__ReadCallback_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, setIntersector, IN, osgUtil::Intersector *, intersector,
Properties::NON_VIRTUAL,
__void__setIntersector__Intersector_P1,
@@ -676,7 +204,6 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor)
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor::ReadCallback)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____ReadCallback,
"",
@@ -686,29 +213,6 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor::ReadCallback)
__osg_Node_P1__readNodeFile__C5_std_string_R1,
"",
"");
I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename,
Properties::PURE_VIRTUAL,
__osg_Node_P1__readNodeFile__C5_std_string_R1,
"",
"");
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor::ReadCallback)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____ReadCallback,
"",
"");
I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename,
Properties::PURE_VIRTUAL,
__osg_Node_P1__readNodeFile__C5_std_string_R1,
"",
"");
I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename,
Properties::PURE_VIRTUAL,
__osg_Node_P1__readNodeFile__C5_std_string_R1,
"",
"");
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgUtil::Intersector::CoordinateFrame)
@@ -720,202 +224,6 @@ END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::Intersector)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, osgUtil::Intersector::CoordinateFrame, cf, osgUtil::Intersector::MODEL,
Properties::NON_EXPLICIT,
____Intersector__CoordinateFrame,
"",
"");
I_Method1(void, setCoordinateFrame, IN, osgUtil::Intersector::CoordinateFrame, cf,
Properties::NON_VIRTUAL,
__void__setCoordinateFrame__CoordinateFrame,
"",
"");
I_Method0(osgUtil::Intersector::CoordinateFrame, getCoordinateFrame,
Properties::NON_VIRTUAL,
__CoordinateFrame__getCoordinateFrame,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::PURE_VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::PURE_VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::PURE_VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::PURE_VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::PURE_VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Method0(bool, disabled,
Properties::NON_VIRTUAL,
__bool__disabled,
"",
"");
I_Method0(void, incrementDisabledCount,
Properties::NON_VIRTUAL,
__void__incrementDisabledCount,
"",
"");
I_Method0(void, decrementDisabledCount,
Properties::NON_VIRTUAL,
__void__decrementDisabledCount,
"",
"");
I_ConstructorWithDefaults1(IN, osgUtil::Intersector::CoordinateFrame, cf, osgUtil::Intersector::MODEL,
Properties::NON_EXPLICIT,
____Intersector__CoordinateFrame,
"",
"");
I_Method1(void, setCoordinateFrame, IN, osgUtil::Intersector::CoordinateFrame, cf,
Properties::NON_VIRTUAL,
__void__setCoordinateFrame__CoordinateFrame,
"",
"");
I_Method0(osgUtil::Intersector::CoordinateFrame, getCoordinateFrame,
Properties::NON_VIRTUAL,
__CoordinateFrame__getCoordinateFrame,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::PURE_VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::PURE_VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::PURE_VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::PURE_VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::PURE_VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Method0(bool, disabled,
Properties::NON_VIRTUAL,
__bool__disabled,
"",
"");
I_Method0(void, incrementDisabledCount,
Properties::NON_VIRTUAL,
__void__incrementDisabledCount,
"",
"");
I_Method0(void, decrementDisabledCount,
Properties::NON_VIRTUAL,
__void__decrementDisabledCount,
"",
"");
I_SimpleProperty(osgUtil::Intersector::CoordinateFrame, CoordinateFrame,
__CoordinateFrame__getCoordinateFrame,
__void__setCoordinateFrame__CoordinateFrame);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgUtil::Intersector::CoordinateFrame)
I_EnumLabel(osgUtil::Intersector::WINDOW);
I_EnumLabel(osgUtil::Intersector::PROJECTION);
I_EnumLabel(osgUtil::Intersector::VIEW);
I_EnumLabel(osgUtil::Intersector::MODEL);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::Intersector)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, osgUtil::Intersector::CoordinateFrame, cf, osgUtil::Intersector::MODEL,
Properties::NON_EXPLICIT,
____Intersector__CoordinateFrame,
"",
"");
I_Method1(void, setCoordinateFrame, IN, osgUtil::Intersector::CoordinateFrame, cf,
Properties::NON_VIRTUAL,
__void__setCoordinateFrame__CoordinateFrame,
"",
"");
I_Method0(osgUtil::Intersector::CoordinateFrame, getCoordinateFrame,
Properties::NON_VIRTUAL,
__CoordinateFrame__getCoordinateFrame,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::PURE_VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::PURE_VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::PURE_VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::PURE_VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::PURE_VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Method0(bool, disabled,
Properties::NON_VIRTUAL,
__bool__disabled,
"",
"");
I_Method0(void, incrementDisabledCount,
Properties::NON_VIRTUAL,
__void__incrementDisabledCount,
"",
"");
I_Method0(void, decrementDisabledCount,
Properties::NON_VIRTUAL,
__void__decrementDisabledCount,
"",
"");
I_ConstructorWithDefaults1(IN, osgUtil::Intersector::CoordinateFrame, cf, osgUtil::Intersector::MODEL,
Properties::NON_EXPLICIT,
____Intersector__CoordinateFrame,
@@ -985,55 +293,6 @@ TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::Intersector > >, osgUtil::In
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectorGroup)
I_BaseType(osgUtil::Intersector);
I_BaseType(osgUtil::Intersector);
I_Constructor0(____IntersectorGroup,
"",
"");
I_Method1(void, addIntersector, IN, osgUtil::Intersector *, intersector,
Properties::NON_VIRTUAL,
__void__addIntersector__Intersector_P1,
"Add an Intersector. ",
"");
I_Method0(osgUtil::IntersectorGroup::Intersectors &, getIntersectors,
Properties::NON_VIRTUAL,
__Intersectors_R1__getIntersectors,
"Get the list of intersector. ",
"");
I_Method0(void, clear,
Properties::NON_VIRTUAL,
__void__clear,
"Clear the list of intersectors. ",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Constructor0(____IntersectorGroup,
"",
"");
@@ -1087,109 +346,44 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectorGroup)
0);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::Intersector > >, osgUtil::IntersectorGroup::Intersectors);
BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectorGroup)
I_BaseType(osgUtil::Intersector);
I_BaseType(osgUtil::Intersector);
I_Constructor0(____IntersectorGroup,
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::Intersector >)
I_Constructor0(____ref_ptr,
"",
"");
I_Method1(void, addIntersector, IN, osgUtil::Intersector *, intersector,
Properties::NON_VIRTUAL,
__void__addIntersector__Intersector_P1,
"Add an Intersector. ",
"");
I_Method0(osgUtil::IntersectorGroup::Intersectors &, getIntersectors,
Properties::NON_VIRTUAL,
__Intersectors_R1__getIntersectors,
"Get the list of intersector. ",
"");
I_Method0(void, clear,
Properties::NON_VIRTUAL,
__void__clear,
"Clear the list of intersectors. ",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Constructor0(____IntersectorGroup,
I_Constructor1(IN, osgUtil::Intersector *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Method1(void, addIntersector, IN, osgUtil::Intersector *, intersector,
I_Constructor1(IN, const osg::ref_ptr< osgUtil::Intersector > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::Intersector *, get,
Properties::NON_VIRTUAL,
__void__addIntersector__Intersector_P1,
"Add an Intersector. ",
__T_P1__get,
"",
"");
I_Method0(osgUtil::IntersectorGroup::Intersectors &, getIntersectors,
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__Intersectors_R1__getIntersectors,
"Get the list of intersector. ",
__bool__valid,
"",
"");
I_Method0(void, clear,
I_Method0(osgUtil::Intersector *, release,
Properties::NON_VIRTUAL,
__void__clear,
"Clear the list of intersectors. ",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
__T_P1__release,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::VIRTUAL,
__bool__enter__C5_osg_Node_R1,
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::Intersector > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_Method0(void, leave,
Properties::VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::VIRTUAL,
__bool__containsIntersections,
"",
"");
I_SimpleProperty(osgUtil::IntersectorGroup::Intersectors &, Intersectors,
__Intersectors_R1__getIntersectors,
I_SimpleProperty(osgUtil::Intersector *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::Intersector > >);

View File

@@ -10,11 +10,10 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/Drawable>
#include <osg/Node>
#include <osg/Vec3>
#include <osg/Vec3d>
#include <osgUtil/.svn/text-base/IntersectionVisitor.svn-base>
#include <osgUtil/.svn/text-base/LineSegmentIntersector.svn-base>
#include <osgUtil/IntersectionVisitor>
#include <osgUtil/LineSegmentIntersector>
@@ -30,64 +29,6 @@ TYPE_NAME_ALIAS(std::multiset< osgUtil::LineSegmentIntersector::Intersection >,
BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector)
I_BaseType(osgUtil::Intersector);
I_BaseType(osgUtil::Intersector);
I_Constructor2(IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in MODEL coordinates. ",
"");
I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__CoordinateFrame__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in the specified coordinate frame. ",
"");
I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, double, x, IN, double, y,
____LineSegmentIntersector__CoordinateFrame__double__double,
"Convinience constructor for supporting picking in WINDOW, or PROJECTION coorindates In WINDOW coordinates creates a start value of (x,y,0) and end value of (x,y,1). ",
"In PROJECTION coordinates (clip space cube) creates a start value of (x,y,-1) and end value of (x,y,1). In VIEW and MODEL coordinates creates a start value of (x,y,0) and end value of (x,y,1). ");
I_Method1(void, insertIntersection, IN, const osgUtil::LineSegmentIntersector::Intersection &, intersection,
Properties::NON_VIRTUAL,
__void__insertIntersection__C5_Intersection_R1,
"",
"");
I_Method0(osgUtil::LineSegmentIntersector::Intersections &, getIntersections,
Properties::NON_VIRTUAL,
__Intersections_R1__getIntersections,
"",
"");
I_Method0(osgUtil::LineSegmentIntersector::Intersection, getFirstIntersection,
Properties::NON_VIRTUAL,
__Intersection__getFirstIntersection,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Constructor2(IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in MODEL coordinates. ",
@@ -153,130 +94,58 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector)
0);
END_REFLECTOR
TYPE_NAME_ALIAS(std::multiset< osgUtil::LineSegmentIntersector::Intersection >, osgUtil::LineSegmentIntersector::Intersections);
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::LineSegmentIntersector::Intersection::IndexList);
BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector)
I_BaseType(osgUtil::Intersector);
I_BaseType(osgUtil::Intersector);
I_Constructor2(IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in MODEL coordinates. ",
TYPE_NAME_ALIAS(std::vector< double >, osgUtil::LineSegmentIntersector::Intersection::RatioList);
BEGIN_VALUE_REFLECTOR(osgUtil::LineSegmentIntersector::Intersection)
I_Constructor0(____Intersection,
"",
"");
I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__CoordinateFrame__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in the specified coordinate frame. ",
"");
I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, double, x, IN, double, y,
____LineSegmentIntersector__CoordinateFrame__double__double,
"Convinience constructor for supporting picking in WINDOW, or PROJECTION coorindates In WINDOW coordinates creates a start value of (x,y,0) and end value of (x,y,1). ",
"In PROJECTION coordinates (clip space cube) creates a start value of (x,y,-1) and end value of (x,y,1). In VIEW and MODEL coordinates creates a start value of (x,y,0) and end value of (x,y,1). ");
I_Method1(void, insertIntersection, IN, const osgUtil::LineSegmentIntersector::Intersection &, intersection,
I_Method0(const osg::Vec3d &, getLocalIntersectPoint,
Properties::NON_VIRTUAL,
__void__insertIntersection__C5_Intersection_R1,
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
"",
"");
I_Method0(osgUtil::LineSegmentIntersector::Intersections &, getIntersections,
I_Method0(osg::Vec3d, getWorldIntersectPoint,
Properties::NON_VIRTUAL,
__Intersections_R1__getIntersections,
__osg_Vec3d__getWorldIntersectPoint,
"",
"");
I_Method0(osgUtil::LineSegmentIntersector::Intersection, getFirstIntersection,
I_Method0(const osg::Vec3 &, getLocalIntersectNormal,
Properties::NON_VIRTUAL,
__Intersection__getFirstIntersection,
__C5_osg_Vec3_R1__getLocalIntersectNormal,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::VIRTUAL,
__bool__containsIntersections,
"",
"");
I_Constructor2(IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in MODEL coordinates. ",
"");
I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
____LineSegmentIntersector__CoordinateFrame__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Construct a LineSegmentIntersector the runs between the secified start and end points in the specified coordinate frame. ",
"");
I_Constructor3(IN, osgUtil::Intersector::CoordinateFrame, cf, IN, double, x, IN, double, y,
____LineSegmentIntersector__CoordinateFrame__double__double,
"Convinience constructor for supporting picking in WINDOW, or PROJECTION coorindates In WINDOW coordinates creates a start value of (x,y,0) and end value of (x,y,1). ",
"In PROJECTION coordinates (clip space cube) creates a start value of (x,y,-1) and end value of (x,y,1). In VIEW and MODEL coordinates creates a start value of (x,y,0) and end value of (x,y,1). ");
I_Method1(void, insertIntersection, IN, const osgUtil::LineSegmentIntersector::Intersection &, intersection,
I_Method0(osg::Vec3, getWorldIntersectNormal,
Properties::NON_VIRTUAL,
__void__insertIntersection__C5_Intersection_R1,
__osg_Vec3__getWorldIntersectNormal,
"",
"");
I_Method0(osgUtil::LineSegmentIntersector::Intersections &, getIntersections,
Properties::NON_VIRTUAL,
__Intersections_R1__getIntersections,
"",
"");
I_Method0(osgUtil::LineSegmentIntersector::Intersection, getFirstIntersection,
Properties::NON_VIRTUAL,
__Intersection__getFirstIntersection,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
Properties::VIRTUAL,
__Intersector_P1__clone__osgUtil_IntersectionVisitor_R1,
"",
"");
I_Method1(bool, enter, IN, const osg::Node &, node,
Properties::VIRTUAL,
__bool__enter__C5_osg_Node_R1,
"",
"");
I_Method0(void, leave,
Properties::VIRTUAL,
__void__leave,
"",
"");
I_Method2(void, intersect, IN, osgUtil::IntersectionVisitor &, iv, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__void__intersect__osgUtil_IntersectionVisitor_R1__osg_Drawable_P1,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method0(bool, containsIntersections,
Properties::VIRTUAL,
__bool__containsIntersections,
"",
"");
I_SimpleProperty(osgUtil::LineSegmentIntersector::Intersection, FirstIntersection,
__Intersection__getFirstIntersection,
I_SimpleProperty(const osg::Vec3 &, LocalIntersectNormal,
__C5_osg_Vec3_R1__getLocalIntersectNormal,
0);
I_SimpleProperty(osgUtil::LineSegmentIntersector::Intersections &, Intersections,
__Intersections_R1__getIntersections,
I_SimpleProperty(const osg::Vec3d &, LocalIntersectPoint,
__C5_osg_Vec3d_R1__getLocalIntersectPoint,
0);
I_SimpleProperty(osg::Vec3, WorldIntersectNormal,
__osg_Vec3__getWorldIntersectNormal,
0);
I_SimpleProperty(osg::Vec3d, WorldIntersectPoint,
__osg_Vec3d__getWorldIntersectPoint,
0);
I_PublicMemberProperty(double, ratio);
I_PublicMemberProperty(osg::NodePath, nodePath);
I_PublicMemberProperty(osg::ref_ptr< osg::Drawable >, drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, matrix);
I_PublicMemberProperty(osg::Vec3d, localIntersectionPoint);
I_PublicMemberProperty(osg::Vec3, localIntersectionNormal);
I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::IndexList, indexList);
I_PublicMemberProperty(osgUtil::LineSegmentIntersector::Intersection::RatioList, ratioList);
I_PublicMemberProperty(unsigned int, primitiveIndex);
END_REFLECTOR
STD_SET_REFLECTOR(std::multiset< osgUtil::LineSegmentIntersector::Intersection >);
STD_VECTOR_REFLECTOR(std::vector< double >);

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,7 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/CopyOp.svn-base>
#include <osg/CopyOp>
#include <osgUtil/ReflectionMapGenerator>
// Must undefine IN and OUT macros defined in Windows headers
@@ -23,39 +23,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::ReflectionMapGenerator)
I_BaseType(osgUtil::CubeMapGenerator);
I_BaseType(osgUtil::CubeMapGenerator);
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::NON_EXPLICIT,
____ReflectionMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::NON_EXPLICIT,
____ReflectionMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::ReflectionMapGenerator)
I_BaseType(osgUtil::CubeMapGenerator);
I_BaseType(osgUtil::CubeMapGenerator);
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::NON_EXPLICIT,
____ReflectionMapGenerator__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::ReflectionMapGenerator &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ReflectionMapGenerator__C5_ReflectionMapGenerator_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults1(IN, int, texture_size, 64,
Properties::NON_EXPLICIT,
____ReflectionMapGenerator__int,

View File

@@ -10,8 +10,15 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgUtil/.svn/text-base/RenderBin.svn-base>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/RenderInfo>
#include <osg/StateSet>
#include <osgUtil/RenderBin>
#include <osgUtil/RenderLeaf>
#include <osgUtil/RenderStage>
#include <osgUtil/StateGraph>
#include <osgUtil/Statistics>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
@@ -21,8 +28,314 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::SortCallback)
BEGIN_VALUE_REFLECTOR(osgUtil::RegisterRenderBinProxy)
I_Constructor2(IN, const std::string &, binName, IN, osgUtil::RenderBin *, proto,
____RegisterRenderBinProxy__C5_std_string_R1__RenderBin_P1,
"",
"");
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osgUtil::RenderLeaf * >, osgUtil::RenderBin::RenderLeafList);
TYPE_NAME_ALIAS(std::vector< osgUtil::StateGraph * >, osgUtil::RenderBin::StateGraphList);
TYPE_NAME_ALIAS(std::map< int COMMA osg::ref_ptr< osgUtil::RenderBin > >, osgUtil::RenderBin::RenderBinList);
BEGIN_ENUM_REFLECTOR(osgUtil::RenderBin::SortMode)
I_EnumLabel(osgUtil::RenderBin::SORT_BY_STATE);
I_EnumLabel(osgUtil::RenderBin::SORT_BY_STATE_THEN_FRONT_TO_BACK);
I_EnumLabel(osgUtil::RenderBin::SORT_FRONT_TO_BACK);
I_EnumLabel(osgUtil::RenderBin::SORT_BACK_TO_FRONT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::RenderBin)
I_BaseType(osg::Object);
I_Constructor0(____RenderBin,
"",
"");
I_Constructor1(IN, osgUtil::RenderBin::SortMode, mode,
Properties::NON_EXPLICIT,
____RenderBin__SortMode,
"",
"");
I_ConstructorWithDefaults2(IN, const osgUtil::RenderBin &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____RenderBin__C5_RenderBin_R1__C5_osg_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
Properties::NON_VIRTUAL,
__void__setStateSet__osg_StateSet_P1,
"",
"");
I_Method0(osg::StateSet *, getStateSet,
Properties::NON_VIRTUAL,
__osg_StateSet_P1__getStateSet,
"",
"");
I_Method0(const osg::StateSet *, getStateSet,
Properties::NON_VIRTUAL,
__C5_osg_StateSet_P1__getStateSet,
"",
"");
I_Method0(osgUtil::RenderBin *, getParent,
Properties::NON_VIRTUAL,
__RenderBin_P1__getParent,
"",
"");
I_Method0(const osgUtil::RenderBin *, getParent,
Properties::NON_VIRTUAL,
__C5_RenderBin_P1__getParent,
"",
"");
I_Method0(osgUtil::RenderStage *, getStage,
Properties::NON_VIRTUAL,
__RenderStage_P1__getStage,
"",
"");
I_Method0(const osgUtil::RenderStage *, getStage,
Properties::NON_VIRTUAL,
__C5_RenderStage_P1__getStage,
"",
"");
I_Method0(int, getBinNum,
Properties::NON_VIRTUAL,
__int__getBinNum,
"",
"");
I_Method0(osgUtil::RenderBin::StateGraphList &, getStateGraphList,
Properties::NON_VIRTUAL,
__StateGraphList_R1__getStateGraphList,
"",
"");
I_Method0(const osgUtil::RenderBin::StateGraphList &, getStateGraphList,
Properties::NON_VIRTUAL,
__C5_StateGraphList_R1__getStateGraphList,
"",
"");
I_Method0(osgUtil::RenderBin::RenderBinList &, getRenderBinList,
Properties::NON_VIRTUAL,
__RenderBinList_R1__getRenderBinList,
"",
"");
I_Method0(const osgUtil::RenderBin::RenderBinList &, getRenderBinList,
Properties::NON_VIRTUAL,
__C5_RenderBinList_R1__getRenderBinList,
"",
"");
I_Method0(osgUtil::RenderBin::RenderLeafList &, getRenderLeafList,
Properties::NON_VIRTUAL,
__RenderLeafList_R1__getRenderLeafList,
"",
"");
I_Method0(const osgUtil::RenderBin::RenderLeafList &, getRenderLeafList,
Properties::NON_VIRTUAL,
__C5_RenderLeafList_R1__getRenderLeafList,
"",
"");
I_Method2(osgUtil::RenderBin *, find_or_insert, IN, int, binNum, IN, const std::string &, binName,
Properties::NON_VIRTUAL,
__RenderBin_P1__find_or_insert__int__C5_std_string_R1,
"",
"");
I_Method1(void, addStateGraph, IN, osgUtil::StateGraph *, rg,
Properties::NON_VIRTUAL,
__void__addStateGraph__StateGraph_P1,
"",
"");
I_Method0(void, sort,
Properties::VIRTUAL,
__void__sort,
"",
"");
I_Method0(void, sortImplementation,
Properties::VIRTUAL,
__void__sortImplementation,
"",
"");
I_Method1(void, setSortMode, IN, osgUtil::RenderBin::SortMode, mode,
Properties::NON_VIRTUAL,
__void__setSortMode__SortMode,
"",
"");
I_Method0(osgUtil::RenderBin::SortMode, getSortMode,
Properties::NON_VIRTUAL,
__SortMode__getSortMode,
"",
"");
I_Method0(void, sortByState,
Properties::VIRTUAL,
__void__sortByState,
"",
"");
I_Method0(void, sortByStateThenFrontToBack,
Properties::VIRTUAL,
__void__sortByStateThenFrontToBack,
"",
"");
I_Method0(void, sortFrontToBack,
Properties::VIRTUAL,
__void__sortFrontToBack,
"",
"");
I_Method0(void, sortBackToFront,
Properties::VIRTUAL,
__void__sortBackToFront,
"",
"");
I_Method1(void, setSortCallback, IN, osgUtil::RenderBin::SortCallback *, sortCallback,
Properties::NON_VIRTUAL,
__void__setSortCallback__SortCallback_P1,
"",
"");
I_Method0(osgUtil::RenderBin::SortCallback *, getSortCallback,
Properties::NON_VIRTUAL,
__SortCallback_P1__getSortCallback,
"",
"");
I_Method0(const osgUtil::RenderBin::SortCallback *, getSortCallback,
Properties::NON_VIRTUAL,
__C5_SortCallback_P1__getSortCallback,
"",
"");
I_Method2(void, draw, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous,
Properties::VIRTUAL,
__void__draw__osg_RenderInfo_R1__RenderLeaf_P1R1,
"",
"");
I_Method2(void, drawImplementation, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous,
Properties::VIRTUAL,
__void__drawImplementation__osg_RenderInfo_R1__RenderLeaf_P1R1,
"",
"");
I_Method1(void, setDrawCallback, IN, osgUtil::RenderBin::DrawCallback *, drawCallback,
Properties::NON_VIRTUAL,
__void__setDrawCallback__DrawCallback_P1,
"",
"");
I_Method0(osgUtil::RenderBin::DrawCallback *, getDrawCallback,
Properties::NON_VIRTUAL,
__DrawCallback_P1__getDrawCallback,
"",
"");
I_Method0(const osgUtil::RenderBin::DrawCallback *, getDrawCallback,
Properties::NON_VIRTUAL,
__C5_DrawCallback_P1__getDrawCallback,
"",
"");
I_Method1(bool, getStats, IN, osgUtil::Statistics &, primStats,
Properties::NON_VIRTUAL,
__bool__getStats__Statistics_R1,
"Extract stats for current draw list. ",
"");
I_Method0(unsigned int, computeNumberOfDynamicRenderLeaves,
Properties::VIRTUAL,
__unsigned_int__computeNumberOfDynamicRenderLeaves,
"Compute the number of dynamic RenderLeaves. ",
"");
I_Method0(void, copyLeavesFromStateGraphListToRenderLeafList,
Properties::NON_VIRTUAL,
__void__copyLeavesFromStateGraphListToRenderLeafList,
"",
"");
I_StaticMethod1(osgUtil::RenderBin *, createRenderBin, IN, const std::string &, binName,
__RenderBin_P1__createRenderBin__C5_std_string_R1_S,
"",
"");
I_StaticMethod1(osgUtil::RenderBin *, getRenderBinPrototype, IN, const std::string &, binName,
__RenderBin_P1__getRenderBinPrototype__C5_std_string_R1_S,
"",
"");
I_StaticMethod2(void, addRenderBinPrototype, IN, const std::string &, binName, IN, osgUtil::RenderBin *, proto,
__void__addRenderBinPrototype__C5_std_string_R1__RenderBin_P1_S,
"",
"");
I_StaticMethod1(void, removeRenderBinPrototype, IN, osgUtil::RenderBin *, proto,
__void__removeRenderBinPrototype__RenderBin_P1_S,
"",
"");
I_StaticMethod1(void, setDefaultRenderBinSortMode, IN, osgUtil::RenderBin::SortMode, mode,
__void__setDefaultRenderBinSortMode__SortMode_S,
"",
"");
I_StaticMethod0(osgUtil::RenderBin::SortMode, getDefaultRenderBinSortMode,
__SortMode__getDefaultRenderBinSortMode_S,
"",
"");
I_SimpleProperty(int, BinNum,
__int__getBinNum,
0);
I_SimpleProperty(osgUtil::RenderBin::DrawCallback *, DrawCallback,
__DrawCallback_P1__getDrawCallback,
__void__setDrawCallback__DrawCallback_P1);
I_SimpleProperty(osgUtil::RenderBin *, Parent,
__RenderBin_P1__getParent,
0);
I_SimpleProperty(osgUtil::RenderBin::RenderBinList &, RenderBinList,
__RenderBinList_R1__getRenderBinList,
0);
I_SimpleProperty(osgUtil::RenderBin::RenderLeafList &, RenderLeafList,
__RenderLeafList_R1__getRenderLeafList,
0);
I_SimpleProperty(osgUtil::RenderBin::SortCallback *, SortCallback,
__SortCallback_P1__getSortCallback,
__void__setSortCallback__SortCallback_P1);
I_SimpleProperty(osgUtil::RenderBin::SortMode, SortMode,
__SortMode__getSortMode,
__void__setSortMode__SortMode);
I_SimpleProperty(osgUtil::RenderStage *, Stage,
__RenderStage_P1__getStage,
0);
I_SimpleProperty(osgUtil::RenderBin::StateGraphList &, StateGraphList,
__StateGraphList_R1__getStateGraphList,
0);
I_SimpleProperty(osg::StateSet *, StateSet,
__osg_StateSet_P1__getStateSet,
__void__setStateSet__osg_StateSet_P1);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::DrawCallback)
I_BaseType(osg::Referenced);
I_Constructor0(____DrawCallback,
"",
"");
I_Method3(void, drawImplementation, IN, osgUtil::RenderBin *, bin, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *&, previous,
Properties::PURE_VIRTUAL,
__void__drawImplementation__RenderBin_P1__osg_RenderInfo_R1__RenderLeaf_P1R1,
"",
"");
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::SortCallback)
I_BaseType(osg::Referenced);
I_Constructor0(____SortCallback,
"",
@@ -32,28 +345,50 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::SortCallback)
__void__sortImplementation__RenderBin_P1,
"",
"");
I_Method1(void, sortImplementation, IN, osgUtil::RenderBin *, x,
Properties::PURE_VIRTUAL,
__void__sortImplementation__RenderBin_P1,
"",
"");
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgUtil::RenderBin::SortCallback)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____SortCallback,
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::RenderBin >)
I_Constructor0(____ref_ptr,
"",
"");
I_Method1(void, sortImplementation, IN, osgUtil::RenderBin *, x,
Properties::PURE_VIRTUAL,
__void__sortImplementation__RenderBin_P1,
I_Constructor1(IN, osgUtil::RenderBin *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgUtil::RenderBin > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::RenderBin *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method1(void, sortImplementation, IN, osgUtil::RenderBin *, x,
Properties::PURE_VIRTUAL,
__void__sortImplementation__RenderBin_P1,
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgUtil::RenderBin *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::RenderBin > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgUtil::RenderBin *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< int COMMA osg::ref_ptr< osgUtil::RenderBin > >);
STD_VECTOR_REFLECTOR(std::vector< osgUtil::RenderLeaf * >);
STD_VECTOR_REFLECTOR(std::vector< osgUtil::StateGraph * >);

View File

@@ -10,9 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/Matrix.svn-base>
#include <osg/.svn/text-base/RenderInfo.svn-base>
#include <osg/Drawable>
#include <osg/Matrix>
#include <osg/RenderInfo>
#include <osgUtil/RenderLeaf>
// Must undefine IN and OUT macros defined in Windows headers
@@ -27,31 +27,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::RenderLeaf)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults4(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
"");
I_MethodWithDefaults4(void, set, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
Properties::NON_VIRTUAL,
__void__set__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method2(void, render, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *, previous,
Properties::VIRTUAL,
__void__render__osg_RenderInfo_R1__RenderLeaf_P1,
"",
"");
I_Method0(const osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__C5_osg_Drawable_P1__getDrawable,
"",
"");
I_ConstructorWithDefaults4(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
@@ -85,75 +60,5 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderLeaf)
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _modelview);
I_PublicMemberProperty(float, _depth);
I_PublicMemberProperty(bool, _dynamic);
I_PublicMemberProperty(osgUtil::StateGraph *, _parent);
I_PublicMemberProperty(osg::Drawable *, _drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _projection);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _modelview);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::RenderLeaf)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_ConstructorWithDefaults4(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
"");
I_MethodWithDefaults4(void, set, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
Properties::NON_VIRTUAL,
__void__set__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method2(void, render, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *, previous,
Properties::VIRTUAL,
__void__render__osg_RenderInfo_R1__RenderLeaf_P1,
"",
"");
I_Method0(const osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__C5_osg_Drawable_P1__getDrawable,
"",
"");
I_ConstructorWithDefaults4(IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
____RenderLeaf__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
"");
I_MethodWithDefaults4(void, set, IN, osg::Drawable *, drawable, , IN, osg::RefMatrix *, projection, , IN, osg::RefMatrix *, modelview, , IN, float, depth, 0.0f,
Properties::NON_VIRTUAL,
__void__set__osg_Drawable_P1__osg_RefMatrix_P1__osg_RefMatrix_P1__float,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method2(void, render, IN, osg::RenderInfo &, renderInfo, IN, osgUtil::RenderLeaf *, previous,
Properties::VIRTUAL,
__void__render__osg_RenderInfo_R1__RenderLeaf_P1,
"",
"");
I_Method0(const osg::Drawable *, getDrawable,
Properties::NON_VIRTUAL,
__C5_osg_Drawable_P1__getDrawable,
"",
"");
I_SimpleProperty(const osg::Drawable *, Drawable,
__C5_osg_Drawable_P1__getDrawable,
0);
I_PublicMemberProperty(osgUtil::StateGraph *, _parent);
I_PublicMemberProperty(osg::Drawable *, _drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _projection);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _modelview);
I_PublicMemberProperty(float, _depth);
I_PublicMemberProperty(bool, _dynamic);
I_PublicMemberProperty(osgUtil::StateGraph *, _parent);
I_PublicMemberProperty(osg::Drawable *, _drawable);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _projection);
I_PublicMemberProperty(osg::ref_ptr< osg::RefMatrix >, _modelview);
END_REFLECTOR

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -10,9 +10,8 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Geometry.svn-base>
#include <osg/Geode>
#include <osgUtil/.svn/text-base/Simplifier.svn-base>
#include <osg/Geometry>
#include <osgUtil/Simplifier>
// Must undefine IN and OUT macros defined in Windows headers
@@ -27,101 +26,6 @@ TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::Simplifier::IndexList);
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults3(IN, float, sampleRatio, 1.0f, IN, float, maximumError, FLT_MAX, IN, float, maximumLength, 0.0,
____Simplifier__float__float__float,
"",
"");
I_Method1(void, setSampleRatio, IN, float, sampleRatio,
Properties::NON_VIRTUAL,
__void__setSampleRatio__float,
"",
"");
I_Method0(float, getSampleRatio,
Properties::NON_VIRTUAL,
__float__getSampleRatio,
"",
"");
I_Method1(void, setMaximumError, IN, float, error,
Properties::NON_VIRTUAL,
__void__setMaximumError__float,
"Set the maximum point error that all point removals must be less than to permit removal of a point. ",
"Note, Only used when down sampling. i.e. sampleRatio < 1.0 ");
I_Method0(float, getMaximumError,
Properties::NON_VIRTUAL,
__float__getMaximumError,
"",
"");
I_Method1(void, setMaximumLength, IN, float, length,
Properties::NON_VIRTUAL,
__void__setMaximumLength__float,
"Set the maximum length target that all edges must be shorted than. ",
"Note, Only used when up sampling i.e. sampleRatio > 1.0. ");
I_Method0(float, getMaximumLength,
Properties::NON_VIRTUAL,
__float__getMaximumLength,
"",
"");
I_Method1(void, setDoTriStrip, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setDoTriStrip__bool,
"",
"");
I_Method0(bool, getDoTriStrip,
Properties::NON_VIRTUAL,
__bool__getDoTriStrip,
"",
"");
I_Method1(void, setSmoothing, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setSmoothing__bool,
"",
"");
I_Method0(bool, getSmoothing,
Properties::NON_VIRTUAL,
__bool__getSmoothing,
"",
"");
I_Method1(void, setContinueSimplificationCallback, IN, osgUtil::Simplifier::ContinueSimplificationCallback *, cb,
Properties::NON_VIRTUAL,
__void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1,
"",
"");
I_Method0(osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
Properties::NON_VIRTUAL,
__ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
"",
"");
I_Method0(const osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
Properties::NON_VIRTUAL,
__C5_ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
"",
"");
I_Method3(bool, continueSimplification, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
Properties::NON_VIRTUAL,
__bool__continueSimplification__float__unsigned_int__unsigned_int,
"",
"");
I_Method3(bool, continueSimplificationImplementation, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
Properties::VIRTUAL,
__bool__continueSimplificationImplementation__float__unsigned_int__unsigned_int,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, simplify, IN, osg::Geometry &, geometry,
Properties::NON_VIRTUAL,
__void__simplify__osg_Geometry_R1,
"simply the geometry. ",
"");
I_Method2(void, simplify, IN, osg::Geometry &, geometry, IN, const osgUtil::Simplifier::IndexList &, protectedPoints,
Properties::NON_VIRTUAL,
__void__simplify__osg_Geometry_R1__C5_IndexList_R1,
"simply the geometry, whilst protecting key points from being modified. ",
"");
I_ConstructorWithDefaults3(IN, float, sampleRatio, 1.0f, IN, float, maximumError, FLT_MAX, IN, float, maximumLength, 0.0,
____Simplifier__float__float__float,
"",
@@ -236,216 +140,15 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier)
__void__setSmoothing__bool);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< unsigned int >, osgUtil::Simplifier::IndexList);
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults3(IN, float, sampleRatio, 1.0f, IN, float, maximumError, FLT_MAX, IN, float, maximumLength, 0.0,
____Simplifier__float__float__float,
"",
"");
I_Method1(void, setSampleRatio, IN, float, sampleRatio,
Properties::NON_VIRTUAL,
__void__setSampleRatio__float,
"",
"");
I_Method0(float, getSampleRatio,
Properties::NON_VIRTUAL,
__float__getSampleRatio,
"",
"");
I_Method1(void, setMaximumError, IN, float, error,
Properties::NON_VIRTUAL,
__void__setMaximumError__float,
"Set the maximum point error that all point removals must be less than to permit removal of a point. ",
"Note, Only used when down sampling. i.e. sampleRatio < 1.0 ");
I_Method0(float, getMaximumError,
Properties::NON_VIRTUAL,
__float__getMaximumError,
"",
"");
I_Method1(void, setMaximumLength, IN, float, length,
Properties::NON_VIRTUAL,
__void__setMaximumLength__float,
"Set the maximum length target that all edges must be shorted than. ",
"Note, Only used when up sampling i.e. sampleRatio > 1.0. ");
I_Method0(float, getMaximumLength,
Properties::NON_VIRTUAL,
__float__getMaximumLength,
"",
"");
I_Method1(void, setDoTriStrip, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setDoTriStrip__bool,
"",
"");
I_Method0(bool, getDoTriStrip,
Properties::NON_VIRTUAL,
__bool__getDoTriStrip,
"",
"");
I_Method1(void, setSmoothing, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setSmoothing__bool,
"",
"");
I_Method0(bool, getSmoothing,
Properties::NON_VIRTUAL,
__bool__getSmoothing,
"",
"");
I_Method1(void, setContinueSimplificationCallback, IN, osgUtil::Simplifier::ContinueSimplificationCallback *, cb,
Properties::NON_VIRTUAL,
__void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1,
"",
"");
I_Method0(osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
Properties::NON_VIRTUAL,
__ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
"",
"");
I_Method0(const osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
Properties::NON_VIRTUAL,
__C5_ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
"",
"");
I_Method3(bool, continueSimplification, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
Properties::NON_VIRTUAL,
__bool__continueSimplification__float__unsigned_int__unsigned_int,
"",
"");
I_Method3(bool, continueSimplificationImplementation, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier::ContinueSimplificationCallback)
I_BaseType(osg::Referenced);
I_Constructor0(____ContinueSimplificationCallback,
"",
"");
I_Method4(bool, continueSimplification, IN, const osgUtil::Simplifier &, simplifier, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
Properties::VIRTUAL,
__bool__continueSimplificationImplementation__float__unsigned_int__unsigned_int,
"",
__bool__continueSimplification__C5_Simplifier_R1__float__unsigned_int__unsigned_int,
"return true if mesh should be continued to be simplified, return false to stop simplification. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, simplify, IN, osg::Geometry &, geometry,
Properties::NON_VIRTUAL,
__void__simplify__osg_Geometry_R1,
"simply the geometry. ",
"");
I_Method2(void, simplify, IN, osg::Geometry &, geometry, IN, const osgUtil::Simplifier::IndexList &, protectedPoints,
Properties::NON_VIRTUAL,
__void__simplify__osg_Geometry_R1__C5_IndexList_R1,
"simply the geometry, whilst protecting key points from being modified. ",
"");
I_ConstructorWithDefaults3(IN, float, sampleRatio, 1.0f, IN, float, maximumError, FLT_MAX, IN, float, maximumLength, 0.0,
____Simplifier__float__float__float,
"",
"");
I_Method1(void, setSampleRatio, IN, float, sampleRatio,
Properties::NON_VIRTUAL,
__void__setSampleRatio__float,
"",
"");
I_Method0(float, getSampleRatio,
Properties::NON_VIRTUAL,
__float__getSampleRatio,
"",
"");
I_Method1(void, setMaximumError, IN, float, error,
Properties::NON_VIRTUAL,
__void__setMaximumError__float,
"Set the maximum point error that all point removals must be less than to permit removal of a point. ",
"Note, Only used when down sampling. i.e. sampleRatio < 1.0 ");
I_Method0(float, getMaximumError,
Properties::NON_VIRTUAL,
__float__getMaximumError,
"",
"");
I_Method1(void, setMaximumLength, IN, float, length,
Properties::NON_VIRTUAL,
__void__setMaximumLength__float,
"Set the maximum length target that all edges must be shorted than. ",
"Note, Only used when up sampling i.e. sampleRatio > 1.0. ");
I_Method0(float, getMaximumLength,
Properties::NON_VIRTUAL,
__float__getMaximumLength,
"",
"");
I_Method1(void, setDoTriStrip, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setDoTriStrip__bool,
"",
"");
I_Method0(bool, getDoTriStrip,
Properties::NON_VIRTUAL,
__bool__getDoTriStrip,
"",
"");
I_Method1(void, setSmoothing, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setSmoothing__bool,
"",
"");
I_Method0(bool, getSmoothing,
Properties::NON_VIRTUAL,
__bool__getSmoothing,
"",
"");
I_Method1(void, setContinueSimplificationCallback, IN, osgUtil::Simplifier::ContinueSimplificationCallback *, cb,
Properties::NON_VIRTUAL,
__void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1,
"",
"");
I_Method0(osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
Properties::NON_VIRTUAL,
__ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
"",
"");
I_Method0(const osgUtil::Simplifier::ContinueSimplificationCallback *, getContinueSimplificationCallback,
Properties::NON_VIRTUAL,
__C5_ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
"",
"");
I_Method3(bool, continueSimplification, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
Properties::NON_VIRTUAL,
__bool__continueSimplification__float__unsigned_int__unsigned_int,
"",
"");
I_Method3(bool, continueSimplificationImplementation, IN, float, nextError, IN, unsigned int, numOriginalPrimitives, IN, unsigned int, numRemainingPrimitives,
Properties::VIRTUAL,
__bool__continueSimplificationImplementation__float__unsigned_int__unsigned_int,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, simplify, IN, osg::Geometry &, geometry,
Properties::NON_VIRTUAL,
__void__simplify__osg_Geometry_R1,
"simply the geometry. ",
"");
I_Method2(void, simplify, IN, osg::Geometry &, geometry, IN, const osgUtil::Simplifier::IndexList &, protectedPoints,
Properties::NON_VIRTUAL,
__void__simplify__osg_Geometry_R1__C5_IndexList_R1,
"simply the geometry, whilst protecting key points from being modified. ",
"");
I_SimpleProperty(osgUtil::Simplifier::ContinueSimplificationCallback *, ContinueSimplificationCallback,
__ContinueSimplificationCallback_P1__getContinueSimplificationCallback,
__void__setContinueSimplificationCallback__ContinueSimplificationCallback_P1);
I_SimpleProperty(bool, DoTriStrip,
__bool__getDoTriStrip,
__void__setDoTriStrip__bool);
I_SimpleProperty(float, MaximumError,
__float__getMaximumError,
__void__setMaximumError__float);
I_SimpleProperty(float, MaximumLength,
__float__getMaximumLength,
__void__setMaximumLength__float);
I_SimpleProperty(float, SampleRatio,
__float__getSampleRatio,
__void__setSampleRatio__float);
I_SimpleProperty(bool, Smoothing,
__bool__getSmoothing,
__void__setSmoothing__bool);
END_REFLECTOR

View File

@@ -10,8 +10,8 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Geometry.svn-base>
#include <osg/Geode>
#include <osg/Geometry>
#include <osgUtil/SmoothingVisitor>
// Must undefine IN and OUT macros defined in Windows headers
@@ -23,7 +23,6 @@
#endif
BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____SmoothingVisitor,
"default to traversing all children. ",
@@ -33,47 +32,6 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor)
__void__apply__osg_Geode_R1,
"apply smoothing method to all geode geosets. ",
"");
I_Constructor0(____SmoothingVisitor,
"default to traversing all children. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"apply smoothing method to all geode geosets. ",
"");
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
__void__smooth__osg_Geometry_R1_S,
"smooth geoset by creating per vertex normals. ",
"");
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
__void__smooth__osg_Geometry_R1_S,
"smooth geoset by creating per vertex normals. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::SmoothingVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____SmoothingVisitor,
"default to traversing all children. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"apply smoothing method to all geode geosets. ",
"");
I_Constructor0(____SmoothingVisitor,
"default to traversing all children. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"apply smoothing method to all geode geosets. ",
"");
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
__void__smooth__osg_Geometry_R1_S,
"smooth geoset by creating per vertex normals. ",
"");
I_StaticMethod1(void, smooth, IN, osg::Geometry &, geoset,
__void__smooth__osg_Geometry_R1_S,
"smooth geoset by creating per vertex normals. ",

View File

@@ -10,17 +10,16 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Drawable.svn-base>
#include <osg/.svn/text-base/Group.svn-base>
#include <osg/.svn/text-base/LOD.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/Switch.svn-base>
#include <osg/.svn/text-base/Vec2.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/.svn/text-base/Vec4.svn-base>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/LOD>
#include <osg/Node>
#include <osg/Switch>
#include <osg/Transform>
#include <osgUtil/.svn/text-base/Statistics.svn-base>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osgUtil/Statistics>
// Must undefine IN and OUT macros defined in Windows headers
@@ -49,7 +48,6 @@ BEGIN_ENUM_REFLECTOR(osgUtil::Statistics::StatsType)
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::Statistics)
I_BaseType(osg::PrimitiveFunctor);
I_BaseType(osg::PrimitiveFunctor);
I_Constructor0(____Statistics,
"",
@@ -67,42 +65,42 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Statistics)
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec3_P1,
"",
"");
"Sets the array of vertices used to describe the primitives. ",
"Somehow mimics the OpenGL glVertexPointer() function.");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec2_P1,
"",
"");
"Sets the array of vertices used to describe the primitives. ",
"Somehow mimics the OpenGL glVertexPointer() function.");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec4_P1,
"",
"");
"Sets the array of vertices used to describe the primitives. ",
"Somehow mimics the OpenGL glVertexPointer() function.");
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, x, IN, GLsizei, count,
Properties::VIRTUAL,
__void__drawArrays__GLenum__GLint__GLsizei,
"",
"Mimics the OpenGL glDrawArrays() function. ",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
"",
"Mimics the OpenGL glDrawElements() function. ",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
"",
"Mimics the OpenGL glDrawElements() function. ",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
"",
"Mimics the OpenGL glDrawElements() function. ",
"");
I_Method1(void, begin, IN, GLenum, mode,
Properties::VIRTUAL,
__void__begin__GLenum,
"",
"Mimics the OpenGL glBegin() function. ",
"");
I_Method0(void, vertex,
Properties::NON_VIRTUAL,
@@ -112,526 +110,37 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Statistics)
I_Method3(void, vertex, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float,
"",
"Mimics the OpenGL glVertex() \"family of functions\". ",
"");
I_Method1(void, vertex, IN, const osg::Vec3 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec3_R1,
"",
"Mimics the OpenGL glVertex() \"family of functions\". ",
"");
I_Method1(void, vertex, IN, const osg::Vec2 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec2_R1,
"",
"Mimics the OpenGL glVertex() \"family of functions\". ",
"");
I_Method1(void, vertex, IN, const osg::Vec4 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec4_R1,
"",
"Mimics the OpenGL glVertex() \"family of functions\". ",
"");
I_Method2(void, vertex, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float,
"",
"Mimics the OpenGL glVertex() \"family of functions\". ",
"");
I_Method4(void, vertex, IN, float, x, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float__float,
"",
"Mimics the OpenGL glVertex() \"family of functions\". ",
"");
I_Method0(void, end,
Properties::VIRTUAL,
__void__end,
"",
"");
I_Method0(void, addDrawable,
Properties::NON_VIRTUAL,
__void__addDrawable,
"",
"");
I_Method0(void, addMatrix,
Properties::NON_VIRTUAL,
__void__addMatrix,
"",
"");
I_Method1(void, addLight, IN, int, np,
Properties::NON_VIRTUAL,
__void__addLight__int,
"",
"");
I_Method1(void, addImpostor, IN, int, np,
Properties::NON_VIRTUAL,
__void__addImpostor__int,
"",
"");
I_Method0(int, getBins,
Properties::NON_VIRTUAL,
__int__getBins,
"",
"");
I_Method1(void, setDepth, IN, int, d,
Properties::NON_VIRTUAL,
__void__setDepth__int,
"",
"");
I_Method1(void, addBins, IN, int, np,
Properties::NON_VIRTUAL,
__void__addBins__int,
"",
"");
I_Method1(void, setBinNo, IN, int, n,
Properties::NON_VIRTUAL,
__void__setBinNo__int,
"",
"");
I_Method1(void, add, IN, const osgUtil::Statistics &, stats,
Properties::NON_VIRTUAL,
__void__add__C5_Statistics_R1,
"",
"");
I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesBegin,
Properties::NON_VIRTUAL,
__PrimitiveCountMap_iterator__GetPrimitivesBegin,
"",
"");
I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesEnd,
Properties::NON_VIRTUAL,
__PrimitiveCountMap_iterator__GetPrimitivesEnd,
"",
"");
I_Constructor0(____Statistics,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setType, IN, osgUtil::Statistics::StatsType, t,
Properties::NON_VIRTUAL,
__void__setType__StatsType,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec3_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec2_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec4_P1,
"",
"");
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, x, IN, GLsizei, count,
Properties::VIRTUAL,
__void__drawArrays__GLenum__GLint__GLsizei,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
"",
"");
I_Method1(void, begin, IN, GLenum, mode,
Properties::VIRTUAL,
__void__begin__GLenum,
"",
"");
I_Method0(void, vertex,
Properties::NON_VIRTUAL,
__void__vertex,
"",
"");
I_Method3(void, vertex, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec3 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec3_R1,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec2 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec2_R1,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec4 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec4_R1,
"",
"");
I_Method2(void, vertex, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float,
"",
"");
I_Method4(void, vertex, IN, float, x, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float__float,
"",
"");
I_Method0(void, end,
Properties::VIRTUAL,
__void__end,
"",
"");
I_Method0(void, addDrawable,
Properties::NON_VIRTUAL,
__void__addDrawable,
"",
"");
I_Method0(void, addMatrix,
Properties::NON_VIRTUAL,
__void__addMatrix,
"",
"");
I_Method1(void, addLight, IN, int, np,
Properties::NON_VIRTUAL,
__void__addLight__int,
"",
"");
I_Method1(void, addImpostor, IN, int, np,
Properties::NON_VIRTUAL,
__void__addImpostor__int,
"",
"");
I_Method0(int, getBins,
Properties::NON_VIRTUAL,
__int__getBins,
"",
"");
I_Method1(void, setDepth, IN, int, d,
Properties::NON_VIRTUAL,
__void__setDepth__int,
"",
"");
I_Method1(void, addBins, IN, int, np,
Properties::NON_VIRTUAL,
__void__addBins__int,
"",
"");
I_Method1(void, setBinNo, IN, int, n,
Properties::NON_VIRTUAL,
__void__setBinNo__int,
"",
"");
I_Method1(void, add, IN, const osgUtil::Statistics &, stats,
Properties::NON_VIRTUAL,
__void__add__C5_Statistics_R1,
"",
"");
I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesBegin,
Properties::NON_VIRTUAL,
__PrimitiveCountMap_iterator__GetPrimitivesBegin,
"",
"");
I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesEnd,
Properties::NON_VIRTUAL,
__PrimitiveCountMap_iterator__GetPrimitivesEnd,
"",
"");
I_SimpleProperty(int, BinNo,
0,
__void__setBinNo__int);
I_SimpleProperty(int, Bins,
__int__getBins,
0);
I_SimpleProperty(int, Depth,
0,
__void__setDepth__int);
I_SimpleProperty(osgUtil::Statistics::StatsType, Type,
0,
__void__setType__StatsType);
I_PublicMemberProperty(int, numDrawables);
I_PublicMemberProperty(int, nummat);
I_PublicMemberProperty(int, nbins);
I_PublicMemberProperty(int, nlights);
I_PublicMemberProperty(int, depth);
I_PublicMemberProperty(int, _binNo);
I_PublicMemberProperty(osgUtil::Statistics::StatsType, stattype);
I_PublicMemberProperty(int, nimpostor);
I_PublicMemberProperty(unsigned int, _vertexCount);
I_PublicMemberProperty(osgUtil::Statistics::PrimitiveValueMap, _primitiveCount);
I_PublicMemberProperty(GLenum, _currentPrimitiveFunctorMode);
END_REFLECTOR
TYPE_NAME_ALIAS(std::pair< unsigned int COMMA unsigned int >, osgUtil::Statistics::PrimitivePair);
TYPE_NAME_ALIAS(std::map< GLenum COMMA osgUtil::Statistics::PrimitivePair >, osgUtil::Statistics::PrimitiveValueMap);
TYPE_NAME_ALIAS(std::map< GLenum COMMA unsigned int >, osgUtil::Statistics::PrimitiveCountMap);
BEGIN_ENUM_REFLECTOR(osgUtil::Statistics::StatsType)
I_EnumLabel(osgUtil::Statistics::STAT_NONE);
I_EnumLabel(osgUtil::Statistics::STAT_FRAMERATE);
I_EnumLabel(osgUtil::Statistics::STAT_GRAPHS);
I_EnumLabel(osgUtil::Statistics::STAT_PRIMS);
I_EnumLabel(osgUtil::Statistics::STAT_PRIMSPERVIEW);
I_EnumLabel(osgUtil::Statistics::STAT_PRIMSPERBIN);
I_EnumLabel(osgUtil::Statistics::STAT_DC);
I_EnumLabel(osgUtil::Statistics::STAT_RESTART);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::Statistics)
I_BaseType(osg::PrimitiveFunctor);
I_BaseType(osg::PrimitiveFunctor);
I_Constructor0(____Statistics,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setType, IN, osgUtil::Statistics::StatsType, t,
Properties::NON_VIRTUAL,
__void__setType__StatsType,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec3_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec2_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec4_P1,
"",
"");
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, x, IN, GLsizei, count,
Properties::VIRTUAL,
__void__drawArrays__GLenum__GLint__GLsizei,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
"",
"");
I_Method1(void, begin, IN, GLenum, mode,
Properties::VIRTUAL,
__void__begin__GLenum,
"",
"");
I_Method0(void, vertex,
Properties::NON_VIRTUAL,
__void__vertex,
"",
"");
I_Method3(void, vertex, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec3 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec3_R1,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec2 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec2_R1,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec4 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec4_R1,
"",
"");
I_Method2(void, vertex, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float,
"",
"");
I_Method4(void, vertex, IN, float, x, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float__float,
"",
"");
I_Method0(void, end,
Properties::VIRTUAL,
__void__end,
"",
"");
I_Method0(void, addDrawable,
Properties::NON_VIRTUAL,
__void__addDrawable,
"",
"");
I_Method0(void, addMatrix,
Properties::NON_VIRTUAL,
__void__addMatrix,
"",
"");
I_Method1(void, addLight, IN, int, np,
Properties::NON_VIRTUAL,
__void__addLight__int,
"",
"");
I_Method1(void, addImpostor, IN, int, np,
Properties::NON_VIRTUAL,
__void__addImpostor__int,
"",
"");
I_Method0(int, getBins,
Properties::NON_VIRTUAL,
__int__getBins,
"",
"");
I_Method1(void, setDepth, IN, int, d,
Properties::NON_VIRTUAL,
__void__setDepth__int,
"",
"");
I_Method1(void, addBins, IN, int, np,
Properties::NON_VIRTUAL,
__void__addBins__int,
"",
"");
I_Method1(void, setBinNo, IN, int, n,
Properties::NON_VIRTUAL,
__void__setBinNo__int,
"",
"");
I_Method1(void, add, IN, const osgUtil::Statistics &, stats,
Properties::NON_VIRTUAL,
__void__add__C5_Statistics_R1,
"",
"");
I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesBegin,
Properties::NON_VIRTUAL,
__PrimitiveCountMap_iterator__GetPrimitivesBegin,
"",
"");
I_Method0(osgUtil::Statistics::PrimitiveCountMap::iterator, GetPrimitivesEnd,
Properties::NON_VIRTUAL,
__PrimitiveCountMap_iterator__GetPrimitivesEnd,
"",
"");
I_Constructor0(____Statistics,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setType, IN, osgUtil::Statistics::StatsType, t,
Properties::NON_VIRTUAL,
__void__setType__StatsType,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec3_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec2_P1,
"",
"");
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, x,
Properties::VIRTUAL,
__void__setVertexArray__unsigned_int__C5_osg_Vec4_P1,
"",
"");
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, x, IN, GLsizei, count,
Properties::VIRTUAL,
__void__drawArrays__GLenum__GLint__GLsizei,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
"",
"");
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, x,
Properties::VIRTUAL,
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
"",
"");
I_Method1(void, begin, IN, GLenum, mode,
Properties::VIRTUAL,
__void__begin__GLenum,
"",
"");
I_Method0(void, vertex,
Properties::NON_VIRTUAL,
__void__vertex,
"",
"");
I_Method3(void, vertex, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec3 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec3_R1,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec2 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec2_R1,
"",
"");
I_Method1(void, vertex, IN, const osg::Vec4 &, x,
Properties::VIRTUAL,
__void__vertex__C5_osg_Vec4_R1,
"",
"");
I_Method2(void, vertex, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float,
"",
"");
I_Method4(void, vertex, IN, float, x, IN, float, x, IN, float, x, IN, float, x,
Properties::VIRTUAL,
__void__vertex__float__float__float__float,
"",
"");
I_Method0(void, end,
Properties::VIRTUAL,
__void__end,
"",
"Mimics the OpenGL glEnd() function. ",
"");
I_Method0(void, addDrawable,
Properties::NON_VIRTUAL,
@@ -720,96 +229,42 @@ TYPE_NAME_ALIAS(std::set< osg::Drawable * >, osgUtil::StatsVisitor::DrawableSet)
TYPE_NAME_ALIAS(std::set< osg::StateSet * >, osgUtil::StatsVisitor::StateSetSet);
BEGIN_OBJECT_REFLECTOR(osgUtil::StatsVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____StatsVisitor,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__reset,
"",
"");
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method0(void, totalUpStats,
Properties::NON_VIRTUAL,
__void__totalUpStats,
"",
"");
I_Method1(void, print, IN, std::ostream &, out,
Properties::NON_VIRTUAL,
__void__print__std_ostream_R1,
"",
"");
I_Constructor0(____StatsVisitor,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::NON_VIRTUAL,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
@@ -848,138 +303,13 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::StatsVisitor)
I_PublicMemberProperty(osgUtil::Statistics, _instancedStats);
END_REFLECTOR
TYPE_NAME_ALIAS(std::set< osg::Node * >, osgUtil::StatsVisitor::NodeSet);
STD_MAP_REFLECTOR(std::map< GLenum COMMA osgUtil::Statistics::PrimitivePair >);
TYPE_NAME_ALIAS(std::set< osg::Drawable * >, osgUtil::StatsVisitor::DrawableSet);
STD_MAP_REFLECTOR(std::map< GLenum COMMA unsigned int >);
TYPE_NAME_ALIAS(std::set< osg::StateSet * >, osgUtil::StatsVisitor::StateSetSet);
STD_PAIR_REFLECTOR(std::pair< unsigned int COMMA unsigned int >);
BEGIN_OBJECT_REFLECTOR(osgUtil::StatsVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____StatsVisitor,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method0(void, totalUpStats,
Properties::NON_VIRTUAL,
__void__totalUpStats,
"",
"");
I_Method1(void, print, IN, std::ostream &, out,
Properties::NON_VIRTUAL,
__void__print__std_ostream_R1,
"",
"");
I_Constructor0(____StatsVisitor,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::NON_VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Drawable &, drawable,
Properties::NON_VIRTUAL,
__void__apply__osg_Drawable_R1,
"",
"");
I_Method0(void, totalUpStats,
Properties::NON_VIRTUAL,
__void__totalUpStats,
"",
"");
I_Method1(void, print, IN, std::ostream &, out,
Properties::NON_VIRTUAL,
__void__print__std_ostream_R1,
"",
"");
I_PublicMemberProperty(unsigned int, _numInstancedGroup);
I_PublicMemberProperty(unsigned int, _numInstancedSwitch);
I_PublicMemberProperty(unsigned int, _numInstancedLOD);
I_PublicMemberProperty(unsigned int, _numInstancedTransform);
I_PublicMemberProperty(unsigned int, _numInstancedGeode);
I_PublicMemberProperty(unsigned int, _numInstancedDrawable);
I_PublicMemberProperty(unsigned int, _numInstancedGeometry);
I_PublicMemberProperty(unsigned int, _numInstancedStateSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _groupSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _transformSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _lodSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _switchSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::NodeSet, _geodeSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::DrawableSet, _drawableSet);
I_PublicMemberProperty(osgUtil::StatsVisitor::DrawableSet, _geometrySet);
I_PublicMemberProperty(osgUtil::StatsVisitor::StateSetSet, _statesetSet);
I_PublicMemberProperty(osgUtil::Statistics, _uniqueStats);
I_PublicMemberProperty(osgUtil::Statistics, _instancedStats);
END_REFLECTOR
STD_SET_REFLECTOR(std::set< osg::Drawable * >);
STD_SET_REFLECTOR(std::set< osg::StateSet * >);

View File

@@ -10,9 +10,8 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Geometry.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osgUtil/.svn/text-base/Tessellator.svn-base>
#include <osg/Geometry>
#include <osg/Vec3>
#include <osgUtil/Tessellator>
// Must undefine IN and OUT macros defined in Windows headers
@@ -43,90 +42,6 @@ END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____Tessellator,
"",
"");
I_Method1(void, setBoundaryOnly, IN, const bool, tt,
Properties::NON_VIRTUAL,
__void__setBoundaryOnly__C5_bool,
"Set and get tessellation request boundary only on/off. ",
"");
I_Method0(const bool, getBoundaryOnly,
Properties::NON_VIRTUAL,
__C5_bool__getBoundaryOnly,
"",
"");
I_Method1(void, setWindingType, IN, const osgUtil::Tessellator::WindingType, wt,
Properties::NON_VIRTUAL,
__void__setWindingType__C5_WindingType,
"Set and get tessellation windong rule. ",
"");
I_Method0(const osgUtil::Tessellator::WindingType, getWindingType,
Properties::NON_VIRTUAL,
__C5_WindingType__getWindingType,
"",
"");
I_Method1(void, setTessellationType, IN, const osgUtil::Tessellator::TessellationType, tt,
Properties::NON_VIRTUAL,
__void__setTessellationType__C5_TessellationType,
"Set and get tessellation type. ",
"");
I_Method0(const osgUtil::Tessellator::TessellationType, getTessellationType,
Properties::NON_VIRTUAL,
__C5_TessellationType__getTessellationType,
"",
"");
I_Method1(void, retessellatePolygons, IN, osg::Geometry &, cxgeom,
Properties::NON_VIRTUAL,
__void__retessellatePolygons__osg_Geometry_R1,
"Change the contours lists of the geometry into tessellated primitives (the list of primitives in the original geometry is stored in the Tessellator for possible re-use. ",
"The name remains retessellatePolygons although it now handles trifans, strips, quads etc. as well as Polygons so as to not break old codes relying on this function name. ");
I_Method1(void, setTessellationNormal, IN, const osg::Vec3, norm,
Properties::NON_VIRTUAL,
__void__setTessellationNormal__C5_osg_Vec3,
"Define the normal to the tessellated polygon - this provides a hint how to tessellate the contours; see gluTessNormal in red book or man pages. ",
"GWM July 2005. Can improve teselation \"For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.\"");
I_Method0(osg::Geometry::PrimitiveSetList, getContours,
Properties::NON_VIRTUAL,
__osg_Geometry_PrimitiveSetList__getContours,
"",
"");
I_Method0(void, beginTessellation,
Properties::NON_VIRTUAL,
__void__beginTessellation,
"",
"");
I_Method0(void, beginContour,
Properties::NON_VIRTUAL,
__void__beginContour,
"",
"");
I_Method1(void, addVertex, IN, osg::Vec3 *, vertex,
Properties::NON_VIRTUAL,
__void__addVertex__osg_Vec3_P1,
"",
"");
I_Method0(void, endContour,
Properties::NON_VIRTUAL,
__void__endContour,
"",
"");
I_Method0(void, endTessellation,
Properties::NON_VIRTUAL,
__void__endTessellation,
"",
"");
I_Method0(osgUtil::Tessellator::PrimList &, getPrimList,
Properties::NON_VIRTUAL,
__PrimList_R1__getPrimList,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Constructor0(____Tessellator,
"",
"");
@@ -230,210 +145,59 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator)
__void__setWindingType__C5_WindingType);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::Vec3 * >, osgUtil::Tessellator::VertexPointList);
TYPE_NAME_ALIAS(std::vector< osg::Vec3 * >, osgUtil::Tessellator::Prim::VecList);
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgUtil::Tessellator::Prim > >, osgUtil::Tessellator::PrimList);
BEGIN_ENUM_REFLECTOR(osgUtil::Tessellator::WindingType)
I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_ODD);
I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_NONZERO);
I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_POSITIVE);
I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_NEGATIVE);
I_EnumLabel(osgUtil::Tessellator::TESS_WINDING_ABS_GEQ_TWO);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgUtil::Tessellator::TessellationType)
I_EnumLabel(osgUtil::Tessellator::TESS_TYPE_GEOMETRY);
I_EnumLabel(osgUtil::Tessellator::TESS_TYPE_DRAWABLE);
I_EnumLabel(osgUtil::Tessellator::TESS_TYPE_POLYGONS);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator)
BEGIN_OBJECT_REFLECTOR(osgUtil::Tessellator::Prim)
I_BaseType(osg::Referenced);
I_BaseType(osg::Referenced);
I_Constructor0(____Tessellator,
I_Constructor1(IN, GLenum, mode,
Properties::NON_EXPLICIT,
____Prim__GLenum,
"",
"");
I_Method1(void, setBoundaryOnly, IN, const bool, tt,
Properties::NON_VIRTUAL,
__void__setBoundaryOnly__C5_bool,
"Set and get tessellation request boundary only on/off. ",
"");
I_Method0(const bool, getBoundaryOnly,
Properties::NON_VIRTUAL,
__C5_bool__getBoundaryOnly,
"",
"");
I_Method1(void, setWindingType, IN, const osgUtil::Tessellator::WindingType, wt,
Properties::NON_VIRTUAL,
__void__setWindingType__C5_WindingType,
"Set and get tessellation windong rule. ",
"");
I_Method0(const osgUtil::Tessellator::WindingType, getWindingType,
Properties::NON_VIRTUAL,
__C5_WindingType__getWindingType,
"",
"");
I_Method1(void, setTessellationType, IN, const osgUtil::Tessellator::TessellationType, tt,
Properties::NON_VIRTUAL,
__void__setTessellationType__C5_TessellationType,
"Set and get tessellation type. ",
"");
I_Method0(const osgUtil::Tessellator::TessellationType, getTessellationType,
Properties::NON_VIRTUAL,
__C5_TessellationType__getTessellationType,
"",
"");
I_Method1(void, retessellatePolygons, IN, osg::Geometry &, cxgeom,
Properties::NON_VIRTUAL,
__void__retessellatePolygons__osg_Geometry_R1,
"Change the contours lists of the geometry into tessellated primitives (the list of primitives in the original geometry is stored in the Tessellator for possible re-use. ",
"The name remains retessellatePolygons although it now handles trifans, strips, quads etc. as well as Polygons so as to not break old codes relying on this function name. ");
I_Method1(void, setTessellationNormal, IN, const osg::Vec3, norm,
Properties::NON_VIRTUAL,
__void__setTessellationNormal__C5_osg_Vec3,
"Define the normal to the tessellated polygon - this provides a hint how to tessellate the contours; see gluTessNormal in red book or man pages. ",
"GWM July 2005. Can improve teselation \"For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.\"");
I_Method0(osg::Geometry::PrimitiveSetList, getContours,
Properties::NON_VIRTUAL,
__osg_Geometry_PrimitiveSetList__getContours,
"",
"");
I_Method0(void, beginTessellation,
Properties::NON_VIRTUAL,
__void__beginTessellation,
"",
"");
I_Method0(void, beginContour,
Properties::NON_VIRTUAL,
__void__beginContour,
"",
"");
I_Method1(void, addVertex, IN, osg::Vec3 *, vertex,
Properties::NON_VIRTUAL,
__void__addVertex__osg_Vec3_P1,
"",
"");
I_Method0(void, endContour,
Properties::NON_VIRTUAL,
__void__endContour,
"",
"");
I_Method0(void, endTessellation,
Properties::NON_VIRTUAL,
__void__endTessellation,
"",
"");
I_Method0(osgUtil::Tessellator::PrimList &, getPrimList,
Properties::NON_VIRTUAL,
__PrimList_R1__getPrimList,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Constructor0(____Tessellator,
"",
"");
I_Method1(void, setBoundaryOnly, IN, const bool, tt,
Properties::NON_VIRTUAL,
__void__setBoundaryOnly__C5_bool,
"Set and get tessellation request boundary only on/off. ",
"");
I_Method0(const bool, getBoundaryOnly,
Properties::NON_VIRTUAL,
__C5_bool__getBoundaryOnly,
"",
"");
I_Method1(void, setWindingType, IN, const osgUtil::Tessellator::WindingType, wt,
Properties::NON_VIRTUAL,
__void__setWindingType__C5_WindingType,
"Set and get tessellation windong rule. ",
"");
I_Method0(const osgUtil::Tessellator::WindingType, getWindingType,
Properties::NON_VIRTUAL,
__C5_WindingType__getWindingType,
"",
"");
I_Method1(void, setTessellationType, IN, const osgUtil::Tessellator::TessellationType, tt,
Properties::NON_VIRTUAL,
__void__setTessellationType__C5_TessellationType,
"Set and get tessellation type. ",
"");
I_Method0(const osgUtil::Tessellator::TessellationType, getTessellationType,
Properties::NON_VIRTUAL,
__C5_TessellationType__getTessellationType,
"",
"");
I_Method1(void, retessellatePolygons, IN, osg::Geometry &, cxgeom,
Properties::NON_VIRTUAL,
__void__retessellatePolygons__osg_Geometry_R1,
"Change the contours lists of the geometry into tessellated primitives (the list of primitives in the original geometry is stored in the Tessellator for possible re-use. ",
"The name remains retessellatePolygons although it now handles trifans, strips, quads etc. as well as Polygons so as to not break old codes relying on this function name. ");
I_Method1(void, setTessellationNormal, IN, const osg::Vec3, norm,
Properties::NON_VIRTUAL,
__void__setTessellationNormal__C5_osg_Vec3,
"Define the normal to the tessellated polygon - this provides a hint how to tessellate the contours; see gluTessNormal in red book or man pages. ",
"GWM July 2005. Can improve teselation \"For example, if you know that all polygons lie in the x-y plane, call gluTessNormal(tess, 0.0, 0.0, 1.0) before rendering any polygons.\"");
I_Method0(osg::Geometry::PrimitiveSetList, getContours,
Properties::NON_VIRTUAL,
__osg_Geometry_PrimitiveSetList__getContours,
"",
"");
I_Method0(void, beginTessellation,
Properties::NON_VIRTUAL,
__void__beginTessellation,
"",
"");
I_Method0(void, beginContour,
Properties::NON_VIRTUAL,
__void__beginContour,
"",
"");
I_Method1(void, addVertex, IN, osg::Vec3 *, vertex,
Properties::NON_VIRTUAL,
__void__addVertex__osg_Vec3_P1,
"",
"");
I_Method0(void, endContour,
Properties::NON_VIRTUAL,
__void__endContour,
"",
"");
I_Method0(void, endTessellation,
Properties::NON_VIRTUAL,
__void__endTessellation,
"",
"");
I_Method0(osgUtil::Tessellator::PrimList &, getPrimList,
Properties::NON_VIRTUAL,
__PrimList_R1__getPrimList,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_SimpleProperty(const bool, BoundaryOnly,
__C5_bool__getBoundaryOnly,
__void__setBoundaryOnly__C5_bool);
I_SimpleProperty(osg::Geometry::PrimitiveSetList, Contours,
__osg_Geometry_PrimitiveSetList__getContours,
0);
I_SimpleProperty(osgUtil::Tessellator::PrimList &, PrimList,
__PrimList_R1__getPrimList,
0);
I_SimpleProperty(const osg::Vec3, TessellationNormal,
0,
__void__setTessellationNormal__C5_osg_Vec3);
I_SimpleProperty(const osgUtil::Tessellator::TessellationType, TessellationType,
__C5_TessellationType__getTessellationType,
__void__setTessellationType__C5_TessellationType);
I_SimpleProperty(const osgUtil::Tessellator::WindingType, WindingType,
__C5_WindingType__getWindingType,
__void__setWindingType__C5_WindingType);
I_PublicMemberProperty(GLenum, _mode);
I_PublicMemberProperty(osgUtil::Tessellator::Prim::VecList, _vertices);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::Tessellator::Prim >)
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgUtil::Tessellator::Prim *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgUtil::Tessellator::Prim > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgUtil::Tessellator::Prim *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgUtil::Tessellator::Prim *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::Tessellator::Prim > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgUtil::Tessellator::Prim *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3 * >);
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgUtil::Tessellator::Prim > >);

View File

@@ -10,8 +10,9 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Matrix.svn-base>
#include <osg/.svn/text-base/Vec3.svn-base>
#include <osg/Drawable>
#include <osg/Matrix>
#include <osg/Vec3>
#include <osgUtil/TransformAttributeFunctor>
// Must undefine IN and OUT macros defined in Windows headers
@@ -24,44 +25,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::TransformAttributeFunctor)
I_BaseType(osg::Drawable::AttributeFunctor);
I_BaseType(osg::Drawable::AttributeFunctor);
I_Constructor1(IN, const osg::Matrix &, m,
Properties::NON_EXPLICIT,
____TransformAttributeFunctor__C5_osg_Matrix_R1,
"Construct a functor to transform a drawable's vertex and normal attributes by specified matrix. ",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, type, IN, unsigned int, count, IN, osg::Vec3 *, begin,
Properties::VIRTUAL,
__void__apply__osg_Drawable_AttributeType__unsigned_int__osg_Vec3_P1,
"Do the work of transforming vertex and normal attributes. ",
"");
I_Constructor1(IN, const osg::Matrix &, m,
Properties::NON_EXPLICIT,
____TransformAttributeFunctor__C5_osg_Matrix_R1,
"Construct a functor to transform a drawable's vertex and normal attributes by specified matrix. ",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, type, IN, unsigned int, count, IN, osg::Vec3 *, begin,
Properties::VIRTUAL,
__void__apply__osg_Drawable_AttributeType__unsigned_int__osg_Vec3_P1,
"Do the work of transforming vertex and normal attributes. ",
"");
I_PublicMemberProperty(osg::Matrix, _m);
I_PublicMemberProperty(osg::Matrix, _im);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::TransformAttributeFunctor)
I_BaseType(osg::Drawable::AttributeFunctor);
I_BaseType(osg::Drawable::AttributeFunctor);
I_Constructor1(IN, const osg::Matrix &, m,
Properties::NON_EXPLICIT,
____TransformAttributeFunctor__C5_osg_Matrix_R1,
"Construct a functor to transform a drawable's vertex and normal attributes by specified matrix. ",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, type, IN, unsigned int, count, IN, osg::Vec3 *, begin,
Properties::VIRTUAL,
__void__apply__osg_Drawable_AttributeType__unsigned_int__osg_Vec3_P1,
"Do the work of transforming vertex and normal attributes. ",
"");
I_Constructor1(IN, const osg::Matrix &, m,
Properties::NON_EXPLICIT,
____TransformAttributeFunctor__C5_osg_Matrix_R1,

View File

@@ -10,8 +10,8 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Geometry.svn-base>
#include <osg/Geode>
#include <osg/Geometry>
#include <osgUtil/Optimizer>
#include <osgUtil/TriStripVisitor>
@@ -25,201 +25,6 @@
BEGIN_OBJECT_REFLECTOR(osgUtil::TriStripVisitor)
I_BaseType(osgUtil::BaseOptimizerVisitor);
I_BaseType(osgUtil::BaseOptimizerVisitor);
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
Properties::NON_EXPLICIT,
____TriStripVisitor__Optimizer_P1,
"default to traversing all children. ",
"");
I_Method1(void, stripify, IN, osg::Geometry &, drawable,
Properties::NON_VIRTUAL,
__void__stripify__osg_Geometry_R1,
"Convert mesh primitives in Geometry into Tri Strips. ",
"Converts all primitive types except points and lines, linestrips which it leaves unchanged.");
I_Method0(void, stripify,
Properties::NON_VIRTUAL,
__void__stripify,
"Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"Accumulate the Geometry drawables to make into strips. ",
"");
I_Method1(void, setCacheSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setCacheSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getCacheSize,
Properties::NON_VIRTUAL,
__unsigned_int__getCacheSize,
"",
"");
I_Method0(const unsigned int, getCacheSize,
Properties::NON_VIRTUAL,
__C5_unsigned_int__getCacheSize,
"",
"");
I_Method1(void, setMinStripSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setMinStripSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getMinStripSize,
Properties::NON_VIRTUAL,
__unsigned_int__getMinStripSize,
"",
"");
I_Method0(const unsigned int, getMinStripSize,
Properties::NON_VIRTUAL,
__C5_unsigned_int__getMinStripSize,
"",
"");
I_Method1(void, setGenerateFourPointPrimitivesQuads, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setGenerateFourPointPrimitivesQuads__bool,
"",
"");
I_Method0(bool, getGenerateFourPointPrimitivesQuads,
Properties::NON_VIRTUAL,
__bool__getGenerateFourPointPrimitivesQuads,
"",
"");
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
Properties::NON_EXPLICIT,
____TriStripVisitor__Optimizer_P1,
"default to traversing all children. ",
"");
I_Method1(void, stripify, IN, osg::Geometry &, drawable,
Properties::NON_VIRTUAL,
__void__stripify__osg_Geometry_R1,
"Convert mesh primitives in Geometry into Tri Strips. ",
"Converts all primitive types except points and lines, linestrips which it leaves unchanged.");
I_Method0(void, stripify,
Properties::NON_VIRTUAL,
__void__stripify,
"Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"Accumulate the Geometry drawables to make into strips. ",
"");
I_Method1(void, setCacheSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setCacheSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getCacheSize,
Properties::NON_VIRTUAL,
__unsigned_int__getCacheSize,
"",
"");
I_Method0(const unsigned int, getCacheSize,
Properties::NON_VIRTUAL,
__C5_unsigned_int__getCacheSize,
"",
"");
I_Method1(void, setMinStripSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setMinStripSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getMinStripSize,
Properties::NON_VIRTUAL,
__unsigned_int__getMinStripSize,
"",
"");
I_Method0(const unsigned int, getMinStripSize,
Properties::NON_VIRTUAL,
__C5_unsigned_int__getMinStripSize,
"",
"");
I_Method1(void, setGenerateFourPointPrimitivesQuads, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setGenerateFourPointPrimitivesQuads__bool,
"",
"");
I_Method0(bool, getGenerateFourPointPrimitivesQuads,
Properties::NON_VIRTUAL,
__bool__getGenerateFourPointPrimitivesQuads,
"",
"");
I_SimpleProperty(unsigned int, CacheSize,
__unsigned_int__getCacheSize,
__void__setCacheSize__unsigned_int);
I_SimpleProperty(bool, GenerateFourPointPrimitivesQuads,
__bool__getGenerateFourPointPrimitivesQuads,
__void__setGenerateFourPointPrimitivesQuads__bool);
I_SimpleProperty(unsigned int, MinStripSize,
__unsigned_int__getMinStripSize,
__void__setMinStripSize__unsigned_int);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::TriStripVisitor)
I_BaseType(osgUtil::BaseOptimizerVisitor);
I_BaseType(osgUtil::BaseOptimizerVisitor);
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
Properties::NON_EXPLICIT,
____TriStripVisitor__Optimizer_P1,
"default to traversing all children. ",
"");
I_Method1(void, stripify, IN, osg::Geometry &, drawable,
Properties::NON_VIRTUAL,
__void__stripify__osg_Geometry_R1,
"Convert mesh primitives in Geometry into Tri Strips. ",
"Converts all primitive types except points and lines, linestrips which it leaves unchanged.");
I_Method0(void, stripify,
Properties::NON_VIRTUAL,
__void__stripify,
"Stripify (make into strips of tria or quads) the accumulated list of Geometry drawables. ",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"Accumulate the Geometry drawables to make into strips. ",
"");
I_Method1(void, setCacheSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setCacheSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getCacheSize,
Properties::NON_VIRTUAL,
__unsigned_int__getCacheSize,
"",
"");
I_Method0(const unsigned int, getCacheSize,
Properties::NON_VIRTUAL,
__C5_unsigned_int__getCacheSize,
"",
"");
I_Method1(void, setMinStripSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setMinStripSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getMinStripSize,
Properties::NON_VIRTUAL,
__unsigned_int__getMinStripSize,
"",
"");
I_Method0(const unsigned int, getMinStripSize,
Properties::NON_VIRTUAL,
__C5_unsigned_int__getMinStripSize,
"",
"");
I_Method1(void, setGenerateFourPointPrimitivesQuads, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setGenerateFourPointPrimitivesQuads__bool,
"",
"");
I_Method0(bool, getGenerateFourPointPrimitivesQuads,
Properties::NON_VIRTUAL,
__bool__getGenerateFourPointPrimitivesQuads,
"",
"");
I_ConstructorWithDefaults1(IN, osgUtil::Optimizer *, optimizer, 0,
Properties::NON_EXPLICIT,
____TriStripVisitor__Optimizer_P1,

View File

@@ -10,15 +10,15 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/.svn/text-base/Billboard.svn-base>
#include <osg/.svn/text-base/Group.svn-base>
#include <osg/.svn/text-base/LOD.svn-base>
#include <osg/.svn/text-base/LightSource.svn-base>
#include <osg/.svn/text-base/Node.svn-base>
#include <osg/.svn/text-base/OccluderNode.svn-base>
#include <osg/.svn/text-base/Switch.svn-base>
#include <osg/Billboard>
#include <osg/Geode>
#include <osg/Group>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/Node>
#include <osg/OccluderNode>
#include <osg/Projection>
#include <osg/Switch>
#include <osg/Transform>
#include <osgUtil/UpdateVisitor>
@@ -31,7 +31,6 @@
#endif
BEGIN_OBJECT_REFLECTOR(osgUtil::UpdateVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____UpdateVisitor,
"",
@@ -39,187 +38,8 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::UpdateVisitor)
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"During traversal each type of node calls its callbacks and its children traversed. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__osg_LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Constructor0(____UpdateVisitor,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"During traversal each type of node calls its callbacks and its children traversed. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__osg_LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgUtil::UpdateVisitor)
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::NodeVisitor);
I_Constructor0(____UpdateVisitor,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"During traversal each type of node calls its callbacks and its children traversed. ",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__osg_Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__osg_LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__osg_Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Constructor0(____UpdateVisitor,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,