From 4c6511fd50529c18ea3e0f764af59e76f49684ef Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Dec 2008 10:20:23 +0000 Subject: [PATCH] Updated wrappers --- include/osgUtil/SceneView | 2 +- src/osgWrappers/Doxyfile.template | 1 + .../osg/CollectOccludersVisitor.cpp | 10 +++ src/osgWrappers/osg/ComputeBoundsVisitor.cpp | 10 +++ src/osgWrappers/osg/GL2Extensions.cpp | 6 ++ src/osgWrappers/osg/Image.cpp | 8 +- src/osgWrappers/osg/KdTree.cpp | 10 +++ src/osgWrappers/osg/NodeVisitor.cpp | 10 +++ src/osgWrappers/osg/StencilTwoSided.cpp | 6 ++ src/osgWrappers/osg/Texture3D.cpp | 84 ++++++++----------- src/osgWrappers/osg/VertexProgram.cpp | 30 +++++++ src/osgWrappers/osgAnimation/Bone.cpp | 10 +++ src/osgWrappers/osgAnimation/LinkVisitor.cpp | 10 +++ src/osgWrappers/osgAnimation/RigGeometry.cpp | 10 +++ src/osgWrappers/osgAnimation/modified.gw | 7 +- src/osgWrappers/osgDB/SharedStateManager.cpp | 10 +++ src/osgWrappers/osgGA/EventVisitor.cpp | 10 +++ .../osgSim/InsertImpostorsVisitor.cpp | 10 +++ src/osgWrappers/osgUtil/CullVisitor.cpp | 10 +++ .../osgUtil/DisplayRequirementsVisitor.cpp | 10 +++ .../osgUtil/DrawElementTypeSimplifier.cpp | 10 +++ src/osgWrappers/osgUtil/GLObjectsVisitor.cpp | 10 +++ src/osgWrappers/osgUtil/IntersectVisitor.cpp | 10 +++ .../osgUtil/IntersectionVisitor.cpp | 10 +++ src/osgWrappers/osgUtil/Simplifier.cpp | 10 +++ src/osgWrappers/osgUtil/Statistics.cpp | 10 +++ src/osgWrappers/osgUtil/UpdateVisitor.cpp | 10 +++ 27 files changed, 276 insertions(+), 58 deletions(-) diff --git a/include/osgUtil/SceneView b/include/osgUtil/SceneView index 594f6326d..d8df336eb 100644 --- a/include/osgUtil/SceneView +++ b/include/osgUtil/SceneView @@ -151,7 +151,7 @@ class OSGUTIL_EXPORT SceneView : public osg::Object, public osg::CullSettings DELTA_SIMULATION_TIME_UNIFORM | VIEW_MATRIX_UNIFORM | VIEW_MATRIX_INVERSE_UNIFORM, - ALL_UNIFORMS = 0xFFFFFFFF + ALL_UNIFORMS = 0x7FFFFFFF }; /** Set the uniforms that SceneView should set set up on each frame.*/ diff --git a/src/osgWrappers/Doxyfile.template b/src/osgWrappers/Doxyfile.template index 2476c72a8..963f331fc 100644 --- a/src/osgWrappers/Doxyfile.template +++ b/src/osgWrappers/Doxyfile.template @@ -192,6 +192,7 @@ EXPAND_AS_DEFINED = META_Object \ META_Node \ META_Shape \ META_Technique \ + META_NodeVisitor \ META_Effect PREDEFINED = SKIP_FUNCTION_MACROS = YES diff --git a/src/osgWrappers/osg/CollectOccludersVisitor.cpp b/src/osgWrappers/osg/CollectOccludersVisitor.cpp index 4fed4fc85..bf09e224e 100644 --- a/src/osgWrappers/osg/CollectOccludersVisitor.cpp +++ b/src/osgWrappers/osg/CollectOccludersVisitor.cpp @@ -36,6 +36,16 @@ BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor) I_Constructor0(____CollectOccludersVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(osg::CollectOccludersVisitor *, cloneType, Properties::VIRTUAL, __CollectOccludersVisitor_P1__cloneType, diff --git a/src/osgWrappers/osg/ComputeBoundsVisitor.cpp b/src/osgWrappers/osg/ComputeBoundsVisitor.cpp index 0966c6dac..2364a7181 100644 --- a/src/osgWrappers/osg/ComputeBoundsVisitor.cpp +++ b/src/osgWrappers/osg/ComputeBoundsVisitor.cpp @@ -36,6 +36,16 @@ BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor) ____ComputeBoundsVisitor__TraversalMode, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset, diff --git a/src/osgWrappers/osg/GL2Extensions.cpp b/src/osgWrappers/osg/GL2Extensions.cpp index 88d32460b..a60b4564d 100644 --- a/src/osgWrappers/osg/GL2Extensions.cpp +++ b/src/osgWrappers/osg/GL2Extensions.cpp @@ -721,6 +721,12 @@ BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions) __void__Set__unsigned_int__GL2Extensions_P1_S, "allows users to override the extensions across graphics contexts. ", "typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. "); + I_ProtectedMethod1(typedef, GLuint, IN, APIENTRY *, GetHandleProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__GLuint__APIENTRY_P1, + "", + ""); I_SimpleProperty(GLuint, CurrentProgram, __GLuint__getCurrentProgram, 0); diff --git a/src/osgWrappers/osg/Image.cpp b/src/osgWrappers/osg/Image.cpp index e6e22f016..b59f275bb 100644 --- a/src/osgWrappers/osg/Image.cpp +++ b/src/osgWrappers/osg/Image.cpp @@ -370,22 +370,22 @@ BEGIN_OBJECT_REFLECTOR(osg::Image) __C5_PixelBufferObject_P1__getPixelBufferObject, "Get the const PixelBufferObject. ", ""); - I_Method1(void, update, IN, osg::NodeVisitor *, nv, + I_Method1(void, update, IN, osg::NodeVisitor *, x, Properties::VIRTUAL, __void__update__NodeVisitor_P1, "", ""); - I_Method3(bool, sendPointerEvent, IN, int, x, IN, int, y, IN, int, buttonMask, + I_Method3(bool, sendPointerEvent, IN, int, x, IN, int, x, IN, int, x, Properties::VIRTUAL, __bool__sendPointerEvent__int__int__int, "method for sending pointer events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ", "Return true if handled. "); - I_Method2(bool, sendKeyEvent, IN, int, key, IN, bool, keyDown, + I_Method2(bool, sendKeyEvent, IN, int, x, IN, bool, x, Properties::VIRTUAL, __bool__sendKeyEvent__int__bool, "method for sending key events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ", "Return true if handled. "); - I_Method1(void, setFrameLastRendered, IN, const osg::FrameStamp *, frameStamp, + I_Method1(void, setFrameLastRendered, IN, const osg::FrameStamp *, x, Properties::VIRTUAL, __void__setFrameLastRendered__C5_osg_FrameStamp_P1, "method for passing frame information to the custom Image classes, to be called only when objects associated with imagery are not culled. ", diff --git a/src/osgWrappers/osg/KdTree.cpp b/src/osgWrappers/osg/KdTree.cpp index 641db02d0..4079025cc 100644 --- a/src/osgWrappers/osg/KdTree.cpp +++ b/src/osgWrappers/osg/KdTree.cpp @@ -231,6 +231,16 @@ BEGIN_OBJECT_REFLECTOR(osg::KdTreeBuilder) ____KdTreeBuilder__C5_KdTreeBuilder_R1, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(osg::KdTreeBuilder *, clone, Properties::VIRTUAL, __KdTreeBuilder_P1__clone, diff --git a/src/osgWrappers/osg/NodeVisitor.cpp b/src/osgWrappers/osg/NodeVisitor.cpp index 95ea32c8b..874653d6b 100644 --- a/src/osgWrappers/osg/NodeVisitor.cpp +++ b/src/osgWrappers/osg/NodeVisitor.cpp @@ -85,6 +85,16 @@ BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor) ____NodeVisitor__VisitorType__TraversalMode, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset, diff --git a/src/osgWrappers/osg/StencilTwoSided.cpp b/src/osgWrappers/osg/StencilTwoSided.cpp index fcdafd2f8..9749762af 100644 --- a/src/osgWrappers/osg/StencilTwoSided.cpp +++ b/src/osgWrappers/osg/StencilTwoSided.cpp @@ -268,6 +268,12 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided::Extensions) __void__glActiveStencilFace__GLenum, "", ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, ActiveStencilFaceProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); I_SimpleProperty(bool, StencilTwoSidedSupported, 0, __void__setStencilTwoSidedSupported__bool); diff --git a/src/osgWrappers/osg/Texture3D.cpp b/src/osgWrappers/osg/Texture3D.cpp index d31df56e4..183d8aae8 100644 --- a/src/osgWrappers/osg/Texture3D.cpp +++ b/src/osgWrappers/osg/Texture3D.cpp @@ -306,31 +306,16 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions) __GLint__maxTexture3DSize, "", ""); - I_Method1(void, setTexImage3DProc, IN, void *, ptr, - Properties::NON_VIRTUAL, - __void__setTexImage3DProc__void_P1, - "", - ""); I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels, Properties::NON_VIRTUAL, __void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1, "", ""); - I_Method1(void, setTexSubImage3DProc, IN, void *, ptr, - Properties::NON_VIRTUAL, - __void__setTexSubImage3DProc__void_P1, - "", - ""); I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels, Properties::NON_VIRTUAL, __void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1, "", ""); - I_Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr, - Properties::NON_VIRTUAL, - __void__setCopyTexSubImage3DProc__void_P1, - "", - ""); I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height, Properties::NON_VIRTUAL, __void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei, @@ -341,11 +326,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions) __bool__isCompressedTexImage3DSupported, "", ""); - I_Method1(void, setCompressedTexImage3DProc, IN, void *, ptr, - Properties::NON_VIRTUAL, - __void__setCompressedTexImage3DProc__void_P1, - "", - ""); I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data, Properties::NON_VIRTUAL, __void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1, @@ -356,47 +336,55 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions) __bool__isCompressedTexSubImage3DSupported, "", ""); - I_Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr, - Properties::NON_VIRTUAL, - __void__setCompressedTexSubImage3DProc__void_P1, - "", - ""); I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data, Properties::NON_VIRTUAL, __void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1, "", ""); - I_Method1(void, setBuild3DMipmapsProc, IN, void *, ptr, - Properties::NON_VIRTUAL, - __void__setBuild3DMipmapsProc__void_P1, - "", - ""); I_Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data, Properties::NON_VIRTUAL, __void__gluBuild3DMipmaps__GLenum__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1, "", ""); - I_SimpleProperty(void *, Build3DMipmapsProc, - 0, - __void__setBuild3DMipmapsProc__void_P1); - I_SimpleProperty(void *, CompressedTexImage3DProc, - 0, - __void__setCompressedTexImage3DProc__void_P1); - I_SimpleProperty(void *, CompressedTexSubImage3DProc, - 0, - __void__setCompressedTexSubImage3DProc__void_P1); - I_SimpleProperty(void *, CopyTexSubImage3DProc, - 0, - __void__setCopyTexSubImage3DProc__void_P1); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLTexImage3DProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLTexSubImage3DProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, CompressedTexImage3DArbProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, CompressedTexSubImage3DArbProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLCopyTexSubImageProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GLUBuild3DMipMapsProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); I_SimpleProperty(GLint, MaxTexture3DSize, 0, __void__setMaxTexture3DSize__GLint); - I_SimpleProperty(void *, TexImage3DProc, - 0, - __void__setTexImage3DProc__void_P1); - I_SimpleProperty(void *, TexSubImage3DProc, - 0, - __void__setTexSubImage3DProc__void_P1); I_SimpleProperty(bool, Texture3DFast, 0, __void__setTexture3DFast__bool); diff --git a/src/osgWrappers/osg/VertexProgram.cpp b/src/osgWrappers/osg/VertexProgram.cpp index 89f706a0a..68edd3af8 100644 --- a/src/osgWrappers/osg/VertexProgram.cpp +++ b/src/osgWrappers/osg/VertexProgram.cpp @@ -257,6 +257,36 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions) __void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1, "", ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, BindProgramProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, GenProgramsProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, DeleteProgramsProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, ProgramStringProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); + I_ProtectedMethod1(typedef, void, IN, APIENTRY *, ProgramLocalParameter4fvProc, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __typedef__void__APIENTRY_P1, + "", + ""); I_SimpleProperty(bool, VertexProgramSupported, 0, __void__setVertexProgramSupported__bool); diff --git a/src/osgWrappers/osgAnimation/Bone.cpp b/src/osgWrappers/osgAnimation/Bone.cpp index 6a9c61cc7..10b8ce124 100644 --- a/src/osgWrappers/osgAnimation/Bone.cpp +++ b/src/osgWrappers/osgAnimation/Bone.cpp @@ -231,6 +231,16 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone::BoneMapVisitor) I_Constructor0(____BoneMapVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, apply, IN, osg::Node &, node, Properties::VIRTUAL, __void__apply__osg_Node_R1, diff --git a/src/osgWrappers/osgAnimation/LinkVisitor.cpp b/src/osgWrappers/osgAnimation/LinkVisitor.cpp index 31bdae1ff..dc6d91602 100644 --- a/src/osgWrappers/osgAnimation/LinkVisitor.cpp +++ b/src/osgWrappers/osgAnimation/LinkVisitor.cpp @@ -35,6 +35,16 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::LinkVisitor) ____LinkVisitor__C5_AnimationList_R1, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, apply, IN, osg::Node &, node, Properties::VIRTUAL, __void__apply__osg_Node_R1, diff --git a/src/osgWrappers/osgAnimation/RigGeometry.cpp b/src/osgWrappers/osgAnimation/RigGeometry.cpp index b75c1eb7b..a128c255c 100644 --- a/src/osgWrappers/osgAnimation/RigGeometry.cpp +++ b/src/osgWrappers/osgAnimation/RigGeometry.cpp @@ -160,6 +160,16 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry::BuildVertexTransformerVisitor) ____BuildVertexTransformerVisitor__Skeleton_P1, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, apply, IN, osg::Geode &, node, Properties::VIRTUAL, __void__apply__osg_Geode_R1, diff --git a/src/osgWrappers/osgAnimation/modified.gw b/src/osgWrappers/osgAnimation/modified.gw index ba0e2a4ba..dbdf5eb61 100644 --- a/src/osgWrappers/osgAnimation/modified.gw +++ b/src/osgWrappers/osgAnimation/modified.gw @@ -1,6 +1,3 @@ -AnimationManager.cpp -AnimationManagerBase.cpp Bone.cpp -EaseMotion.cpp -Skeleton.cpp -Timeline.cpp +LinkVisitor.cpp +RigGeometry.cpp diff --git a/src/osgWrappers/osgDB/SharedStateManager.cpp b/src/osgWrappers/osgDB/SharedStateManager.cpp index ae445eba4..a4deedb1a 100644 --- a/src/osgWrappers/osgDB/SharedStateManager.cpp +++ b/src/osgWrappers/osgDB/SharedStateManager.cpp @@ -46,6 +46,16 @@ BEGIN_OBJECT_REFLECTOR(osgDB::SharedStateManager) ____SharedStateManager__unsigned_int, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, setShareMode, IN, unsigned int, mode, Properties::NON_VIRTUAL, __void__setShareMode__unsigned_int, diff --git a/src/osgWrappers/osgGA/EventVisitor.cpp b/src/osgWrappers/osgGA/EventVisitor.cpp index c1231e907..c02e61684 100644 --- a/src/osgWrappers/osgGA/EventVisitor.cpp +++ b/src/osgWrappers/osgGA/EventVisitor.cpp @@ -41,6 +41,16 @@ BEGIN_OBJECT_REFLECTOR(osgGA::EventVisitor) I_Constructor0(____EventVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, setActionAdapter, IN, osgGA::GUIActionAdapter *, actionAdapter, Properties::NON_VIRTUAL, __void__setActionAdapter__osgGA_GUIActionAdapter_P1, diff --git a/src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp b/src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp index 234b372ae..3b4500c6f 100644 --- a/src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp +++ b/src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp @@ -29,6 +29,16 @@ BEGIN_OBJECT_REFLECTOR(osgSim::InsertImpostorsVisitor) I_Constructor0(____InsertImpostorsVisitor, "Default to traversing all children. ", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, setImpostorThresholdRatio, IN, float, ratio, Properties::NON_VIRTUAL, __void__setImpostorThresholdRatio__float, diff --git a/src/osgWrappers/osgUtil/CullVisitor.cpp b/src/osgWrappers/osgUtil/CullVisitor.cpp index fea6498c8..b18eebba3 100644 --- a/src/osgWrappers/osgUtil/CullVisitor.cpp +++ b/src/osgWrappers/osgUtil/CullVisitor.cpp @@ -63,6 +63,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::CullVisitor) ____CullVisitor__C5_CullVisitor_R1, "Copy constructor that does a shallow copy. ", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(osgUtil::CullVisitor *, clone, Properties::VIRTUAL, __CullVisitor_P1__clone, diff --git a/src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp b/src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp index 087293333..e8e22759c 100644 --- a/src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp +++ b/src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp @@ -30,6 +30,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::DisplayRequirementsVisitor) I_Constructor0(____DisplayRequirementsVisitor, "Default to traversing all children, and requiresDoubleBuffer, requiresRGB and requiresDepthBuffer to true and with alpha and stencil off. ", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds, Properties::NON_VIRTUAL, __void__setDisplaySettings__osg_DisplaySettings_P1, diff --git a/src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp b/src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp index 1290b3838..03cfd8b56 100644 --- a/src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp +++ b/src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp @@ -40,6 +40,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::DrawElementTypeSimplifierVisitor) I_Constructor0(____DrawElementTypeSimplifierVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, apply, IN, osg::Geode &, node, Properties::VIRTUAL, __void__apply__osg_Geode_R1, diff --git a/src/osgWrappers/osgUtil/GLObjectsVisitor.cpp b/src/osgWrappers/osgUtil/GLObjectsVisitor.cpp index 2ff248457..135b58876 100644 --- a/src/osgWrappers/osgUtil/GLObjectsVisitor.cpp +++ b/src/osgWrappers/osgUtil/GLObjectsVisitor.cpp @@ -64,6 +64,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::GLObjectsVisitor) ____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(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset, diff --git a/src/osgWrappers/osgUtil/IntersectVisitor.cpp b/src/osgWrappers/osgUtil/IntersectVisitor.cpp index 92e7a8330..100597ef6 100644 --- a/src/osgWrappers/osgUtil/IntersectVisitor.cpp +++ b/src/osgWrappers/osgUtil/IntersectVisitor.cpp @@ -204,6 +204,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectVisitor) I_Constructor0(____IntersectVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset, diff --git a/src/osgWrappers/osgUtil/IntersectionVisitor.cpp b/src/osgWrappers/osgUtil/IntersectionVisitor.cpp index b3e0d7bd6..6bd9fd0ba 100644 --- a/src/osgWrappers/osgUtil/IntersectionVisitor.cpp +++ b/src/osgWrappers/osgUtil/IntersectionVisitor.cpp @@ -46,6 +46,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::IntersectionVisitor) ____IntersectionVisitor__Intersector_P1__ReadCallback_P1, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset, diff --git a/src/osgWrappers/osgUtil/Simplifier.cpp b/src/osgWrappers/osgUtil/Simplifier.cpp index ce1276a44..28ff1dc7a 100644 --- a/src/osgWrappers/osgUtil/Simplifier.cpp +++ b/src/osgWrappers/osgUtil/Simplifier.cpp @@ -31,6 +31,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::Simplifier) ____Simplifier__double__double__double, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method1(void, setSampleRatio, IN, float, sampleRatio, Properties::NON_VIRTUAL, __void__setSampleRatio__float, diff --git a/src/osgWrappers/osgUtil/Statistics.cpp b/src/osgWrappers/osgUtil/Statistics.cpp index 4f411605f..2115ea5e6 100644 --- a/src/osgWrappers/osgUtil/Statistics.cpp +++ b/src/osgWrappers/osgUtil/Statistics.cpp @@ -254,6 +254,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::StatsVisitor) I_Constructor0(____StatsVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset, diff --git a/src/osgWrappers/osgUtil/UpdateVisitor.cpp b/src/osgWrappers/osgUtil/UpdateVisitor.cpp index c3648c57e..0d38fd220 100644 --- a/src/osgWrappers/osgUtil/UpdateVisitor.cpp +++ b/src/osgWrappers/osgUtil/UpdateVisitor.cpp @@ -36,6 +36,16 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::UpdateVisitor) I_Constructor0(____UpdateVisitor, "", ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the library name/namespapce of the visitor's. ", + "Should be defined by derived classes. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the visitor's class type. ", + "Should be defined by derived classes. "); I_Method0(void, reset, Properties::VIRTUAL, __void__reset,