From 0b5852948ded4450423a7b71563b084e6ce70e55 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 19 Sep 2008 19:51:57 +0000 Subject: [PATCH] Added wrapper support for new osgShadow classes --- src/osgWrappers/genwrapper.conf | 21 ++ .../osgShadow/ConvexPolyhedron.cpp | 168 +++++++++++ src/osgWrappers/osgShadow/DebugShadowMap.cpp | 78 ++++++ .../LightSpacePerspectiveShadowMap.cpp | 260 ++++++++++++++++++ .../osgShadow/MinimalCullBoundsShadowMap.cpp | 65 +++++ .../osgShadow/MinimalDrawBoundsShadowMap.cpp | 65 +++++ .../osgShadow/MinimalShadowMap.cpp | 126 +++++++++ .../osgShadow/StandardShadowMap.cpp | 210 ++++++++++++++ .../ViewDependentShadowTechnique.cpp | 93 +++++++ 9 files changed, 1086 insertions(+) create mode 100644 src/osgWrappers/osgShadow/ConvexPolyhedron.cpp create mode 100644 src/osgWrappers/osgShadow/DebugShadowMap.cpp create mode 100644 src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp create mode 100644 src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp create mode 100644 src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp create mode 100644 src/osgWrappers/osgShadow/MinimalShadowMap.cpp create mode 100644 src/osgWrappers/osgShadow/StandardShadowMap.cpp create mode 100644 src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp diff --git a/src/osgWrappers/genwrapper.conf b/src/osgWrappers/genwrapper.conf index 469f53bfd..720675744 100644 --- a/src/osgWrappers/genwrapper.conf +++ b/src/osgWrappers/genwrapper.conf @@ -51,6 +51,27 @@ suppress reflector "PluginFunctionProxy" suppress reflector "osgWidget::UIObjectParent" + +############################################################################# + +suppress reflector "osgShadow::ProjectionShadowMap" + +suppress reflector "osgShadow::DebugShadowMap::ViewData" +suppress reflector "osgShadow::DebugShadowMap::ViewData::PolytopeGeometry" +suppress reflector "osgShadow::ViewDependentShadowTechnique::ViewData" + +suppress reflector "osgShadow::MinimalDrawBoundsShadowMap::META_ViewDependentShadowTechniqueData" +suppress reflector "osgShadow::DebugShadowMap::META_ViewDependentShadowTechniqueData" +suppress reflector "osgShadow::MinimalCullBoundsShadowMap::META_ViewDependentShadowTechniqueData" +suppress reflector "osgShadow::MinimalShadowMap::META_ViewDependentShadowTechniqueData" +suppress reflector "osgShadow::ProjectionShadowMap::META_ViewDependentShadowTechniqueData" +suppress reflector "osgShadow::StandardShadowMap::META_ViewDependentShadowTechniqueData" +suppress reflector "osgShadow::ViewDependentShadowTechnique::META_ViewDependentShadowTechniqueData" + + +suppress reflector "osgShadow::ViewDependentShadowTechnique::getViewDependentData" +suppress reflector "osgShadow::ViewDependentShadowTechnique::setViewDependentData" + ############################################################################# configure file /osg\/GraphicsContext/ diff --git a/src/osgWrappers/osgShadow/ConvexPolyhedron.cpp b/src/osgWrappers/osgShadow/ConvexPolyhedron.cpp new file mode 100644 index 000000000..4455e3189 --- /dev/null +++ b/src/osgWrappers/osgShadow/ConvexPolyhedron.cpp @@ -0,0 +1,168 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgShadow::ConvexPolyhedron::Vertices) + +TYPE_NAME_ALIAS(std::list< osgShadow::ConvexPolyhedron::Face >, osgShadow::ConvexPolyhedron::Faces) + +BEGIN_VALUE_REFLECTOR(osgShadow::ConvexPolyhedron) + I_DeclaringFile("osgShadow/ConvexPolyhedron"); + I_Constructor0(____ConvexPolyhedron, + "", + ""); + I_ConstructorWithDefaults3(IN, const osg::Matrix &, matrix, , IN, const osg::Matrix &, inverse, , IN, const osg::BoundingBox &, bb, osg::BoundingBox(-1,-1,-1, 1, 1, 1), + ____ConvexPolyhedron__C5_osg_Matrix_R1__C5_osg_Matrix_R1__C5_osg_BoundingBox_R1, + "", + ""); + I_Method0(osgShadow::ConvexPolyhedron::Face &, createFace, + Properties::NON_VIRTUAL, + __Face_R1__createFace, + "", + ""); + I_Method0(void, clear, + Properties::NON_VIRTUAL, + __void__clear, + "", + ""); + I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true, + Properties::NON_VIRTUAL, + __void__setToUnitFrustum__bool__bool, + "", + ""); + I_Method1(void, setToBoundingBox, IN, const osg::BoundingBox &, bb, + Properties::NON_VIRTUAL, + __void__setToBoundingBox__C5_osg_BoundingBox_R1, + "", + ""); + I_Method2(void, transform, IN, const osg::Matrix &, matrix, IN, const osg::Matrix &, inverse, + Properties::NON_VIRTUAL, + __void__transform__C5_osg_Matrix_R1__C5_osg_Matrix_R1, + "", + ""); + I_Method2(void, transformClip, IN, const osg::Matrix &, matrix, IN, const osg::Matrix &, inverse, + Properties::NON_VIRTUAL, + __void__transformClip__C5_osg_Matrix_R1__C5_osg_Matrix_R1, + "", + ""); + I_Method3(bool, mergeFaces, IN, const osgShadow::ConvexPolyhedron::Face &, face0, IN, const osgShadow::ConvexPolyhedron::Face &, face1, IN, osgShadow::ConvexPolyhedron::Face &, face, + Properties::NON_VIRTUAL, + __bool__mergeFaces__C5_Face_R1__C5_Face_R1__Face_R1, + "", + ""); + I_MethodWithDefaults2(void, mergeCoplanarFaces, IN, const double &, plane_normal_dot_tolerance, 0.0, IN, const double &, plane_distance_tolerance, 0.0, + Properties::NON_VIRTUAL, + __void__mergeCoplanarFaces__C5_double_R1__C5_double_R1, + "", + ""); + I_Method0(void, removeDuplicateVertices, + Properties::NON_VIRTUAL, + __void__removeDuplicateVertices, + "", + ""); + I_MethodWithDefaults2(bool, checkCoherency, IN, bool, checkForNonConvexPolys, false, IN, const char *, errorPrefix, NULL, + Properties::NON_VIRTUAL, + __bool__checkCoherency__bool__C5_char_P1, + "", + ""); + I_Method1(void, cut, IN, const osg::Polytope &, polytope, + Properties::NON_VIRTUAL, + __void__cut__C5_osg_Polytope_R1, + "", + ""); + I_Method1(void, cut, IN, const osgShadow::ConvexPolyhedron &, polytope, + Properties::NON_VIRTUAL, + __void__cut__C5_ConvexPolyhedron_R1, + "", + ""); + I_MethodWithDefaults2(void, cut, IN, const osg::Plane &, plane, , IN, const std::string &, name, std::string(), + Properties::NON_VIRTUAL, + __void__cut__C5_osg_Plane_R1__C5_std_string_R1, + "", + ""); + I_Method1(void, extrude, IN, const osg::Vec3d &, offset, + Properties::NON_VIRTUAL, + __void__extrude__C5_osg_Vec3d_R1, + "", + ""); + I_Method1(void, translate, IN, const osg::Vec3d &, offset, + Properties::NON_VIRTUAL, + __void__translate__C5_osg_Vec3d_R1, + "", + ""); + I_Method1(void, getPolytope, IN, osg::Polytope &, polytope, + Properties::NON_VIRTUAL, + __void__getPolytope__osg_Polytope_R1, + "", + ""); + I_Method1(void, getPoints, IN, osgShadow::ConvexPolyhedron::Vertices &, vertices, + Properties::NON_VIRTUAL, + __void__getPoints__Vertices_R1, + "", + ""); + I_MethodWithDefaults1(osg::BoundingBox, computeBoundingBox, IN, const osg::Matrix &, m, osgShadow::ConvexPolyhedron::defaultMatrix, + Properties::NON_VIRTUAL, + __osg_BoundingBox__computeBoundingBox__C5_osg_Matrix_R1, + "", + ""); + I_MethodWithDefaults3(osg::Geometry *, buildGeometry, IN, const osg::Vec4d &, colorOutline, , IN, const osg::Vec4d &, colorInside, , IN, osg::Geometry *, useGeometry, NULL, + Properties::NON_VIRTUAL, + __osg_Geometry_P1__buildGeometry__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__osg_Geometry_P1, + "", + ""); + I_MethodWithDefaults12(bool, dumpGeometry, IN, const osgShadow::ConvexPolyhedron::Face *, face, NULL, IN, const osg::Plane *, plane, NULL, IN, osgShadow::ConvexPolyhedron *, basehull, NULL, IN, const char *, filename, "convexpolyhedron.osg", IN, const osg::Vec4d &, colorOutline, osg::Vec4(0, 1, 0, 0.5), IN, const osg::Vec4d &, colorInside, osg::Vec4(0, 1, 0, 0.25), IN, const osg::Vec4d &, faceColorOutline, osg::Vec4(0, 0, 1, 0.5), IN, const osg::Vec4d &, faceColorInside, osg::Vec4(0, 0, 1, 0.25), IN, const osg::Vec4d &, planeColorOutline, osg::Vec4(1, 0, 0, 0.5), IN, const osg::Vec4d &, planeColorInside, osg::Vec4(1, 0, 0, 0.25), IN, const osg::Vec4d &, baseColorOutline, osg::Vec4(0, 0, 0, 0.5), IN, const osg::Vec4d &, baseColorInside, osg::Vec4(0, 0, 0, 0.25), + Properties::NON_VIRTUAL, + __bool__dumpGeometry__C5_Face_P1__C5_osg_Plane_P1__ConvexPolyhedron_P1__C5_char_P1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1__C5_osg_Vec4d_R1, + "", + ""); + I_StaticMethodWithDefaults5(int, pointsColinear, IN, const osg::Vec3d &, va, , IN, const osg::Vec3d &, vb, , IN, const osg::Vec3d &, vc, , IN, const double &, edge_normal_dot_tolerance, 0.0, IN, const double &, null_edge_length_tolerance, 0.0, + __int__pointsColinear__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_double_R1__C5_double_R1_S, + "", + ""); + I_StaticMethodWithDefaults2(int, isFacePolygonConvex, IN, osgShadow::ConvexPolyhedron::Face &, face, , IN, bool, ignoreCollinearVertices, true, + __int__isFacePolygonConvex__Face_R1__bool_S, + "", + ""); + I_SimpleProperty(const osg::BoundingBox &, ToBoundingBox, + 0, + __void__setToBoundingBox__C5_osg_BoundingBox_R1); + I_PublicMemberProperty(osgShadow::ConvexPolyhedron::Faces, _faces); +END_REFLECTOR + +BEGIN_VALUE_REFLECTOR(osgShadow::ConvexPolyhedron::Face) + I_DeclaringFile("osgShadow/ConvexPolyhedron"); + I_Constructor0(____Face, + "", + ""); + I_PublicMemberProperty(std::string, name); + I_PublicMemberProperty(osg::Plane, plane); + I_PublicMemberProperty(osgShadow::ConvexPolyhedron::Vertices, vertices); +END_REFLECTOR + +STD_LIST_REFLECTOR(std::list< osgShadow::ConvexPolyhedron::Face >) + diff --git a/src/osgWrappers/osgShadow/DebugShadowMap.cpp b/src/osgWrappers/osgShadow/DebugShadowMap.cpp new file mode 100644 index 000000000..bc0308207 --- /dev/null +++ b/src/osgWrappers/osgShadow/DebugShadowMap.cpp @@ -0,0 +1,78 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +TYPE_NAME_ALIAS(osgShadow::DebugShadowMap, osgShadow::DebugShadowMap::ThisClass) + +TYPE_NAME_ALIAS(osgShadow::ViewDependentShadowTechnique, osgShadow::DebugShadowMap::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::DebugShadowMap) + I_DeclaringFile("osgShadow/DebugShadowMap"); + I_BaseType(osgShadow::ViewDependentShadowTechnique); + I_Constructor0(____DebugShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::DebugShadowMap &, dsm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____DebugShadowMap__C5_DebugShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + 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_Method1(void, setDebugDraw, IN, bool, draw, + Properties::NON_VIRTUAL, + __void__setDebugDraw__bool, + "Turn on/off debuging hud & rendering of debug volumes in main view. ", + ""); + I_Method0(bool, getDebugDraw, + Properties::NON_VIRTUAL, + __bool__getDebugDraw, + "Tell if debuging hud & rendering of debug volumes is active. ", + ""); + I_SimpleProperty(bool, DebugDraw, + __bool__getDebugDraw, + __void__setDebugDraw__bool); +END_REFLECTOR + diff --git a/src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp b/src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp new file mode 100644 index 000000000..66982a780 --- /dev/null +++ b/src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp @@ -0,0 +1,260 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_VALUE_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapAlgorithm) + I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); + I_Constructor0(____LightSpacePerspectiveShadowMapAlgorithm, + "", + ""); +END_REFLECTOR + +TYPE_NAME_ALIAS(osgShadow::ProjectionShadowMap< osgShadow::MinimalCullBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::LightSpacePerspectiveShadowMapCB::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapCB) + I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); + I_Constructor0(____LightSpacePerspectiveShadowMapCB, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::LightSpacePerspectiveShadowMapCB &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____LightSpacePerspectiveShadowMapCB__C5_LightSpacePerspectiveShadowMapCB_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "", + ""); + 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, + "", + ""); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "", + ""); +END_REFLECTOR + +TYPE_NAME_ALIAS(osgShadow::ProjectionShadowMap< osgShadow::MinimalDrawBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::LightSpacePerspectiveShadowMapDB::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapDB) + I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); + I_Constructor0(____LightSpacePerspectiveShadowMapDB, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::LightSpacePerspectiveShadowMapDB &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____LightSpacePerspectiveShadowMapDB__C5_LightSpacePerspectiveShadowMapDB_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "", + ""); + 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, + "", + ""); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "", + ""); +END_REFLECTOR + +TYPE_NAME_ALIAS(osgShadow::ProjectionShadowMap< osgShadow::MinimalShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::LightSpacePerspectiveShadowMapVB::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::LightSpacePerspectiveShadowMapVB) + I_DeclaringFile("osgShadow/LightSpacePerspectiveShadowMap"); + I_Constructor0(____LightSpacePerspectiveShadowMapVB, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::LightSpacePerspectiveShadowMapVB &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____LightSpacePerspectiveShadowMapVB__C5_LightSpacePerspectiveShadowMapVB_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "", + ""); + 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, + "", + ""); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "", + ""); +END_REFLECTOR + +TYPE_NAME_ALIAS(osgShadow::LightSpacePerspectiveShadowMapDB, osgShadow::LightSpacePerspectiveShadowMap) + +BEGIN_OBJECT_REFLECTOR(osgShadow::ProjectionShadowMap< osgShadow::MinimalCullBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >) + I_DeclaringFile("osgShadow/ProjectionShadowMap"); + I_Constructor0(____ProjectionShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::ProjectionShadowMap< osgShadow::MinimalCullBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm > &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____ProjectionShadowMap__C5_ProjectionShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "", + ""); + 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, + "", + ""); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgShadow::ProjectionShadowMap< osgShadow::MinimalDrawBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >) + I_DeclaringFile("osgShadow/ProjectionShadowMap"); + I_Constructor0(____ProjectionShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::ProjectionShadowMap< osgShadow::MinimalDrawBoundsShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm > &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____ProjectionShadowMap__C5_ProjectionShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "", + ""); + 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, + "", + ""); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "", + ""); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgShadow::ProjectionShadowMap< osgShadow::MinimalShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm >) + I_DeclaringFile("osgShadow/ProjectionShadowMap"); + I_Constructor0(____ProjectionShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::ProjectionShadowMap< osgShadow::MinimalShadowMap COMMA osgShadow::LightSpacePerspectiveShadowMapAlgorithm > &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____ProjectionShadowMap__C5_ProjectionShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "", + ""); + 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, + "", + ""); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "", + ""); +END_REFLECTOR + diff --git a/src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp b/src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp new file mode 100644 index 000000000..bb80746cf --- /dev/null +++ b/src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp @@ -0,0 +1,65 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +TYPE_NAME_ALIAS(osgShadow::MinimalCullBoundsShadowMap, osgShadow::MinimalCullBoundsShadowMap::ThisClass) + +TYPE_NAME_ALIAS(osgShadow::MinimalShadowMap, osgShadow::MinimalCullBoundsShadowMap::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::MinimalCullBoundsShadowMap) + I_DeclaringFile("osgShadow/MinimalCullBoundsShadowMap"); + I_BaseType(osgShadow::MinimalShadowMap); + I_Constructor0(____MinimalCullBoundsShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::MinimalCullBoundsShadowMap &, mcbsm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____MinimalCullBoundsShadowMap__C5_MinimalCullBoundsShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + 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. "); +END_REFLECTOR + diff --git a/src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp b/src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp new file mode 100644 index 000000000..2ec0ef009 --- /dev/null +++ b/src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp @@ -0,0 +1,65 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +TYPE_NAME_ALIAS(osgShadow::MinimalDrawBoundsShadowMap, osgShadow::MinimalDrawBoundsShadowMap::ThisClass) + +TYPE_NAME_ALIAS(osgShadow::MinimalShadowMap, osgShadow::MinimalDrawBoundsShadowMap::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::MinimalDrawBoundsShadowMap) + I_DeclaringFile("osgShadow/MinimalDrawBoundsShadowMap"); + I_BaseType(osgShadow::MinimalShadowMap); + I_Constructor0(____MinimalDrawBoundsShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::MinimalDrawBoundsShadowMap &, mdbsm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____MinimalDrawBoundsShadowMap__C5_MinimalDrawBoundsShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + 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. "); +END_REFLECTOR + diff --git a/src/osgWrappers/osgShadow/MinimalShadowMap.cpp b/src/osgWrappers/osgShadow/MinimalShadowMap.cpp new file mode 100644 index 000000000..53e918af4 --- /dev/null +++ b/src/osgWrappers/osgShadow/MinimalShadowMap.cpp @@ -0,0 +1,126 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +TYPE_NAME_ALIAS(osgShadow::MinimalShadowMap, osgShadow::MinimalShadowMap::ThisClass) + +TYPE_NAME_ALIAS(osgShadow::StandardShadowMap, osgShadow::MinimalShadowMap::BaseClass) + +BEGIN_ENUM_REFLECTOR(osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy) + I_DeclaringFile("osgShadow/MinimalShadowMap"); + I_EnumLabel(osgShadow::MinimalShadowMap::EMPTY_BOX); + I_EnumLabel(osgShadow::MinimalShadowMap::BOUNDING_SPHERE); + I_EnumLabel(osgShadow::MinimalShadowMap::BOUNDING_BOX); + I_EnumLabel(osgShadow::MinimalShadowMap::DEFAULT_ACCURACY); +END_REFLECTOR + +BEGIN_OBJECT_REFLECTOR(osgShadow::MinimalShadowMap) + I_DeclaringFile("osgShadow/MinimalShadowMap"); + I_BaseType(osgShadow::StandardShadowMap); + I_Constructor0(____MinimalShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::MinimalShadowMap &, msm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____MinimalShadowMap__C5_MinimalShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + 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_Method1(void, setModellingSpaceToWorldTransform, IN, const osg::Matrix &, modellingSpaceToWorld, + Properties::NON_VIRTUAL, + __void__setModellingSpaceToWorldTransform__C5_osg_Matrix_R1, + "", + ""); + I_Method0(const osg::Matrix &, getModellingSpaceToWorldTransform, + Properties::NON_VIRTUAL, + __C5_osg_Matrix_R1__getModellingSpaceToWorldTransform, + "", + ""); + I_Method0(float, getMaxFarPlane, + Properties::NON_VIRTUAL, + __float__getMaxFarPlane, + "", + ""); + I_Method1(void, setMaxFarPlane, IN, float, maxFarPlane, + Properties::NON_VIRTUAL, + __void__setMaxFarPlane__float, + "", + ""); + I_Method0(float, getMinLightMargin, + Properties::NON_VIRTUAL, + __float__getMinLightMargin, + "", + ""); + I_Method1(void, setMinLightMargin, IN, float, minLightMargin, + Properties::NON_VIRTUAL, + __void__setMinLightMargin__float, + "", + ""); + I_Method1(void, setShadowReceivingCoarseBoundAccuracy, IN, osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy, accuracy, + Properties::NON_VIRTUAL, + __void__setShadowReceivingCoarseBoundAccuracy__ShadowReceivingCoarseBoundAccuracy, + "", + ""); + I_Method0(osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy, getShadowReceivingCoarseBoundAccuracy, + Properties::NON_VIRTUAL, + __ShadowReceivingCoarseBoundAccuracy__getShadowReceivingCoarseBoundAccuracy, + "", + ""); + I_SimpleProperty(float, MaxFarPlane, + __float__getMaxFarPlane, + __void__setMaxFarPlane__float); + I_SimpleProperty(float, MinLightMargin, + __float__getMinLightMargin, + __void__setMinLightMargin__float); + I_SimpleProperty(const osg::Matrix &, ModellingSpaceToWorldTransform, + __C5_osg_Matrix_R1__getModellingSpaceToWorldTransform, + __void__setModellingSpaceToWorldTransform__C5_osg_Matrix_R1); + I_SimpleProperty(osgShadow::MinimalShadowMap::ShadowReceivingCoarseBoundAccuracy, ShadowReceivingCoarseBoundAccuracy, + __ShadowReceivingCoarseBoundAccuracy__getShadowReceivingCoarseBoundAccuracy, + __void__setShadowReceivingCoarseBoundAccuracy__ShadowReceivingCoarseBoundAccuracy); +END_REFLECTOR + diff --git a/src/osgWrappers/osgShadow/StandardShadowMap.cpp b/src/osgWrappers/osgShadow/StandardShadowMap.cpp new file mode 100644 index 000000000..1aee41ce7 --- /dev/null +++ b/src/osgWrappers/osgShadow/StandardShadowMap.cpp @@ -0,0 +1,210 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +TYPE_NAME_ALIAS(osgShadow::StandardShadowMap, osgShadow::StandardShadowMap::ThisClass) + +TYPE_NAME_ALIAS(osgShadow::DebugShadowMap, osgShadow::StandardShadowMap::BaseClass) + +BEGIN_OBJECT_REFLECTOR(osgShadow::StandardShadowMap) + I_DeclaringFile("osgShadow/StandardShadowMap"); + I_BaseType(osgShadow::DebugShadowMap); + I_Constructor0(____StandardShadowMap, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::StandardShadowMap &, ssm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____StandardShadowMap__C5_StandardShadowMap_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + 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_Method1(void, setBaseTextureUnit, IN, unsigned int, unit, + Properties::NON_VIRTUAL, + __void__setBaseTextureUnit__unsigned_int, + "", + ""); + I_Method0(unsigned int, getBaseTextureUnit, + Properties::NON_VIRTUAL, + __unsigned_int__getBaseTextureUnit, + "", + ""); + I_Method1(void, setShadowTextureUnit, IN, unsigned int, unit, + Properties::NON_VIRTUAL, + __void__setShadowTextureUnit__unsigned_int, + "", + ""); + I_Method0(unsigned int, getShadowTextureUnit, + Properties::NON_VIRTUAL, + __unsigned_int__getShadowTextureUnit, + "", + ""); + I_Method1(void, setBaseTextureCoordIndex, IN, unsigned int, index, + Properties::NON_VIRTUAL, + __void__setBaseTextureCoordIndex__unsigned_int, + "", + ""); + I_Method0(unsigned int, getBaseTextureCoordIndex, + Properties::NON_VIRTUAL, + __unsigned_int__getBaseTextureCoordIndex, + "", + ""); + I_Method1(void, setShadowTextureCoordIndex, IN, unsigned int, index, + Properties::NON_VIRTUAL, + __void__setShadowTextureCoordIndex__unsigned_int, + "", + ""); + I_Method0(unsigned int, getShadowTextureCoordIndex, + Properties::NON_VIRTUAL, + __unsigned_int__getShadowTextureCoordIndex, + "", + ""); + I_Method1(void, setTextureSize, IN, const osg::Vec2s &, textureSize, + Properties::NON_VIRTUAL, + __void__setTextureSize__C5_osg_Vec2s_R1, + "", + ""); + I_Method0(osg::Vec2s, getTextureSize, + Properties::NON_VIRTUAL, + __osg_Vec2s__getTextureSize, + "", + ""); + I_Method1(void, setLight, IN, osg::Light *, light, + Properties::NON_VIRTUAL, + __void__setLight__osg_Light_P1, + "", + ""); + I_Method0(osg::Light *, getLight, + Properties::NON_VIRTUAL, + __osg_Light_P1__getLight, + "", + ""); + I_Method0(osg::Shader *, getShadowVertexShader, + Properties::NON_VIRTUAL, + __osg_Shader_P1__getShadowVertexShader, + "", + ""); + I_Method0(osg::Shader *, getShadowFragmentShader, + Properties::NON_VIRTUAL, + __osg_Shader_P1__getShadowFragmentShader, + "", + ""); + I_Method0(osg::Shader *, getMainVertexShader, + Properties::NON_VIRTUAL, + __osg_Shader_P1__getMainVertexShader, + "", + ""); + I_Method0(osg::Shader *, getMainFragmentShader, + Properties::NON_VIRTUAL, + __osg_Shader_P1__getMainFragmentShader, + "", + ""); + I_Method1(void, setShadowVertexShader, IN, osg::Shader *, shader, + Properties::NON_VIRTUAL, + __void__setShadowVertexShader__osg_Shader_P1, + "", + ""); + I_Method1(void, setShadowFragmentShader, IN, osg::Shader *, shader, + Properties::NON_VIRTUAL, + __void__setShadowFragmentShader__osg_Shader_P1, + "", + ""); + I_Method1(void, setMainVertexShader, IN, osg::Shader *, shader, + Properties::NON_VIRTUAL, + __void__setMainVertexShader__osg_Shader_P1, + "", + ""); + I_Method1(void, setMainFragmentShader, IN, osg::Shader *, shader, + Properties::NON_VIRTUAL, + __void__setMainFragmentShader__osg_Shader_P1, + "", + ""); + I_ProtectedMethod2(void, updateTextureCoordIndices, IN, unsigned int, baseTexCoordIndex, IN, unsigned int, shadowTexCoordIndex, + Properties::VIRTUAL, + Properties::NON_CONST, + __void__updateTextureCoordIndices__unsigned_int__unsigned_int, + "", + ""); + I_ProtectedMethod3(void, searchAndReplaceShaderSource, IN, osg::Shader *, x, IN, std::string, fromString, IN, std::string, toString, + Properties::VIRTUAL, + Properties::NON_CONST, + __void__searchAndReplaceShaderSource__osg_Shader_P1__std_string__std_string, + "", + ""); + I_SimpleProperty(unsigned int, BaseTextureCoordIndex, + __unsigned_int__getBaseTextureCoordIndex, + __void__setBaseTextureCoordIndex__unsigned_int); + I_SimpleProperty(unsigned int, BaseTextureUnit, + __unsigned_int__getBaseTextureUnit, + __void__setBaseTextureUnit__unsigned_int); + I_SimpleProperty(osg::Light *, Light, + __osg_Light_P1__getLight, + __void__setLight__osg_Light_P1); + I_SimpleProperty(osg::Shader *, MainFragmentShader, + __osg_Shader_P1__getMainFragmentShader, + __void__setMainFragmentShader__osg_Shader_P1); + I_SimpleProperty(osg::Shader *, MainVertexShader, + __osg_Shader_P1__getMainVertexShader, + __void__setMainVertexShader__osg_Shader_P1); + I_SimpleProperty(osg::Shader *, ShadowFragmentShader, + __osg_Shader_P1__getShadowFragmentShader, + __void__setShadowFragmentShader__osg_Shader_P1); + I_SimpleProperty(unsigned int, ShadowTextureCoordIndex, + __unsigned_int__getShadowTextureCoordIndex, + __void__setShadowTextureCoordIndex__unsigned_int); + I_SimpleProperty(unsigned int, ShadowTextureUnit, + __unsigned_int__getShadowTextureUnit, + __void__setShadowTextureUnit__unsigned_int); + I_SimpleProperty(osg::Shader *, ShadowVertexShader, + __osg_Shader_P1__getShadowVertexShader, + __void__setShadowVertexShader__osg_Shader_P1); + I_SimpleProperty(osg::Vec2s, TextureSize, + __osg_Vec2s__getTextureSize, + __void__setTextureSize__C5_osg_Vec2s_R1); +END_REFLECTOR + diff --git a/src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp b/src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp new file mode 100644 index 000000000..f2779117a --- /dev/null +++ b/src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp @@ -0,0 +1,93 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgShadow::ViewDependentShadowTechnique) + I_DeclaringFile("osgShadow/ViewDependentShadowTechnique"); + I_BaseType(osgShadow::ShadowTechnique); + I_Constructor0(____ViewDependentShadowTechnique, + "Classic OSG constructor. ", + ""); + I_ConstructorWithDefaults2(IN, const osgShadow::ViewDependentShadowTechnique &, vdst, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____ViewDependentShadowTechnique__C5_ViewDependentShadowTechnique_R1__C5_osg_CopyOp_R1, + "Classic OSG cloning constructor. ", + ""); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Declaration of standard OSG object methods. ", + ""); + 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, dirty, + Properties::VIRTUAL, + __void__dirty, + "Dirty view data bits and force update of view data resources. ", + ""); + I_Method0(void, init, + Properties::VIRTUAL, + __void__init, + "Initialize the ShadowedScene and some data structures. ", + ""); + I_Method1(void, update, IN, osg::NodeVisitor &, nv, + Properties::VIRTUAL, + __void__update__osg_NodeVisitor_R1, + "Run the update traversal of the ShadowedScene and update any local cached data structures. ", + ""); + I_Method1(void, cull, IN, osgUtil::CullVisitor &, cv, + Properties::VIRTUAL, + __void__cull__osgUtil_CullVisitor_R1, + "Run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. ", + ""); + I_Method0(void, cleanSceneGraph, + Properties::VIRTUAL, + __void__cleanSceneGraph, + "Clean scene graph from any shadow technique specific nodes, state and drawables. ", + ""); + I_Method1(void, traverse, IN, osg::NodeVisitor &, nv, + Properties::VIRTUAL, + __void__traverse__osg_NodeVisitor_R1, + "Traverse shadow scene graph. ", + ""); +END_REFLECTOR +