Changeset 10673
- Timestamp:
- 10/22/09 14:03:36 (4 years ago)
- Location:
- OpenSceneGraph/trunk/src/osgWrappers
- Files:
-
- 1 added
- 4 modified
-
osg/CopyOp.cpp (modified) (2 diffs)
-
osg/ImageSequence.cpp (modified) (1 diff)
-
osg/StateAttribute.cpp (modified) (5 diffs)
-
osg/StateAttributeCallback.cpp (added)
-
osgAnimation/UpdateCallback.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgWrappers/osg/CopyOp.cpp
r10368 r10673 22 22 #include <osg/Shape> 23 23 #include <osg/StateAttribute> 24 #include <osg/StateAttributeCallback> 24 25 #include <osg/StateSet> 25 26 #include <osg/Texture> … … 48 49 I_EnumLabel(osg::CopyOp::DEEP_COPY_SHAPES); 49 50 I_EnumLabel(osg::CopyOp::DEEP_COPY_UNIFORMS); 50 I_EnumLabel(osg::CopyOp::DEEP_COPY_ NODECALLBACKS);51 I_EnumLabel(osg::CopyOp::DEEP_COPY_CALLBACKS); 51 52 I_EnumLabel(osg::CopyOp::DEEP_COPY_ALL); 52 53 END_REFLECTOR -
OpenSceneGraph/trunk/src/osgWrappers/osg/ImageSequence.cpp
r9775 r10673 272 272 BEGIN_OBJECT_REFLECTOR(osg::ImageSequence::UpdateCallback) 273 273 I_DeclaringFile("osg/ImageSequence"); 274 I_BaseType(osg::StateAttribute ::Callback);274 I_BaseType(osg::StateAttributeCallback); 275 275 I_Constructor0(____UpdateCallback, 276 276 "", -
OpenSceneGraph/trunk/src/osgWrappers/osg/StateAttribute.cpp
r9775 r10673 12 12 13 13 #include <osg/CopyOp> 14 #include <osg/NodeVisitor>15 14 #include <osg/Object> 16 15 #include <osg/State> 17 16 #include <osg/StateAttribute> 17 #include <osg/StateAttributeCallback> 18 18 #include <osg/StateSet> 19 19 #include <osg/Texture> … … 98 98 TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::StateAttribute::ParentList) 99 99 100 TYPE_NAME_ALIAS(osg::StateAttributeCallback, osg::StateAttribute::Callback) 101 100 102 BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute) 101 103 I_DeclaringFile("osg/StateAttribute"); … … 198 200 "Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ", 199 201 "Return true if all associated modes are valid. "); 200 I_Method1(void, setUpdateCallback, IN, osg::StateAttribute ::Callback *, uc,201 Properties::NON_VIRTUAL, 202 __void__setUpdateCallback__ Callback_P1,202 I_Method1(void, setUpdateCallback, IN, osg::StateAttributeCallback *, uc, 203 Properties::NON_VIRTUAL, 204 __void__setUpdateCallback__StateAttributeCallback_P1, 203 205 "Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ", 204 206 ""); 205 I_Method0(osg::StateAttribute ::Callback *, getUpdateCallback,206 Properties::NON_VIRTUAL, 207 __ Callback_P1__getUpdateCallback,207 I_Method0(osg::StateAttributeCallback *, getUpdateCallback, 208 Properties::NON_VIRTUAL, 209 __StateAttributeCallback_P1__getUpdateCallback, 208 210 "Get the non const UpdateCallback. ", 209 211 ""); 210 I_Method0(const osg::StateAttribute ::Callback *, getUpdateCallback,211 Properties::NON_VIRTUAL, 212 __C5_ Callback_P1__getUpdateCallback,212 I_Method0(const osg::StateAttributeCallback *, getUpdateCallback, 213 Properties::NON_VIRTUAL, 214 __C5_StateAttributeCallback_P1__getUpdateCallback, 213 215 "Get the const UpdateCallback. ", 214 216 ""); 215 I_Method1(void, setEventCallback, IN, osg::StateAttribute ::Callback *, ec,216 Properties::NON_VIRTUAL, 217 __void__setEventCallback__ Callback_P1,217 I_Method1(void, setEventCallback, IN, osg::StateAttributeCallback *, ec, 218 Properties::NON_VIRTUAL, 219 __void__setEventCallback__StateAttributeCallback_P1, 218 220 "Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ", 219 221 ""); 220 I_Method0(osg::StateAttribute ::Callback *, getEventCallback,221 Properties::NON_VIRTUAL, 222 __ Callback_P1__getEventCallback,222 I_Method0(osg::StateAttributeCallback *, getEventCallback, 223 Properties::NON_VIRTUAL, 224 __StateAttributeCallback_P1__getEventCallback, 223 225 "Get the non const EventCallback. ", 224 226 ""); 225 I_Method0(const osg::StateAttribute ::Callback *, getEventCallback,226 Properties::NON_VIRTUAL, 227 __C5_ Callback_P1__getEventCallback,227 I_Method0(const osg::StateAttributeCallback *, getEventCallback, 228 Properties::NON_VIRTUAL, 229 __C5_StateAttributeCallback_P1__getEventCallback, 228 230 "Get the const EventCallback. ", 229 231 ""); … … 260 262 "", 261 263 ""); 262 I_SimpleProperty(osg::StateAttribute ::Callback *, EventCallback,263 __ Callback_P1__getEventCallback,264 __void__setEventCallback__ Callback_P1);264 I_SimpleProperty(osg::StateAttributeCallback *, EventCallback, 265 __StateAttributeCallback_P1__getEventCallback, 266 __void__setEventCallback__StateAttributeCallback_P1); 265 267 I_SimpleProperty(unsigned int, Member, 266 268 __unsigned_int__getMember, … … 282 284 __TypeMemberPair__getTypeMemberPair, 283 285 0); 284 I_SimpleProperty(osg::StateAttribute::Callback *, UpdateCallback, 285 __Callback_P1__getUpdateCallback, 286 __void__setUpdateCallback__Callback_P1); 287 END_REFLECTOR 288 289 BEGIN_OBJECT_REFLECTOR(osg::StateAttribute::Callback) 290 I_DeclaringFile("osg/StateAttribute"); 291 I_VirtualBaseType(osg::Object); 292 I_Constructor0(____Callback, 293 "", 294 ""); 295 I_Constructor2(IN, const osg::StateAttribute::Callback &, x, IN, const osg::CopyOp &, x, 296 ____Callback__C5_Callback_R1__C5_CopyOp_R1, 297 "", 298 ""); 299 I_Method0(osg::Object *, cloneType, 300 Properties::VIRTUAL, 301 __osg_Object_P1__cloneType, 302 "Clone the type of an object, with Object* return type. ", 303 "Must be defined by derived classes. "); 304 I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, 305 Properties::VIRTUAL, 306 __osg_Object_P1__clone__C5_osg_CopyOp_R1, 307 "Clone an object, with Object* return type. ", 308 "Must be defined by derived classes. "); 309 I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, 310 Properties::VIRTUAL, 311 __bool__isSameKindAs__C5_osg_Object_P1, 312 "", 313 ""); 314 I_Method0(const char *, libraryName, 315 Properties::VIRTUAL, 316 __C5_char_P1__libraryName, 317 "return the name of the object's library. ", 318 "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); 319 I_Method0(const char *, className, 320 Properties::VIRTUAL, 321 __C5_char_P1__className, 322 "return the name of the object's class type. ", 323 "Must be defined by derived classes. "); 286 I_SimpleProperty(osg::StateAttributeCallback *, UpdateCallback, 287 __StateAttributeCallback_P1__getUpdateCallback, 288 __void__setUpdateCallback__StateAttributeCallback_P1); 324 289 END_REFLECTOR 325 290 -
OpenSceneGraph/trunk/src/osgWrappers/osgAnimation/UpdateCallback.cpp
r10563 r10673 132 132 "", 133 133 ""); 134 I_Method0(osgAnimation::Vec4Target *, getDiffuse, 135 Properties::NON_VIRTUAL, 136 __osgAnimation_Vec4Target_P1__getDiffuse, 137 "", 138 ""); 139 I_SimpleProperty(osgAnimation::Vec4Target *, Diffuse, 140 __osgAnimation_Vec4Target_P1__getDiffuse, 141 0); 134 142 END_REFLECTOR 135 143
