From 425cb874870eed0b1e9c6143172d1a34070c8b62 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 21 Apr 2009 12:02:15 +0000 Subject: [PATCH] Updated wrappers --- .../osgAnimation/MorphGeometry.cpp | 2 +- src/osgWrappers/osgDB/ReaderWriter.cpp | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/src/osgWrappers/osgAnimation/MorphGeometry.cpp b/src/osgWrappers/osgAnimation/MorphGeometry.cpp index dfd90a443..dc0d3a96a 100644 --- a/src/osgWrappers/osgAnimation/MorphGeometry.cpp +++ b/src/osgWrappers/osgAnimation/MorphGeometry.cpp @@ -104,7 +104,7 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::MorphGeometry) Properties::VIRTUAL, __void__addMorphTarget__osg_Geometry_P1__float, "Add a MorphTarget to the MorphGeometry. ", - " param MorphTarget The MorphTarget to be added to the MorphGeometry. return true for success; false otherwise. "); + " param morphTarget The MorphTarget to be added to the MorphGeometry. return true for success; false otherwise. "); I_Method2(void, setWeight, IN, unsigned int, index, IN, float, morphWeight, Properties::NON_VIRTUAL, __void__setWeight__unsigned_int__float, diff --git a/src/osgWrappers/osgDB/ReaderWriter.cpp b/src/osgWrappers/osgDB/ReaderWriter.cpp index a3bca7771..4c1ae0567 100644 --- a/src/osgWrappers/osgDB/ReaderWriter.cpp +++ b/src/osgWrappers/osgDB/ReaderWriter.cpp @@ -383,6 +383,26 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options) __void__removePluginData__C5_std_string_R1, "Remove a value from the PluginData. ", ""); + I_Method2(void, setPluginStringData, IN, const std::string &, s, IN, const std::string &, v, + Properties::NON_VIRTUAL, + __void__setPluginStringData__C5_std_string_R1__C5_std_string_R1, + "Sets a plugindata value PluginData with a string. ", + ""); + I_Method1(std::string, getPluginStringData, IN, const std::string &, s, + Properties::NON_VIRTUAL, + __std_string__getPluginStringData__C5_std_string_R1, + "Get a string from the PluginStrData. ", + ""); + I_Method1(const std::string, getPluginStringData, IN, const std::string &, s, + Properties::NON_VIRTUAL, + __C5_std_string__getPluginStringData__C5_std_string_R1, + "Get a value from the PluginData. ", + ""); + I_Method1(void, removePluginStringData, IN, const std::string &, s, + Properties::NON_VIRTUAL, + __void__removePluginStringData__C5_std_string_R1, + "Remove a value from the PluginData. ", + ""); I_SimpleProperty(osgDB::AuthenticationMap *, AuthenticationMap, 0, __void__setAuthenticationMap__AuthenticationMap_P1); @@ -405,6 +425,10 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options) __void_P1__getPluginData__C5_std_string_R1, __void__setPluginData__C5_std_string_R1__void_P1, 0); + I_IndexedProperty(std::string, PluginStringData, + __std_string__getPluginStringData__C5_std_string_R1, + __void__setPluginStringData__C5_std_string_R1__C5_std_string_R1, + 0); END_REFLECTOR BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ReadResult::ReadStatus)