From Paul Melis, "Here is a list of fixes to misspelled APIs. Unfortunately, more than one
of these are public APIs and therefore will break linkage to existing shared libraries." Note from Robert Osfield, updated wrappers.
This commit is contained in:
@@ -134,9 +134,9 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendColor::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendColorSupported, IN, bool, flag,
|
||||
|
||||
@@ -140,9 +140,9 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendEquation::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendEquationSupported, IN, bool, flag,
|
||||
|
||||
@@ -152,9 +152,9 @@ BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBufferObjectSupported,
|
||||
|
||||
@@ -148,9 +148,9 @@ BEGIN_OBJECT_REFLECTOR(osg::ClampColor::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClampColorSupported, IN, bool, flag,
|
||||
|
||||
@@ -121,9 +121,9 @@ BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
|
||||
__bool__getCreateDrawablesOnOccludeNodes,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCollectedOcculderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol,
|
||||
I_Method1(void, setCollectedOccluderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCollectedOcculderSet__C5_ShadowVolumeOccluderSet_R1,
|
||||
__void__setCollectedOccluderSet__C5_ShadowVolumeOccluderSet_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
|
||||
@@ -153,12 +153,9 @@ BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
|
||||
__void__handle_cull_callbacks_and_accept__osg_Node_R1__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet,
|
||||
__ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
||||
0);
|
||||
I_SimpleProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOcculderSet,
|
||||
0,
|
||||
__void__setCollectedOcculderSet__C5_ShadowVolumeOccluderSet_R1);
|
||||
I_SimpleProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet,
|
||||
__C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
||||
__void__setCollectedOccluderSet__C5_ShadowVolumeOccluderSet_R1);
|
||||
I_SimpleProperty(bool, CreateDrawablesOnOccludeNodes,
|
||||
__bool__getCreateDrawablesOnOccludeNodes,
|
||||
__void__setCreateDrawablesOnOccludeNodes__bool);
|
||||
|
||||
@@ -836,9 +836,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexProgramSupported, IN, bool, flag,
|
||||
|
||||
@@ -213,9 +213,9 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgramSupported, IN, bool, flag,
|
||||
|
||||
@@ -156,9 +156,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMultisampleSupported, IN, bool, flag,
|
||||
|
||||
@@ -176,9 +176,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPointParametersSupported, IN, bool, flag,
|
||||
|
||||
@@ -93,10 +93,10 @@ BEGIN_OBJECT_REFLECTOR(osg::Referenced)
|
||||
__DeleteHandler_P1__getDeleteHandler_S,
|
||||
"Get a DeleteHandler. ",
|
||||
"");
|
||||
I_ProtectedMethod0(void, deletUsingDeleteHandler,
|
||||
I_ProtectedMethod0(void, deleteUsingDeleteHandler,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__deletUsingDeleteHandler,
|
||||
__void__deleteUsingDeleteHandler,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
|
||||
@@ -248,9 +248,9 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStencilTwoSidedSupported, IN, bool, flag,
|
||||
|
||||
@@ -243,9 +243,9 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCubeMapSupported, IN, bool, flag,
|
||||
|
||||
@@ -213,9 +213,9 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions)
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexProgramSupported, IN, bool, flag,
|
||||
|
||||
@@ -104,9 +104,9 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Input)
|
||||
__osg_Object_P1__getObjectForUniqueID__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, regisiterUniqueIDForObject, IN, const std::string &, uniqueID, IN, osg::Object *, obj,
|
||||
I_Method2(void, registerUniqueIDForObject, IN, const std::string &, uniqueID, IN, osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__void__regisiterUniqueIDForObject__C5_std_string_R1__osg_Object_P1,
|
||||
__void__registerUniqueIDForObject__C5_std_string_R1__osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgDB::ReaderWriter::Options *, Options,
|
||||
|
||||
@@ -384,16 +384,16 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
|
||||
__C5_FilePathList_R1__getLibraryFilePathList,
|
||||
"get the const library file path which is used when search for library (dso/dll's) files. ",
|
||||
"");
|
||||
I_Method1(void, updateTimeStampOfObjectsInCacheWithExtenalReferences, IN, double, currentTime,
|
||||
I_Method1(void, updateTimeStampOfObjectsInCacheWithExternalReferences, IN, double, currentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateTimeStampOfObjectsInCacheWithExtenalReferences__double,
|
||||
__void__updateTimeStampOfObjectsInCacheWithExternalReferences__double,
|
||||
"For each object in the cache which has an reference count greater than 1 (and therefore referenced by elsewhere in the application) set the time stamp for that object in the cache to specified time. ",
|
||||
"This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required. Time value is time in sceonds. ");
|
||||
I_Method1(void, removeExpiredObjectsInCache, IN, double, expiryTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeExpiredObjectsInCache__double,
|
||||
"Removed object in the cache which have a time stamp at or before the specified expiry time. ",
|
||||
"This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required, and called after the a called after the call to updateTimeStampOfObjectsInCacheWithExtenalReferences(currentTime). Note, the currentTime is not the expiryTime, one would typically set the expiry time to a fixed amount of time before currentTime, such as expiryTime = currentTime-10.0. Time value is time in sceonds. ");
|
||||
"This would typically be called once per frame by applications which are doing database paging, and need to prune objects that are no longer required, and called after the a called after the call to updateTimeStampOfObjectsInCacheWithExternalReferences(currentTime). Note, the currentTime is not the expiryTime, one would typically set the expiry time to a fixed amount of time before currentTime, such as expiryTime = currentTime-10.0. Time value is time in sceonds. ");
|
||||
I_Method0(void, clearObjectCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearObjectCache,
|
||||
|
||||
@@ -81,14 +81,14 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter)
|
||||
__void__setCounter__Counter_P1,
|
||||
"Set the Counter object. ",
|
||||
"");
|
||||
I_Method0(float, getNumParticlesToCreateMovementCompenstationRatio,
|
||||
I_Method0(float, getNumParticlesToCreateMovementCompensationRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getNumParticlesToCreateMovementCompenstationRatio,
|
||||
"Get the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
__float__getNumParticlesToCreateMovementCompensationRatio,
|
||||
"Get the ratio between number of particle to create in compensation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method1(void, setNumParticlesToCreateMovementCompenstationRatio, IN, float, r,
|
||||
I_Method1(void, setNumParticlesToCreateMovementCompensationRatio, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumParticlesToCreateMovementCompenstationRatio__float,
|
||||
__void__setNumParticlesToCreateMovementCompensationRatio__float,
|
||||
"Set the ratio between number of particle to create in compenstation for movement of the emitter. ",
|
||||
"");
|
||||
I_Method0(osgParticle::Placer *, getPlacer,
|
||||
@@ -130,9 +130,9 @@ BEGIN_OBJECT_REFLECTOR(osgParticle::ModularEmitter)
|
||||
I_SimpleProperty(osgParticle::Counter *, Counter,
|
||||
__Counter_P1__getCounter,
|
||||
__void__setCounter__Counter_P1);
|
||||
I_SimpleProperty(float, NumParticlesToCreateMovementCompenstationRatio,
|
||||
I_SimpleProperty(float, NumParticlesToCreateMovementCompensationRatio,
|
||||
0,
|
||||
__void__setNumParticlesToCreateMovementCompenstationRatio__float);
|
||||
__void__setNumParticlesToCreateMovementCompensationRatio__float);
|
||||
I_SimpleProperty(osgParticle::Placer *, Placer,
|
||||
__Placer_P1__getPlacer,
|
||||
__void__setPlacer__Placer_P1);
|
||||
|
||||
@@ -145,16 +145,16 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::OccluderGeometry)
|
||||
__void__buildEdgeMaps,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, computeLightDirectionSlihouetteEdges, IN, const osg::Vec3 &, lightdirection, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices,
|
||||
I_ProtectedMethod2(void, computeLightDirectionSilhouetteEdges, IN, const osg::Vec3 &, lightdirection, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__computeLightDirectionSlihouetteEdges__C5_osg_Vec3_R1__UIntList_R1,
|
||||
__void__computeLightDirectionSilhouetteEdges__C5_osg_Vec3_R1__UIntList_R1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, computeLightPositionSlihouetteEdges, IN, const osg::Vec3 &, lightpos, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices,
|
||||
I_ProtectedMethod2(void, computeLightPositionSilhouetteEdges, IN, const osg::Vec3 &, lightpos, IN, osgShadow::OccluderGeometry::UIntList &, silhouetteIndices,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__computeLightPositionSlihouetteEdges__C5_osg_Vec3_R1__UIntList_R1,
|
||||
__void__computeLightPositionSilhouetteEdges__C5_osg_Vec3_R1__UIntList_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Polytope &, BoundingPolytope,
|
||||
|
||||
@@ -225,14 +225,14 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainGeometry)
|
||||
__void__addPrimitiveSet__osg_PrimitiveSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::PrimitiveSet *, getPrimtitiveSet, IN, unsigned int, i,
|
||||
I_Method1(osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_PrimitiveSet_P1__getPrimtitiveSet__unsigned_int,
|
||||
__osg_PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::PrimitiveSet *, getPrimtitiveSet, IN, unsigned int, i,
|
||||
I_Method1(const osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_PrimitiveSet_P1__getPrimtitiveSet__unsigned_int,
|
||||
__C5_osg_PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPrimitiveSets,
|
||||
@@ -256,6 +256,13 @@ BEGIN_OBJECT_REFLECTOR(osgTerrain::TerrainGeometry)
|
||||
I_SimpleProperty(osg::Vec3Array *, Normals,
|
||||
__osg_Vec3Array_P1__getNormals,
|
||||
__void__setNormals__osg_Vec3Array_P1);
|
||||
I_ArrayProperty(osg::PrimitiveSet *, PrimitiveSet,
|
||||
__osg_PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumPrimitiveSets,
|
||||
__void__addPrimitiveSet__osg_PrimitiveSet_P1,
|
||||
0,
|
||||
0);
|
||||
I_IndexedProperty(osg::Array *, TexCoords,
|
||||
__osg_Array_P1__getTexCoords__unsigned_int,
|
||||
__void__setTexCoords__unsigned_int__osg_Array_P1,
|
||||
|
||||
@@ -529,10 +529,10 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text)
|
||||
__void__computeGlyphRepresentation,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(bool, computeAverageGlypthWidthAndHeight, IN, float &, avg_width, IN, float &, avg_height,
|
||||
I_ProtectedMethod2(bool, computeAverageGlyphWidthAndHeight, IN, float &, avg_width, IN, float &, avg_height,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__bool__computeAverageGlypthWidthAndHeight__float_R1__float_R1,
|
||||
__bool__computeAverageGlyphWidthAndHeight__float_R1__float_R1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, computePositions,
|
||||
|
||||
Reference in New Issue
Block a user