2.8 branch: Updating wrappers.
This commit is contained in:
@@ -40,34 +40,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
I_DeclaringFile("OpenThreads/Thread");
|
||||
I_StaticMethod1(int, SetConcurrency, IN, int, concurrencyLevel,
|
||||
__int__SetConcurrency__int_S,
|
||||
"Set the concurrency level for a running application. ",
|
||||
"This method only has effect if the pthreads thread model is being used, and then only when that model is many-to-one (eg. irix). in other cases it is ignored. The concurrency level is only a *hint* as to the number of execution vehicles to use, the actual implementation may do anything it wants. Setting the value to 0 returns things to their default state.previous concurrency level, -1 indicates no-op. ");
|
||||
I_StaticMethod0(int, GetConcurrency,
|
||||
__int__GetConcurrency_S,
|
||||
"Get the concurrency level for a running application. ",
|
||||
"In this case, a return code of 0 means that the application is in default mode. A return code of -1 means that the application is incapable of setting an arbitrary concurrency, because it is a one-to-one execution model (sprocs, linuxThreads) ");
|
||||
I_StaticMethod0(OpenThreads::Thread *, CurrentThread,
|
||||
__Thread_P1__CurrentThread_S,
|
||||
"Return a pointer to the current running thread. ",
|
||||
"");
|
||||
I_StaticMethod0(void, Init,
|
||||
__void__Init_S,
|
||||
"Initialize Threading in a program. ",
|
||||
"This method must be called before you can do any threading in a program. ");
|
||||
I_StaticMethod0(int, YieldCurrentThread,
|
||||
__int__YieldCurrentThread_S,
|
||||
"Yield the processor. ",
|
||||
"This method operates on the calling process. And is equivalent to calling sched_yield(). 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_StaticMethod0(OpenThreads::Thread::ThreadPriority, GetMasterPriority,
|
||||
__ThreadPriority__GetMasterPriority_S,
|
||||
"This method will return the ThreadPriority of the master process. ",
|
||||
"(ie, the one calling the thread->start() methods for the first time) The method will almost certainly return Thread::THREAD_PRIORITY_DEFAULT if Init() has not been called.the Thread::ThreadPriority of the master thread. ");
|
||||
I_StaticMethod1(int, microSleep, IN, unsigned int, microsec,
|
||||
__int__microSleep__unsigned_int_S,
|
||||
"microSleep method, equivilant to the posix usleep(microsec). ",
|
||||
"This is not strictly thread API but is used so often with threads. It's basically UNIX usleep. Parameter is number of microseconds we current thread to sleep. Returns 0 on succes, non-zero on failure (UNIX errno or GetLastError() will give detailed description. ");
|
||||
I_Constructor0(____Thread,
|
||||
"Constructor. ",
|
||||
"");
|
||||
@@ -186,6 +158,34 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
__int__setProcessorAffinity__unsigned_int,
|
||||
"Thread's processor affinity method. ",
|
||||
"This binds a thread to a processor whenever possible. This call must be made before start() or startThread() and has no effect after the thread has been running. In the pthreads implementation, this is only implemented on sgi, through a pthread extension. On other pthread platforms this is ignored. Returns 0 on success, implementation's error on failure, or -1 if ignored. ");
|
||||
I_StaticMethod1(int, SetConcurrency, IN, int, concurrencyLevel,
|
||||
__int__SetConcurrency__int_S,
|
||||
"Set the concurrency level for a running application. ",
|
||||
"This method only has effect if the pthreads thread model is being used, and then only when that model is many-to-one (eg. irix). in other cases it is ignored. The concurrency level is only a *hint* as to the number of execution vehicles to use, the actual implementation may do anything it wants. Setting the value to 0 returns things to their default state.previous concurrency level, -1 indicates no-op. ");
|
||||
I_StaticMethod0(int, GetConcurrency,
|
||||
__int__GetConcurrency_S,
|
||||
"Get the concurrency level for a running application. ",
|
||||
"In this case, a return code of 0 means that the application is in default mode. A return code of -1 means that the application is incapable of setting an arbitrary concurrency, because it is a one-to-one execution model (sprocs, linuxThreads) ");
|
||||
I_StaticMethod0(OpenThreads::Thread *, CurrentThread,
|
||||
__Thread_P1__CurrentThread_S,
|
||||
"Return a pointer to the current running thread. ",
|
||||
"");
|
||||
I_StaticMethod0(void, Init,
|
||||
__void__Init_S,
|
||||
"Initialize Threading in a program. ",
|
||||
"This method must be called before you can do any threading in a program. ");
|
||||
I_StaticMethod0(int, YieldCurrentThread,
|
||||
__int__YieldCurrentThread_S,
|
||||
"Yield the processor. ",
|
||||
"This method operates on the calling process. And is equivalent to calling sched_yield(). 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_StaticMethod0(OpenThreads::Thread::ThreadPriority, GetMasterPriority,
|
||||
__ThreadPriority__GetMasterPriority_S,
|
||||
"This method will return the ThreadPriority of the master process. ",
|
||||
"(ie, the one calling the thread->start() methods for the first time) The method will almost certainly return Thread::THREAD_PRIORITY_DEFAULT if Init() has not been called.the Thread::ThreadPriority of the master thread. ");
|
||||
I_StaticMethod1(int, microSleep, IN, unsigned int, microsec,
|
||||
__int__microSleep__unsigned_int_S,
|
||||
"microSleep method, equivilant to the posix usleep(microsec). ",
|
||||
"This is not strictly thread API but is used so often with threads. It's basically UNIX usleep. Parameter is number of microseconds we current thread to sleep. Returns 0 on succes, non-zero on failure (UNIX errno or GetLastError() will give detailed description. ");
|
||||
I_SimpleProperty(void *, Implementation,
|
||||
__void_P1__getImplementation,
|
||||
0);
|
||||
|
||||
@@ -55,7 +55,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -85,7 +85,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -115,7 +115,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
__float__getReferenceValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< double COMMA osg::AnimationPath::ControlPoint >, osg::AnimationPath::TimeControlPointMap)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::AnimationPath::LoopMode)
|
||||
I_DeclaringFile("osg/AnimationPath");
|
||||
I_EnumLabel(osg::AnimationPath::SWING);
|
||||
@@ -35,8 +37,6 @@ BEGIN_ENUM_REFLECTOR(osg::AnimationPath::LoopMode)
|
||||
I_EnumLabel(osg::AnimationPath::NO_LOOPING);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< double COMMA osg::AnimationPath::ControlPoint >, osg::AnimationPath::TimeControlPointMap)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AnimationPath)
|
||||
I_DeclaringFile("osg/AnimationPath");
|
||||
I_VirtualBaseType(osg::Object);
|
||||
@@ -52,7 +52,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AnimationPath)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -288,7 +288,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AnimationPathCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osg::ApplicationUsage::UsageMap)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
|
||||
I_DeclaringFile("osg/ApplicationUsage");
|
||||
I_EnumLabel(osg::ApplicationUsage::NO_HELP);
|
||||
@@ -29,15 +31,9 @@ BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
|
||||
I_EnumLabel(osg::ApplicationUsage::HELP_ALL);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osg::ApplicationUsage::UsageMap)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)
|
||||
I_DeclaringFile("osg/ApplicationUsage");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
@@ -166,6 +162,10 @@ BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)
|
||||
__void__writeEnvironmentSettings__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, ApplicationName,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
__void__setApplicationName__C5_std_string_R1);
|
||||
|
||||
@@ -21,32 +21,16 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >, osg::ArgumentParser::ErrorMessageMap)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::ErrorSeverity)
|
||||
I_DeclaringFile("osg/ArgumentParser");
|
||||
I_EnumLabel(osg::ArgumentParser::BENIGN);
|
||||
I_EnumLabel(osg::ArgumentParser::CRITICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >, osg::ArgumentParser::ErrorMessageMap)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ArgumentParser)
|
||||
I_DeclaringFile("osg/ArgumentParser");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str,
|
||||
__bool__isString__C5_char_P1_S,
|
||||
"Return true if string is non-NULL and not an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str,
|
||||
__bool__isNumber__C5_char_P1_S,
|
||||
"Return true if specified parameter is a number. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isBool, IN, const char *, str,
|
||||
__bool__isBool__C5_char_P1_S,
|
||||
"Return true if specified parameter is a bool. ",
|
||||
"");
|
||||
I_Constructor2(IN, int *, argc, IN, char **, argv,
|
||||
____ArgumentParser__int_P1__char_P1P1,
|
||||
"",
|
||||
@@ -241,6 +225,22 @@ BEGIN_VALUE_REFLECTOR(osg::ArgumentParser)
|
||||
__ApplicationUsage_Type__readHelpType,
|
||||
"This convinience method handles help requests on the command line. ",
|
||||
"Return the type(s) of help requested. The return value of this function is suitable for passing into getApplicationUsage()->write(). If ApplicationUsage::NO_HELP is returned then no help commandline option was found on the command line. ");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str,
|
||||
__bool__isString__C5_char_P1_S,
|
||||
"Return true if string is non-NULL and not an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str,
|
||||
__bool__isNumber__C5_char_P1_S,
|
||||
"Return true if specified parameter is a number. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isBool, IN, const char *, str,
|
||||
__bool__isBool__C5_char_P1_S,
|
||||
"Return true if specified parameter is a bool. ",
|
||||
"");
|
||||
I_SimpleProperty(std::string, ApplicationName,
|
||||
__std_string__getApplicationName,
|
||||
0);
|
||||
|
||||
152
src/osgWrappers/osg/AudioStream.cpp
Normal file
152
src/osgWrappers/osg/AudioStream.cpp
Normal file
@@ -0,0 +1,152 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/AudioStream>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::AudioSink)
|
||||
I_DeclaringFile("osg/AudioStream");
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____AudioSink,
|
||||
"",
|
||||
"");
|
||||
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, play,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__play,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pause,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__pause,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, stop,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__stop,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, playing,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__playing,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getDelay,
|
||||
Properties::VIRTUAL,
|
||||
__double__getDelay,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDelay, IN, const double, delay,
|
||||
Properties::VIRTUAL,
|
||||
__void__setDelay__C5_double,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVolume, IN, float, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setVolume__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getVolume,
|
||||
Properties::VIRTUAL,
|
||||
__float__getVolume,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, Delay,
|
||||
__double__getDelay,
|
||||
0);
|
||||
I_SimpleProperty(float, Volume,
|
||||
__float__getVolume,
|
||||
__void__setVolume__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::AudioStream::SampleFormat)
|
||||
I_DeclaringFile("osg/AudioStream");
|
||||
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_U8);
|
||||
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S16);
|
||||
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S24);
|
||||
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S32);
|
||||
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_F32);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::AudioStream)
|
||||
I_DeclaringFile("osg/AudioStream");
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____AudioStream,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AudioStream &, audio, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AudioStream__C5_AudioStream_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_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, setAudioSink, IN, osg::AudioSink *, audio_sink,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setAudioSink__osg_AudioSink_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, consumeAudioBuffer, IN, void *const, buffer, IN, const size_t, size,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__consumeAudioBuffer__void_P1C5__C5_size_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, audioFrequency,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__int__audioFrequency,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, audioNbChannels,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__int__audioNbChannels,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AudioStream::SampleFormat, audioSampleFormat,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__SampleFormat__audioSampleFormat,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::AudioSink *, AudioSink,
|
||||
0,
|
||||
__void__setAudioSink__osg_AudioSink_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Billboard::PositionList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Billboard::Mode)
|
||||
I_DeclaringFile("osg/Billboard");
|
||||
I_EnumLabel(osg::Billboard::POINT_ROT_EYE);
|
||||
@@ -34,8 +36,6 @@ BEGIN_ENUM_REFLECTOR(osg::Billboard::Mode)
|
||||
I_EnumLabel(osg::Billboard::AXIAL_ROT);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Billboard::PositionList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Billboard)
|
||||
I_DeclaringFile("osg/Billboard");
|
||||
I_BaseType(osg::Geode);
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -75,7 +75,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -95,7 +95,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
|
||||
__C5_osg_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -56,7 +56,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -86,7 +86,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -101,7 +101,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
|
||||
__Equation__getEquation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -66,7 +66,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -171,7 +171,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
|
||||
__GLenum__getDestinationAlpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,5 +28,5 @@ TYPE_NAME_ALIAS(osg::BoundingBoxImpl< osg::Vec3f >, osg::BoundingBoxf)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingBoxImpl< osg::Vec3d >, osg::BoundingBoxd)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingBoxf, osg::BoundingBox)
|
||||
TYPE_NAME_ALIAS(osg::BoundingBoxd, osg::BoundingBox)
|
||||
|
||||
|
||||
@@ -28,5 +28,5 @@ TYPE_NAME_ALIAS(osg::BoundingSphereImpl< osg::Vec3f >, osg::BoundingSpheref)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphereImpl< osg::Vec3d >, osg::BoundingSphered)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSpheref, osg::BoundingSphere)
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphered, osg::BoundingSphere)
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ElementBufferObject)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -255,7 +255,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PixelBufferObject)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -332,7 +332,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PixelDataBufferObject)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -416,7 +416,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexBufferObject)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -43,6 +43,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >, osg::Camera::BufferAttachmentMap)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Camera::TransformOrder)
|
||||
I_DeclaringFile("osg/Camera");
|
||||
I_EnumLabel(osg::Camera::PRE_MULTIPLY);
|
||||
@@ -96,8 +98,6 @@ BEGIN_ENUM_REFLECTOR(osg::Camera::BufferComponent)
|
||||
I_EnumLabel(osg::Camera::COLOR_BUFFER15);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >, osg::Camera::BufferAttachmentMap)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Camera)
|
||||
I_DeclaringFile("osg/Camera");
|
||||
I_BaseType(osg::Transform);
|
||||
@@ -787,7 +787,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera::DrawCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClampColor)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -103,7 +103,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClampColor)
|
||||
__GLenum__getClampReadColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,14 +28,14 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::ClipPlane > >, osg::ClipNode::ClipPlaneList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ClipNode::ReferenceFrame)
|
||||
I_DeclaringFile("osg/ClipNode");
|
||||
I_EnumLabel(osg::ClipNode::RELATIVE_RF);
|
||||
I_EnumLabel(osg::ClipNode::ABSOLUTE_RF);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::ClipPlane > >, osg::ClipNode::ClipPlaneList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClipNode)
|
||||
I_DeclaringFile("osg/ClipNode");
|
||||
I_BaseType(osg::Group);
|
||||
|
||||
@@ -58,7 +58,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClipPlane)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -93,7 +93,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClipPlane)
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
|
||||
@@ -53,7 +53,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClusterCullingCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -56,17 +56,17 @@ BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceToEyePoint__C5_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. ");
|
||||
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceToViewPoint__C5_Vec3_R1__bool,
|
||||
"Get the distance from a point to the view point, distance value in local coordinate system. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. ");
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
Properties::VIRTUAL,
|
||||
__float__getDistanceFromEyePoint__C5_Vec3_R1__bool,
|
||||
"Get the distance of a point from the eye point, distance value in the eye coordinate system. ",
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ColorMask)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -118,7 +118,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ColorMask)
|
||||
__bool__getAlphaMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -40,7 +40,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ColorMatrix)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -40,7 +40,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ConvexPlanarOccluder)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -146,7 +146,7 @@ BEGIN_OBJECT_REFLECTOR(osg::EllipsoidModel)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -15,11 +15,13 @@
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Image>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeCallback>
|
||||
#include <osg/Object>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/Referenced>
|
||||
#include <osg/Shape>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateAttributeCallback>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Texture>
|
||||
#include <osg/Uniform>
|
||||
@@ -32,6 +34,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::CopyOp::CopyFlags)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::CopyOp::Options)
|
||||
I_DeclaringFile("osg/CopyOp");
|
||||
I_EnumLabel(osg::CopyOp::SHALLOW_COPY);
|
||||
@@ -46,11 +50,10 @@ BEGIN_ENUM_REFLECTOR(osg::CopyOp::Options)
|
||||
I_EnumLabel(osg::CopyOp::DEEP_COPY_PRIMITIVES);
|
||||
I_EnumLabel(osg::CopyOp::DEEP_COPY_SHAPES);
|
||||
I_EnumLabel(osg::CopyOp::DEEP_COPY_UNIFORMS);
|
||||
I_EnumLabel(osg::CopyOp::DEEP_COPY_CALLBACKS);
|
||||
I_EnumLabel(osg::CopyOp::DEEP_COPY_ALL);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::CopyOp::CopyFlags)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::CopyOp)
|
||||
I_DeclaringFile("osg/CopyOp");
|
||||
I_ConstructorWithDefaults1(IN, osg::CopyOp::CopyFlags, flags, osg::CopyOp::SHALLOW_COPY,
|
||||
|
||||
@@ -48,7 +48,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CullFace)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -78,7 +78,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CullFace)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -93,7 +93,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CullFace)
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::CullSettings::CullingMode)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask)
|
||||
I_DeclaringFile("osg/CullSettings");
|
||||
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE);
|
||||
@@ -73,8 +75,6 @@ BEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues)
|
||||
I_EnumLabel(osg::CullSettings::ENABLE_ALL_CULLING);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::CullSettings::CullingMode)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::CullSettings)
|
||||
I_DeclaringFile("osg/CullSettings");
|
||||
I_Constructor0(____CullSettings,
|
||||
|
||||
@@ -30,6 +30,14 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::StateSet > COMMA osg::Polytope >, osg::CullingSet::StateFrustumPair)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::CullingSet::StateFrustumPair >, osg::CullingSet::StateFrustumList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::CullingSet::OccluderList)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::CullingSet::Mask)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::CullingSet::MaskValues)
|
||||
I_DeclaringFile("osg/CullingSet");
|
||||
I_EnumLabel(osg::CullingSet::NO_CULLING);
|
||||
@@ -43,14 +51,6 @@ BEGIN_ENUM_REFLECTOR(osg::CullingSet::MaskValues)
|
||||
I_EnumLabel(osg::CullingSet::ENABLE_ALL_CULLING);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::StateSet > COMMA osg::Polytope >, osg::CullingSet::StateFrustumPair)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::CullingSet::StateFrustumPair >, osg::CullingSet::StateFrustumList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::CullingSet::OccluderList)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::CullingSet::Mask)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CullingSet)
|
||||
I_DeclaringFile("osg/CullingSet");
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -52,7 +52,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Depth)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -82,7 +82,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Depth)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Depth)
|
||||
__bool__getWriteMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -57,10 +57,6 @@ END_REFLECTOR
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
|
||||
I_DeclaringFile("osg/DisplaySettings");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_StaticMethod0(osg::DisplaySettings *, instance,
|
||||
__DisplaySettings_P1__instance_S,
|
||||
"Maintain a DisplaySettings singleton for objects to query at runtime. ",
|
||||
"");
|
||||
I_Constructor0(____DisplaySettings,
|
||||
"",
|
||||
"");
|
||||
@@ -384,6 +380,10 @@ BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
|
||||
__C5_std_string_R1__getApplication,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::DisplaySettings *, instance,
|
||||
__DisplaySettings_P1__instance_S,
|
||||
"Maintain a DisplaySettings singleton for objects to query at runtime. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, AccumBuffer,
|
||||
__bool__getAccumBuffer,
|
||||
0);
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::Drawable::ParentList)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::Drawable::AttributeType)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Drawable::AttributeTypes)
|
||||
I_DeclaringFile("osg/Drawable");
|
||||
I_EnumLabel(osg::Drawable::VERTICES);
|
||||
@@ -59,10 +63,6 @@ BEGIN_ENUM_REFLECTOR(osg::Drawable::AttributeTypes)
|
||||
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_7);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::Drawable::ParentList)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::Drawable::AttributeType)
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
|
||||
I_DeclaringFile("osg/Drawable");
|
||||
I_BaseType(osg::Object);
|
||||
@@ -622,7 +622,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::ComputeBoundingBoxCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -746,7 +746,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::CullCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -793,7 +793,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::DrawCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -835,7 +835,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::EventCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -877,7 +877,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Drawable::UpdateCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -53,7 +53,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -83,7 +83,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -148,7 +148,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
__GLint__getFogCoordinateSource,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -75,7 +75,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -145,12 +145,12 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
__void__dirtyFragmentProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x,
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
|
||||
@@ -32,6 +32,40 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglBindRenderbufferEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglDeleteRenderbuffersEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenRenderbuffersEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglRenderbufferStorageEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglRenderbufferStorageMultisampleEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglRenderbufferStorageMultisampleCoverageNV)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglBindFramebufferEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglDeleteFramebuffersEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenFramebuffersEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(GLenum , osg::FBOExtensions::TglCheckFramebufferStatusEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTexture1DEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTexture2DEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTexture3DEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTextureLayerEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferRenderbufferEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenerateMipmapEXT)
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglBlitFramebufferEXT)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
|
||||
I_DeclaringFile("osg/FrameBufferObject");
|
||||
I_Constructor0(____FrameBufferAttachment,
|
||||
@@ -157,6 +191,12 @@ BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::FrameBufferAttachment >, osg::FrameBufferObject::AttachmentMap)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< GLenum >, osg::FrameBufferObject::MultipleRenderingTargets)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Camera::BufferComponent, osg::FrameBufferObject::BufferComponent)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::FrameBufferObject::BindTarget)
|
||||
I_DeclaringFile("osg/FrameBufferObject");
|
||||
I_EnumLabel(osg::FrameBufferObject::READ_FRAMEBUFFER);
|
||||
@@ -164,12 +204,6 @@ BEGIN_ENUM_REFLECTOR(osg::FrameBufferObject::BindTarget)
|
||||
I_EnumLabel(osg::FrameBufferObject::READ_DRAW_FRAMEBUFFER);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::FrameBufferAttachment >, osg::FrameBufferObject::AttachmentMap)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< GLenum >, osg::FrameBufferObject::MultipleRenderingTargets)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Camera::BufferComponent, osg::FrameBufferObject::BufferComponent)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
I_DeclaringFile("osg/FrameBufferObject");
|
||||
I_BaseType(osg::StateAttribute);
|
||||
@@ -185,7 +219,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -250,7 +284,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
@@ -324,7 +358,7 @@ BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -47,7 +47,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -87,7 +87,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,6 +28,14 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Geometry::ArrayData >, osg::Geometry::ArrayDataList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::PrimitiveSet > >, osg::Geometry::PrimitiveSetList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Array * >, osg::Geometry::ArrayList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::DrawElements * >, osg::Geometry::DrawElementsList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Geometry::AttributeBinding)
|
||||
I_DeclaringFile("osg/Geometry");
|
||||
I_EnumLabel(osg::Geometry::BIND_OFF);
|
||||
@@ -37,14 +45,6 @@ BEGIN_ENUM_REFLECTOR(osg::Geometry::AttributeBinding)
|
||||
I_EnumLabel(osg::Geometry::BIND_PER_VERTEX);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Geometry::ArrayData >, osg::Geometry::ArrayDataList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::PrimitiveSet > >, osg::Geometry::PrimitiveSetList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Array * >, osg::Geometry::ArrayList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::DrawElements * >, osg::Geometry::DrawElementsList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
I_DeclaringFile("osg/Geometry");
|
||||
I_BaseType(osg::Drawable);
|
||||
@@ -60,7 +60,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
|
||||
@@ -39,54 +39,6 @@ TYPE_NAME_ALIAS(std::list< osg::Camera * >, osg::GraphicsContext::Cameras)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext)
|
||||
I_DeclaringFile("osg/GraphicsContext");
|
||||
I_BaseType(osg::Object);
|
||||
I_StaticMethod1(void, setWindowingSystemInterface, IN, osg::GraphicsContext::WindowingSystemInterface *, wsInterface,
|
||||
__void__setWindowingSystemInterface__WindowingSystemInterface_P1_S,
|
||||
"Set the query the windowing system for screens and create graphics context - this functor should be supplied by the windows toolkit. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::GraphicsContext::WindowingSystemInterface *, getWindowingSystemInterface,
|
||||
__WindowingSystemInterface_P1__getWindowingSystemInterface_S,
|
||||
"Get the WindowingSystemInterface. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits,
|
||||
__GraphicsContext_P1__createGraphicsContext__Traits_P1_S,
|
||||
"Create a graphics context for a specified set of traits. ",
|
||||
"");
|
||||
I_StaticMethod0(unsigned int, createNewContextID,
|
||||
__unsigned_int__createNewContextID_S,
|
||||
"Create a contextID for a new graphics context, this contextID is used to set up the osg::State associate with context. ",
|
||||
"Automatically increments the usage count of the contextID to 1. ");
|
||||
I_StaticMethod0(unsigned int, getMaxContextID,
|
||||
__unsigned_int__getMaxContextID_S,
|
||||
"Get the current max ContextID. ",
|
||||
"");
|
||||
I_StaticMethod1(void, incrementContextIDUsageCount, IN, unsigned int, contextID,
|
||||
__void__incrementContextIDUsageCount__unsigned_int_S,
|
||||
"Increment the usage count associate with a contextID. ",
|
||||
"The usage count specifies how many graphics contexts a specific contextID is shared between. ");
|
||||
I_StaticMethod1(void, decrementContextIDUsageCount, IN, unsigned int, contextID,
|
||||
__void__decrementContextIDUsageCount__unsigned_int_S,
|
||||
"Decrement the usage count associate with a contextID. ",
|
||||
"Once the contextID goes to 0 the contextID is then free to be reused. ");
|
||||
I_StaticMethod0(osg::GraphicsContext::GraphicsContexts, getAllRegisteredGraphicsContexts,
|
||||
__GraphicsContexts__getAllRegisteredGraphicsContexts_S,
|
||||
"Get all the registered graphics contexts. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext::GraphicsContexts, getRegisteredGraphicsContexts, IN, unsigned int, contextID,
|
||||
__GraphicsContexts__getRegisteredGraphicsContexts__unsigned_int_S,
|
||||
"Get all the registered graphics contexts associated with a specific contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, setCompileContext, IN, unsigned int, contextID, IN, osg::GraphicsContext *, gc,
|
||||
__void__setCompileContext__unsigned_int__GraphicsContext_P1_S,
|
||||
"Get the GraphicsContext for doing background compilation for GraphicsContexts associated with specified contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, getOrCreateCompileContext, IN, unsigned int, contextID,
|
||||
__GraphicsContext_P1__getOrCreateCompileContext__unsigned_int_S,
|
||||
"Get existing or create a new GraphicsContext to do background compilation for GraphicsContexts associated with specified contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, getCompileContext, IN, unsigned int, contextID,
|
||||
__GraphicsContext_P1__getCompileContext__unsigned_int_S,
|
||||
"Get the GraphicsContext for doing background compilation for GraphicsContexts associated with specified contextID. ",
|
||||
"");
|
||||
I_Method1(void, add, IN, osg::Operation *, operation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__add__Operation_P1,
|
||||
@@ -337,6 +289,54 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_StaticMethod1(void, setWindowingSystemInterface, IN, osg::GraphicsContext::WindowingSystemInterface *, wsInterface,
|
||||
__void__setWindowingSystemInterface__WindowingSystemInterface_P1_S,
|
||||
"Set the query the windowing system for screens and create graphics context - this functor should be supplied by the windows toolkit. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::GraphicsContext::WindowingSystemInterface *, getWindowingSystemInterface,
|
||||
__WindowingSystemInterface_P1__getWindowingSystemInterface_S,
|
||||
"Get the WindowingSystemInterface. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits,
|
||||
__GraphicsContext_P1__createGraphicsContext__Traits_P1_S,
|
||||
"Create a graphics context for a specified set of traits. ",
|
||||
"");
|
||||
I_StaticMethod0(unsigned int, createNewContextID,
|
||||
__unsigned_int__createNewContextID_S,
|
||||
"Create a contextID for a new graphics context, this contextID is used to set up the osg::State associate with context. ",
|
||||
"Automatically increments the usage count of the contextID to 1. ");
|
||||
I_StaticMethod0(unsigned int, getMaxContextID,
|
||||
__unsigned_int__getMaxContextID_S,
|
||||
"Get the current max ContextID. ",
|
||||
"");
|
||||
I_StaticMethod1(void, incrementContextIDUsageCount, IN, unsigned int, contextID,
|
||||
__void__incrementContextIDUsageCount__unsigned_int_S,
|
||||
"Increment the usage count associate with a contextID. ",
|
||||
"The usage count specifies how many graphics contexts a specific contextID is shared between. ");
|
||||
I_StaticMethod1(void, decrementContextIDUsageCount, IN, unsigned int, contextID,
|
||||
__void__decrementContextIDUsageCount__unsigned_int_S,
|
||||
"Decrement the usage count associate with a contextID. ",
|
||||
"Once the contextID goes to 0 the contextID is then free to be reused. ");
|
||||
I_StaticMethod0(osg::GraphicsContext::GraphicsContexts, getAllRegisteredGraphicsContexts,
|
||||
__GraphicsContexts__getAllRegisteredGraphicsContexts_S,
|
||||
"Get all the registered graphics contexts. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext::GraphicsContexts, getRegisteredGraphicsContexts, IN, unsigned int, contextID,
|
||||
__GraphicsContexts__getRegisteredGraphicsContexts__unsigned_int_S,
|
||||
"Get all the registered graphics contexts associated with a specific contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, setCompileContext, IN, unsigned int, contextID, IN, osg::GraphicsContext *, gc,
|
||||
__void__setCompileContext__unsigned_int__GraphicsContext_P1_S,
|
||||
"Get the GraphicsContext for doing background compilation for GraphicsContexts associated with specified contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, getOrCreateCompileContext, IN, unsigned int, contextID,
|
||||
__GraphicsContext_P1__getOrCreateCompileContext__unsigned_int_S,
|
||||
"Get existing or create a new GraphicsContext to do background compilation for GraphicsContexts associated with specified contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, getCompileContext, IN, unsigned int, contextID,
|
||||
__GraphicsContext_P1__getCompileContext__unsigned_int_S,
|
||||
"Get the GraphicsContext for doing background compilation for GraphicsContexts associated with specified contextID. ",
|
||||
"");
|
||||
I_ProtectedConstructor0(____GraphicsContext,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -76,7 +76,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
|
||||
__C5_Group_P1__asGroup,
|
||||
"convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<const Group*>(this). ");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Hint)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -98,7 +98,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Hint)
|
||||
__GLenum__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::Image::MipmapDataType)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Image::WriteHint)
|
||||
I_DeclaringFile("osg/Image");
|
||||
I_EnumLabel(osg::Image::NO_PREFERENCE);
|
||||
@@ -48,8 +50,6 @@ BEGIN_ENUM_REFLECTOR(osg::Image::Origin)
|
||||
I_EnumLabel(osg::Image::TOP_LEFT);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::Image::MipmapDataType)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
I_DeclaringFile("osg/Image");
|
||||
I_BaseType(osg::Object);
|
||||
@@ -65,7 +65,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
@@ -220,6 +220,16 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
__unsigned_int__getPacking,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPixelAspectRatio, IN, float, pixelAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPixelAspectRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getPixelAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPixelAspectRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getPixelSizeInBits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getPixelSizeInBits,
|
||||
@@ -464,6 +474,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
I_SimpleProperty(unsigned int, Packing,
|
||||
__unsigned_int__getPacking,
|
||||
__void__setPacking__unsigned_int);
|
||||
I_SimpleProperty(float, PixelAspectRatio,
|
||||
__float__getPixelAspectRatio,
|
||||
__void__setPixelAspectRatio__float);
|
||||
I_SimpleProperty(osg::PixelBufferObject *, PixelBufferObject,
|
||||
__PixelBufferObject_P1__getPixelBufferObject,
|
||||
__void__setPixelBufferObject__PixelBufferObject_P1);
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Image > >, osg::ImageSequence::Images)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osg::ImageSequence::FileNames)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ImageSequence::Mode)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_EnumLabel(osg::ImageSequence::PRE_LOAD_ALL_IMAGES);
|
||||
@@ -32,10 +36,6 @@ BEGIN_ENUM_REFLECTOR(osg::ImageSequence::Mode)
|
||||
I_EnumLabel(osg::ImageSequence::PAGE_AND_DISCARD_USED_IMAGES);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Image > >, osg::ImageSequence::Images)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osg::ImageSequence::FileNames)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_BaseType(osg::ImageStream);
|
||||
@@ -51,7 +51,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
@@ -174,7 +174,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
|
||||
I_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__int__int__int__GLint__GLenum__GLenum__unsigned_char_P1__AllocationMode__int,
|
||||
"Set the image dimensions, format and data. ",
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned int, pos, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -271,7 +271,7 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence::UpdateCallback)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_BaseType(osg::StateAttribute::Callback);
|
||||
I_BaseType(osg::StateAttributeCallback);
|
||||
I_Constructor0(____UpdateCallback,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/AudioStream>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/ImageStream>
|
||||
@@ -23,6 +24,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::AudioStream > >, osg::ImageStream::AudioStreams)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ImageStream::StreamStatus)
|
||||
I_DeclaringFile("osg/ImageStream");
|
||||
I_EnumLabel(osg::ImageStream::INVALID);
|
||||
@@ -52,7 +55,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageStream)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
@@ -122,6 +125,11 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageStream)
|
||||
__double__getLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getFrameRate,
|
||||
Properties::VIRTUAL,
|
||||
__double__getFrameRate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
@@ -152,12 +160,33 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageStream)
|
||||
__float__getVolume,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAudioStreams, IN, const osg::ImageStream::AudioStreams &, asl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAudioStreams__C5_AudioStreams_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageStream::AudioStreams &, getAudioStreams,
|
||||
Properties::NON_VIRTUAL,
|
||||
__AudioStreams_R1__getAudioStreams,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ImageStream::AudioStreams &, getAudioStreams,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AudioStreams_R1__getAudioStreams,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, applyLoopingMode,
|
||||
Properties::VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__applyLoopingMode,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::ImageStream::AudioStreams &, AudioStreams,
|
||||
__C5_AudioStreams_R1__getAudioStreams,
|
||||
__void__setAudioStreams__C5_AudioStreams_R1);
|
||||
I_SimpleProperty(double, FrameRate,
|
||||
__double__getFrameRate,
|
||||
0);
|
||||
I_SimpleProperty(double, Length,
|
||||
__double__getLength,
|
||||
0);
|
||||
@@ -178,3 +207,45 @@ BEGIN_OBJECT_REFLECTOR(osg::ImageStream)
|
||||
__void__setVolume__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::AudioStream >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::AudioStream *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::AudioStream > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AudioStream *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AudioStream *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::AudioStream > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::AudioStream *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::AudioStream > >)
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ BEGIN_OBJECT_REFLECTOR(osg::KdTree)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -70,12 +70,12 @@ BEGIN_OBJECT_REFLECTOR(osg::KdTree)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
|
||||
@@ -25,6 +25,14 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::vec_type, osg::LOD::vec_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::value_type, osg::LOD::value_type)
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< float COMMA float >, osg::LOD::MinMaxPair)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::LOD::MinMaxPair >, osg::LOD::RangeList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::LOD::CenterMode)
|
||||
I_DeclaringFile("osg/LOD");
|
||||
I_EnumLabel(osg::LOD::USE_BOUNDING_SPHERE_CENTER);
|
||||
@@ -37,14 +45,6 @@ BEGIN_ENUM_REFLECTOR(osg::LOD::RangeMode)
|
||||
I_EnumLabel(osg::LOD::PIXEL_SIZE_ON_SCREEN);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::vec_type, osg::LOD::vec_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::value_type, osg::LOD::value_type)
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< float COMMA float >, osg::LOD::MinMaxPair)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::LOD::MinMaxPair >, osg::LOD::RangeList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LOD)
|
||||
I_DeclaringFile("osg/LOD");
|
||||
I_BaseType(osg::Group);
|
||||
@@ -85,7 +85,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LOD)
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -46,7 +46,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Light)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -81,7 +81,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Light)
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
|
||||
@@ -46,7 +46,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LightModel)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -116,7 +116,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LightModel)
|
||||
__bool__getTwoSided,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineStipple)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -73,7 +73,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineStipple)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -98,7 +98,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineStipple)
|
||||
__GLushort__getPattern,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineWidth)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -81,7 +81,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineWidth)
|
||||
__float__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -64,7 +64,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -94,7 +94,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -109,7 +109,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
|
||||
__Opcode__getOpcode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -57,7 +57,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -92,7 +92,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -46,7 +46,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -111,7 +111,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
__Mode__getHint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -500,7 +500,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Node::ComputeBoundingSphereCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -39,7 +39,7 @@ BEGIN_OBJECT_REFLECTOR(osg::NodeCallback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -72,7 +72,7 @@ BEGIN_OBJECT_REFLECTOR(osg::OcclusionQueryNode)
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"Compute the bounding sphere around Node's geometry or children. ",
|
||||
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
@@ -152,9 +152,9 @@ BEGIN_OBJECT_REFLECTOR(osg::OcclusionQueryNode)
|
||||
__bool__getPassed,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getPassed, IN, const osg::Camera *, camera, IN, float, distanceToEyePoint,
|
||||
I_Method2(bool, getPassed, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPassed__C5_osg_Camera_P1__float,
|
||||
__bool__getPassed__C5_osg_Camera_P1__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, traverseQuery, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv,
|
||||
|
||||
@@ -68,7 +68,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -75,7 +75,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -130,7 +130,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -75,7 +75,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -90,7 +90,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -57,7 +57,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
__bool__getFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -73,7 +73,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -98,7 +98,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
__float__getUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -44,7 +44,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -74,7 +74,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -89,7 +89,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
__C5_GLubyte_P1__getMask,
|
||||
"get a pointer to the mask. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -53,7 +53,7 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawArrays)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
|
||||
@@ -47,7 +47,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::vec_type, osg::ProxyNode::vec_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::value_type, osg::ProxyNode::value_type)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ProxyNode::CenterMode)
|
||||
I_DeclaringFile("osg/ProxyNode");
|
||||
I_EnumLabel(osg::ProxyNode::USE_BOUNDING_SPHERE_CENTER);
|
||||
@@ -40,10 +44,6 @@ BEGIN_ENUM_REFLECTOR(osg::ProxyNode::LoadingExternalReferenceMode)
|
||||
I_EnumLabel(osg::ProxyNode::NO_AUTOMATIC_LOADING);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::vec_type, osg::ProxyNode::vec_type)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::BoundingSphere::value_type, osg::ProxyNode::value_type)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_DeclaringFile("osg/ProxyNode");
|
||||
I_BaseType(osg::Group);
|
||||
@@ -84,7 +84,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -43,7 +43,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -73,7 +73,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -128,7 +128,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -78,7 +78,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -47,7 +47,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -87,7 +87,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -52,7 +52,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -50,7 +50,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Box)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -70,12 +70,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Box)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -160,7 +160,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Capsule)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -180,12 +180,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Capsule)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -281,7 +281,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CompositeShape)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -301,12 +301,12 @@ BEGIN_OBJECT_REFLECTOR(osg::CompositeShape)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -387,7 +387,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Cone)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -407,12 +407,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Cone)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -584,7 +584,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ConvexHull)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -604,12 +604,12 @@ BEGIN_OBJECT_REFLECTOR(osg::ConvexHull)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -635,7 +635,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Cylinder)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -655,12 +655,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Cylinder)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -756,7 +756,7 @@ BEGIN_OBJECT_REFLECTOR(osg::HeightField)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -776,12 +776,12 @@ BEGIN_OBJECT_REFLECTOR(osg::HeightField)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -967,7 +967,7 @@ BEGIN_OBJECT_REFLECTOR(osg::InfinitePlane)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -987,12 +987,12 @@ BEGIN_OBJECT_REFLECTOR(osg::InfinitePlane)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -1127,7 +1127,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sphere)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -1147,12 +1147,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Sphere)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
@@ -1210,7 +1210,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TriangleMesh)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -1230,12 +1230,12 @@ BEGIN_OBJECT_REFLECTOR(osg::TriangleMesh)
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, sv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ShapeVisitor_R1,
|
||||
"accept a non const shape visitor which can be used on non const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
|
||||
@@ -47,7 +47,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
@@ -156,7 +156,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< const osg::StateSet * >, osg::State::StateSetStack)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::State::CheckForGLErrors)
|
||||
I_DeclaringFile("osg/State");
|
||||
I_EnumLabel(osg::State::NEVER_CHECK_GL_ERRORS);
|
||||
@@ -38,8 +40,6 @@ BEGIN_ENUM_REFLECTOR(osg::State::CheckForGLErrors)
|
||||
I_EnumLabel(osg::State::ONCE_PER_ATTRIBUTE);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< const osg::StateSet * >, osg::State::StateSetStack)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::State)
|
||||
I_DeclaringFile("osg/State");
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateAttributeCallback>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Texture>
|
||||
|
||||
@@ -26,6 +26,18 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(GLenum, osg::StateAttribute::GLMode)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::GLModeValue)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::OverrideValue)
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< osg::StateAttribute::Type COMMA unsigned int >, osg::StateAttribute::TypeMemberPair)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::StateAttribute::ParentList)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::StateAttributeCallback, osg::StateAttribute::Callback)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values)
|
||||
I_DeclaringFile("osg/StateAttribute");
|
||||
I_EnumLabel(osg::StateAttribute::OFF);
|
||||
@@ -87,16 +99,6 @@ BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Type)
|
||||
I_EnumLabel(osg::StateAttribute::OSGNVPARSE_PROGRAM_PARSER);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(GLenum, osg::StateAttribute::GLMode)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::GLModeValue)
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::StateAttribute::OverrideValue)
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< osg::StateAttribute::Type COMMA unsigned int >, osg::StateAttribute::TypeMemberPair)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::StateAttribute::ParentList)
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
I_DeclaringFile("osg/StateAttribute");
|
||||
I_BaseType(osg::Object);
|
||||
@@ -197,34 +199,34 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"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. ",
|
||||
"Return true if all associated modes are valid. ");
|
||||
I_Method1(void, setUpdateCallback, IN, osg::StateAttribute::Callback *, uc,
|
||||
I_Method1(void, setUpdateCallback, IN, osg::StateAttributeCallback *, uc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpdateCallback__Callback_P1,
|
||||
__void__setUpdateCallback__StateAttributeCallback_P1,
|
||||
"Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Callback *, getUpdateCallback,
|
||||
I_Method0(osg::StateAttributeCallback *, getUpdateCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getUpdateCallback,
|
||||
__StateAttributeCallback_P1__getUpdateCallback,
|
||||
"Get the non const UpdateCallback. ",
|
||||
"");
|
||||
I_Method0(const osg::StateAttribute::Callback *, getUpdateCallback,
|
||||
I_Method0(const osg::StateAttributeCallback *, getUpdateCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Callback_P1__getUpdateCallback,
|
||||
__C5_StateAttributeCallback_P1__getUpdateCallback,
|
||||
"Get the const UpdateCallback. ",
|
||||
"");
|
||||
I_Method1(void, setEventCallback, IN, osg::StateAttribute::Callback *, ec,
|
||||
I_Method1(void, setEventCallback, IN, osg::StateAttributeCallback *, ec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventCallback__Callback_P1,
|
||||
__void__setEventCallback__StateAttributeCallback_P1,
|
||||
"Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Callback *, getEventCallback,
|
||||
I_Method0(osg::StateAttributeCallback *, getEventCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getEventCallback,
|
||||
__StateAttributeCallback_P1__getEventCallback,
|
||||
"Get the non const EventCallback. ",
|
||||
"");
|
||||
I_Method0(const osg::StateAttribute::Callback *, getEventCallback,
|
||||
I_Method0(const osg::StateAttributeCallback *, getEventCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Callback_P1__getEventCallback,
|
||||
__C5_StateAttributeCallback_P1__getEventCallback,
|
||||
"Get the const EventCallback. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
@@ -259,9 +261,9 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
__void__removeParent__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::StateAttribute::Callback *, EventCallback,
|
||||
__Callback_P1__getEventCallback,
|
||||
__void__setEventCallback__Callback_P1);
|
||||
I_SimpleProperty(osg::StateAttributeCallback *, EventCallback,
|
||||
__StateAttributeCallback_P1__getEventCallback,
|
||||
__void__setEventCallback__StateAttributeCallback_P1);
|
||||
I_SimpleProperty(unsigned int, Member,
|
||||
__unsigned_int__getMember,
|
||||
0);
|
||||
@@ -281,46 +283,9 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
I_SimpleProperty(osg::StateAttribute::TypeMemberPair, TypeMemberPair,
|
||||
__TypeMemberPair__getTypeMemberPair,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Callback *, UpdateCallback,
|
||||
__Callback_P1__getUpdateCallback,
|
||||
__void__setUpdateCallback__Callback_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StateAttribute::Callback)
|
||||
I_DeclaringFile("osg/StateAttribute");
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::StateAttribute::Callback &, x, IN, const osg::CopyOp &, x,
|
||||
____Callback__C5_Callback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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_SimpleProperty(osg::StateAttributeCallback *, UpdateCallback,
|
||||
__StateAttributeCallback_P1__getUpdateCallback,
|
||||
__void__setUpdateCallback__StateAttributeCallback_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute::ModeUsage)
|
||||
|
||||
63
src/osgWrappers/osg/StateAttributeCallback.cpp
Normal file
63
src/osgWrappers/osg/StateAttributeCallback.cpp
Normal file
@@ -0,0 +1,63 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StateAttributeCallback>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StateAttributeCallback)
|
||||
I_DeclaringFile("osg/StateAttributeCallback");
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0(____StateAttributeCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::StateAttributeCallback &, x, IN, const osg::CopyOp &, x,
|
||||
____StateAttributeCallback__C5_StateAttributeCallback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
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
|
||||
|
||||
@@ -26,20 +26,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderingHint)
|
||||
I_DeclaringFile("osg/StateSet");
|
||||
I_EnumLabel(osg::StateSet::DEFAULT_BIN);
|
||||
I_EnumLabel(osg::StateSet::OPAQUE_BIN);
|
||||
I_EnumLabel(osg::StateSet::TRANSPARENT_BIN);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderBinMode)
|
||||
I_DeclaringFile("osg/StateSet");
|
||||
I_EnumLabel(osg::StateSet::INHERIT_RENDERBIN_DETAILS);
|
||||
I_EnumLabel(osg::StateSet::USE_RENDERBIN_DETAILS);
|
||||
I_EnumLabel(osg::StateSet::OVERRIDE_RENDERBIN_DETAILS);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Object * >, osg::StateSet::ParentList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< osg::StateAttribute::GLMode COMMA osg::StateAttribute::GLModeValue >, osg::StateSet::ModeList)
|
||||
@@ -56,6 +42,20 @@ TYPE_NAME_ALIAS(std::pair< osg::ref_ptr< osg::Uniform > COMMA osg::StateAttribu
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::StateSet::RefUniformPair >, osg::StateSet::UniformList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderingHint)
|
||||
I_DeclaringFile("osg/StateSet");
|
||||
I_EnumLabel(osg::StateSet::DEFAULT_BIN);
|
||||
I_EnumLabel(osg::StateSet::OPAQUE_BIN);
|
||||
I_EnumLabel(osg::StateSet::TRANSPARENT_BIN);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateSet::RenderBinMode)
|
||||
I_DeclaringFile("osg/StateSet");
|
||||
I_EnumLabel(osg::StateSet::INHERIT_RENDERBIN_DETAILS);
|
||||
I_EnumLabel(osg::StateSet::USE_RENDERBIN_DETAILS);
|
||||
I_EnumLabel(osg::StateSet::OVERRIDE_RENDERBIN_DETAILS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
I_DeclaringFile("osg/StateSet");
|
||||
I_BaseType(osg::Object);
|
||||
@@ -71,7 +71,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
@@ -688,7 +688,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet::Callback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -63,7 +63,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Stencil)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -93,7 +93,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Stencil)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -178,7 +178,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Stencil)
|
||||
__unsigned_int__getWriteMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -69,7 +69,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -99,7 +99,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -184,7 +184,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -77,7 +77,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -51,7 +51,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -111,7 +111,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -77,7 +77,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -292,7 +292,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -86,7 +86,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
__float__getLodBias,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -58,7 +58,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -93,12 +93,12 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Texture::TextureObject > >, osg::Texture::TextureObjectList)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::buffered_object< osg::Texture::TextureObjectList >, osg::Texture::TextureObjectListMap)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Texture::WrapParameter)
|
||||
I_DeclaringFile("osg/Texture");
|
||||
I_EnumLabel(osg::Texture::WRAP_S);
|
||||
@@ -97,10 +101,6 @@ BEGIN_ENUM_REFLECTOR(osg::Texture::GenerateMipmapMode)
|
||||
I_EnumLabel(osg::Texture::GENERATE_MIPMAP_TEX_PARAMETER);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Texture::TextureObject > >, osg::Texture::TextureObjectList)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::buffered_object< osg::Texture::TextureObjectList >, osg::Texture::TextureObjectListMap)
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
|
||||
I_DeclaringFile("osg/Texture");
|
||||
I_BaseType(osg::StateAttribute);
|
||||
@@ -116,7 +116,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -161,7 +161,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture)
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture1D)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture2D)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -40,7 +40,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -50,7 +50,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -39,7 +39,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TransferFunction)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TransferFunction1D)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -123,6 +123,8 @@ BEGIN_VALUE_REFLECTOR(osg::Matrix3)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::Uniform::ParentList)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Uniform::Type)
|
||||
I_DeclaringFile("osg/Uniform");
|
||||
I_EnumLabel(osg::Uniform::FLOAT);
|
||||
@@ -181,8 +183,6 @@ BEGIN_ENUM_REFLECTOR(osg::Uniform::Type)
|
||||
I_EnumLabel(osg::Uniform::UNDEFINED);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::StateSet * >, osg::Uniform::ParentList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Uniform)
|
||||
I_DeclaringFile("osg/Uniform");
|
||||
I_BaseType(osg::Object);
|
||||
@@ -202,7 +202,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Uniform)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
@@ -984,7 +984,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Uniform::Callback)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -75,7 +75,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
@@ -145,12 +145,12 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
__void__dirtyVertexProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x,
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
|
||||
@@ -50,7 +50,7 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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. ",
|
||||
|
||||
@@ -46,7 +46,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Viewport)
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -136,7 +136,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Viewport)
|
||||
__C5_osg_Matrix__computeWindowMatrix,
|
||||
"Compute the Window Matrix which takes projected coords into Window coordinates. ",
|
||||
"To convert local coordinates into window coordinates use v_window = v_local * MVPW matrix, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the latter supplied by Viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the current osg::State object, via osgUtil::SceneView or CullVisitor. ");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
232
src/osgWrappers/osgAnimation/Action.cpp
Normal file
232
src/osgWrappers/osgAnimation/Action.cpp
Normal file
@@ -0,0 +1,232 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< unsigned int COMMA osg::ref_ptr< osgAnimation::Action::Callback > >, osgAnimation::Action::FrameCallback)
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Action)
|
||||
I_DeclaringFile("osgAnimation/Action");
|
||||
I_BaseType(osg::Object);
|
||||
I_Method2(, META_Action, IN, osgAnimation, x, IN, osgAnimation::Action, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_Action__osgAnimation__Action,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Action,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::Action &, x, IN, const osg::CopyOp &, x,
|
||||
____Action__C5_Action_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setCallback, IN, double, when, IN, osgAnimation::Action::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCallback__double__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setCallback, IN, unsigned int, frame, IN, osgAnimation::Action::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCallback__unsigned_int__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgAnimation::Action::Callback *, getCallback, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getCallback__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeCallback, IN, osgAnimation::Action::Callback *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgAnimation::Action::Callback *, getFrameCallback, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getFrameCallback__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgAnimation::Action::Callback *, getFrameCallback, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getFrameCallback__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getFramesPerSecond,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getFramesPerSecond,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumFrames, IN, unsigned int, numFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumFrames__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFrames,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLoop, IN, int, nb,
|
||||
Properties::VIRTUAL,
|
||||
__void__setLoop__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getLoop,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getLoop,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, evaluateFrame, IN, unsigned int, frame, IN, unsigned int &, resultframe, IN, unsigned int &, nbloop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__evaluateFrame__unsigned_int__unsigned_int_R1__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__ActionVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_IndexedProperty(osgAnimation::Action::Callback *, Callback,
|
||||
__Callback_P1__getCallback__unsigned_int,
|
||||
__void__setCallback__unsigned_int__Callback_P1,
|
||||
0);
|
||||
I_SimpleProperty(double, Duration,
|
||||
__double__getDuration,
|
||||
__void__setDuration__double);
|
||||
I_SimpleProperty(unsigned int, FramesPerSecond,
|
||||
__unsigned_int__getFramesPerSecond,
|
||||
0);
|
||||
I_SimpleProperty(int, Loop,
|
||||
0,
|
||||
__void__setLoop__int);
|
||||
I_SimpleProperty(unsigned int, NumFrames,
|
||||
0,
|
||||
__void__setNumFrames__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Action::Callback)
|
||||
I_DeclaringFile("osgAnimation/Action");
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::Action::Callback &, nc, IN, const osg::CopyOp &, x,
|
||||
____Callback__C5_Callback_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
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(osgAnimation::Action::Callback *, getNestedCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Callback_P1__getNestedCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addNestedCallback, IN, osgAnimation::Action::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addNestedCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeCallback, IN, osgAnimation::Action::Callback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Action::Callback *, NestedCallback,
|
||||
__Callback_P1__getNestedCallback,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Action::Callback >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgAnimation::Action::Callback *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Action::Callback > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Action::Callback *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Action::Callback *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Action::Callback > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Action::Callback *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< unsigned int COMMA osg::ref_ptr< osgAnimation::Action::Callback > >)
|
||||
|
||||
60
src/osgWrappers/osgAnimation/ActionAnimation.cpp
Normal file
60
src/osgWrappers/osgAnimation/ActionAnimation.cpp
Normal file
@@ -0,0 +1,60 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionAnimation>
|
||||
#include <osgAnimation/Animation>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::ActionAnimation)
|
||||
I_DeclaringFile("osgAnimation/ActionAnimation");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_Method2(, META_Action, IN, osgAnimation, x, IN, osgAnimation::ActionAnimation, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_Action__osgAnimation__ActionAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActionAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::ActionAnimation &, a, IN, const osg::CopyOp &, c,
|
||||
____ActionAnimation__C5_ActionAnimation_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgAnimation::Animation *, animation,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ActionAnimation__Animation_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, updateAnimation, IN, unsigned int, frame, IN, int, priority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateAnimation__unsigned_int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Animation *, getAnimation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Animation_P1__getAnimation,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Animation *, Animation,
|
||||
__Animation_P1__getAnimation,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
67
src/osgWrappers/osgAnimation/ActionBlendIn.cpp
Normal file
67
src/osgWrappers/osgAnimation/ActionBlendIn.cpp
Normal file
@@ -0,0 +1,67 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionBlendIn>
|
||||
#include <osgAnimation/Animation>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::ActionBlendIn)
|
||||
I_DeclaringFile("osgAnimation/ActionBlendIn");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_Method2(, META_Action, IN, osgAnimation, x, IN, osgAnimation::ActionBlendIn, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_Action__osgAnimation__ActionBlendIn,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActionBlendIn,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::ActionBlendIn &, a, IN, const osg::CopyOp &, c,
|
||||
____ActionBlendIn__C5_ActionBlendIn_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osgAnimation::Animation *, animation, IN, double, duration, IN, double, weight,
|
||||
____ActionBlendIn__Animation_P1__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Animation *, getAnimation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Animation_P1__getAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, computeWeight, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeWeight__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Animation *, Animation,
|
||||
__Animation_P1__getAnimation,
|
||||
0);
|
||||
I_SimpleProperty(double, Weight,
|
||||
__double__getWeight,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
67
src/osgWrappers/osgAnimation/ActionBlendOut.cpp
Normal file
67
src/osgWrappers/osgAnimation/ActionBlendOut.cpp
Normal file
@@ -0,0 +1,67 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionBlendOut>
|
||||
#include <osgAnimation/Animation>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::ActionBlendOut)
|
||||
I_DeclaringFile("osgAnimation/ActionBlendOut");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_Method2(, META_Action, IN, osgAnimation, x, IN, osgAnimation::ActionBlendOut, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_Action__osgAnimation__ActionBlendOut,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActionBlendOut,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::ActionBlendOut &, a, IN, const osg::CopyOp &, c,
|
||||
____ActionBlendOut__C5_ActionBlendOut_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osgAnimation::Animation *, animation, IN, double, duration,
|
||||
____ActionBlendOut__Animation_P1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Animation *, getAnimation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Animation_P1__getAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, computeWeight, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeWeight__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Animation *, Animation,
|
||||
__Animation_P1__getAnimation,
|
||||
0);
|
||||
I_SimpleProperty(double, Weight,
|
||||
__double__getWeight,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
49
src/osgWrappers/osgAnimation/ActionCallback.cpp
Normal file
49
src/osgWrappers/osgAnimation/ActionCallback.cpp
Normal file
@@ -0,0 +1,49 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionCallback>
|
||||
#include <osgAnimation/ActionVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RunAction)
|
||||
I_DeclaringFile("osgAnimation/ActionCallback");
|
||||
I_BaseType(osgAnimation::Action::Callback);
|
||||
I_ConstructorWithDefaults2(IN, osgAnimation::Action *, a, , IN, int, priority, 0,
|
||||
____RunAction__Action_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Action *, getAction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Action_P1__getAction,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getPriority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPriority,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Action *, Action,
|
||||
__Action_P1__getAction,
|
||||
0);
|
||||
I_SimpleProperty(int, Priority,
|
||||
__int__getPriority,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
115
src/osgWrappers/osgAnimation/ActionStripAnimation.cpp
Normal file
115
src/osgWrappers/osgAnimation/ActionStripAnimation.cpp
Normal file
@@ -0,0 +1,115 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionAnimation>
|
||||
#include <osgAnimation/ActionBlendIn>
|
||||
#include <osgAnimation/ActionBlendOut>
|
||||
#include <osgAnimation/ActionStripAnimation>
|
||||
#include <osgAnimation/ActionVisitor>
|
||||
#include <osgAnimation/Animation>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::ActionStripAnimation)
|
||||
I_DeclaringFile("osgAnimation/ActionStripAnimation");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_Method2(, META_Action, IN, osgAnimation, x, IN, osgAnimation::ActionStripAnimation, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_Action__osgAnimation__ActionStripAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActionStripAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::ActionStripAnimation &, a, IN, const osg::CopyOp &, c,
|
||||
____ActionStripAnimation__C5_ActionStripAnimation_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults4(IN, osgAnimation::Animation *, animation, , IN, double, blendInDuration, 0.0, IN, double, blendOutDuration, 0.0, IN, double, blendInWeightTarget, 1.0,
|
||||
____ActionStripAnimation__Animation_P1__double__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::ActionAnimation *, getAnimation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ActionAnimation_P1__getAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::ActionBlendIn *, getBlendIn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ActionBlendIn_P1__getBlendIn,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::ActionBlendOut *, getBlendOut,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ActionBlendOut_P1__getBlendOut,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::ActionAnimation *, getAnimation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActionAnimation_P1__getAnimation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::ActionBlendIn *, getBlendIn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActionBlendIn_P1__getBlendIn,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::ActionBlendOut *, getBlendOut,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActionBlendOut_P1__getBlendOut,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getBlendOutStartFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getBlendOutStartFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getLoop,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getLoop,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLoop, IN, unsigned int, loop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLoop__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__ActionVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::ActionAnimation *, Animation,
|
||||
__ActionAnimation_P1__getAnimation,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::ActionBlendIn *, BlendIn,
|
||||
__ActionBlendIn_P1__getBlendIn,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::ActionBlendOut *, BlendOut,
|
||||
__ActionBlendOut_P1__getBlendOut,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, BlendOutStartFrame,
|
||||
__unsigned_int__getBlendOutStartFrame,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, Loop,
|
||||
__unsigned_int__getLoop,
|
||||
__void__setLoop__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
231
src/osgWrappers/osgAnimation/ActionVisitor.cpp
Normal file
231
src/osgWrappers/osgAnimation/ActionVisitor.cpp
Normal file
@@ -0,0 +1,231 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgAnimation/Action>
|
||||
#include <osgAnimation/ActionAnimation>
|
||||
#include <osgAnimation/ActionBlendIn>
|
||||
#include <osgAnimation/ActionBlendOut>
|
||||
#include <osgAnimation/ActionStripAnimation>
|
||||
#include <osgAnimation/ActionVisitor>
|
||||
#include <osgAnimation/FrameAction>
|
||||
#include <osgAnimation/Timeline>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionVisitor)
|
||||
I_DeclaringFile("osgAnimation/ActionVisitor");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Method2(, META_ActionVisitor, IN, osgAnimation, x, IN, osgAnimation::ActionVisitor, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_ActionVisitor__osgAnimation__ActionVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActionVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osgAnimation::Action &, visitor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverse__Action_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, pushFrameActionOnStack, IN, const osgAnimation::FrameAction &, fa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushFrameActionOnStack__C5_FrameAction_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popFrameAction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popFrameAction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, pushTimelineOnStack, IN, osgAnimation::Timeline *, tm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushTimelineOnStack__Timeline_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popTimeline,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popTimeline,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Timeline *, getCurrentTimeline,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Timeline_P1__getCurrentTimeline,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentLayer, IN, int, layer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentLayer__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getCurrentLayer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getCurrentLayer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::vector< osgAnimation::FrameAction > &, getStackedFrameAction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_vectorT1_FrameAction__R1__getStackedFrameAction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::Action &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Action_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::Timeline &, tm,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Timeline_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionBlendIn &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionBlendIn_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionBlendOut &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionBlendOut_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionAnimation_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionStripAnimation &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionStripAnimation_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(int, CurrentLayer,
|
||||
__int__getCurrentLayer,
|
||||
__void__setCurrentLayer__int);
|
||||
I_SimpleProperty(osgAnimation::Timeline *, CurrentTimeline,
|
||||
__Timeline_P1__getCurrentTimeline,
|
||||
0);
|
||||
I_SimpleProperty(const std::vector< osgAnimation::FrameAction > &, StackedFrameAction,
|
||||
__C5_std_vectorT1_FrameAction__R1__getStackedFrameAction,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgAnimation::ClearActionVisitor::ClearType)
|
||||
I_DeclaringFile("osgAnimation/ActionVisitor");
|
||||
I_EnumLabel(osgAnimation::ClearActionVisitor::BEFORE_FRAME);
|
||||
I_EnumLabel(osgAnimation::ClearActionVisitor::AFTER_FRAME);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::ClearActionVisitor)
|
||||
I_DeclaringFile("osgAnimation/ActionVisitor");
|
||||
I_BaseType(osgAnimation::ActionVisitor);
|
||||
I_Method2(, META_ActionVisitor, IN, osgAnimation, x, IN, osgAnimation::ClearActionVisitor, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_ActionVisitor__osgAnimation__ClearActionVisitor,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osgAnimation::ClearActionVisitor::ClearType, type, osgAnimation::ClearActionVisitor::BEFORE_FRAME,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ClearActionVisitor__ClearType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrame, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrame__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::Timeline &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Timeline_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::Action &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Action_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, Frame,
|
||||
0,
|
||||
__void__setFrame__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateActionVisitor)
|
||||
I_DeclaringFile("osgAnimation/ActionVisitor");
|
||||
I_BaseType(osgAnimation::ActionVisitor);
|
||||
I_Method2(, META_ActionVisitor, IN, osgAnimation, x, IN, osgAnimation::UpdateActionVisitor, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
____META_ActionVisitor__osgAnimation__UpdateActionVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____UpdateActionVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrame, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrame__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isActive, IN, osgAnimation::Action &, action,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isActive__Action_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getLocalFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getLocalFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::Timeline &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Timeline_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::Action &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__Action_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionBlendIn &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionBlendIn_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionBlendOut &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionBlendOut_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionAnimation_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osgAnimation::ActionStripAnimation &, action,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__ActionStripAnimation_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, Frame,
|
||||
0,
|
||||
__void__setFrame__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, LocalFrame,
|
||||
__unsigned_int__getLocalFrame,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::FrameAction >)
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user