Update wrappers for 2.6.1.
This commit is contained in:
@@ -11,6 +11,7 @@ The following changes (and svn revision numbers) were included in the 2.6.1 rele
|
||||
8888 - Fix for uninitialized "strip texture path" option in OpenFlight exporter.
|
||||
8900 - Fix for FLT plugin user data handling.
|
||||
Bump OSG version number from 2.6.0 to 2.6.1.
|
||||
Update wrappers.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,211 +1,211 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <OpenThreads/Thread>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(OpenThreads::Thread::ThreadPriority)
|
||||
I_DeclaringFile("OpenThreads/Thread");
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_MAX);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_HIGH);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_NOMINAL);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_LOW);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_MIN);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_DEFAULT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(OpenThreads::Thread::ThreadPolicy)
|
||||
I_DeclaringFile("OpenThreads/Thread");
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_FIFO);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_ROUND_ROBIN);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_TIME_SHARE);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_DEFAULT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
I_DeclaringFile("OpenThreads/Thread");
|
||||
I_Constructor0(____Thread,
|
||||
"Constructor. ",
|
||||
"");
|
||||
I_Method0(int, getThreadId,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getThreadId,
|
||||
"Get a unique thread id. ",
|
||||
"This id is monotonically increasing.a unique thread identifier ");
|
||||
I_Method0(size_t, getProcessId,
|
||||
Properties::NON_VIRTUAL,
|
||||
__size_t__getProcessId,
|
||||
"Get the thread's process id. ",
|
||||
"This is the pthread_t or pid_t value depending on the threading model being used.thread process id. ");
|
||||
I_Method0(int, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__start,
|
||||
"Start the thread. ",
|
||||
"This method will configure the thread, set it's priority, and spawn it.if the stack size specified setStackSize is smaller than the smallest allowable stack size, the threads stack size will be set to the minimum allowed, and may be retrieved via the getStackSize() 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, startThread,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__startThread,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, testCancel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__testCancel,
|
||||
"Test the cancel state of the thread. ",
|
||||
"If the thread has been canceled this method will cause the thread to exit now. This method operates on the calling thread.Returns 0 if normal, -1 if called from a thread other that this. ");
|
||||
I_Method0(int, cancel,
|
||||
Properties::VIRTUAL,
|
||||
__int__cancel,
|
||||
"Cancel the thread. ",
|
||||
"Equivalent to SIGKILL.0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method1(int, setSchedulePriority, IN, OpenThreads::Thread::ThreadPriority, priority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setSchedulePriority__ThreadPriority,
|
||||
"Set the thread's schedule priority. ",
|
||||
"This is a complex method. Beware of thread priorities when using a many-to-many kernel entity implemenation (such as IRIX pthreads). If one is not carefull to manage the thread priorities, a priority inversion deadlock can easily occur (Although the OpenThreads::Mutex & OpenThreads::Barrier constructs have been designed with this senario in mind). Unless you have explicit need to set the schedule pirorites for a given task, it is best to leave them alone.some implementations (notably LinuxThreads and IRIX Sprocs) only alow you to decrease thread priorities dynamically. Thus, a lower priority thread will not allow it's priority to be raised on the fly.seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, getSchedulePriority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getSchedulePriority,
|
||||
"Get the thread's schedule priority (if able). ",
|
||||
"seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method1(int, setSchedulePolicy, IN, OpenThreads::Thread::ThreadPolicy, policy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setSchedulePolicy__ThreadPolicy,
|
||||
"Set the thread's scheduling policy (if able). ",
|
||||
"On some implementations (notably IRIX Sprocs & LinuxThreads) The policy may prohibit the use of SCHEDULE_ROUND_ROBIN and SCHEDULE_FIFO policies - due to their real-time nature, and the danger of deadlocking the machine when used as super-user. In such cases, the command is a no-op.seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, getSchedulePolicy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getSchedulePolicy,
|
||||
"Get the thread's policy (if able). ",
|
||||
"seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. policy if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method1(int, setStackSize, IN, size_t, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setStackSize__size_t,
|
||||
"Set the thread's desired stack size (in bytes). ",
|
||||
"This method is an attribute of the thread and must be called *before* the start() method is invoked.a return code of 13 (EACESS) means that the thread stack size can no longer be changed. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(size_t, getStackSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__size_t__getStackSize,
|
||||
"Get the thread's desired stack size. ",
|
||||
"the thread's stack size. 0 indicates that the stack size has either not yet been initialized, or not yet been specified by the application. ");
|
||||
I_Method0(void, printSchedulingInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__printSchedulingInfo,
|
||||
"Print the thread's scheduling information to stdout. ",
|
||||
"");
|
||||
I_Method0(int, detach,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__detach,
|
||||
"Detach the thread from the calling process. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, join,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__join,
|
||||
"Join the calling process with the thread. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, setCancelModeDisable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setCancelModeDisable,
|
||||
"Disable thread cancelation altogether. ",
|
||||
"Thread::cancel() has no effect.0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, setCancelModeAsynchronous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setCancelModeAsynchronous,
|
||||
"Mark the thread to cancel aysncronously on Thread::cancel(). ",
|
||||
"(May not be available with process-level implementations).0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, setCancelModeDeferred,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setCancelModeDeferred,
|
||||
"Mark the thread to cancel at the earliest convenience on Thread::cancel() (This is the default). ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(bool, isRunning,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRunning,
|
||||
"Query the thread's running status. ",
|
||||
"true if running, false if not. ");
|
||||
I_Method0(void, run,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__run,
|
||||
"Thread's run method. ",
|
||||
"Must be implemented by derived classes. This is where the action happens. ");
|
||||
I_Method0(void, cancelCleanup,
|
||||
Properties::VIRTUAL,
|
||||
__void__cancelCleanup,
|
||||
"Thread's cancel cleanup routine, called upon cancel(), after the cancelation has taken place, but before the thread exits completely. ",
|
||||
"This method should be used to repair parts of the thread's data that may have been damaged by a pre-mature cancel. No-op by default. ");
|
||||
I_Method0(void *, getImplementation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void_P1__getImplementation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, setProcessorAffinity, IN, unsigned int, cpunum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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);
|
||||
I_SimpleProperty(size_t, ProcessId,
|
||||
__size_t__getProcessId,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, ProcessorAffinity,
|
||||
0,
|
||||
__int__setProcessorAffinity__unsigned_int);
|
||||
I_SimpleProperty(OpenThreads::Thread::ThreadPolicy, SchedulePolicy,
|
||||
0,
|
||||
__int__setSchedulePolicy__ThreadPolicy);
|
||||
I_SimpleProperty(OpenThreads::Thread::ThreadPriority, SchedulePriority,
|
||||
0,
|
||||
__int__setSchedulePriority__ThreadPriority);
|
||||
I_SimpleProperty(size_t, StackSize,
|
||||
__size_t__getStackSize,
|
||||
__int__setStackSize__size_t);
|
||||
I_SimpleProperty(int, ThreadId,
|
||||
__int__getThreadId,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <OpenThreads/Thread>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(OpenThreads::Thread::ThreadPriority)
|
||||
I_DeclaringFile("OpenThreads/Thread");
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_MAX);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_HIGH);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_NOMINAL);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_LOW);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_MIN);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_PRIORITY_DEFAULT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(OpenThreads::Thread::ThreadPolicy)
|
||||
I_DeclaringFile("OpenThreads/Thread");
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_FIFO);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_ROUND_ROBIN);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_TIME_SHARE);
|
||||
I_EnumLabel(OpenThreads::Thread::THREAD_SCHEDULE_DEFAULT);
|
||||
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. ",
|
||||
"");
|
||||
I_Method0(int, getThreadId,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getThreadId,
|
||||
"Get a unique thread id. ",
|
||||
"This id is monotonically increasing.a unique thread identifier ");
|
||||
I_Method0(size_t, getProcessId,
|
||||
Properties::NON_VIRTUAL,
|
||||
__size_t__getProcessId,
|
||||
"Get the thread's process id. ",
|
||||
"This is the pthread_t or pid_t value depending on the threading model being used.thread process id. ");
|
||||
I_Method0(int, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__start,
|
||||
"Start the thread. ",
|
||||
"This method will configure the thread, set it's priority, and spawn it.if the stack size specified setStackSize is smaller than the smallest allowable stack size, the threads stack size will be set to the minimum allowed, and may be retrieved via the getStackSize() 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, startThread,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__startThread,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, testCancel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__testCancel,
|
||||
"Test the cancel state of the thread. ",
|
||||
"If the thread has been canceled this method will cause the thread to exit now. This method operates on the calling thread.Returns 0 if normal, -1 if called from a thread other that this. ");
|
||||
I_Method0(int, cancel,
|
||||
Properties::VIRTUAL,
|
||||
__int__cancel,
|
||||
"Cancel the thread. ",
|
||||
"Equivalent to SIGKILL.0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method1(int, setSchedulePriority, IN, OpenThreads::Thread::ThreadPriority, priority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setSchedulePriority__ThreadPriority,
|
||||
"Set the thread's schedule priority. ",
|
||||
"This is a complex method. Beware of thread priorities when using a many-to-many kernel entity implemenation (such as IRIX pthreads). If one is not carefull to manage the thread priorities, a priority inversion deadlock can easily occur (Although the OpenThreads::Mutex & OpenThreads::Barrier constructs have been designed with this senario in mind). Unless you have explicit need to set the schedule pirorites for a given task, it is best to leave them alone.some implementations (notably LinuxThreads and IRIX Sprocs) only alow you to decrease thread priorities dynamically. Thus, a lower priority thread will not allow it's priority to be raised on the fly.seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, getSchedulePriority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getSchedulePriority,
|
||||
"Get the thread's schedule priority (if able). ",
|
||||
"seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method1(int, setSchedulePolicy, IN, OpenThreads::Thread::ThreadPolicy, policy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setSchedulePolicy__ThreadPolicy,
|
||||
"Set the thread's scheduling policy (if able). ",
|
||||
"On some implementations (notably IRIX Sprocs & LinuxThreads) The policy may prohibit the use of SCHEDULE_ROUND_ROBIN and SCHEDULE_FIFO policies - due to their real-time nature, and the danger of deadlocking the machine when used as super-user. In such cases, the command is a no-op.seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, getSchedulePolicy,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getSchedulePolicy,
|
||||
"Get the thread's policy (if able). ",
|
||||
"seting the environment variable OUTPUT_THREADLIB_SCHEDULING_INFO will output scheduling information for each thread to stdout. policy if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method1(int, setStackSize, IN, size_t, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setStackSize__size_t,
|
||||
"Set the thread's desired stack size (in bytes). ",
|
||||
"This method is an attribute of the thread and must be called *before* the start() method is invoked.a return code of 13 (EACESS) means that the thread stack size can no longer be changed. 0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(size_t, getStackSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__size_t__getStackSize,
|
||||
"Get the thread's desired stack size. ",
|
||||
"the thread's stack size. 0 indicates that the stack size has either not yet been initialized, or not yet been specified by the application. ");
|
||||
I_Method0(void, printSchedulingInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__printSchedulingInfo,
|
||||
"Print the thread's scheduling information to stdout. ",
|
||||
"");
|
||||
I_Method0(int, detach,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__detach,
|
||||
"Detach the thread from the calling process. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, join,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__join,
|
||||
"Join the calling process with the thread. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, setCancelModeDisable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setCancelModeDisable,
|
||||
"Disable thread cancelation altogether. ",
|
||||
"Thread::cancel() has no effect.0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, setCancelModeAsynchronous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setCancelModeAsynchronous,
|
||||
"Mark the thread to cancel aysncronously on Thread::cancel(). ",
|
||||
"(May not be available with process-level implementations).0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(int, setCancelModeDeferred,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__setCancelModeDeferred,
|
||||
"Mark the thread to cancel at the earliest convenience on Thread::cancel() (This is the default). ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
I_Method0(bool, isRunning,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRunning,
|
||||
"Query the thread's running status. ",
|
||||
"true if running, false if not. ");
|
||||
I_Method0(void, run,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__run,
|
||||
"Thread's run method. ",
|
||||
"Must be implemented by derived classes. This is where the action happens. ");
|
||||
I_Method0(void, cancelCleanup,
|
||||
Properties::VIRTUAL,
|
||||
__void__cancelCleanup,
|
||||
"Thread's cancel cleanup routine, called upon cancel(), after the cancelation has taken place, but before the thread exits completely. ",
|
||||
"This method should be used to repair parts of the thread's data that may have been damaged by a pre-mature cancel. No-op by default. ");
|
||||
I_Method0(void *, getImplementation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void_P1__getImplementation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, setProcessorAffinity, IN, unsigned int, cpunum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__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_SimpleProperty(void *, Implementation,
|
||||
__void_P1__getImplementation,
|
||||
0);
|
||||
I_SimpleProperty(size_t, ProcessId,
|
||||
__size_t__getProcessId,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, ProcessorAffinity,
|
||||
0,
|
||||
__int__setProcessorAffinity__unsigned_int);
|
||||
I_SimpleProperty(OpenThreads::Thread::ThreadPolicy, SchedulePolicy,
|
||||
0,
|
||||
__int__setSchedulePolicy__ThreadPolicy);
|
||||
I_SimpleProperty(OpenThreads::Thread::ThreadPriority, SchedulePriority,
|
||||
0,
|
||||
__int__setSchedulePriority__ThreadPriority);
|
||||
I_SimpleProperty(size_t, StackSize,
|
||||
__size_t__getStackSize,
|
||||
__int__setStackSize__size_t);
|
||||
I_SimpleProperty(int, ThreadId,
|
||||
__int__getThreadId,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#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);
|
||||
@@ -37,6 +35,8 @@ 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 &, copyop,
|
||||
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. ",
|
||||
@@ -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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#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);
|
||||
@@ -31,9 +29,15 @@ 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,
|
||||
"",
|
||||
"");
|
||||
@@ -162,10 +166,6 @@ 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,16 +21,32 @@
|
||||
#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,
|
||||
"",
|
||||
@@ -225,22 +241,6 @@ 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);
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
#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);
|
||||
@@ -36,6 +34,8 @@ 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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec3f, osg::BoundingBox::vec_type)
|
||||
TYPE_NAME_ALIAS(osg::Vec3d, osg::BoundingBox::vec_type)
|
||||
|
||||
TYPE_NAME_ALIAS(float, osg::BoundingBox::value_type)
|
||||
TYPE_NAME_ALIAS(double, osg::BoundingBox::value_type)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::BoundingBox)
|
||||
I_DeclaringFile("osg/BoundingBox");
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec3f, osg::BoundingSphere::vec_type)
|
||||
TYPE_NAME_ALIAS(osg::Vec3d, osg::BoundingSphere::vec_type)
|
||||
|
||||
TYPE_NAME_ALIAS(float, osg::BoundingSphere::value_type)
|
||||
TYPE_NAME_ALIAS(double, osg::BoundingSphere::value_type)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::BoundingSphere)
|
||||
I_DeclaringFile("osg/BoundingSphere");
|
||||
|
||||
@@ -270,7 +270,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 &, copyop,
|
||||
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. ",
|
||||
@@ -355,7 +355,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 &, copyop,
|
||||
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. ",
|
||||
@@ -429,7 +429,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -43,8 +43,6 @@
|
||||
#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);
|
||||
@@ -97,6 +95,8 @@ 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);
|
||||
@@ -786,7 +786,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -46,17 +46,17 @@ BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
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 &, pos, IN, bool, withLODScale,
|
||||
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
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 &, pos, IN, bool, withLODScale,
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#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);
|
||||
@@ -51,6 +49,8 @@ BEGIN_ENUM_REFLECTOR(osg::CopyOp::Options)
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
#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);
|
||||
@@ -75,6 +73,8 @@ 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,14 +30,6 @@
|
||||
#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);
|
||||
@@ -51,6 +43,14 @@ 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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -57,6 +57,10 @@ 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,
|
||||
"",
|
||||
"");
|
||||
@@ -350,10 +354,6 @@ BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
|
||||
__bool__getSerializeDrawDispatch,
|
||||
"",
|
||||
"");
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
|
||||
@@ -38,10 +38,6 @@
|
||||
#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);
|
||||
@@ -63,6 +59,10 @@ 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);
|
||||
@@ -617,7 +617,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 &, copyop,
|
||||
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. ",
|
||||
@@ -741,7 +741,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 &, copyop,
|
||||
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. ",
|
||||
@@ -788,7 +788,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 &, copyop,
|
||||
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. ",
|
||||
@@ -830,7 +830,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 &, copyop,
|
||||
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. ",
|
||||
@@ -1273,7 +1273,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
|
||||
@@ -68,6 +68,10 @@ TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglBlitFramebufferEXT)
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
I_DeclaringFile("osg/FrameBufferObject");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized,
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isSupported,
|
||||
@@ -83,10 +87,6 @@ BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
__bool__isMultisampleCoverageSupported,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized,
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedConstructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FBOExtensions__unsigned_int,
|
||||
@@ -178,12 +178,6 @@ BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
|
||||
"");
|
||||
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);
|
||||
@@ -191,6 +185,12 @@ 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);
|
||||
@@ -206,7 +206,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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -271,7 +271,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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
@@ -345,7 +345,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -28,14 +28,6 @@
|
||||
#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);
|
||||
@@ -45,6 +37,14 @@ 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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
@@ -635,6 +635,16 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
__void__copyToAndOptimize__Geometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, containsSharedArrays,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsSharedArrays,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, duplicateSharedArrays,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__duplicateSharedArrays,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeInternalOptimizedGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeInternalOptimizedGeometry,
|
||||
|
||||
@@ -37,6 +37,54 @@ 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,
|
||||
@@ -287,54 +335,6 @@ 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 &, nv,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
|
||||
@@ -1,119 +1,119 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Hint>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Hint)
|
||||
I_DeclaringFile("osg/Hint");
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Hint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, target, IN, GLenum, mode,
|
||||
____Hint__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Hint &, hint, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Hint__C5_Hint_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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 &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, 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,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMember,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method1(void, setTarget, IN, GLenum, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTarget__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getTarget,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, GLenum, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getMode,
|
||||
"",
|
||||
"");
|
||||
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_SimpleProperty(unsigned int, Member,
|
||||
__unsigned_int__getMember,
|
||||
0);
|
||||
I_SimpleProperty(GLenum, Mode,
|
||||
__GLenum__getMode,
|
||||
__void__setMode__GLenum);
|
||||
I_SimpleProperty(GLenum, Target,
|
||||
__GLenum__getTarget,
|
||||
__void__setTarget__GLenum);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Hint>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Hint)
|
||||
I_DeclaringFile("osg/Hint");
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Hint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, target, IN, GLenum, mode,
|
||||
____Hint__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Hint &, hint, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Hint__C5_Hint_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, 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,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMember,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method1(void, setTarget, IN, GLenum, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTarget__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getTarget,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, GLenum, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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_SimpleProperty(unsigned int, Member,
|
||||
__unsigned_int__getMember,
|
||||
0);
|
||||
I_SimpleProperty(GLenum, Mode,
|
||||
__GLenum__getMode,
|
||||
__void__setMode__GLenum);
|
||||
I_SimpleProperty(GLenum, Target,
|
||||
__GLenum__getTarget,
|
||||
__void__setTarget__GLenum);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::Image::MipmapDataType)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Image::AllocationMode)
|
||||
I_DeclaringFile("osg/Image");
|
||||
I_EnumLabel(osg::Image::NO_DELETE);
|
||||
@@ -42,6 +40,8 @@ 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);
|
||||
@@ -57,7 +57,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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
|
||||
@@ -1,237 +1,237 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Image>
|
||||
#include <osg/ImageSequence>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Image > >, osg::ImageSequence::Images)
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< std::string >, osg::ImageSequence::FileNames)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ImageSequence::Mode)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_EnumLabel(osg::ImageSequence::PRE_LOAD_ALL_IMAGES);
|
||||
I_EnumLabel(osg::ImageSequence::PAGE_AND_RETAIN_IMAGES);
|
||||
I_EnumLabel(osg::ImageSequence::PAGE_AND_DISCARD_USED_IMAGES);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_BaseType(osg::ImageStream);
|
||||
I_Constructor0(____ImageSequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ImageSequence &, ImageSequence, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ImageSequence__C5_ImageSequence_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
__Object_P1__clone__C5_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_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(int, compare, IN, const osg::Image &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_Image_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, t,
|
||||
Properties::VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
Properties::VIRTUAL,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimeMultiplier, IN, double, tm,
|
||||
Properties::VIRTUAL,
|
||||
__void__setTimeMultiplier__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTimeMultiplier,
|
||||
Properties::VIRTUAL,
|
||||
__double__getTimeMultiplier,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::ImageSequence::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageSequence::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addImageFile, IN, const std::string &, fileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImageFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageSequence::FileNames &, getFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__FileNames_R1__getFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ImageSequence::FileNames &, getFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_FileNames_R1__getFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageSequence::Images &, getImages,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Images_R1__getImages,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ImageSequence::Images &, getImages,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Images_R1__getImages,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, setImageToChild, IN, const osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__setImageToChild__C5_osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, computeTimePerImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__computeTimePerImage,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, Duration,
|
||||
__double__getDuration,
|
||||
__void__setDuration__double);
|
||||
I_SimpleProperty(osg::ImageSequence::FileNames &, FileNames,
|
||||
__FileNames_R1__getFileNames,
|
||||
0);
|
||||
I_SimpleProperty(osg::ImageSequence::Images &, Images,
|
||||
__Images_R1__getImages,
|
||||
0);
|
||||
I_SimpleProperty(osg::ImageSequence::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
__void__setReferenceTime__double);
|
||||
I_SimpleProperty(double, TimeMultiplier,
|
||||
__double__getTimeMultiplier,
|
||||
__void__setTimeMultiplier__double);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence::UpdateCallback)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_BaseType(osg::StateAttribute::Callback);
|
||||
I_Constructor0(____UpdateCallback,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Image >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Image > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Image > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Image > >)
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< std::string >)
|
||||
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Image>
|
||||
#include <osg/ImageSequence>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ImageSequence::Mode)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_EnumLabel(osg::ImageSequence::PRE_LOAD_ALL_IMAGES);
|
||||
I_EnumLabel(osg::ImageSequence::PAGE_AND_RETAIN_IMAGES);
|
||||
I_EnumLabel(osg::ImageSequence::PAGE_AND_DISCARD_USED_IMAGES);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Image > >, osg::ImageSequence::Images)
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< std::string >, osg::ImageSequence::FileNames)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_BaseType(osg::ImageStream);
|
||||
I_Constructor0(____ImageSequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ImageSequence &, ImageSequence, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ImageSequence__C5_ImageSequence_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
__Object_P1__clone__C5_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_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(int, compare, IN, const osg::Image &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_Image_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, t,
|
||||
Properties::VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
Properties::VIRTUAL,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimeMultiplier, IN, double, tm,
|
||||
Properties::VIRTUAL,
|
||||
__void__setTimeMultiplier__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTimeMultiplier,
|
||||
Properties::VIRTUAL,
|
||||
__double__getTimeMultiplier,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::ImageSequence::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageSequence::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addImageFile, IN, const std::string &, fileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImageFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageSequence::FileNames &, getFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__FileNames_R1__getFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ImageSequence::FileNames &, getFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_FileNames_R1__getFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageSequence::Images &, getImages,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Images_R1__getImages,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ImageSequence::Images &, getImages,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Images_R1__getImages,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, setImageToChild, IN, const osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__setImageToChild__C5_osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, computeTimePerImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__computeTimePerImage,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, Duration,
|
||||
__double__getDuration,
|
||||
__void__setDuration__double);
|
||||
I_SimpleProperty(osg::ImageSequence::FileNames &, FileNames,
|
||||
__FileNames_R1__getFileNames,
|
||||
0);
|
||||
I_SimpleProperty(osg::ImageSequence::Images &, Images,
|
||||
__Images_R1__getImages,
|
||||
0);
|
||||
I_SimpleProperty(osg::ImageSequence::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
__void__setReferenceTime__double);
|
||||
I_SimpleProperty(double, TimeMultiplier,
|
||||
__double__getTimeMultiplier,
|
||||
__void__setTimeMultiplier__double);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence::UpdateCallback)
|
||||
I_DeclaringFile("osg/ImageSequence");
|
||||
I_BaseType(osg::StateAttribute::Callback);
|
||||
I_Constructor0(____UpdateCallback,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Image >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Image > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Image > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Image > >)
|
||||
|
||||
STD_LIST_REFLECTOR(std::list< std::string >)
|
||||
|
||||
|
||||
@@ -52,7 +52,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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
|
||||
@@ -1,255 +1,255 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Array>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/KdTree>
|
||||
#include <osg/Object>
|
||||
#include <osg/Shape>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::KdTree::LineSegmentIntersection >, osg::KdTree::LineSegmentIntersections)
|
||||
|
||||
TYPE_NAME_ALIAS(int, osg::KdTree::value_type)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::KdTree::KdNode >, osg::KdTree::KdNodeList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::KdTree::Triangle >, osg::KdTree::TriangleList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::KdTree)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_BaseType(osg::Shape);
|
||||
I_Constructor0(____KdTree,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::KdTree &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____KdTree__C5_KdTree_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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 &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, 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,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
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 &, csv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method2(bool, build, IN, osg::KdTree::BuildOptions &, buildOptions, IN, osg::Geometry *, geometry,
|
||||
Properties::VIRTUAL,
|
||||
__bool__build__BuildOptions_R1__osg_Geometry_P1,
|
||||
"Build the kdtree from the specified source geometry object. ",
|
||||
"retun true on success. ");
|
||||
I_Method3(bool, intersect, IN, const osg::Vec3 &, start, IN, const osg::Vec3 &, end, IN, osg::KdTree::LineSegmentIntersections &, intersections,
|
||||
Properties::VIRTUAL,
|
||||
__bool__intersect__C5_osg_Vec3_R1__C5_osg_Vec3_R1__LineSegmentIntersections_R1,
|
||||
"compute the intersection of a line segment and the kdtree, return true if an intersection has been found. ",
|
||||
"");
|
||||
I_Method1(int, addNode, IN, const osg::KdTree::KdNode &, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__addNode__C5_KdNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::KdTree::KdNode &, getNode, IN, int, nodeNum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KdNode_R1__getNode__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::KdTree::KdNode &, getNode, IN, int, nodeNum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KdNode_R1__getNode__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::KdTree::KdNodeList &, getNodes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KdNodeList_R1__getNodes,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::KdTree::KdNodeList &, getNodes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KdNodeList_R1__getNodes,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertices__osg_Vec3Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addTriangle, IN, const osg::KdTree::Triangle &, tri,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addTriangle__C5_Triangle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::KdTree::Triangle &, getTriangle, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Triangle_R1__getTriangle__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::KdTree::Triangle &, getTriangle, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Triangle_R1__getTriangle__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::KdTree::TriangleList &, getTriangles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TriangleList_R1__getTriangles,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::KdTree::TriangleList &, getTriangles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TriangleList_R1__getTriangles,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::KdTree::KdNodeList &, Nodes,
|
||||
__KdNodeList_R1__getNodes,
|
||||
0);
|
||||
I_SimpleProperty(osg::KdTree::TriangleList &, Triangles,
|
||||
__TriangleList_R1__getTriangles,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3Array *, Vertices,
|
||||
0,
|
||||
__void__setVertices__osg_Vec3Array_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::BuildOptions)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____BuildOptions,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(unsigned int, _numVerticesProcessed);
|
||||
I_PublicMemberProperty(unsigned int, _targetNumTrianglesPerLeaf);
|
||||
I_PublicMemberProperty(unsigned int, _maxNumLevels);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::KdNode)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____KdNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::KdTree::value_type, f, IN, osg::KdTree::value_type, s,
|
||||
____KdNode__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::BoundingBox, bb);
|
||||
I_PublicMemberProperty(osg::KdTree::value_type, first);
|
||||
I_PublicMemberProperty(osg::KdTree::value_type, second);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::KdTree::LineSegmentIntersection::IndexList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< double >, osg::KdTree::LineSegmentIntersection::RatioList)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::LineSegmentIntersection)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____LineSegmentIntersection,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(double, ratio);
|
||||
I_PublicMemberProperty(osg::Vec3d, intersectionPoint);
|
||||
I_PublicMemberProperty(osg::Vec3, intersectionNormal);
|
||||
I_PublicMemberProperty(unsigned int, p0);
|
||||
I_PublicMemberProperty(unsigned int, p1);
|
||||
I_PublicMemberProperty(unsigned int, p2);
|
||||
I_PublicMemberProperty(float, r0);
|
||||
I_PublicMemberProperty(float, r1);
|
||||
I_PublicMemberProperty(float, r2);
|
||||
I_PublicMemberProperty(unsigned int, primitiveIndex);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::Triangle)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____Triangle,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, unsigned int, ip0, IN, unsigned int, ip1, IN, unsigned int, ip2,
|
||||
____Triangle__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(unsigned int, p0);
|
||||
I_PublicMemberProperty(unsigned int, p1);
|
||||
I_PublicMemberProperty(unsigned int, p2);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::KdTreeBuilder)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____KdTreeBuilder,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::KdTreeBuilder &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____KdTreeBuilder__C5_KdTreeBuilder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::KdTreeBuilder *, clone,
|
||||
Properties::VIRTUAL,
|
||||
__KdTreeBuilder_P1__clone,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::KdTree::BuildOptions, _buildOptions);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::KdTree >, _kdTreePrototype);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< double >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::KdNode >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::LineSegmentIntersection >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::Triangle >)
|
||||
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Array>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/KdTree>
|
||||
#include <osg/Object>
|
||||
#include <osg/Shape>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::KdTree::LineSegmentIntersection >, osg::KdTree::LineSegmentIntersections)
|
||||
|
||||
TYPE_NAME_ALIAS(int, osg::KdTree::value_type)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::KdTree::KdNode >, osg::KdTree::KdNodeList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::KdTree::Triangle >, osg::KdTree::TriangleList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::KdTree)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_BaseType(osg::Shape);
|
||||
I_Constructor0(____KdTree,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::KdTree &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____KdTree__C5_KdTree_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, 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,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_ConstShapeVisitor_R1,
|
||||
"accept a const shape visitor which can be used on const shape objects. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method2(bool, build, IN, osg::KdTree::BuildOptions &, buildOptions, IN, osg::Geometry *, geometry,
|
||||
Properties::VIRTUAL,
|
||||
__bool__build__BuildOptions_R1__osg_Geometry_P1,
|
||||
"Build the kdtree from the specified source geometry object. ",
|
||||
"retun true on success. ");
|
||||
I_Method3(bool, intersect, IN, const osg::Vec3 &, start, IN, const osg::Vec3 &, end, IN, osg::KdTree::LineSegmentIntersections &, intersections,
|
||||
Properties::VIRTUAL,
|
||||
__bool__intersect__C5_osg_Vec3_R1__C5_osg_Vec3_R1__LineSegmentIntersections_R1,
|
||||
"compute the intersection of a line segment and the kdtree, return true if an intersection has been found. ",
|
||||
"");
|
||||
I_Method1(int, addNode, IN, const osg::KdTree::KdNode &, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__addNode__C5_KdNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::KdTree::KdNode &, getNode, IN, int, nodeNum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KdNode_R1__getNode__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::KdTree::KdNode &, getNode, IN, int, nodeNum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KdNode_R1__getNode__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::KdTree::KdNodeList &, getNodes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KdNodeList_R1__getNodes,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::KdTree::KdNodeList &, getNodes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KdNodeList_R1__getNodes,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertices, IN, osg::Vec3Array *, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertices__osg_Vec3Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3Array *, getVertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3Array_P1__getVertices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addTriangle, IN, const osg::KdTree::Triangle &, tri,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addTriangle__C5_Triangle_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::KdTree::Triangle &, getTriangle, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Triangle_R1__getTriangle__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::KdTree::Triangle &, getTriangle, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Triangle_R1__getTriangle__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::KdTree::TriangleList &, getTriangles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TriangleList_R1__getTriangles,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::KdTree::TriangleList &, getTriangles,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TriangleList_R1__getTriangles,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::KdTree::KdNodeList &, Nodes,
|
||||
__KdNodeList_R1__getNodes,
|
||||
0);
|
||||
I_SimpleProperty(osg::KdTree::TriangleList &, Triangles,
|
||||
__TriangleList_R1__getTriangles,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3Array *, Vertices,
|
||||
0,
|
||||
__void__setVertices__osg_Vec3Array_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::BuildOptions)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____BuildOptions,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(unsigned int, _numVerticesProcessed);
|
||||
I_PublicMemberProperty(unsigned int, _targetNumTrianglesPerLeaf);
|
||||
I_PublicMemberProperty(unsigned int, _maxNumLevels);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::KdNode)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____KdNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::KdTree::value_type, f, IN, osg::KdTree::value_type, s,
|
||||
____KdNode__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::BoundingBox, bb);
|
||||
I_PublicMemberProperty(osg::KdTree::value_type, first);
|
||||
I_PublicMemberProperty(osg::KdTree::value_type, second);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< unsigned int >, osg::KdTree::LineSegmentIntersection::IndexList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< double >, osg::KdTree::LineSegmentIntersection::RatioList)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::LineSegmentIntersection)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____LineSegmentIntersection,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(double, ratio);
|
||||
I_PublicMemberProperty(osg::Vec3d, intersectionPoint);
|
||||
I_PublicMemberProperty(osg::Vec3, intersectionNormal);
|
||||
I_PublicMemberProperty(unsigned int, p0);
|
||||
I_PublicMemberProperty(unsigned int, p1);
|
||||
I_PublicMemberProperty(unsigned int, p2);
|
||||
I_PublicMemberProperty(float, r0);
|
||||
I_PublicMemberProperty(float, r1);
|
||||
I_PublicMemberProperty(float, r2);
|
||||
I_PublicMemberProperty(unsigned int, primitiveIndex);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::KdTree::Triangle)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_Constructor0(____Triangle,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, unsigned int, ip0, IN, unsigned int, ip1, IN, unsigned int, ip2,
|
||||
____Triangle__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(unsigned int, p0);
|
||||
I_PublicMemberProperty(unsigned int, p1);
|
||||
I_PublicMemberProperty(unsigned int, p2);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::KdTreeBuilder)
|
||||
I_DeclaringFile("osg/KdTree");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____KdTreeBuilder,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::KdTreeBuilder &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____KdTreeBuilder__C5_KdTreeBuilder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::KdTreeBuilder *, clone,
|
||||
Properties::VIRTUAL,
|
||||
__KdTreeBuilder_P1__clone,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::KdTree::BuildOptions, _buildOptions);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::KdTree >, _kdTreePrototype);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< double >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::KdNode >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::LineSegmentIntersection >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::KdTree::Triangle >)
|
||||
|
||||
|
||||
@@ -25,14 +25,6 @@
|
||||
#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);
|
||||
@@ -45,6 +37,14 @@ 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 &, nv,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -448,7 +448,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -1,206 +1,206 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/OcclusionQueryNode>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::OcclusionQueryNode)
|
||||
I_DeclaringFile("osg/OcclusionQueryNode");
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____OcclusionQueryNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::OcclusionQueryNode &, oqn, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____OcclusionQueryNode__C5_OcclusionQueryNode_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__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 *, 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. ",
|
||||
"Otherwise, releases OpenGL objects for all graphics contexts. ");
|
||||
I_MethodWithDefaults1(void, setQueriesEnabled, IN, bool, enable, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQueriesEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getQueriesEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQueriesEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityThreshold, IN, unsigned int, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityThreshold__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getVisibilityThreshold,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getVisibilityThreshold,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setQueryFrameCount, IN, int, frames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQueryFrameCount__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getQueryFrameCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getQueryFrameCount,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDebugDisplay, IN, bool, enable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDebugDisplay__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDebugDisplay,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDebugDisplay,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setQueryStateSet, IN, osg::StateSet *, ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQueryStateSet__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getQueryStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getQueryStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getQueryStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getQueryStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDebugStateSet, IN, osg::StateSet *, ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDebugStateSet__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getDebugStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getDebugStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getDebugStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getDebugStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPassed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPassed,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getPassed, IN, const osg::Camera *, camera, IN, float, distanceToEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPassed__C5_osg_Camera_P1__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, traverseQuery, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverseQuery__C5_osg_Camera_P1__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverseDebug, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverseDebug__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedQueryObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedQueryObjects__unsigned_int__double__double_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, discardDeletedQueryObjects, IN, unsigned int, contextID,
|
||||
__void__discardDeletedQueryObjects__unsigned_int_S,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, createSupportNodes,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__createSupportNodes,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, DebugDisplay,
|
||||
__bool__getDebugDisplay,
|
||||
__void__setDebugDisplay__bool);
|
||||
I_SimpleProperty(osg::StateSet *, DebugStateSet,
|
||||
__osg_StateSet_P1__getDebugStateSet,
|
||||
__void__setDebugStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(bool, Passed,
|
||||
__bool__getPassed,
|
||||
0);
|
||||
I_SimpleProperty(bool, QueriesEnabled,
|
||||
__bool__getQueriesEnabled,
|
||||
__void__setQueriesEnabled__bool);
|
||||
I_SimpleProperty(int, QueryFrameCount,
|
||||
__int__getQueryFrameCount,
|
||||
__void__setQueryFrameCount__int);
|
||||
I_SimpleProperty(osg::StateSet *, QueryStateSet,
|
||||
__osg_StateSet_P1__getQueryStateSet,
|
||||
__void__setQueryStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(unsigned int, VisibilityThreshold,
|
||||
__unsigned_int__getVisibilityThreshold,
|
||||
__void__setVisibilityThreshold__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/OcclusionQueryNode>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::OcclusionQueryNode)
|
||||
I_DeclaringFile("osg/OcclusionQueryNode");
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____OcclusionQueryNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::OcclusionQueryNode &, oqn, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____OcclusionQueryNode__C5_OcclusionQueryNode_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objects for all graphics contexts. ");
|
||||
I_MethodWithDefaults1(void, setQueriesEnabled, IN, bool, enable, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQueriesEnabled__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getQueriesEnabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQueriesEnabled,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityThreshold, IN, unsigned int, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityThreshold__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getVisibilityThreshold,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getVisibilityThreshold,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setQueryFrameCount, IN, int, frames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQueryFrameCount__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getQueryFrameCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getQueryFrameCount,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDebugDisplay, IN, bool, enable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDebugDisplay__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDebugDisplay,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getDebugDisplay,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setQueryStateSet, IN, osg::StateSet *, ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQueryStateSet__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getQueryStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getQueryStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getQueryStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getQueryStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDebugStateSet, IN, osg::StateSet *, ss,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDebugStateSet__osg_StateSet_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getDebugStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__getDebugStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::StateSet *, getDebugStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_StateSet_P1__getDebugStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPassed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPassed,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getPassed, IN, const osg::Camera *, camera, IN, float, distanceToEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPassed__C5_osg_Camera_P1__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, traverseQuery, IN, const osg::Camera *, camera, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverseQuery__C5_osg_Camera_P1__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverseDebug, IN, osg::NodeVisitor &, nv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__traverseDebug__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedQueryObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedQueryObjects__unsigned_int__double__double_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, discardDeletedQueryObjects, IN, unsigned int, contextID,
|
||||
__void__discardDeletedQueryObjects__unsigned_int_S,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, createSupportNodes,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__createSupportNodes,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, DebugDisplay,
|
||||
__bool__getDebugDisplay,
|
||||
__void__setDebugDisplay__bool);
|
||||
I_SimpleProperty(osg::StateSet *, DebugStateSet,
|
||||
__osg_StateSet_P1__getDebugStateSet,
|
||||
__void__setDebugStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(bool, Passed,
|
||||
__bool__getPassed,
|
||||
0);
|
||||
I_SimpleProperty(bool, QueriesEnabled,
|
||||
__bool__getQueriesEnabled,
|
||||
__void__setQueriesEnabled__bool);
|
||||
I_SimpleProperty(int, QueryFrameCount,
|
||||
__int__getQueryFrameCount,
|
||||
__void__setQueryFrameCount__int);
|
||||
I_SimpleProperty(osg::StateSet *, QueryStateSet,
|
||||
__osg_StateSet_P1__getQueryStateSet,
|
||||
__void__setQueryStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(unsigned int, VisibilityThreshold,
|
||||
__unsigned_int__getVisibilityThreshold,
|
||||
__void__setVisibilityThreshold__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -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 &, nv,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -27,10 +27,6 @@
|
||||
#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);
|
||||
@@ -44,6 +40,10 @@ 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 &, nv,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, nv,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, sv,
|
||||
I_Method1(void, accept, IN, osg::ShapeVisitor &, x,
|
||||
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 &, csv,
|
||||
I_Method1(void, accept, IN, osg::ConstShapeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#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);
|
||||
@@ -40,6 +38,8 @@ 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);
|
||||
|
||||
@@ -26,16 +26,6 @@
|
||||
#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)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values)
|
||||
I_DeclaringFile("osg/StateAttribute");
|
||||
I_EnumLabel(osg::StateAttribute::OFF);
|
||||
@@ -97,6 +87,16 @@ 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);
|
||||
@@ -301,7 +301,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateAttribute::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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -26,6 +26,20 @@
|
||||
#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)
|
||||
@@ -42,20 +56,6 @@ 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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -67,7 +67,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 &, nv,
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -27,10 +27,6 @@
|
||||
#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);
|
||||
@@ -101,6 +97,10 @@ 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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
|
||||
@@ -40,7 +40,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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -1,369 +1,369 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Texture2DArray>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray)
|
||||
I_DeclaringFile("osg/Texture2DArray");
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture2DArray,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2DArray &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2DArray__C5_Texture2DArray_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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 &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, 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,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned int, layer, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned_int__Image_P1,
|
||||
"Set the texture image for specified layer. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned int, layer,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned_int,
|
||||
"Get the texture image for specified layer. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned int, layer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned_int,
|
||||
"Get the const texture image for specified layer. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Get the number of images that are assigned to the Texture. ",
|
||||
"The number is equal to the texture depth. To get the maximum possible image/layer count, you have to use the extension subclass, since it provides graphic context dependent information. ");
|
||||
I_Method2(unsigned int &, getModifiedCount, IN, unsigned int, layer, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int__unsigned_int,
|
||||
"Check how often was a certain layer in the given context modified. ",
|
||||
"");
|
||||
I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int__int,
|
||||
"Set the texture width and height. ",
|
||||
"If width or height are zero then the respective size value is calculated from the source image sizes. Depth parameter specifies the number of layers to be used. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureDepth, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureDepth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2DArray::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2DArray::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2DArray::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Set the number of mip map levels the the texture has been created with. ",
|
||||
"Should only be called within an osg::Texture::apply() and custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Get the number of mip map levels the the texture has been created with. ",
|
||||
"");
|
||||
I_Method8(void, copyTexSubImage2DArray, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2DArray__State_R1__int__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. zoffset specifies the layer of the texture array to which the result is copied. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture if already compiled. ",
|
||||
"Otherwise recompile. ");
|
||||
I_StaticMethod2(osg::Texture2DArray::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture2DArray::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_ProtectedMethod0(bool, imagesValid,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__bool__imagesValid,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, computeInternalFormat,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__computeInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__allocateMipmap__State_R1,
|
||||
"Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ",
|
||||
"");
|
||||
I_ProtectedMethod7(void, applyTexImage2DArray_subload, IN, osg::State &, state, IN, osg::Image *, image, IN, GLsizei, inwidth, IN, GLsizei, inheight, IN, GLsizei, indepth, IN, GLenum, inInternalFormat, IN, GLsizei &, numMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__applyTexImage2DArray_subload__State_R1__Image_P1__GLsizei__GLsizei__GLsizei__GLenum__GLsizei_R1,
|
||||
"",
|
||||
"");
|
||||
I_ArrayProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage__unsigned_int,
|
||||
__void__setImage__unsigned_int__Image_P1,
|
||||
__unsigned_int__getNumImages,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture2DArray::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
__void__setTextureDepth__int);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray::Extensions)
|
||||
I_DeclaringFile("osg/Texture2DArray");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Texture2DArray::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture2DArray::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture2DArraySupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture2DArraySupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture2DArraySupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture2DArraySupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxLayerCount, IN, GLint, count,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxLayerCount__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, maxLayerCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__maxLayerCount,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMax2DSize, IN, GLint, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMax2DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, max2DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__max2DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
I_SimpleProperty(GLint, Max2DSize,
|
||||
0,
|
||||
__void__setMax2DSize__GLint);
|
||||
I_SimpleProperty(GLint, MaxLayerCount,
|
||||
0,
|
||||
__void__setMaxLayerCount__GLint);
|
||||
I_SimpleProperty(bool, Texture2DArraySupported,
|
||||
0,
|
||||
__void__setTexture2DArraySupported__bool);
|
||||
I_SimpleProperty(bool, Texture3DSupported,
|
||||
0,
|
||||
__void__setTexture3DSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2DArray::SubloadCallback)
|
||||
I_DeclaringFile("osg/Texture2DArray");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture2DArray &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture2DArray_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture2DArray &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture2DArray_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Texture2DArray>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray)
|
||||
I_DeclaringFile("osg/Texture2DArray");
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture2DArray,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2DArray &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2DArray__C5_Texture2DArray_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, 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,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned int, layer, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned_int__Image_P1,
|
||||
"Set the texture image for specified layer. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned int, layer,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned_int,
|
||||
"Get the texture image for specified layer. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned int, layer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned_int,
|
||||
"Get the const texture image for specified layer. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Get the number of images that are assigned to the Texture. ",
|
||||
"The number is equal to the texture depth. To get the maximum possible image/layer count, you have to use the extension subclass, since it provides graphic context dependent information. ");
|
||||
I_Method2(unsigned int &, getModifiedCount, IN, unsigned int, layer, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int__unsigned_int,
|
||||
"Check how often was a certain layer in the given context modified. ",
|
||||
"");
|
||||
I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int__int,
|
||||
"Set the texture width and height. ",
|
||||
"If width or height are zero then the respective size value is calculated from the source image sizes. Depth parameter specifies the number of layers to be used. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureDepth, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureDepth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2DArray::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2DArray::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2DArray::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Set the number of mip map levels the the texture has been created with. ",
|
||||
"Should only be called within an osg::Texture::apply() and custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Get the number of mip map levels the the texture has been created with. ",
|
||||
"");
|
||||
I_Method8(void, copyTexSubImage2DArray, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2DArray__State_R1__int__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. zoffset specifies the layer of the texture array to which the result is copied. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture if already compiled. ",
|
||||
"Otherwise recompile. ");
|
||||
I_StaticMethod2(osg::Texture2DArray::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture2DArray::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_ProtectedMethod0(bool, imagesValid,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__bool__imagesValid,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, computeInternalFormat,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__computeInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, allocateMipmap, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__allocateMipmap__State_R1,
|
||||
"Allocate mipmap levels of the texture by subsequent calling of glTexImage* function. ",
|
||||
"");
|
||||
I_ProtectedMethod7(void, applyTexImage2DArray_subload, IN, osg::State &, state, IN, osg::Image *, image, IN, GLsizei, inwidth, IN, GLsizei, inheight, IN, GLsizei, indepth, IN, GLenum, inInternalFormat, IN, GLsizei &, numMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__void__applyTexImage2DArray_subload__State_R1__Image_P1__GLsizei__GLsizei__GLsizei__GLenum__GLsizei_R1,
|
||||
"",
|
||||
"");
|
||||
I_ArrayProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage__unsigned_int,
|
||||
__void__setImage__unsigned_int__Image_P1,
|
||||
__unsigned_int__getNumImages,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture2DArray::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
__void__setTextureDepth__int);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2DArray::Extensions)
|
||||
I_DeclaringFile("osg/Texture2DArray");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Texture2DArray::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture2DArray::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture2DArraySupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture2DArraySupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture2DArraySupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture2DArraySupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxLayerCount, IN, GLint, count,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxLayerCount__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, maxLayerCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__maxLayerCount,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMax2DSize, IN, GLint, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMax2DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, max2DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__max2DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
I_SimpleProperty(GLint, Max2DSize,
|
||||
0,
|
||||
__void__setMax2DSize__GLint);
|
||||
I_SimpleProperty(GLint, MaxLayerCount,
|
||||
0,
|
||||
__void__setMaxLayerCount__GLint);
|
||||
I_SimpleProperty(bool, Texture2DArraySupported,
|
||||
0,
|
||||
__void__setTexture2DArraySupported__bool);
|
||||
I_SimpleProperty(bool, Texture3DSupported,
|
||||
0,
|
||||
__void__setTexture3DSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2DArray::SubloadCallback)
|
||||
I_DeclaringFile("osg/Texture2DArray");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture2DArray &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture2DArray_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture2DArray &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture2DArray_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -40,7 +40,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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
|
||||
@@ -123,8 +123,6 @@ 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);
|
||||
@@ -182,6 +180,8 @@ 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);
|
||||
@@ -201,7 +201,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 &, copyop,
|
||||
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. ",
|
||||
@@ -869,7 +869,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, usage,
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
|
||||
@@ -49,7 +49,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 &, copyop,
|
||||
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. ",
|
||||
|
||||
@@ -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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
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 &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
|
||||
@@ -29,6 +29,14 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgDB::DatabasePager::DrawablePolicy)
|
||||
I_DeclaringFile("osgDB/DatabasePager");
|
||||
I_EnumLabel(osgDB::DatabasePager::DO_NOT_MODIFY_DRAWABLE_SETTINGS);
|
||||
I_EnumLabel(osgDB::DatabasePager::USE_DISPLAY_LISTS);
|
||||
I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_BUFFER_OBJECTS);
|
||||
I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_ARRAYS);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(OpenThreads::Thread::ThreadPriority, osgDB::DatabasePager::ThreadPriority)
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::PagedLOD > >, osgDB::DatabasePager::PagedLODList)
|
||||
@@ -45,14 +53,6 @@ TYPE_NAME_ALIAS(std::set< unsigned int >, osgDB::DatabasePager::ActiveGraphicsCo
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::observer_ptr< osg::GraphicsContext > >, osgDB::DatabasePager::CompileGraphicsContexts)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgDB::DatabasePager::DrawablePolicy)
|
||||
I_DeclaringFile("osgDB/DatabasePager");
|
||||
I_EnumLabel(osgDB::DatabasePager::DO_NOT_MODIFY_DRAWABLE_SETTINGS);
|
||||
I_EnumLabel(osgDB::DatabasePager::USE_DISPLAY_LISTS);
|
||||
I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_BUFFER_OBJECTS);
|
||||
I_EnumLabel(osgDB::DatabasePager::USE_VERTEX_ARRAYS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager)
|
||||
I_DeclaringFile("osgDB/DatabasePager");
|
||||
I_BaseType(osg::NodeVisitor::DatabaseRequestHandler);
|
||||
|
||||
@@ -21,18 +21,18 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DotOsgWrapper::Associates)
|
||||
|
||||
TYPE_NAME_ALIAS(bool (*)(osg::Object&,osgDB::Input&), osgDB::DotOsgWrapper::ReadFunc)
|
||||
|
||||
TYPE_NAME_ALIAS(bool (*)(const osg::Object&,osgDB::Output&), osgDB::DotOsgWrapper::WriteFunc)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgDB::DotOsgWrapper::ReadWriteMode)
|
||||
I_DeclaringFile("osgDB/DotOsgWrapper");
|
||||
I_EnumLabel(osgDB::DotOsgWrapper::READ_AND_WRITE);
|
||||
I_EnumLabel(osgDB::DotOsgWrapper::READ_ONLY);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DotOsgWrapper::Associates)
|
||||
|
||||
TYPE_NAME_ALIAS(bool (*)(osg::Object&,osgDB::Input&), osgDB::DotOsgWrapper::ReadFunc)
|
||||
|
||||
TYPE_NAME_ALIAS(bool (*)(const osg::Object&,osgDB::Output&), osgDB::DotOsgWrapper::WriteFunc)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::DotOsgWrapper)
|
||||
I_DeclaringFile("osgDB/DotOsgWrapper");
|
||||
I_BaseType(osg::Referenced);
|
||||
|
||||
@@ -27,6 +27,10 @@ TYPE_NAME_ALIAS(void *, osgDB::DynamicLibrary::PROC_ADDRESS)
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::DynamicLibrary)
|
||||
I_DeclaringFile("osgDB/DynamicLibrary");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_StaticMethod1(osgDB::DynamicLibrary *, loadLibrary, IN, const std::string &, libraryName,
|
||||
__DynamicLibrary_P1__loadLibrary__C5_std_string_R1_S,
|
||||
"returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failure. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getName,
|
||||
@@ -47,10 +51,6 @@ BEGIN_OBJECT_REFLECTOR(osgDB::DynamicLibrary)
|
||||
__PROC_ADDRESS__getProcAddress__C5_std_string_R1,
|
||||
"return address of function located in library. ",
|
||||
"");
|
||||
I_StaticMethod1(osgDB::DynamicLibrary *, loadLibrary, IN, const std::string &, libraryName,
|
||||
__DynamicLibrary_P1__loadLibrary__C5_std_string_R1_S,
|
||||
"returns a pointer to a DynamicLibrary object on successfully opening of library returns NULL on failure. ",
|
||||
"");
|
||||
I_ProtectedConstructor0(____DynamicLibrary,
|
||||
"disallow default constructor. ",
|
||||
"");
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DirectoryContents)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgDB::CaseSensitivity)
|
||||
I_DeclaringFile("osgDB/FileUtils");
|
||||
I_EnumLabel(osgDB::CASE_SENSITIVE);
|
||||
@@ -35,3 +33,5 @@ BEGIN_ENUM_REFLECTOR(osgDB::FileType)
|
||||
I_EnumLabel(osgDB::DIRECTORY);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osgDB::DirectoryContents)
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ImageOptions)
|
||||
__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,
|
||||
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. ",
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::ReaderWriter::FormatDescriptionMap)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus)
|
||||
I_DeclaringFile("osgDB/ReaderWriter");
|
||||
I_EnumLabel(osgDB::ReaderWriter::READ);
|
||||
@@ -37,6 +35,8 @@ BEGIN_ENUM_REFLECTOR(osgDB::ReaderWriter::ArchiveStatus)
|
||||
I_EnumLabel(osgDB::ReaderWriter::CREATE);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osgDB::ReaderWriter::FormatDescriptionMap)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter)
|
||||
I_DeclaringFile("osgDB/ReaderWriter");
|
||||
I_BaseType(osg::Object);
|
||||
@@ -52,7 +52,7 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter)
|
||||
__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,
|
||||
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. ",
|
||||
@@ -261,7 +261,7 @@ BEGIN_OBJECT_REFLECTOR(osgDB::ReaderWriter::Options)
|
||||
__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,
|
||||
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. ",
|
||||
|
||||
@@ -74,6 +74,10 @@ TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgDB::ReaderWriter > >, osgDB::Regis
|
||||
BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
|
||||
I_DeclaringFile("osgDB/Registry");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false,
|
||||
__Registry_P1__instance__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, commandLine,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__readCommandLine__osg_ArgumentParser_R1,
|
||||
@@ -554,10 +558,6 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry)
|
||||
__void__addArchiveExtension__C5_std_string,
|
||||
"Add an Archive extension. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults1(osgDB::Registry *, instance, IN, bool, erase, false,
|
||||
__Registry_P1__instance__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedConstructor0(____Registry,
|
||||
"constructor is private, as its a singleton, preventing construction other than via the instance() method and therefore ensuring only one copy is ever constructed ",
|
||||
"");
|
||||
|
||||
@@ -26,6 +26,10 @@ TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< const osgFX::Effect >
|
||||
BEGIN_OBJECT_REFLECTOR(osgFX::Registry)
|
||||
I_DeclaringFile("osgFX/Registry");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_StaticMethod0(osgFX::Registry *, instance,
|
||||
__Registry_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, registerEffect, IN, const osgFX::Effect *, effect,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__registerEffect__C5_Effect_P1,
|
||||
@@ -36,10 +40,6 @@ BEGIN_OBJECT_REFLECTOR(osgFX::Registry)
|
||||
__C5_EffectMap_R1__getEffectMap,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osgFX::Registry *, instance,
|
||||
__Registry_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedConstructor0(____Registry,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -45,7 +45,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::Validator)
|
||||
__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 &, copyop,
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
@@ -70,12 +70,12 @@ BEGIN_OBJECT_REFLECTOR(osgFX::Validator)
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_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 &, state,
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__osg_State_R1,
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
|
||||
@@ -93,17 +93,17 @@ BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method1(void, home, IN, double, currentTime,
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user