Cleaned out all wrappers as will be moving them all into src/osgWrappers/introspection directory, and use genwrapper to generate the new ones

This commit is contained in:
Robert Osfield
2010-01-18 19:43:14 +00:00
parent 0f7c0de714
commit 76ae0920ad
431 changed files with 1 additions and 89819 deletions

View File

@@ -1,22 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Atomic>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

View File

@@ -1,56 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Barrier>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(OpenThreads::Barrier)
I_DeclaringFile("OpenThreads/Barrier");
I_ConstructorWithDefaults1(IN, int, numThreads, 0,
Properties::NON_EXPLICIT,
____Barrier__int,
"Constructor. ",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"Reset the barrier to it's original state. ",
"");
I_MethodWithDefaults1(void, block, IN, unsigned int, numThreads, 0,
Properties::VIRTUAL,
__void__block__unsigned_int,
"Block until numThreads threads have entered the barrier. ",
"");
I_Method0(void, release,
Properties::VIRTUAL,
__void__release,
"Release the barrier, now. ",
"");
I_Method0(int, numThreadsCurrentlyBlocked,
Properties::VIRTUAL,
__int__numThreadsCurrentlyBlocked,
"Return the number of threads currently blocked in the barrier, Return -1 if error. ",
"");
I_Method0(void, invalidate,
Properties::NON_VIRTUAL,
__void__invalidate,
"",
"");
END_REFLECTOR

View File

@@ -1,104 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Block>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(OpenThreads::Block)
I_DeclaringFile("OpenThreads/Block");
I_Constructor0(____Block,
"",
"");
I_Method0(bool, block,
Properties::NON_VIRTUAL,
__bool__block,
"",
"");
I_Method1(bool, block, IN, unsigned long, timeout,
Properties::NON_VIRTUAL,
__bool__block__unsigned_long,
"",
"");
I_Method0(void, release,
Properties::NON_VIRTUAL,
__void__release,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, set, IN, bool, doRelease,
Properties::NON_VIRTUAL,
__void__set__bool,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(OpenThreads::BlockCount)
I_DeclaringFile("OpenThreads/Block");
I_Constructor1(IN, unsigned int, blockCount,
Properties::NON_EXPLICIT,
____BlockCount__unsigned_int,
"",
"");
I_Method0(void, completed,
Properties::NON_VIRTUAL,
__void__completed,
"",
"");
I_Method0(void, block,
Properties::NON_VIRTUAL,
__void__block,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method0(void, release,
Properties::NON_VIRTUAL,
__void__release,
"",
"");
I_Method1(void, setBlockCount, IN, unsigned int, blockCount,
Properties::NON_VIRTUAL,
__void__setBlockCount__unsigned_int,
"",
"");
I_Method0(unsigned int, getBlockCount,
Properties::NON_VIRTUAL,
__unsigned_int__getBlockCount,
"",
"");
I_Method0(unsigned int, getCurrentCount,
Properties::NON_VIRTUAL,
__unsigned_int__getCurrentCount,
"",
"");
I_SimpleProperty(unsigned int, BlockCount,
__unsigned_int__getBlockCount,
__void__setBlockCount__unsigned_int);
I_SimpleProperty(unsigned int, CurrentCount,
__unsigned_int__getCurrentCount,
0);
END_REFLECTOR

View File

@@ -1,50 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Condition>
#include <OpenThreads/Mutex>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(OpenThreads::Condition)
I_DeclaringFile("OpenThreads/Condition");
I_Constructor0(____Condition,
"Constructor. ",
"");
I_Method1(int, wait, IN, OpenThreads::Mutex *, mutex,
Properties::VIRTUAL,
__int__wait__Mutex_P1,
"Wait on a mutex. ",
"");
I_Method2(int, wait, IN, OpenThreads::Mutex *, mutex, IN, unsigned long int, ms,
Properties::VIRTUAL,
__int__wait__Mutex_P1__unsigned_long_int,
"Wait on a mutex for a given amount of time (ms). ",
"0 if normal, -1 if errno set, errno code otherwise. ");
I_Method0(int, signal,
Properties::VIRTUAL,
__int__signal,
"Signal a SINGLE thread to wake if it's waiting. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
I_Method0(int, broadcast,
Properties::VIRTUAL,
__int__broadcast,
"Wake all threads waiting on this condition. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
END_REFLECTOR

View File

@@ -1,44 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Mutex>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(OpenThreads::Mutex)
I_DeclaringFile("OpenThreads/Mutex");
I_Constructor0(____Mutex,
"Constructor. ",
"");
I_Method0(int, lock,
Properties::VIRTUAL,
__int__lock,
"Lock the mutex. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
I_Method0(int, unlock,
Properties::VIRTUAL,
__int__unlock,
"Unlock the mutex. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
I_Method0(int, trylock,
Properties::VIRTUAL,
__int__trylock,
"Test if mutex can be locked. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
END_REFLECTOR

View File

@@ -1,72 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/ReadWriteMutex>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(OpenThreads::ReadWriteMutex)
I_DeclaringFile("OpenThreads/ReadWriteMutex");
I_Constructor0(____ReadWriteMutex,
"",
"");
I_Method0(int, readLock,
Properties::VIRTUAL,
__int__readLock,
"",
"");
I_Method0(int, readUnlock,
Properties::VIRTUAL,
__int__readUnlock,
"",
"");
I_Method0(int, writeLock,
Properties::VIRTUAL,
__int__writeLock,
"",
"");
I_Method0(int, writeUnlock,
Properties::VIRTUAL,
__int__writeUnlock,
"",
"");
I_ProtectedConstructor1(IN, const OpenThreads::ReadWriteMutex &, x,
Properties::NON_EXPLICIT,
____ReadWriteMutex__C5_ReadWriteMutex_R1,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(OpenThreads::ScopedReadLock)
I_DeclaringFile("OpenThreads/ReadWriteMutex");
I_Constructor1(IN, OpenThreads::ReadWriteMutex &, mutex,
Properties::NON_EXPLICIT,
____ScopedReadLock__ReadWriteMutex_R1,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(OpenThreads::ScopedWriteLock)
I_DeclaringFile("OpenThreads/ReadWriteMutex");
I_Constructor1(IN, OpenThreads::ReadWriteMutex &, mutex,
Properties::NON_EXPLICIT,
____ScopedWriteLock__ReadWriteMutex_R1,
"",
"");
END_REFLECTOR

View File

@@ -1,45 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/ReentrantMutex>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(OpenThreads::ReentrantMutex)
I_DeclaringFile("OpenThreads/ReentrantMutex");
I_BaseType(OpenThreads::Mutex);
I_Constructor0(____ReentrantMutex,
"",
"");
I_Method0(int, lock,
Properties::VIRTUAL,
__int__lock,
"Lock the mutex. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
I_Method0(int, unlock,
Properties::VIRTUAL,
__int__unlock,
"Unlock the mutex. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
I_Method0(int, trylock,
Properties::VIRTUAL,
__int__trylock,
"Test if mutex can be locked. ",
"0 if normal, -1 if errno set, errno code otherwise. ");
END_REFLECTOR

View File

@@ -1,211 +0,0 @@
// ***************************************************************************
//
// 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

View File

@@ -132,6 +132,7 @@ SET(OSGWRAPPER_LIB_LIST
osgManipulator
osgAnimation
osgParticle
osgPresentation
osgShadow
osgSim
osgTerrain

View File

@@ -1,133 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AlphaFunc>
#include <osg/CopyOp>
#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_ENUM_REFLECTOR(osg::AlphaFunc::ComparisonFunction)
I_DeclaringFile("osg/AlphaFunc");
I_EnumLabel(osg::AlphaFunc::NEVER);
I_EnumLabel(osg::AlphaFunc::LESS);
I_EnumLabel(osg::AlphaFunc::EQUAL);
I_EnumLabel(osg::AlphaFunc::LEQUAL);
I_EnumLabel(osg::AlphaFunc::GREATER);
I_EnumLabel(osg::AlphaFunc::NOTEQUAL);
I_EnumLabel(osg::AlphaFunc::GEQUAL);
I_EnumLabel(osg::AlphaFunc::ALWAYS);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
I_DeclaringFile("osg/AlphaFunc");
I_BaseType(osg::StateAttribute);
I_Constructor0(____AlphaFunc,
"",
"");
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
____AlphaFunc__ComparisonFunction__float,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____AlphaFunc__C5_AlphaFunc_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_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
"");
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
Properties::NON_VIRTUAL,
__void__setFunction__ComparisonFunction__float,
"",
"");
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func,
Properties::NON_VIRTUAL,
__void__setFunction__ComparisonFunction,
"",
"");
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction,
Properties::NON_VIRTUAL,
__ComparisonFunction__getFunction,
"",
"");
I_Method1(void, setReferenceValue, IN, float, value,
Properties::NON_VIRTUAL,
__void__setReferenceValue__float,
"",
"");
I_Method0(float, getReferenceValue,
Properties::NON_VIRTUAL,
__float__getReferenceValue,
"",
"");
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(osg::AlphaFunc::ComparisonFunction, Function,
__ComparisonFunction__getFunction,
__void__setFunction__ComparisonFunction);
I_SimpleProperty(float, ReferenceValue,
__float__getReferenceValue,
__void__setReferenceValue__float);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,432 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AnimationPath>
#include <osg/CopyOp>
#include <osg/Matrixd>
#include <osg/Matrixf>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Quat>
#include <osg/Vec3d>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::AnimationPath::LoopMode)
I_DeclaringFile("osg/AnimationPath");
I_EnumLabel(osg::AnimationPath::SWING);
I_EnumLabel(osg::AnimationPath::LOOP);
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);
I_Constructor0(____AnimationPath,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::AnimationPath &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____AnimationPath__C5_AnimationPath_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixf &, matrix,
Properties::NON_VIRTUAL,
__bool__getMatrix__double__Matrixf_R1,
"Given a specific time, return the transformation matrix for a point. ",
"");
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__bool__getMatrix__double__Matrixd_R1,
"Given a specific time, return the transformation matrix for a point. ",
"");
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixf &, matrix,
Properties::NON_VIRTUAL,
__bool__getInverse__double__Matrixf_R1,
"Given a specific time, return the inverse transformation matrix for a point. ",
"");
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__bool__getInverse__double__Matrixd_R1,
"",
"");
I_Method2(bool, getInterpolatedControlPoint, IN, double, time, IN, osg::AnimationPath::ControlPoint &, controlPoint,
Properties::VIRTUAL,
__bool__getInterpolatedControlPoint__double__ControlPoint_R1,
"Given a specific time, return the local ControlPoint frame for a point. ",
"");
I_Method2(void, insert, IN, double, time, IN, const osg::AnimationPath::ControlPoint &, controlPoint,
Properties::NON_VIRTUAL,
__void__insert__double__C5_ControlPoint_R1,
"Insert a control point into the AnimationPath. ",
"");
I_Method0(double, getFirstTime,
Properties::NON_VIRTUAL,
__double__getFirstTime,
"",
"");
I_Method0(double, getLastTime,
Properties::NON_VIRTUAL,
__double__getLastTime,
"",
"");
I_Method0(double, getPeriod,
Properties::NON_VIRTUAL,
__double__getPeriod,
"",
"");
I_Method1(void, setLoopMode, IN, osg::AnimationPath::LoopMode, lm,
Properties::NON_VIRTUAL,
__void__setLoopMode__LoopMode,
"",
"");
I_Method0(osg::AnimationPath::LoopMode, getLoopMode,
Properties::NON_VIRTUAL,
__LoopMode__getLoopMode,
"",
"");
I_Method1(void, setTimeControlPointMap, IN, osg::AnimationPath::TimeControlPointMap &, tcpm,
Properties::NON_VIRTUAL,
__void__setTimeControlPointMap__TimeControlPointMap_R1,
"",
"");
I_Method0(osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap,
Properties::NON_VIRTUAL,
__TimeControlPointMap_R1__getTimeControlPointMap,
"",
"");
I_Method0(const osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap,
Properties::NON_VIRTUAL,
__C5_TimeControlPointMap_R1__getTimeControlPointMap,
"",
"");
I_Method0(bool, empty,
Properties::NON_VIRTUAL,
__bool__empty,
"",
"");
I_Method0(void, clear,
Properties::NON_VIRTUAL,
__void__clear,
"",
"");
I_Method1(void, read, IN, std::istream &, in,
Properties::NON_VIRTUAL,
__void__read__std_istream_R1,
"Read the animation path from a flat ASCII file stream. ",
"");
I_Method1(void, write, IN, std::ostream &, out,
Properties::NON_VIRTUAL,
__void__write__std_ostream_R1,
"Write the animation path to a flat ASCII file stream. ",
"");
I_Method2(void, write, IN, osg::AnimationPath::TimeControlPointMap::const_iterator, itr, IN, std::ostream &, out,
Properties::NON_VIRTUAL,
__void__write__TimeControlPointMap_C5_iterator__std_ostream_R1,
"Write the control point to a flat ASCII file stream. ",
"");
I_SimpleProperty(double, FirstTime,
__double__getFirstTime,
0);
I_SimpleProperty(double, LastTime,
__double__getLastTime,
0);
I_SimpleProperty(osg::AnimationPath::LoopMode, LoopMode,
__LoopMode__getLoopMode,
__void__setLoopMode__LoopMode);
I_SimpleProperty(double, Period,
__double__getPeriod,
0);
I_SimpleProperty(osg::AnimationPath::TimeControlPointMap &, TimeControlPointMap,
__TimeControlPointMap_R1__getTimeControlPointMap,
__void__setTimeControlPointMap__TimeControlPointMap_R1);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::AnimationPath::ControlPoint)
I_DeclaringFile("osg/AnimationPath");
I_Constructor0(____ControlPoint,
"",
"");
I_Constructor1(IN, const osg::Vec3d &, position,
Properties::NON_EXPLICIT,
____ControlPoint__C5_osg_Vec3d_R1,
"",
"");
I_Constructor2(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation,
____ControlPoint__C5_osg_Vec3d_R1__C5_osg_Quat_R1,
"",
"");
I_Constructor3(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, IN, const osg::Vec3d &, scale,
____ControlPoint__C5_osg_Vec3d_R1__C5_osg_Quat_R1__C5_osg_Vec3d_R1,
"",
"");
I_Method1(void, setPosition, IN, const osg::Vec3d &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_osg_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, getPosition,
Properties::NON_VIRTUAL,
__C5_osg_Vec3d_R1__getPosition,
"",
"");
I_Method1(void, setRotation, IN, const osg::Quat &, rotation,
Properties::NON_VIRTUAL,
__void__setRotation__C5_osg_Quat_R1,
"",
"");
I_Method0(const osg::Quat &, getRotation,
Properties::NON_VIRTUAL,
__C5_osg_Quat_R1__getRotation,
"",
"");
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
Properties::NON_VIRTUAL,
__void__setScale__C5_osg_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, getScale,
Properties::NON_VIRTUAL,
__C5_osg_Vec3d_R1__getScale,
"",
"");
I_Method3(void, interpolate, IN, float, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second,
Properties::NON_VIRTUAL,
__void__interpolate__float__C5_ControlPoint_R1__C5_ControlPoint_R1,
"",
"");
I_Method3(void, interpolate, IN, double, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second,
Properties::NON_VIRTUAL,
__void__interpolate__double__C5_ControlPoint_R1__C5_ControlPoint_R1,
"",
"");
I_Method1(void, getMatrix, IN, osg::Matrixf &, matrix,
Properties::NON_VIRTUAL,
__void__getMatrix__Matrixf_R1,
"",
"");
I_Method1(void, getMatrix, IN, osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__void__getMatrix__Matrixd_R1,
"",
"");
I_Method1(void, getInverse, IN, osg::Matrixf &, matrix,
Properties::NON_VIRTUAL,
__void__getInverse__Matrixf_R1,
"",
"");
I_Method1(void, getInverse, IN, osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__void__getInverse__Matrixd_R1,
"",
"");
I_SimpleProperty(const osg::Vec3d &, Position,
__C5_osg_Vec3d_R1__getPosition,
__void__setPosition__C5_osg_Vec3d_R1);
I_SimpleProperty(const osg::Quat &, Rotation,
__C5_osg_Quat_R1__getRotation,
__void__setRotation__C5_osg_Quat_R1);
I_SimpleProperty(const osg::Vec3d &, Scale,
__C5_osg_Vec3d_R1__getScale,
__void__setScale__C5_osg_Vec3d_R1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AnimationPathCallback)
I_DeclaringFile("osg/AnimationPath");
I_BaseType(osg::NodeCallback);
I_Constructor0(____AnimationPathCallback,
"",
"");
I_Constructor2(IN, const osg::AnimationPathCallback &, apc, IN, const osg::CopyOp &, copyop,
____AnimationPathCallback__C5_AnimationPathCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_ConstructorWithDefaults3(IN, osg::AnimationPath *, ap, , IN, double, timeOffset, 0.0, IN, double, timeMultiplier, 1.0,
____AnimationPathCallback__AnimationPath_P1__double__double,
"Construct an AnimationPathCallback with a specified animation path. ",
"");
I_Constructor3(IN, const osg::Vec3d &, pivot, IN, const osg::Vec3d &, axis, IN, float, angularVelocity,
____AnimationPathCallback__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__float,
"Construct an AnimationPathCallback and automatical create an animation path to produce a rotation about a point. ",
"");
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, path,
Properties::NON_VIRTUAL,
__void__setAnimationPath__AnimationPath_P1,
"",
"");
I_Method0(osg::AnimationPath *, getAnimationPath,
Properties::NON_VIRTUAL,
__AnimationPath_P1__getAnimationPath,
"",
"");
I_Method0(const osg::AnimationPath *, getAnimationPath,
Properties::NON_VIRTUAL,
__C5_AnimationPath_P1__getAnimationPath,
"",
"");
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
Properties::NON_VIRTUAL,
__void__setPivotPoint__C5_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, getPivotPoint,
Properties::NON_VIRTUAL,
__C5_Vec3d_R1__getPivotPoint,
"",
"");
I_Method1(void, setUseInverseMatrix, IN, bool, useInverseMatrix,
Properties::NON_VIRTUAL,
__void__setUseInverseMatrix__bool,
"",
"");
I_Method0(bool, getUseInverseMatrix,
Properties::NON_VIRTUAL,
__bool__getUseInverseMatrix,
"",
"");
I_Method1(void, setTimeOffset, IN, double, offset,
Properties::NON_VIRTUAL,
__void__setTimeOffset__double,
"",
"");
I_Method0(double, getTimeOffset,
Properties::NON_VIRTUAL,
__double__getTimeOffset,
"",
"");
I_Method1(void, setTimeMultiplier, IN, double, multiplier,
Properties::NON_VIRTUAL,
__void__setTimeMultiplier__double,
"",
"");
I_Method0(double, getTimeMultiplier,
Properties::NON_VIRTUAL,
__double__getTimeMultiplier,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setPause, IN, bool, pause,
Properties::NON_VIRTUAL,
__void__setPause__bool,
"",
"");
I_Method0(bool, getPause,
Properties::NON_VIRTUAL,
__bool__getPause,
"",
"");
I_Method0(double, getAnimationTime,
Properties::VIRTUAL,
__double__getAnimationTime,
"Get the animation time that is used to specify the position along the AnimationPath. ",
"Animation time is computed from the formula: ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier. ");
I_Method1(void, update, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
__void__update__osg_Node_R1,
"",
"");
I_SimpleProperty(osg::AnimationPath *, AnimationPath,
__AnimationPath_P1__getAnimationPath,
__void__setAnimationPath__AnimationPath_P1);
I_SimpleProperty(double, AnimationTime,
__double__getAnimationTime,
0);
I_SimpleProperty(bool, Pause,
__bool__getPause,
__void__setPause__bool);
I_SimpleProperty(const osg::Vec3d &, PivotPoint,
__C5_Vec3d_R1__getPivotPoint,
__void__setPivotPoint__C5_Vec3d_R1);
I_SimpleProperty(double, TimeMultiplier,
__double__getTimeMultiplier,
__void__setTimeMultiplier__double);
I_SimpleProperty(double, TimeOffset,
__double__getTimeOffset,
__void__setTimeOffset__double);
I_SimpleProperty(bool, UseInverseMatrix,
__bool__getUseInverseMatrix,
__void__setUseInverseMatrix__bool);
I_PublicMemberProperty(osg::ref_ptr< osg::AnimationPath >, _animationPath);
I_PublicMemberProperty(osg::Vec3d, _pivotPoint);
I_PublicMemberProperty(bool, _useInverseMatrix);
I_PublicMemberProperty(double, _timeOffset);
I_PublicMemberProperty(double, _timeMultiplier);
I_PublicMemberProperty(double, _firstTime);
I_PublicMemberProperty(double, _latestTime);
I_PublicMemberProperty(bool, _pause);
I_PublicMemberProperty(double, _pauseTime);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< double COMMA osg::AnimationPath::ControlPoint >)

View File

@@ -1,204 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
I_DeclaringFile("osg/ApplicationUsage");
I_EnumLabel(osg::ApplicationUsage::NO_HELP);
I_EnumLabel(osg::ApplicationUsage::COMMAND_LINE_OPTION);
I_EnumLabel(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE);
I_EnumLabel(osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING);
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,
"",
"");
I_Constructor1(IN, const std::string &, commandLineUsage,
Properties::NON_EXPLICIT,
____ApplicationUsage__C5_std_string_R1,
"",
"");
I_Method1(void, setApplicationName, IN, const std::string &, name,
Properties::NON_VIRTUAL,
__void__setApplicationName__C5_std_string_R1,
"The ApplicationName is often displayed when logging errors, and frequently incorporated into the Description (below). ",
"");
I_Method0(const std::string &, getApplicationName,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getApplicationName,
"",
"");
I_Method1(void, setDescription, IN, const std::string &, desc,
Properties::NON_VIRTUAL,
__void__setDescription__C5_std_string_R1,
"If non-empty, the Description is typically shown by the Help Handler as text on the Help display (which also lists keyboard abbreviations. ",
"");
I_Method0(const std::string &, getDescription,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDescription,
"",
"");
I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
Properties::NON_VIRTUAL,
__void__addUsageExplanation__Type__C5_std_string_R1__C5_std_string_R1,
"",
"");
I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation,
Properties::NON_VIRTUAL,
__void__setCommandLineUsage__C5_std_string_R1,
"",
"");
I_Method0(const std::string &, getCommandLineUsage,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getCommandLineUsage,
"",
"");
I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
Properties::NON_VIRTUAL,
__void__addCommandLineOption__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
"",
"");
I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
Properties::NON_VIRTUAL,
__void__setCommandLineOptions__C5_UsageMap_R1,
"",
"");
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions,
Properties::NON_VIRTUAL,
__C5_UsageMap_R1__getCommandLineOptions,
"",
"");
I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
Properties::NON_VIRTUAL,
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1,
"",
"");
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults,
Properties::NON_VIRTUAL,
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
"",
"");
I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
Properties::NON_VIRTUAL,
__void__addEnvironmentalVariable__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
"",
"");
I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
Properties::NON_VIRTUAL,
__void__setEnvironmentalVariables__C5_UsageMap_R1,
"",
"");
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables,
Properties::NON_VIRTUAL,
__C5_UsageMap_R1__getEnvironmentalVariables,
"",
"");
I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
Properties::NON_VIRTUAL,
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1,
"",
"");
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults,
Properties::NON_VIRTUAL,
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
"",
"");
I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation,
Properties::NON_VIRTUAL,
__void__addKeyboardMouseBinding__C5_std_string_R1__C5_std_string_R1,
"",
"");
I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
Properties::NON_VIRTUAL,
__void__setKeyboardMouseBindings__C5_UsageMap_R1,
"",
"");
I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings,
Properties::NON_VIRTUAL,
__C5_UsageMap_R1__getKeyboardMouseBindings,
"",
"");
I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
Properties::NON_VIRTUAL,
__void__getFormattedString__std_string_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
"",
"");
I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
Properties::NON_VIRTUAL,
__void__write__std_ostream_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
"",
"");
I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false,
Properties::NON_VIRTUAL,
__void__write__std_ostream_R1__unsigned_int__unsigned_int__bool,
"",
"");
I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output,
Properties::NON_VIRTUAL,
__void__writeEnvironmentSettings__std_ostream_R1,
"",
"");
I_SimpleProperty(const std::string &, ApplicationName,
__C5_std_string_R1__getApplicationName,
__void__setApplicationName__C5_std_string_R1);
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptions,
__C5_UsageMap_R1__getCommandLineOptions,
__void__setCommandLineOptions__C5_UsageMap_R1);
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptionsDefaults,
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1);
I_SimpleProperty(const std::string &, CommandLineUsage,
__C5_std_string_R1__getCommandLineUsage,
__void__setCommandLineUsage__C5_std_string_R1);
I_SimpleProperty(const std::string &, Description,
__C5_std_string_R1__getDescription,
__void__setDescription__C5_std_string_R1);
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariables,
__C5_UsageMap_R1__getEnvironmentalVariables,
__void__setEnvironmentalVariables__C5_UsageMap_R1);
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariablesDefaults,
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1);
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, KeyboardMouseBindings,
__C5_UsageMap_R1__getKeyboardMouseBindings,
__void__setKeyboardMouseBindings__C5_UsageMap_R1);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ApplicationUsageProxy)
I_DeclaringFile("osg/ApplicationUsage");
I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1,
"register an explanation of commandline/environmentvariable/keyboard mouse usage. ",
"");
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< std::string COMMA std::string >)

View File

@@ -1,315 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/ArgumentParser>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
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,
"",
"");
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage,
Properties::NON_VIRTUAL,
__void__setApplicationUsage__ApplicationUsage_P1,
"",
"");
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
Properties::NON_VIRTUAL,
__ApplicationUsage_P1__getApplicationUsage,
"",
"");
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
Properties::NON_VIRTUAL,
__C5_ApplicationUsage_P1__getApplicationUsage,
"",
"");
I_Method0(int &, argc,
Properties::NON_VIRTUAL,
__int_R1__argc,
"Return the argument count. ",
"");
I_Method0(char **, argv,
Properties::NON_VIRTUAL,
__char_P1P1__argv,
"Return the argument array. ",
"");
I_Method0(std::string, getApplicationName,
Properties::NON_VIRTUAL,
__std_string__getApplicationName,
"Return the application name, as specified by argv[0]. ",
"");
I_Method1(int, find, IN, const std::string &, str,
Properties::NON_VIRTUAL,
__int__find__C5_std_string_R1,
"Return the position of an occurrence of a string in the argument list. ",
"Return -1 if no string is found. ");
I_Method1(bool, isOption, IN, int, pos,
Properties::NON_VIRTUAL,
__bool__isOption__int,
"Return true if the specified parameter is an option in the form of -option or --option. ",
"");
I_Method1(bool, isString, IN, int, pos,
Properties::NON_VIRTUAL,
__bool__isString__int,
"Return true if the specified parameter is a string not in the form of an option. ",
"");
I_Method1(bool, isNumber, IN, int, pos,
Properties::NON_VIRTUAL,
__bool__isNumber__int,
"Return true if the specified parameter is a number. ",
"");
I_Method0(bool, containsOptions,
Properties::NON_VIRTUAL,
__bool__containsOptions,
"",
"");
I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1,
Properties::NON_VIRTUAL,
__void__remove__int__int,
"Remove one or more arguments from the argv argument list, and decrement the argc respectively. ",
"");
I_Method2(bool, match, IN, int, pos, IN, const std::string &, str,
Properties::NON_VIRTUAL,
__bool__match__int__C5_std_string_R1,
"Return true if the specified argument matches the given string. ",
"");
I_Method1(bool, read, IN, const std::string &, str,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1,
"Search for an occurrence of a string in the argument list. ",
"If found, remove that occurrence and return true. Otherwise, return false. ");
I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter,
"",
"");
I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter,
"",
"");
I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter,
"",
"");
I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
Properties::NON_VIRTUAL,
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method2(bool, read, IN, int, pos, IN, const std::string &, str,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1,
"If the argument value at the specified position matches the given string, and subsequent parameters are also matched, then set the parameter values, remove the arguments from the list, and return true. ",
"Otherwise, return false. ");
I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter,
"",
"");
I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter,
"",
"");
I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter,
"",
"");
I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
Properties::NON_VIRTUAL,
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
"",
"");
I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
Properties::NON_VIRTUAL,
__bool__errors__ErrorSeverity,
"Return the error flag, true if an error has occurred when reading arguments. ",
"");
I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL,
Properties::NON_VIRTUAL,
__void__reportError__C5_std_string_R1__ErrorSeverity,
"Report an error message by adding to the ErrorMessageMap. ",
"");
I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
Properties::NON_VIRTUAL,
__void__reportRemainingOptionsAsUnrecognized__ErrorSeverity,
"For each remaining option, report it as unrecognized. ",
"");
I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
Properties::NON_VIRTUAL,
__ErrorMessageMap_R1__getErrorMessageMap,
"Return the error message, if any has occurred. ",
"");
I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
Properties::NON_VIRTUAL,
__C5_ErrorMessageMap_R1__getErrorMessageMap,
"Return the error message, if any has occurred. ",
"");
I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN,
Properties::NON_VIRTUAL,
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
"Write error messages to the given ostream, if at or above the given severity. ",
"");
I_Method0(osg::ApplicationUsage::Type, readHelpType,
Properties::NON_VIRTUAL,
__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_SimpleProperty(std::string, ApplicationName,
__std_string__getApplicationName,
0);
I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage,
__ApplicationUsage_P1__getApplicationUsage,
__void__setApplicationUsage__ApplicationUsage_P1);
I_SimpleProperty(osg::ArgumentParser::ErrorMessageMap &, ErrorMessageMap,
__ErrorMessageMap_R1__getErrorMessageMap,
0);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::Parameter::ParameterType)
I_DeclaringFile("osg/ArgumentParser");
I_EnumLabel(osg::ArgumentParser::Parameter::BOOL_PARAMETER);
I_EnumLabel(osg::ArgumentParser::Parameter::FLOAT_PARAMETER);
I_EnumLabel(osg::ArgumentParser::Parameter::DOUBLE_PARAMETER);
I_EnumLabel(osg::ArgumentParser::Parameter::INT_PARAMETER);
I_EnumLabel(osg::ArgumentParser::Parameter::UNSIGNED_INT_PARAMETER);
I_EnumLabel(osg::ArgumentParser::Parameter::STRING_PARAMETER);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ArgumentParser::Parameter)
I_DeclaringFile("osg/ArgumentParser");
I_Constructor1(IN, bool &, value,
Properties::NON_EXPLICIT,
____Parameter__bool_R1,
"",
"");
I_Constructor1(IN, float &, value,
Properties::NON_EXPLICIT,
____Parameter__float_R1,
"",
"");
I_Constructor1(IN, double &, value,
Properties::NON_EXPLICIT,
____Parameter__double_R1,
"",
"");
I_Constructor1(IN, int &, value,
Properties::NON_EXPLICIT,
____Parameter__int_R1,
"",
"");
I_Constructor1(IN, unsigned int &, value,
Properties::NON_EXPLICIT,
____Parameter__unsigned_int_R1,
"",
"");
I_Constructor1(IN, std::string &, value,
Properties::NON_EXPLICIT,
____Parameter__std_string_R1,
"",
"");
I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param,
Properties::NON_EXPLICIT,
____Parameter__C5_Parameter_R1,
"",
"");
I_Method1(bool, valid, IN, const char *, str,
Properties::NON_VIRTUAL,
__bool__valid__C5_char_P1,
"",
"");
I_Method1(bool, assign, IN, const char *, str,
Properties::NON_VIRTUAL,
__bool__assign__C5_char_P1,
"",
"");
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >)

View File

@@ -1,708 +0,0 @@
// ***************************************************************************
//
// 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/BufferObject>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Vec2>
#include <osg/Vec2b>
#include <osg/Vec2d>
#include <osg/Vec2s>
#include <osg/Vec3>
#include <osg/Vec3b>
#include <osg/Vec3d>
#include <osg/Vec3s>
#include <osg/Vec4>
#include <osg/Vec4b>
#include <osg/Vec4d>
#include <osg/Vec4s>
#include <osg/Vec4ub>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Array::Type)
I_DeclaringFile("osg/Array");
I_EnumLabel(osg::Array::ArrayType);
I_EnumLabel(osg::Array::ByteArrayType);
I_EnumLabel(osg::Array::ShortArrayType);
I_EnumLabel(osg::Array::IntArrayType);
I_EnumLabel(osg::Array::UByteArrayType);
I_EnumLabel(osg::Array::UShortArrayType);
I_EnumLabel(osg::Array::UIntArrayType);
I_EnumLabel(osg::Array::Vec4ubArrayType);
I_EnumLabel(osg::Array::FloatArrayType);
I_EnumLabel(osg::Array::Vec2ArrayType);
I_EnumLabel(osg::Array::Vec3ArrayType);
I_EnumLabel(osg::Array::Vec4ArrayType);
I_EnumLabel(osg::Array::Vec2sArrayType);
I_EnumLabel(osg::Array::Vec3sArrayType);
I_EnumLabel(osg::Array::Vec4sArrayType);
I_EnumLabel(osg::Array::Vec2bArrayType);
I_EnumLabel(osg::Array::Vec3bArrayType);
I_EnumLabel(osg::Array::Vec4bArrayType);
I_EnumLabel(osg::Array::DoubleArrayType);
I_EnumLabel(osg::Array::Vec2dArrayType);
I_EnumLabel(osg::Array::Vec3dArrayType);
I_EnumLabel(osg::Array::Vec4dArrayType);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Array)
I_DeclaringFile("osg/Array");
I_BaseType(osg::BufferData);
I_ConstructorWithDefaults3(IN, osg::Array::Type, arrayType, osg::Array::ArrayType, IN, GLint, dataSize, 0, IN, GLenum, dataType, 0,
____Array__Type__GLint__GLenum,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Array &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Array__C5_Array_R1__C5_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, accept, IN, osg::ArrayVisitor &, x,
Properties::PURE_VIRTUAL,
__void__accept__ArrayVisitor_R1,
"",
"");
I_Method1(void, accept, IN, osg::ConstArrayVisitor &, x,
Properties::PURE_VIRTUAL,
__void__accept__ConstArrayVisitor_R1,
"",
"");
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, x,
Properties::PURE_VIRTUAL,
__void__accept__unsigned_int__ValueVisitor_R1,
"",
"");
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, x,
Properties::PURE_VIRTUAL,
__void__accept__unsigned_int__ConstValueVisitor_R1,
"",
"");
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs,
Properties::PURE_VIRTUAL,
__int__compare__unsigned_int__unsigned_int,
"Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ",
"");
I_Method0(osg::Array::Type, getType,
Properties::NON_VIRTUAL,
__Type__getType,
"",
"");
I_Method0(GLint, getDataSize,
Properties::NON_VIRTUAL,
__GLint__getDataSize,
"",
"");
I_Method0(GLenum, getDataType,
Properties::NON_VIRTUAL,
__GLenum__getDataType,
"",
"");
I_Method0(const GLvoid *, getDataPointer,
Properties::PURE_VIRTUAL,
__C5_GLvoid_P1__getDataPointer,
"",
"");
I_Method0(unsigned int, getTotalDataSize,
Properties::PURE_VIRTUAL,
__unsigned_int__getTotalDataSize,
"",
"");
I_Method0(unsigned int, getNumElements,
Properties::PURE_VIRTUAL,
__unsigned_int__getNumElements,
"",
"");
I_Method0(void, trim,
Properties::VIRTUAL,
__void__trim,
"Frees unused space on this vector - i.e. ",
"the difference between size() and max_size() of the underlying vector. ");
I_Method1(void, setVertexBufferObject, IN, osg::VertexBufferObject *, vbo,
Properties::NON_VIRTUAL,
__void__setVertexBufferObject__osg_VertexBufferObject_P1,
"Set the VertexBufferObject. ",
"");
I_Method0(osg::VertexBufferObject *, getVertexBufferObject,
Properties::NON_VIRTUAL,
__osg_VertexBufferObject_P1__getVertexBufferObject,
"Get the VertexBufferObject. ",
"If no VBO is assigned returns NULL ");
I_Method0(const osg::VertexBufferObject *, getVertexBufferObject,
Properties::NON_VIRTUAL,
__C5_osg_VertexBufferObject_P1__getVertexBufferObject,
"Get the const VertexBufferObject. ",
"If no VBO is assigned returns NULL ");
I_SimpleProperty(const GLvoid *, DataPointer,
__C5_GLvoid_P1__getDataPointer,
0);
I_SimpleProperty(GLint, DataSize,
__GLint__getDataSize,
0);
I_SimpleProperty(GLenum, DataType,
__GLenum__getDataType,
0);
I_SimpleProperty(unsigned int, TotalDataSize,
__unsigned_int__getTotalDataSize,
0);
I_SimpleProperty(osg::Array::Type, Type,
__Type__getType,
0);
I_SimpleProperty(osg::VertexBufferObject *, VertexBufferObject,
__osg_VertexBufferObject_P1__getVertexBufferObject,
__void__setVertexBufferObject__osg_VertexBufferObject_P1);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ArrayVisitor)
I_DeclaringFile("osg/Array");
I_Constructor0(____ArrayVisitor,
"",
"");
I_Method1(void, apply, IN, osg::Array &, x,
Properties::VIRTUAL,
__void__apply__Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::ByteArray &, x,
Properties::VIRTUAL,
__void__apply__ByteArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::ShortArray &, x,
Properties::VIRTUAL,
__void__apply__ShortArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::IntArray &, x,
Properties::VIRTUAL,
__void__apply__IntArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::UByteArray &, x,
Properties::VIRTUAL,
__void__apply__UByteArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::UShortArray &, x,
Properties::VIRTUAL,
__void__apply__UShortArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::UIntArray &, x,
Properties::VIRTUAL,
__void__apply__UIntArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::FloatArray &, x,
Properties::VIRTUAL,
__void__apply__FloatArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::DoubleArray &, x,
Properties::VIRTUAL,
__void__apply__DoubleArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2Array &, x,
Properties::VIRTUAL,
__void__apply__Vec2Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3Array &, x,
Properties::VIRTUAL,
__void__apply__Vec3Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4Array &, x,
Properties::VIRTUAL,
__void__apply__Vec4Array_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4ubArray &, x,
Properties::VIRTUAL,
__void__apply__Vec4ubArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2bArray &, x,
Properties::VIRTUAL,
__void__apply__Vec2bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3bArray &, x,
Properties::VIRTUAL,
__void__apply__Vec3bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4bArray &, x,
Properties::VIRTUAL,
__void__apply__Vec4bArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2sArray &, x,
Properties::VIRTUAL,
__void__apply__Vec2sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3sArray &, x,
Properties::VIRTUAL,
__void__apply__Vec3sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4sArray &, x,
Properties::VIRTUAL,
__void__apply__Vec4sArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2dArray &, x,
Properties::VIRTUAL,
__void__apply__Vec2dArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3dArray &, x,
Properties::VIRTUAL,
__void__apply__Vec3dArray_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4dArray &, x,
Properties::VIRTUAL,
__void__apply__Vec4dArray_R1,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ConstArrayVisitor)
I_DeclaringFile("osg/Array");
I_Constructor0(____ConstArrayVisitor,
"",
"");
I_Method1(void, apply, IN, const osg::Array &, x,
Properties::VIRTUAL,
__void__apply__C5_Array_R1,
"",
"");
I_Method1(void, apply, IN, const osg::ByteArray &, x,
Properties::VIRTUAL,
__void__apply__C5_ByteArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::ShortArray &, x,
Properties::VIRTUAL,
__void__apply__C5_ShortArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::IntArray &, x,
Properties::VIRTUAL,
__void__apply__C5_IntArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::UByteArray &, x,
Properties::VIRTUAL,
__void__apply__C5_UByteArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::UShortArray &, x,
Properties::VIRTUAL,
__void__apply__C5_UShortArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::UIntArray &, x,
Properties::VIRTUAL,
__void__apply__C5_UIntArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::FloatArray &, x,
Properties::VIRTUAL,
__void__apply__C5_FloatArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::DoubleArray &, x,
Properties::VIRTUAL,
__void__apply__C5_DoubleArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2Array &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2Array_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3Array &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3Array_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4Array &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4Array_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4ubArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4ubArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2bArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2bArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3bArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3bArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4bArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4bArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2sArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2sArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3sArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3sArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4sArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4sArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2dArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2dArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3dArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3dArray_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4dArray &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4dArray_R1,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ConstValueVisitor)
I_DeclaringFile("osg/Array");
I_Constructor0(____ConstValueVisitor,
"",
"");
I_Method1(void, apply, IN, const GLbyte &, x,
Properties::VIRTUAL,
__void__apply__C5_GLbyte_R1,
"",
"");
I_Method1(void, apply, IN, const GLshort &, x,
Properties::VIRTUAL,
__void__apply__C5_GLshort_R1,
"",
"");
I_Method1(void, apply, IN, const GLint &, x,
Properties::VIRTUAL,
__void__apply__C5_GLint_R1,
"",
"");
I_Method1(void, apply, IN, const GLushort &, x,
Properties::VIRTUAL,
__void__apply__C5_GLushort_R1,
"",
"");
I_Method1(void, apply, IN, const GLubyte &, x,
Properties::VIRTUAL,
__void__apply__C5_GLubyte_R1,
"",
"");
I_Method1(void, apply, IN, const GLuint &, x,
Properties::VIRTUAL,
__void__apply__C5_GLuint_R1,
"",
"");
I_Method1(void, apply, IN, const GLfloat &, x,
Properties::VIRTUAL,
__void__apply__C5_GLfloat_R1,
"",
"");
I_Method1(void, apply, IN, const GLdouble &, x,
Properties::VIRTUAL,
__void__apply__C5_GLdouble_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4ub &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4ub_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2 &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3 &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4 &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2b &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2b_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3b &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3b_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4b &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4b_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2s &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2s_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3s &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3s_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4s &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4s_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec2d &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec2d_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec3d &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec3d_R1,
"",
"");
I_Method1(void, apply, IN, const osg::Vec4d &, x,
Properties::VIRTUAL,
__void__apply__C5_Vec4d_R1,
"",
"");
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::IndexArray)
I_DeclaringFile("osg/Array");
I_BaseType(osg::Array);
I_ConstructorWithDefaults3(IN, osg::Array::Type, arrayType, osg::Array::ArrayType, IN, GLint, dataSize, 0, IN, GLenum, dataType, 0,
____IndexArray__Type__GLint__GLenum,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Array &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____IndexArray__C5_Array_R1__C5_CopyOp_R1,
"",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method1(unsigned int, index, IN, unsigned int, pos,
Properties::PURE_VIRTUAL,
__unsigned_int__index__unsigned_int,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ValueVisitor)
I_DeclaringFile("osg/Array");
I_Constructor0(____ValueVisitor,
"",
"");
I_Method1(void, apply, IN, GLbyte &, x,
Properties::VIRTUAL,
__void__apply__GLbyte_R1,
"",
"");
I_Method1(void, apply, IN, GLshort &, x,
Properties::VIRTUAL,
__void__apply__GLshort_R1,
"",
"");
I_Method1(void, apply, IN, GLint &, x,
Properties::VIRTUAL,
__void__apply__GLint_R1,
"",
"");
I_Method1(void, apply, IN, GLushort &, x,
Properties::VIRTUAL,
__void__apply__GLushort_R1,
"",
"");
I_Method1(void, apply, IN, GLubyte &, x,
Properties::VIRTUAL,
__void__apply__GLubyte_R1,
"",
"");
I_Method1(void, apply, IN, GLuint &, x,
Properties::VIRTUAL,
__void__apply__GLuint_R1,
"",
"");
I_Method1(void, apply, IN, GLfloat &, x,
Properties::VIRTUAL,
__void__apply__GLfloat_R1,
"",
"");
I_Method1(void, apply, IN, GLdouble &, x,
Properties::VIRTUAL,
__void__apply__GLdouble_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2 &, x,
Properties::VIRTUAL,
__void__apply__Vec2_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3 &, x,
Properties::VIRTUAL,
__void__apply__Vec3_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4 &, x,
Properties::VIRTUAL,
__void__apply__Vec4_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4ub &, x,
Properties::VIRTUAL,
__void__apply__Vec4ub_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2b &, x,
Properties::VIRTUAL,
__void__apply__Vec2b_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3b &, x,
Properties::VIRTUAL,
__void__apply__Vec3b_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4b &, x,
Properties::VIRTUAL,
__void__apply__Vec4b_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2s &, x,
Properties::VIRTUAL,
__void__apply__Vec2s_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3s &, x,
Properties::VIRTUAL,
__void__apply__Vec3s_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4s &, x,
Properties::VIRTUAL,
__void__apply__Vec4s_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec2d &, x,
Properties::VIRTUAL,
__void__apply__Vec2d_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec3d &, x,
Properties::VIRTUAL,
__void__apply__Vec3d_R1,
"",
"");
I_Method1(void, apply, IN, osg::Vec4d &, x,
Properties::VIRTUAL,
__void__apply__Vec4d_R1,
"",
"");
END_REFLECTOR
TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLbyte COMMA osg::Array::ByteArrayType COMMA 1 COMMA GL_BYTE >, osg::ByteArray)
TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLshort COMMA osg::Array::ShortArrayType COMMA 1 COMMA GL_SHORT >, osg::ShortArray)
TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLint COMMA osg::Array::IntArrayType COMMA 1 COMMA GL_INT >, osg::IntArray)
TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLubyte COMMA osg::Array::UByteArrayType COMMA 1 COMMA GL_UNSIGNED_BYTE >, osg::UByteArray)
TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLushort COMMA osg::Array::UShortArrayType COMMA 1 COMMA GL_UNSIGNED_SHORT >, osg::UShortArray)
TYPE_NAME_ALIAS(osg::TemplateIndexArray< GLuint COMMA osg::Array::UIntArrayType COMMA 1 COMMA GL_UNSIGNED_INT >, osg::UIntArray)
TYPE_NAME_ALIAS(osg::TemplateArray< GLfloat COMMA osg::Array::FloatArrayType COMMA 1 COMMA GL_FLOAT >, osg::FloatArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2 COMMA osg::Array::Vec2ArrayType COMMA 2 COMMA GL_FLOAT >, osg::Vec2Array)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3 COMMA osg::Array::Vec3ArrayType COMMA 3 COMMA GL_FLOAT >, osg::Vec3Array)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4 COMMA osg::Array::Vec4ArrayType COMMA 4 COMMA GL_FLOAT >, osg::Vec4Array)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4ub COMMA osg::Array::Vec4ubArrayType COMMA 4 COMMA GL_UNSIGNED_BYTE >, osg::Vec4ubArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2s COMMA osg::Array::Vec2sArrayType COMMA 2 COMMA GL_SHORT >, osg::Vec2sArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3s COMMA osg::Array::Vec3sArrayType COMMA 3 COMMA GL_SHORT >, osg::Vec3sArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4s COMMA osg::Array::Vec4sArrayType COMMA 4 COMMA GL_SHORT >, osg::Vec4sArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2b COMMA osg::Array::Vec2bArrayType COMMA 2 COMMA GL_BYTE >, osg::Vec2bArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3b COMMA osg::Array::Vec3bArrayType COMMA 3 COMMA GL_BYTE >, osg::Vec3bArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4b COMMA osg::Array::Vec4bArrayType COMMA 4 COMMA GL_BYTE >, osg::Vec4bArray)
TYPE_NAME_ALIAS(osg::TemplateArray< GLdouble COMMA osg::Array::DoubleArrayType COMMA 1 COMMA GL_DOUBLE >, osg::DoubleArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec2d COMMA osg::Array::Vec2dArrayType COMMA 2 COMMA GL_DOUBLE >, osg::Vec2dArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3d COMMA osg::Array::Vec3dArrayType COMMA 3 COMMA GL_DOUBLE >, osg::Vec3dArray)
TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4d COMMA osg::Array::Vec4dArrayType COMMA 4 COMMA GL_DOUBLE >, osg::Vec4dArray)

View File

@@ -1,197 +0,0 @@
// ***************************************************************************
//
// 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/ArrayDispatchers>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ArrayDispatchers)
I_DeclaringFile("osg/ArrayDispatchers");
I_BaseType(osg::Referenced);
I_Constructor0(____ArrayDispatchers,
"",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__osg_State_P1,
"",
"");
I_Method2(osg::AttributeDispatch *, vertexDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__vertexDispatcher__Array_P1__IndexArray_P1,
"",
"");
I_Method2(osg::AttributeDispatch *, normalDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__normalDispatcher__Array_P1__IndexArray_P1,
"",
"");
I_Method2(osg::AttributeDispatch *, colorDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__colorDispatcher__Array_P1__IndexArray_P1,
"",
"");
I_Method2(osg::AttributeDispatch *, secondaryColorDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__secondaryColorDispatcher__Array_P1__IndexArray_P1,
"",
"");
I_Method2(osg::AttributeDispatch *, fogCoordDispatcher, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__fogCoordDispatcher__Array_P1__IndexArray_P1,
"",
"");
I_Method3(osg::AttributeDispatch *, texCoordDispatcher, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__texCoordDispatcher__unsigned_int__Array_P1__IndexArray_P1,
"",
"");
I_Method3(osg::AttributeDispatch *, vertexAttribDispatcher, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__AttributeDispatch_P1__vertexAttribDispatcher__unsigned_int__Array_P1__IndexArray_P1,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method1(void, setUseGLBeginEndAdapter, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setUseGLBeginEndAdapter__bool,
"",
"");
I_Method0(bool, getUseGLBeginEndAdapter,
Properties::NON_VIRTUAL,
__bool__getUseGLBeginEndAdapter,
"",
"");
I_Method1(void, setUseVertexAttribAlias, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setUseVertexAttribAlias__bool,
"",
"");
I_Method0(bool, getUseVertexAttribAlias,
Properties::NON_VIRTUAL,
__bool__getUseVertexAttribAlias,
"",
"");
I_Method2(void, activate, IN, unsigned int, binding, IN, osg::AttributeDispatch *, at,
Properties::NON_VIRTUAL,
__void__activate__unsigned_int__AttributeDispatch_P1,
"",
"");
I_Method3(void, activateVertexArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateVertexArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method3(void, activateColorArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateColorArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method3(void, activateNormalArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateNormalArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method3(void, activateSecondaryColorArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateSecondaryColorArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method3(void, activateFogCoordArray, IN, unsigned int, binding, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateFogCoordArray__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method4(void, activateTexCoordArray, IN, unsigned int, binding, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateTexCoordArray__unsigned_int__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method4(void, activateVertexAttribArray, IN, unsigned int, binding, IN, unsigned int, unit, IN, osg::Array *, array, IN, osg::IndexArray *, indices,
Properties::NON_VIRTUAL,
__void__activateVertexAttribArray__unsigned_int__unsigned_int__osg_Array_P1__osg_IndexArray_P1,
"",
"");
I_Method2(void, dispatch, IN, unsigned int, binding, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__void__dispatch__unsigned_int__unsigned_int,
"",
"");
I_Method1(bool, active, IN, unsigned int, binding,
Properties::NON_VIRTUAL,
__bool__active__unsigned_int,
"",
"");
I_Method1(void, Begin, IN, GLenum, mode,
Properties::NON_VIRTUAL,
__void__Begin__GLenum,
"",
"");
I_Method0(void, End,
Properties::NON_VIRTUAL,
__void__End,
"",
"");
I_ProtectedMethod0(void, init,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__init,
"",
"");
I_ProtectedMethod1(void, assignTexCoordDispatchers, IN, unsigned int, unit,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__assignTexCoordDispatchers__unsigned_int,
"",
"");
I_ProtectedMethod1(void, assignVertexAttribDispatchers, IN, unsigned int, unit,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__assignVertexAttribDispatchers__unsigned_int,
"",
"");
I_SimpleProperty(osg::State *, State,
0,
__void__setState__osg_State_P1);
I_SimpleProperty(bool, UseGLBeginEndAdapter,
__bool__getUseGLBeginEndAdapter,
__void__setUseGLBeginEndAdapter__bool);
I_SimpleProperty(bool, UseVertexAttribAlias,
__bool__getUseVertexAttribAlias,
__void__setUseVertexAttribAlias__bool);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AttributeDispatch)
I_DeclaringFile("osg/ArrayDispatchers");
I_BaseType(osg::Referenced);
I_Constructor0(____AttributeDispatch,
"",
"");
I_Method2(void, assign, IN, const GLvoid *, x, IN, const osg::IndexArray *, x,
Properties::VIRTUAL,
__void__assign__C5_GLvoid_P1__C5_IndexArray_P1,
"",
"");
END_REFLECTOR

View File

@@ -1,152 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AudioStream>
#include <osg/CopyOp>
#include <osg/Object>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::AudioSink)
I_DeclaringFile("osg/AudioStream");
I_BaseType(osg::Object);
I_Constructor0(____AudioSink,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(void, play,
Properties::PURE_VIRTUAL,
__void__play,
"",
"");
I_Method0(void, pause,
Properties::PURE_VIRTUAL,
__void__pause,
"",
"");
I_Method0(void, stop,
Properties::PURE_VIRTUAL,
__void__stop,
"",
"");
I_Method0(bool, playing,
Properties::PURE_VIRTUAL,
__bool__playing,
"",
"");
I_Method0(double, getDelay,
Properties::VIRTUAL,
__double__getDelay,
"",
"");
I_Method1(void, setDelay, IN, const double, delay,
Properties::VIRTUAL,
__void__setDelay__C5_double,
"",
"");
I_Method1(void, setVolume, IN, float, x,
Properties::VIRTUAL,
__void__setVolume__float,
"",
"");
I_Method0(float, getVolume,
Properties::VIRTUAL,
__float__getVolume,
"",
"");
I_SimpleProperty(double, Delay,
__double__getDelay,
0);
I_SimpleProperty(float, Volume,
__float__getVolume,
__void__setVolume__float);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::AudioStream::SampleFormat)
I_DeclaringFile("osg/AudioStream");
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_U8);
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S16);
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S24);
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_S32);
I_EnumLabel(osg::AudioStream::SAMPLE_FORMAT_F32);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::AudioStream)
I_DeclaringFile("osg/AudioStream");
I_BaseType(osg::Object);
I_Constructor0(____AudioStream,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::AudioStream &, audio, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____AudioStream__C5_AudioStream_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, setAudioSink, IN, osg::AudioSink *, audio_sink,
Properties::PURE_VIRTUAL,
__void__setAudioSink__osg_AudioSink_P1,
"",
"");
I_Method2(void, consumeAudioBuffer, IN, void *const, buffer, IN, const size_t, size,
Properties::PURE_VIRTUAL,
__void__consumeAudioBuffer__void_P1C5__C5_size_t,
"",
"");
I_Method0(int, audioFrequency,
Properties::PURE_VIRTUAL,
__int__audioFrequency,
"",
"");
I_Method0(int, audioNbChannels,
Properties::PURE_VIRTUAL,
__int__audioNbChannels,
"",
"");
I_Method0(osg::AudioStream::SampleFormat, audioSampleFormat,
Properties::PURE_VIRTUAL,
__SampleFormat__audioSampleFormat,
"",
"");
I_SimpleProperty(osg::AudioSink *, AudioSink,
0,
__void__setAudioSink__osg_AudioSink_P1);
END_REFLECTOR

View File

@@ -1,244 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AutoTransform>
#include <osg/BoundingSphere>
#include <osg/CopyOp>
#include <osg/Matrix>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Quat>
#include <osg/Vec3d>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::AutoTransform::AutoRotateMode)
I_DeclaringFile("osg/AutoTransform");
I_EnumLabel(osg::AutoTransform::NO_ROTATION);
I_EnumLabel(osg::AutoTransform::ROTATE_TO_SCREEN);
I_EnumLabel(osg::AutoTransform::ROTATE_TO_CAMERA);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AutoTransform)
I_DeclaringFile("osg/AutoTransform");
I_BaseType(osg::Transform);
I_Constructor0(____AutoTransform,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::AutoTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____AutoTransform__C5_AutoTransform_R1__C5_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__NodeVisitor_R1,
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
"");
I_Method0(osg::AutoTransform *, asAutoTransform,
Properties::VIRTUAL,
__AutoTransform_P1__asAutoTransform,
"",
"");
I_Method0(const osg::AutoTransform *, asAutoTransform,
Properties::VIRTUAL,
__C5_AutoTransform_P1__asAutoTransform,
"",
"");
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
Properties::NON_VIRTUAL,
__void__setPosition__C5_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, getPosition,
Properties::NON_VIRTUAL,
__C5_Vec3d_R1__getPosition,
"",
"");
I_Method1(void, setRotation, IN, const osg::Quat &, quat,
Properties::NON_VIRTUAL,
__void__setRotation__C5_Quat_R1,
"",
"");
I_Method0(const osg::Quat &, getRotation,
Properties::NON_VIRTUAL,
__C5_Quat_R1__getRotation,
"",
"");
I_Method1(void, setScale, IN, double, scale,
Properties::NON_VIRTUAL,
__void__setScale__double,
"",
"");
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
Properties::NON_VIRTUAL,
__void__setScale__C5_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, getScale,
Properties::NON_VIRTUAL,
__C5_Vec3d_R1__getScale,
"",
"");
I_Method1(void, setMinimumScale, IN, double, minimumScale,
Properties::NON_VIRTUAL,
__void__setMinimumScale__double,
"",
"");
I_Method0(double, getMinimumScale,
Properties::NON_VIRTUAL,
__double__getMinimumScale,
"",
"");
I_Method1(void, setMaximumScale, IN, double, maximumScale,
Properties::NON_VIRTUAL,
__void__setMaximumScale__double,
"",
"");
I_Method0(double, getMaximumScale,
Properties::NON_VIRTUAL,
__double__getMaximumScale,
"",
"");
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
Properties::NON_VIRTUAL,
__void__setPivotPoint__C5_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, getPivotPoint,
Properties::NON_VIRTUAL,
__C5_Vec3d_R1__getPivotPoint,
"",
"");
I_Method1(void, setAutoUpdateEyeMovementTolerance, IN, float, tolerance,
Properties::NON_VIRTUAL,
__void__setAutoUpdateEyeMovementTolerance__float,
"",
"");
I_Method0(float, getAutoUpdateEyeMovementTolerance,
Properties::NON_VIRTUAL,
__float__getAutoUpdateEyeMovementTolerance,
"",
"");
I_Method1(void, setAutoRotateMode, IN, osg::AutoTransform::AutoRotateMode, mode,
Properties::NON_VIRTUAL,
__void__setAutoRotateMode__AutoRotateMode,
"",
"");
I_Method0(osg::AutoTransform::AutoRotateMode, getAutoRotateMode,
Properties::NON_VIRTUAL,
__AutoRotateMode__getAutoRotateMode,
"",
"");
I_Method1(void, setAutoScaleToScreen, IN, bool, autoScaleToScreen,
Properties::NON_VIRTUAL,
__void__setAutoScaleToScreen__bool,
"",
"");
I_Method0(bool, getAutoScaleToScreen,
Properties::NON_VIRTUAL,
__bool__getAutoScaleToScreen,
"",
"");
I_Method1(void, setAutoScaleTransitionWidthRatio, IN, float, ratio,
Properties::NON_VIRTUAL,
__void__setAutoScaleTransitionWidthRatio__float,
"",
"");
I_Method0(float, getAutoScaleTransitionWidthRatio,
Properties::NON_VIRTUAL,
__float__getAutoScaleTransitionWidthRatio,
"",
"");
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
Properties::VIRTUAL,
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
"",
"");
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
Properties::VIRTUAL,
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
"",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__BoundingSphere__computeBound,
"Overrides Group's computeBound. ",
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). ");
I_ProtectedMethod0(void, computeMatrix,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__computeMatrix,
"",
"");
I_SimpleProperty(osg::AutoTransform::AutoRotateMode, AutoRotateMode,
__AutoRotateMode__getAutoRotateMode,
__void__setAutoRotateMode__AutoRotateMode);
I_SimpleProperty(bool, AutoScaleToScreen,
__bool__getAutoScaleToScreen,
__void__setAutoScaleToScreen__bool);
I_SimpleProperty(float, AutoScaleTransitionWidthRatio,
__float__getAutoScaleTransitionWidthRatio,
__void__setAutoScaleTransitionWidthRatio__float);
I_SimpleProperty(float, AutoUpdateEyeMovementTolerance,
__float__getAutoUpdateEyeMovementTolerance,
__void__setAutoUpdateEyeMovementTolerance__float);
I_SimpleProperty(double, MaximumScale,
__double__getMaximumScale,
__void__setMaximumScale__double);
I_SimpleProperty(double, MinimumScale,
__double__getMinimumScale,
__void__setMinimumScale__double);
I_SimpleProperty(const osg::Vec3d &, PivotPoint,
__C5_Vec3d_R1__getPivotPoint,
__void__setPivotPoint__C5_Vec3d_R1);
I_SimpleProperty(const osg::Vec3d &, Position,
__C5_Vec3d_R1__getPosition,
__void__setPosition__C5_Vec3d_R1);
I_SimpleProperty(const osg::Quat &, Rotation,
__C5_Quat_R1__getRotation,
__void__setRotation__C5_Quat_R1);
I_SimpleProperty(const osg::Vec3d &, Scale,
__C5_Vec3d_R1__getScale,
__void__setScale__C5_Vec3d_R1);
END_REFLECTOR

View File

@@ -1,73 +0,0 @@
AlphaFunc
AnimationPathCallback
AutoTransform
BlendColor
BlendFunc
Box
Capsule
ClearNode
ClipNode
ClipPlane
ClusterCullingCallback
ColorMask
ColorMatrix
Cone
ControlPoint
ConvexPlanarOccluder
ConvexPlanarPolygon
CoordinateSystemNode
CullCallback
CullFace
CullingSet
CullSettings
Cylinder
Depth
DisplaySettings
Drawable
EllipsoidModel
Fog
FragmentProgram
FrontFace
Geometry
ImageStream
Impostor
ImpostorSprite
Light
LightModel
LightSource
LineStipple
LineWidth
LOD
MatrixTransform
Multisample
Node
NodeCallback
NodeVisitor
Object
OccluderNode
PagedLOD
Parameter
Point
PointSprite
PolygonOffset
PolygonStipple
PositionAttitudeTransform
Projection
RefMatrixd
RefMatrixf
ShadeModel
ShadowVolumeOccluder
Shape
ShapeDrawable
Sphere
StateSet
Stencil
TessellationHints
TexEnv
TexEnvCombine
TexGen
TexGenNode
TexMat
Transform
TriangleMesh
VertexProgram

View File

@@ -1,184 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Billboard>
#include <osg/BoundingSphere>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Matrix>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Billboard::Mode)
I_DeclaringFile("osg/Billboard");
I_EnumLabel(osg::Billboard::POINT_ROT_EYE);
I_EnumLabel(osg::Billboard::POINT_ROT_WORLD);
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);
I_Constructor0(____Billboard,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Billboard &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Billboard__C5_Billboard_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 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_Method1(void, setMode, IN, osg::Billboard::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"Set the billboard rotation mode. ",
"");
I_Method0(osg::Billboard::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__getMode,
"Get the billboard rotation mode. ",
"");
I_Method1(void, setAxis, IN, const osg::Vec3 &, axis,
Properties::NON_VIRTUAL,
__void__setAxis__C5_Vec3_R1,
"Set the rotation axis for the billboard's child Drawables. ",
"Only utilized when mode==AXIAL_ROT. ");
I_Method0(const osg::Vec3 &, getAxis,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getAxis,
"Get the rotation axis. ",
"");
I_Method1(void, setNormal, IN, const osg::Vec3 &, normal,
Properties::NON_VIRTUAL,
__void__setNormal__C5_Vec3_R1,
"This normal defines child Drawables' front face direction when unrotated. ",
"");
I_Method0(const osg::Vec3 &, getNormal,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getNormal,
"Get the front face direction normal. ",
"");
I_Method2(void, setPosition, IN, unsigned int, i, IN, const osg::Vec3 &, pos,
Properties::NON_VIRTUAL,
__void__setPosition__unsigned_int__C5_Vec3_R1,
"Set the specified child Drawable's position. ",
"");
I_Method1(const osg::Vec3 &, getPosition, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getPosition__unsigned_int,
"Get the specified child Drawable's position. ",
"");
I_Method1(void, setPositionList, IN, osg::Billboard::PositionList &, pl,
Properties::NON_VIRTUAL,
__void__setPositionList__PositionList_R1,
"Set the list of pivot point positions. ",
"");
I_Method0(osg::Billboard::PositionList &, getPositionList,
Properties::NON_VIRTUAL,
__PositionList_R1__getPositionList,
"Get the list of pivot point positions. ",
"");
I_Method0(const osg::Billboard::PositionList &, getPositionList,
Properties::NON_VIRTUAL,
__C5_PositionList_R1__getPositionList,
"Get a const list of pivot point positions. ",
"");
I_Method1(bool, addDrawable, IN, osg::Drawable *, gset,
Properties::VIRTUAL,
__bool__addDrawable__Drawable_P1,
"Add a Drawable with a default position of Vec3(0,0,0). ",
"Call the base-class Geode::addDrawble() to add the given Drawable gset as a child. If Geode::addDrawable() returns true, add the default position to the pivot point position list and return true. Otherwise, return false. ");
I_Method2(bool, addDrawable, IN, osg::Drawable *, gset, IN, const osg::Vec3 &, pos,
Properties::VIRTUAL,
__bool__addDrawable__Drawable_P1__C5_Vec3_R1,
"Add a Drawable with a specified position. ",
"Call the base-class Geode::addDrawble() to add the given Drawable gset as a child. If Geode::addDrawable() returns true, add the given position pos to the pivot point position list and return true. Otherwise, return false. ");
I_Method1(bool, removeDrawable, IN, osg::Drawable *, gset,
Properties::VIRTUAL,
__bool__removeDrawable__Drawable_P1,
"Remove a Drawable and its associated position. ",
"If gset is a child, remove it, decrement its reference count, remove its pivot point position. and return true. Otherwise, return false. ");
I_Method3(bool, computeMatrix, IN, osg::Matrix &, modelview, IN, const osg::Vec3 &, eye_local, IN, const osg::Vec3 &, pos_local,
Properties::NON_VIRTUAL,
__bool__computeMatrix__Matrix_R1__C5_Vec3_R1__C5_Vec3_R1,
"",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_ProtectedMethod0(void, updateCache,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__updateCache,
"",
"");
I_SimpleProperty(const osg::Vec3 &, Axis,
__C5_Vec3_R1__getAxis,
__void__setAxis__C5_Vec3_R1);
I_SimpleProperty(osg::Billboard::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);
I_SimpleProperty(const osg::Vec3 &, Normal,
__C5_Vec3_R1__getNormal,
__void__setNormal__C5_Vec3_R1);
I_IndexedProperty(const osg::Vec3 &, Position,
__C5_Vec3_R1__getPosition__unsigned_int,
__void__setPosition__unsigned_int__C5_Vec3_R1,
0);
I_SimpleProperty(osg::Billboard::PositionList &, PositionList,
__PositionList_R1__getPositionList,
__void__setPositionList__PositionList_R1);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3 >)

View File

@@ -1,118 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BlendColor>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
I_DeclaringFile("osg/BlendColor");
I_BaseType(osg::StateAttribute);
I_Constructor0(____BlendColor,
"",
"");
I_Constructor1(IN, const osg::Vec4 &, constantColor,
Properties::NON_EXPLICIT,
____BlendColor__C5_osg_Vec4_R1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::BlendColor &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____BlendColor__C5_BlendColor_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_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, setConstantColor, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
__void__setConstantColor__C5_osg_Vec4_R1,
"",
"");
I_Method0(osg::Vec4 &, getConstantColor,
Properties::NON_VIRTUAL,
__osg_Vec4_R1__getConstantColor,
"",
"");
I_Method0(const osg::Vec4 &, getConstantColor,
Properties::NON_VIRTUAL,
__C5_osg_Vec4_R1__getConstantColor,
"",
"");
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_StaticMethod2(osg::BlendColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendColor::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() 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_SimpleProperty(const osg::Vec4 &, ConstantColor,
__C5_osg_Vec4_R1__getConstantColor,
__void__setConstantColor__C5_osg_Vec4_R1);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,154 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BlendEquation>
#include <osg/CopyOp>
#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_ENUM_REFLECTOR(osg::BlendEquation::Equation)
I_DeclaringFile("osg/BlendEquation");
I_EnumLabel(osg::BlendEquation::RGBA_MIN);
I_EnumLabel(osg::BlendEquation::RGBA_MAX);
I_EnumLabel(osg::BlendEquation::ALPHA_MIN);
I_EnumLabel(osg::BlendEquation::ALPHA_MAX);
I_EnumLabel(osg::BlendEquation::LOGIC_OP);
I_EnumLabel(osg::BlendEquation::FUNC_ADD);
I_EnumLabel(osg::BlendEquation::FUNC_SUBTRACT);
I_EnumLabel(osg::BlendEquation::FUNC_REVERSE_SUBTRACT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
I_DeclaringFile("osg/BlendEquation");
I_BaseType(osg::StateAttribute);
I_Constructor0(____BlendEquation,
"",
"");
I_Constructor1(IN, osg::BlendEquation::Equation, equation,
Properties::NON_EXPLICIT,
____BlendEquation__Equation,
"",
"");
I_Constructor2(IN, osg::BlendEquation::Equation, equationRGB, IN, osg::BlendEquation::Equation, equationAlpha,
____BlendEquation__Equation__Equation,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::BlendEquation &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____BlendEquation__C5_BlendEquation_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_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, setEquation, IN, osg::BlendEquation::Equation, equation,
Properties::NON_VIRTUAL,
__void__setEquation__Equation,
"",
"");
I_Method0(osg::BlendEquation::Equation, getEquation,
Properties::NON_VIRTUAL,
__Equation__getEquation,
"",
"");
I_Method1(void, setEquationRGB, IN, osg::BlendEquation::Equation, equation,
Properties::NON_VIRTUAL,
__void__setEquationRGB__Equation,
"",
"");
I_Method0(osg::BlendEquation::Equation, getEquationRGB,
Properties::NON_VIRTUAL,
__Equation__getEquationRGB,
"",
"");
I_Method1(void, setEquationAlpha, IN, osg::BlendEquation::Equation, equation,
Properties::NON_VIRTUAL,
__void__setEquationAlpha__Equation,
"",
"");
I_Method0(osg::BlendEquation::Equation, getEquationAlpha,
Properties::NON_VIRTUAL,
__Equation__getEquationAlpha,
"",
"");
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_StaticMethod2(osg::BlendEquation::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendEquation::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() 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_SimpleProperty(osg::BlendEquation::Equation, Equation,
__Equation__getEquation,
__void__setEquation__Equation);
I_SimpleProperty(osg::BlendEquation::Equation, EquationAlpha,
__Equation__getEquationAlpha,
__void__setEquationAlpha__Equation);
I_SimpleProperty(osg::BlendEquation::Equation, EquationRGB,
__Equation__getEquationRGB,
__void__setEquationRGB__Equation);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,209 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BlendFunc>
#include <osg/CopyOp>
#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_ENUM_REFLECTOR(osg::BlendFunc::BlendFuncMode)
I_DeclaringFile("osg/BlendFunc");
I_EnumLabel(osg::BlendFunc::DST_ALPHA);
I_EnumLabel(osg::BlendFunc::DST_COLOR);
I_EnumLabel(osg::BlendFunc::ONE);
I_EnumLabel(osg::BlendFunc::ONE_MINUS_DST_ALPHA);
I_EnumLabel(osg::BlendFunc::ONE_MINUS_DST_COLOR);
I_EnumLabel(osg::BlendFunc::ONE_MINUS_SRC_ALPHA);
I_EnumLabel(osg::BlendFunc::ONE_MINUS_SRC_COLOR);
I_EnumLabel(osg::BlendFunc::SRC_ALPHA);
I_EnumLabel(osg::BlendFunc::SRC_ALPHA_SATURATE);
I_EnumLabel(osg::BlendFunc::SRC_COLOR);
I_EnumLabel(osg::BlendFunc::CONSTANT_COLOR);
I_EnumLabel(osg::BlendFunc::ONE_MINUS_CONSTANT_COLOR);
I_EnumLabel(osg::BlendFunc::CONSTANT_ALPHA);
I_EnumLabel(osg::BlendFunc::ONE_MINUS_CONSTANT_ALPHA);
I_EnumLabel(osg::BlendFunc::ZERO);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
I_DeclaringFile("osg/BlendFunc");
I_BaseType(osg::StateAttribute);
I_Constructor0(____BlendFunc,
"",
"");
I_Constructor2(IN, GLenum, source, IN, GLenum, destination,
____BlendFunc__GLenum__GLenum,
"",
"");
I_Constructor4(IN, GLenum, source, IN, GLenum, destination, IN, GLenum, source_alpha, IN, GLenum, destination_alpha,
____BlendFunc__GLenum__GLenum__GLenum__GLenum,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::BlendFunc &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____BlendFunc__C5_BlendFunc_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_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
"");
I_Method2(void, setFunction, IN, GLenum, source, IN, GLenum, destination,
Properties::NON_VIRTUAL,
__void__setFunction__GLenum__GLenum,
"",
"");
I_Method4(void, setFunction, IN, GLenum, source_rgb, IN, GLenum, destination_rgb, IN, GLenum, source_alpha, IN, GLenum, destination_alpha,
Properties::NON_VIRTUAL,
__void__setFunction__GLenum__GLenum__GLenum__GLenum,
"",
"");
I_Method1(void, setSource, IN, GLenum, source,
Properties::NON_VIRTUAL,
__void__setSource__GLenum,
"",
"");
I_Method0(GLenum, getSource,
Properties::NON_VIRTUAL,
__GLenum__getSource,
"",
"");
I_Method1(void, setSourceRGB, IN, GLenum, source,
Properties::NON_VIRTUAL,
__void__setSourceRGB__GLenum,
"",
"");
I_Method0(GLenum, getSourceRGB,
Properties::NON_VIRTUAL,
__GLenum__getSourceRGB,
"",
"");
I_Method1(void, setSourceAlpha, IN, GLenum, source,
Properties::NON_VIRTUAL,
__void__setSourceAlpha__GLenum,
"",
"");
I_Method0(GLenum, getSourceAlpha,
Properties::NON_VIRTUAL,
__GLenum__getSourceAlpha,
"",
"");
I_Method1(void, setDestination, IN, GLenum, destination,
Properties::NON_VIRTUAL,
__void__setDestination__GLenum,
"",
"");
I_Method0(GLenum, getDestination,
Properties::NON_VIRTUAL,
__GLenum__getDestination,
"",
"");
I_Method1(void, setDestinationRGB, IN, GLenum, destination,
Properties::NON_VIRTUAL,
__void__setDestinationRGB__GLenum,
"",
"");
I_Method0(GLenum, getDestinationRGB,
Properties::NON_VIRTUAL,
__GLenum__getDestinationRGB,
"",
"");
I_Method1(void, setDestinationAlpha, IN, GLenum, destination,
Properties::NON_VIRTUAL,
__void__setDestinationAlpha__GLenum,
"",
"");
I_Method0(GLenum, getDestinationAlpha,
Properties::NON_VIRTUAL,
__GLenum__getDestinationAlpha,
"",
"");
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_StaticMethod2(osg::BlendFunc::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendFunc::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() 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_SimpleProperty(GLenum, Destination,
__GLenum__getDestination,
__void__setDestination__GLenum);
I_SimpleProperty(GLenum, DestinationAlpha,
__GLenum__getDestinationAlpha,
__void__setDestinationAlpha__GLenum);
I_SimpleProperty(GLenum, DestinationRGB,
__GLenum__getDestinationRGB,
__void__setDestinationRGB__GLenum);
I_SimpleProperty(GLenum, Source,
__GLenum__getSource,
__void__setSource__GLenum);
I_SimpleProperty(GLenum, SourceAlpha,
__GLenum__getSourceAlpha,
__void__setSourceAlpha__GLenum);
I_SimpleProperty(GLenum, SourceRGB,
__GLenum__getSourceRGB,
__void__setSourceRGB__GLenum);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,32 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/Vec3d>
#include <osg/Vec3f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
#include <osg/BoundingSphere>
TYPE_NAME_ALIAS(osg::BoundingBoxImpl< osg::Vec3f >, osg::BoundingBoxf)
TYPE_NAME_ALIAS(osg::BoundingBoxImpl< osg::Vec3d >, osg::BoundingBoxd)
TYPE_NAME_ALIAS(osg::BoundingBoxf, osg::BoundingBox)

View File

@@ -1,32 +0,0 @@
// ***************************************************************************
//
// 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/Vec3d>
#include <osg/Vec3f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
#include <osg/BoundingBox>
TYPE_NAME_ALIAS(osg::BoundingSphereImpl< osg::Vec3f >, osg::BoundingSpheref)
TYPE_NAME_ALIAS(osg::BoundingSphereImpl< osg::Vec3d >, osg::BoundingSphered)
TYPE_NAME_ALIAS(osg::BoundingSpheref, osg::BoundingSphere)

File diff suppressed because it is too large Load Diff

View File

@@ -1,854 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Mutex>
#include <osg/Camera>
#include <osg/ColorMask>
#include <osg/CopyOp>
#include <osg/CullSettings>
#include <osg/DisplaySettings>
#include <osg/GraphicsContext>
#include <osg/GraphicsThread>
#include <osg/Image>
#include <osg/Matrix>
#include <osg/Matrixd>
#include <osg/Matrixf>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/OperationThread>
#include <osg/RenderInfo>
#include <osg/State>
#include <osg/Stats>
#include <osg/Texture>
#include <osg/Vec3d>
#include <osg/Vec3f>
#include <osg/Vec4>
#include <osg/View>
#include <osg/Viewport>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Camera::TransformOrder)
I_DeclaringFile("osg/Camera");
I_EnumLabel(osg::Camera::PRE_MULTIPLY);
I_EnumLabel(osg::Camera::POST_MULTIPLY);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Camera::ProjectionResizePolicy)
I_DeclaringFile("osg/Camera");
I_EnumLabel(osg::Camera::FIXED);
I_EnumLabel(osg::Camera::HORIZONTAL);
I_EnumLabel(osg::Camera::VERTICAL);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Camera::RenderOrder)
I_DeclaringFile("osg/Camera");
I_EnumLabel(osg::Camera::PRE_RENDER);
I_EnumLabel(osg::Camera::NESTED_RENDER);
I_EnumLabel(osg::Camera::POST_RENDER);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Camera::RenderTargetImplementation)
I_DeclaringFile("osg/Camera");
I_EnumLabel(osg::Camera::FRAME_BUFFER_OBJECT);
I_EnumLabel(osg::Camera::PIXEL_BUFFER_RTT);
I_EnumLabel(osg::Camera::PIXEL_BUFFER);
I_EnumLabel(osg::Camera::FRAME_BUFFER);
I_EnumLabel(osg::Camera::SEPERATE_WINDOW);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Camera::BufferComponent)
I_DeclaringFile("osg/Camera");
I_EnumLabel(osg::Camera::DEPTH_BUFFER);
I_EnumLabel(osg::Camera::STENCIL_BUFFER);
I_EnumLabel(osg::Camera::PACKED_DEPTH_STENCIL_BUFFER);
I_EnumLabel(osg::Camera::COLOR_BUFFER);
I_EnumLabel(osg::Camera::COLOR_BUFFER0);
I_EnumLabel(osg::Camera::COLOR_BUFFER1);
I_EnumLabel(osg::Camera::COLOR_BUFFER2);
I_EnumLabel(osg::Camera::COLOR_BUFFER3);
I_EnumLabel(osg::Camera::COLOR_BUFFER4);
I_EnumLabel(osg::Camera::COLOR_BUFFER5);
I_EnumLabel(osg::Camera::COLOR_BUFFER6);
I_EnumLabel(osg::Camera::COLOR_BUFFER7);
I_EnumLabel(osg::Camera::COLOR_BUFFER8);
I_EnumLabel(osg::Camera::COLOR_BUFFER9);
I_EnumLabel(osg::Camera::COLOR_BUFFER10);
I_EnumLabel(osg::Camera::COLOR_BUFFER11);
I_EnumLabel(osg::Camera::COLOR_BUFFER12);
I_EnumLabel(osg::Camera::COLOR_BUFFER13);
I_EnumLabel(osg::Camera::COLOR_BUFFER14);
I_EnumLabel(osg::Camera::COLOR_BUFFER15);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Camera::ImplicitBufferAttachment)
I_DeclaringFile("osg/Camera");
I_EnumLabel(osg::Camera::IMPLICIT_DEPTH_BUFFER_ATTACHMENT);
I_EnumLabel(osg::Camera::IMPLICIT_STENCIL_BUFFER_ATTACHMENT);
I_EnumLabel(osg::Camera::IMPLICIT_COLOR_BUFFER_ATTACHMENT);
I_EnumLabel(osg::Camera::USE_DISPLAY_SETTINGS_MASK);
END_REFLECTOR
TYPE_NAME_ALIAS(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >, osg::Camera::BufferAttachmentMap)
TYPE_NAME_ALIAS(int, osg::Camera::ImplicitBufferAttachmentMask)
BEGIN_OBJECT_REFLECTOR(osg::Camera)
I_DeclaringFile("osg/Camera");
I_BaseType(osg::Transform);
I_BaseType(osg::CullSettings);
I_Constructor0(____Camera,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Camera &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Camera__C5_Camera_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 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_Method1(void, setView, IN, osg::View *, view,
Properties::NON_VIRTUAL,
__void__setView__View_P1,
"Set the View that this Camera is part of. ",
"");
I_Method0(osg::View *, getView,
Properties::NON_VIRTUAL,
__View_P1__getView,
"Get the View that this Camera is part of. ",
"");
I_Method0(const osg::View *, getView,
Properties::NON_VIRTUAL,
__C5_View_P1__getView,
"Get the const View that this Camera is part of. ",
"");
I_Method1(void, setStats, IN, osg::Stats *, stats,
Properties::NON_VIRTUAL,
__void__setStats__osg_Stats_P1,
"Set the Stats object used for collect various frame related timing and scene graph stats. ",
"");
I_Method0(osg::Stats *, getStats,
Properties::NON_VIRTUAL,
__osg_Stats_P1__getStats,
"Get the Stats object. ",
"");
I_Method0(const osg::Stats *, getStats,
Properties::NON_VIRTUAL,
__C5_osg_Stats_P1__getStats,
"Get the const Stats object. ",
"");
I_Method1(void, setAllowEventFocus, IN, bool, focus,
Properties::NON_VIRTUAL,
__void__setAllowEventFocus__bool,
"Set whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ",
"");
I_Method0(bool, getAllowEventFocus,
Properties::NON_VIRTUAL,
__bool__getAllowEventFocus,
"Get whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ",
"");
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds,
Properties::NON_VIRTUAL,
__void__setDisplaySettings__osg_DisplaySettings_P1,
"Set the DisplaySettings object associated with this view. ",
"");
I_Method0(osg::DisplaySettings *, getDisplaySettings,
Properties::NON_VIRTUAL,
__osg_DisplaySettings_P1__getDisplaySettings,
"Get the DisplaySettings object associated with this view. ",
"");
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
Properties::NON_VIRTUAL,
__C5_osg_DisplaySettings_P1__getDisplaySettings,
"Get the const DisplaySettings object associated with this view. ",
"");
I_Method1(void, setClearMask, IN, GLbitfield, mask,
Properties::NON_VIRTUAL,
__void__setClearMask__GLbitfield,
"Set the clear mask used in glClear(. ",
".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. ");
I_Method0(GLbitfield, getClearMask,
Properties::NON_VIRTUAL,
__GLbitfield__getClearMask,
"Get the clear mask. ",
"");
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
__void__setClearColor__C5_osg_Vec4_R1,
"Set the clear color used in glClearColor(. ",
".). glClearColor is only called if mask & GL_COLOR_BUFFER_BIT is true ");
I_Method0(const osg::Vec4 &, getClearColor,
Properties::NON_VIRTUAL,
__C5_osg_Vec4_R1__getClearColor,
"Get the clear color. ",
"");
I_Method1(void, setClearAccum, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
__void__setClearAccum__C5_osg_Vec4_R1,
"Set the clear accum used in glClearAccum(. ",
".). glClearAcumm is only called if mask & GL_ACCUM_BUFFER_BIT is true. ");
I_Method0(const osg::Vec4 &, getClearAccum,
Properties::NON_VIRTUAL,
__C5_osg_Vec4_R1__getClearAccum,
"Get the clear accum value. ",
"");
I_Method1(void, setClearDepth, IN, double, depth,
Properties::NON_VIRTUAL,
__void__setClearDepth__double,
"Set the clear depth used in glClearDepth(. ",
".). Defaults to 1.0 glClearDepth is only called if mask & GL_DEPTH_BUFFER_BIT is true. ");
I_Method0(double, getClearDepth,
Properties::NON_VIRTUAL,
__double__getClearDepth,
"Get the clear depth value. ",
"");
I_Method1(void, setClearStencil, IN, int, stencil,
Properties::NON_VIRTUAL,
__void__setClearStencil__int,
"Set the clear stencil value used in glClearStencil(). ",
"Defaults to 0; glClearStencil is only called if mask & GL_STENCIL_BUFFER_BIT is true ");
I_Method0(int, getClearStencil,
Properties::NON_VIRTUAL,
__int__getClearStencil,
"Get the clear stencil value. ",
"");
I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask,
Properties::NON_VIRTUAL,
__void__setColorMask__osg_ColorMask_P1,
"Set the color mask of the camera to use specified osg::ColorMask. ",
"");
I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha,
Properties::NON_VIRTUAL,
__void__setColorMask__bool__bool__bool__bool,
"Set the color mask of the camera to specified values. ",
"");
I_Method0(const osg::ColorMask *, getColorMask,
Properties::NON_VIRTUAL,
__C5_ColorMask_P1__getColorMask,
"Get the const ColorMask. ",
"");
I_Method0(osg::ColorMask *, getColorMask,
Properties::NON_VIRTUAL,
__ColorMask_P1__getColorMask,
"Get the ColorMask. ",
"");
I_Method1(void, setViewport, IN, osg::Viewport *, viewport,
Properties::NON_VIRTUAL,
__void__setViewport__osg_Viewport_P1,
"Set the viewport of the camera to use specified osg::Viewport. ",
"");
I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
Properties::NON_VIRTUAL,
__void__setViewport__int__int__int__int,
"Set the viewport of the camera to specified dimensions. ",
"");
I_Method0(const osg::Viewport *, getViewport,
Properties::NON_VIRTUAL,
__C5_Viewport_P1__getViewport,
"Get the const viewport. ",
"");
I_Method0(osg::Viewport *, getViewport,
Properties::NON_VIRTUAL,
__Viewport_P1__getViewport,
"Get the viewport. ",
"");
I_Method1(void, setTransformOrder, IN, osg::Camera::TransformOrder, order,
Properties::NON_VIRTUAL,
__void__setTransformOrder__TransformOrder,
"Set the transformation order for world-to-local and local-to-world transformation. ",
"");
I_Method0(osg::Camera::TransformOrder, getTransformOrder,
Properties::NON_VIRTUAL,
__TransformOrder__getTransformOrder,
"Get the transformation order. ",
"");
I_Method1(void, setProjectionResizePolicy, IN, osg::Camera::ProjectionResizePolicy, policy,
Properties::NON_VIRTUAL,
__void__setProjectionResizePolicy__ProjectionResizePolicy,
"Set the policy used to determine if and how the projection matrix should be adjusted on window resizes. ",
"");
I_Method0(osg::Camera::ProjectionResizePolicy, getProjectionResizePolicy,
Properties::NON_VIRTUAL,
__ProjectionResizePolicy__getProjectionResizePolicy,
"Get the policy used to determine if and how the projection matrix should be adjusted on window resizes. ",
"");
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix,
Properties::NON_VIRTUAL,
__void__setProjectionMatrix__C5_osg_Matrixf_R1,
"Set the projection matrix. ",
"Can be thought of as setting the lens of a camera. ");
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__void__setProjectionMatrix__C5_osg_Matrixd_R1,
"Set the projection matrix. ",
"Can be thought of as setting the lens of a camera. ");
I_Method6(void, setProjectionMatrixAsOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__setProjectionMatrixAsOrtho__double__double__double__double__double__double,
"Set to an orthographic projection. ",
"See OpenGL glOrtho for documentation further details. ");
I_Method4(void, setProjectionMatrixAsOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
Properties::NON_VIRTUAL,
__void__setProjectionMatrixAsOrtho2D__double__double__double__double,
"Set to a 2D orthographic projection. ",
"See OpenGL glOrtho2D documentation for further details. ");
I_Method6(void, setProjectionMatrixAsFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__setProjectionMatrixAsFrustum__double__double__double__double__double__double,
"Set to a perspective projection. ",
"See OpenGL glFrustum documentation for further details. ");
I_Method4(void, setProjectionMatrixAsPerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__setProjectionMatrixAsPerspective__double__double__double__double,
"Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details. ",
"Aspect ratio is defined as width/height. ");
I_Method0(osg::Matrixd &, getProjectionMatrix,
Properties::NON_VIRTUAL,
__osg_Matrixd_R1__getProjectionMatrix,
"Get the projection matrix. ",
"");
I_Method0(const osg::Matrixd &, getProjectionMatrix,
Properties::NON_VIRTUAL,
__C5_osg_Matrixd_R1__getProjectionMatrix,
"Get the const projection matrix. ",
"");
I_Method6(bool, getProjectionMatrixAsOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getProjectionMatrixAsOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the orthographic settings of the orthographic projection matrix. ",
"Returns false if matrix is not an orthographic matrix, where parameter values are undefined. ");
I_Method6(bool, getProjectionMatrixAsFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getProjectionMatrixAsFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the frustum setting of a perspective projection matrix. ",
"Returns false if matrix is not a perspective matrix, where parameter values are undefined. ");
I_Method4(bool, getProjectionMatrixAsPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getProjectionMatrixAsPerspective__double_R1__double_R1__double_R1__double_R1,
"Get the frustum setting of a symmetric perspective projection matrix. ",
"Returns false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configurations one should use the 'getProjectionMatrixAsFrustum' method instead. ");
I_Method1(void, setViewMatrix, IN, const osg::Matrixf &, matrix,
Properties::NON_VIRTUAL,
__void__setViewMatrix__C5_osg_Matrixf_R1,
"Set the view matrix. ",
"Can be thought of as setting the position of the world relative to the camera in camera coordinates. ");
I_Method1(void, setViewMatrix, IN, const osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__void__setViewMatrix__C5_osg_Matrixd_R1,
"Set the view matrix. ",
"Can be thought of as setting the position of the world relative to the camera in camera coordinates. ");
I_Method0(osg::Matrixd &, getViewMatrix,
Properties::NON_VIRTUAL,
__osg_Matrixd_R1__getViewMatrix,
"Get the view matrix. ",
"");
I_Method0(const osg::Matrixd &, getViewMatrix,
Properties::NON_VIRTUAL,
__C5_osg_Matrixd_R1__getViewMatrix,
"Get the const view matrix. ",
"");
I_Method3(void, setViewMatrixAsLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
Properties::NON_VIRTUAL,
__void__setViewMatrixAsLookAt__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
"Set to the position and orientation of view matrix, using the same convention as gluLookAt. ",
"");
I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, double, lookDistance, 1.0,
Properties::NON_VIRTUAL,
__void__getViewMatrixAsLookAt__osg_Vec3d_R1__osg_Vec3d_R1__osg_Vec3d_R1__double,
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
"");
I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, float, lookDistance, 1.0f,
Properties::NON_VIRTUAL,
__void__getViewMatrixAsLookAt__osg_Vec3f_R1__osg_Vec3f_R1__osg_Vec3f_R1__float,
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
"");
I_Method0(osg::Matrixd, getInverseViewMatrix,
Properties::NON_VIRTUAL,
__Matrixd__getInverseViewMatrix,
"Get the inverse view matrix. ",
"");
I_MethodWithDefaults2(void, setRenderOrder, IN, osg::Camera::RenderOrder, order, , IN, int, orderNum, 0,
Properties::NON_VIRTUAL,
__void__setRenderOrder__RenderOrder__int,
"Set the rendering order of this camera's subgraph relative to any camera that this subgraph is nested within. ",
"For rendering to a texture, one typically uses PRE_RENDER. For Head Up Displays, one would typically use POST_RENDER. ");
I_Method0(osg::Camera::RenderOrder, getRenderOrder,
Properties::NON_VIRTUAL,
__RenderOrder__getRenderOrder,
"Get the rendering order of this camera's subgraph relative to any camera that this subgraph is nested within. ",
"");
I_Method0(int, getRenderOrderNum,
Properties::NON_VIRTUAL,
__int__getRenderOrderNum,
"Get the rendering order number of this camera relative to any sibling cameras in this subgraph. ",
"");
I_Method0(bool, isRenderToTextureCamera,
Properties::NON_VIRTUAL,
__bool__isRenderToTextureCamera,
"Return true if this Camera is set up as a render to texture camera, i.e. ",
"it has textures assigned to it. ");
I_Method1(void, setRenderTargetImplementation, IN, osg::Camera::RenderTargetImplementation, impl,
Properties::NON_VIRTUAL,
__void__setRenderTargetImplementation__RenderTargetImplementation,
"Set the render target. ",
"");
I_Method2(void, setRenderTargetImplementation, IN, osg::Camera::RenderTargetImplementation, impl, IN, osg::Camera::RenderTargetImplementation, fallback,
Properties::NON_VIRTUAL,
__void__setRenderTargetImplementation__RenderTargetImplementation__RenderTargetImplementation,
"Set the render target and fall-back that's used if the former isn't available. ",
"");
I_Method0(osg::Camera::RenderTargetImplementation, getRenderTargetImplementation,
Properties::NON_VIRTUAL,
__RenderTargetImplementation__getRenderTargetImplementation,
"Get the render target. ",
"");
I_Method0(osg::Camera::RenderTargetImplementation, getRenderTargetFallback,
Properties::NON_VIRTUAL,
__RenderTargetImplementation__getRenderTargetFallback,
"Get the render target fallback. ",
"");
I_Method1(void, setDrawBuffer, IN, GLenum, buffer,
Properties::NON_VIRTUAL,
__void__setDrawBuffer__GLenum,
"Set the draw buffer used at the start of each frame draw. ",
"Note, a buffer value of GL_NONE is used to sepecify that the rendering back-end should choose the most appropriate buffer. ");
I_Method0(GLenum, getDrawBuffer,
Properties::NON_VIRTUAL,
__GLenum__getDrawBuffer,
"Get the draw buffer used at the start of each frame draw. ",
"");
I_Method1(void, setReadBuffer, IN, GLenum, buffer,
Properties::NON_VIRTUAL,
__void__setReadBuffer__GLenum,
"Set the read buffer for any required copy operations to use. ",
"Note, a buffer value of GL_NONE is used to sepecify that the rendering back-end should choose the most appropriate buffer. ");
I_Method0(GLenum, getReadBuffer,
Properties::NON_VIRTUAL,
__GLenum__getReadBuffer,
"Get the read buffer for any required copy operations to use. ",
"");
I_Method2(void, attach, IN, osg::Camera::BufferComponent, buffer, IN, GLenum, internalFormat,
Properties::NON_VIRTUAL,
__void__attach__BufferComponent__GLenum,
"Attach a buffer with specified OpenGL internal format. ",
"");
I_MethodWithDefaults7(void, attach, IN, osg::Camera::BufferComponent, buffer, , IN, osg::Texture *, texture, , IN, unsigned int, level, 0, IN, unsigned int, face, 0, IN, bool, mipMapGeneration, false, IN, unsigned int, multisampleSamples, 0, IN, unsigned int, multisampleColorSamples, 0,
Properties::NON_VIRTUAL,
__void__attach__BufferComponent__osg_Texture_P1__unsigned_int__unsigned_int__bool__unsigned_int__unsigned_int,
"Attach a Texture to specified buffer component. ",
"The level parameter controls the mip map level of the texture that is attached. The face parameter controls the face of texture cube map or z level of 3d texture. The mipMapGeneration flag controls whether mipmap generation should be done for texture. ");
I_MethodWithDefaults4(void, attach, IN, osg::Camera::BufferComponent, buffer, , IN, osg::Image *, image, , IN, unsigned int, multisampleSamples, 0, IN, unsigned int, multisampleColorSamples, 0,
Properties::NON_VIRTUAL,
__void__attach__BufferComponent__osg_Image_P1__unsigned_int__unsigned_int,
"Attach a Image to specified buffer component. ",
"");
I_Method1(void, detach, IN, osg::Camera::BufferComponent, buffer,
Properties::NON_VIRTUAL,
__void__detach__BufferComponent,
"Detach specified buffer component. ",
"");
I_Method0(osg::Camera::BufferAttachmentMap &, getBufferAttachmentMap,
Properties::NON_VIRTUAL,
__BufferAttachmentMap_R1__getBufferAttachmentMap,
"Get the BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads. ",
"");
I_Method0(const osg::Camera::BufferAttachmentMap &, getBufferAttachmentMap,
Properties::NON_VIRTUAL,
__C5_BufferAttachmentMap_R1__getBufferAttachmentMap,
"Get the const BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads. ",
"");
I_MethodWithDefaults2(void, setImplicitBufferAttachmentMask, IN, osg::Camera::ImplicitBufferAttachmentMask, renderMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, IN, osg::Camera::ImplicitBufferAttachmentMask, resolveMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT,
Properties::NON_VIRTUAL,
__void__setImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask,
"",
"");
I_Method1(void, setImplicitBufferAttachmentRenderMask, IN, osg::Camera::ImplicitBufferAttachmentMask, implicitBufferAttachmentRenderMask,
Properties::NON_VIRTUAL,
__void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask,
"",
"");
I_Method1(void, setImplicitBufferAttachmentResolveMask, IN, osg::Camera::ImplicitBufferAttachmentMask, implicitBufferAttachmentResolveMask,
Properties::NON_VIRTUAL,
__void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask,
"",
"");
I_MethodWithDefaults1(osg::Camera::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentRenderMask, IN, bool, effectiveMask, false,
Properties::NON_VIRTUAL,
__ImplicitBufferAttachmentMask__getImplicitBufferAttachmentRenderMask__bool,
"Get mask selecting implict buffer attachments for Camera primary FBO if effectiveMask parameter is set, method follows USE_DISPLAY_SETTINGS_MASK dependence and returns effective mask if effectiveMask parameter is reset, method returns nominal mask set by the Camera. ",
"");
I_MethodWithDefaults1(osg::Camera::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentResolveMask, IN, bool, effectiveMask, false,
Properties::NON_VIRTUAL,
__ImplicitBufferAttachmentMask__getImplicitBufferAttachmentResolveMask__bool,
"Get mask selecting implict buffer attachments for Camera secondary MULTISAMPLE FBO if effectiveMask parameter is set, method follows USE_DISPLAY_SETTINGS_MASK dependence and returns effective mask if effectiveMask parameter is reset, method returns nominal mask set by the Camera. ",
"");
I_Method0(void, createCameraThread,
Properties::NON_VIRTUAL,
__void__createCameraThread,
"Create a operation thread for this camera. ",
"");
I_Method1(void, setCameraThread, IN, osg::OperationThread *, gt,
Properties::NON_VIRTUAL,
__void__setCameraThread__OperationThread_P1,
"Assign a operation thread to the camera. ",
"");
I_Method0(osg::OperationThread *, getCameraThread,
Properties::NON_VIRTUAL,
__OperationThread_P1__getCameraThread,
"Get the operation thread assigned to this camera. ",
"");
I_Method0(const osg::OperationThread *, getCameraThread,
Properties::NON_VIRTUAL,
__C5_OperationThread_P1__getCameraThread,
"Get the const operation thread assigned to this camera. ",
"");
I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context,
Properties::NON_VIRTUAL,
__void__setGraphicsContext__GraphicsContext_P1,
"Set the GraphicsContext that provides the mechansim for managing the OpenGL graphics context associated with this camera. ",
"");
I_Method0(osg::GraphicsContext *, getGraphicsContext,
Properties::NON_VIRTUAL,
__GraphicsContext_P1__getGraphicsContext,
"Get the GraphicsContext. ",
"");
I_Method0(const osg::GraphicsContext *, getGraphicsContext,
Properties::NON_VIRTUAL,
__C5_GraphicsContext_P1__getGraphicsContext,
"Get the const GraphicsContext. ",
"");
I_Method1(void, setRenderer, IN, osg::GraphicsOperation *, rc,
Properties::NON_VIRTUAL,
__void__setRenderer__osg_GraphicsOperation_P1,
"Set the Rendering object that is used to implement rendering of the subgraph. ",
"");
I_Method0(osg::GraphicsOperation *, getRenderer,
Properties::NON_VIRTUAL,
__osg_GraphicsOperation_P1__getRenderer,
"Get the Rendering object that is used to implement rendering of the subgraph. ",
"");
I_Method0(const osg::GraphicsOperation *, getRenderer,
Properties::NON_VIRTUAL,
__C5_osg_GraphicsOperation_P1__getRenderer,
"Get the const Rendering object that is used to implement rendering of the subgraph. ",
"");
I_Method1(void, setRenderingCache, IN, osg::Object *, rc,
Properties::NON_VIRTUAL,
__void__setRenderingCache__osg_Object_P1,
"Set the Rendering cache that is used for cached objects associated with rendering of subgraphs. ",
"");
I_Method0(osg::Object *, getRenderingCache,
Properties::NON_VIRTUAL,
__osg_Object_P1__getRenderingCache,
"Get the Rendering cache that is used for cached objects associated with rendering of subgraphs. ",
"");
I_Method0(const osg::Object *, getRenderingCache,
Properties::NON_VIRTUAL,
__C5_osg_Object_P1__getRenderingCache,
"Get the const Rendering cache that is used for cached objects associated with rendering of subgraphs. ",
"");
I_Method1(void, setInitialDrawCallback, IN, osg::Camera::DrawCallback *, cb,
Properties::NON_VIRTUAL,
__void__setInitialDrawCallback__DrawCallback_P1,
"Set the initial draw callback for custom operations to be done before the drawing of the camera's subgraph and pre render stages. ",
"");
I_Method0(osg::Camera::DrawCallback *, getInitialDrawCallback,
Properties::NON_VIRTUAL,
__DrawCallback_P1__getInitialDrawCallback,
"Get the initial draw callback. ",
"");
I_Method0(const osg::Camera::DrawCallback *, getInitialDrawCallback,
Properties::NON_VIRTUAL,
__C5_DrawCallback_P1__getInitialDrawCallback,
"Get the const initial draw callback. ",
"");
I_Method1(void, setPreDrawCallback, IN, osg::Camera::DrawCallback *, cb,
Properties::NON_VIRTUAL,
__void__setPreDrawCallback__DrawCallback_P1,
"Set the pre draw callback for custom operations to be done before the drawing of the camera's subgraph but after any pre render stages have been completed. ",
"");
I_Method0(osg::Camera::DrawCallback *, getPreDrawCallback,
Properties::NON_VIRTUAL,
__DrawCallback_P1__getPreDrawCallback,
"Get the pre draw callback. ",
"");
I_Method0(const osg::Camera::DrawCallback *, getPreDrawCallback,
Properties::NON_VIRTUAL,
__C5_DrawCallback_P1__getPreDrawCallback,
"Get the const pre draw callback. ",
"");
I_Method1(void, setPostDrawCallback, IN, osg::Camera::DrawCallback *, cb,
Properties::NON_VIRTUAL,
__void__setPostDrawCallback__DrawCallback_P1,
"Set the post draw callback for custom operations to be done after the drawing of the camera's subgraph but before the any post render stages have been completed. ",
"");
I_Method0(osg::Camera::DrawCallback *, getPostDrawCallback,
Properties::NON_VIRTUAL,
__DrawCallback_P1__getPostDrawCallback,
"Get the post draw callback. ",
"");
I_Method0(const osg::Camera::DrawCallback *, getPostDrawCallback,
Properties::NON_VIRTUAL,
__C5_DrawCallback_P1__getPostDrawCallback,
"Get the const post draw callback. ",
"");
I_Method1(void, setFinalDrawCallback, IN, osg::Camera::DrawCallback *, cb,
Properties::NON_VIRTUAL,
__void__setFinalDrawCallback__DrawCallback_P1,
"Set the final draw callback for custom operations to be done after the drawing of the camera's subgraph and all of the post render stages has been completed. ",
"");
I_Method0(osg::Camera::DrawCallback *, getFinalDrawCallback,
Properties::NON_VIRTUAL,
__DrawCallback_P1__getFinalDrawCallback,
"Get the final draw callback. ",
"");
I_Method0(const osg::Camera::DrawCallback *, getFinalDrawCallback,
Properties::NON_VIRTUAL,
__C5_DrawCallback_P1__getFinalDrawCallback,
"Get the const final draw callback. ",
"");
I_Method0(OpenThreads::Mutex *, getDataChangeMutex,
Properties::NON_VIRTUAL,
__OpenThreads_Mutex_P1__getDataChangeMutex,
"",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned_int,
"Resize any per context GLObject buffers to specified size. ",
"");
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 objexts for all graphics contexts. ");
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
"Transform method that must be defined to provide generic interface for scene graph traversals. ",
"");
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
"Transform method that must be defined to provide generic interface for scene graph traversals. ",
"");
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask,
Properties::VIRTUAL,
__void__inheritCullSettings__C5_CullSettings_R1__unsigned_int,
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
"");
I_SimpleProperty(bool, AllowEventFocus,
__bool__getAllowEventFocus,
__void__setAllowEventFocus__bool);
I_SimpleProperty(osg::Camera::BufferAttachmentMap &, BufferAttachmentMap,
__BufferAttachmentMap_R1__getBufferAttachmentMap,
0);
I_SimpleProperty(osg::OperationThread *, CameraThread,
__OperationThread_P1__getCameraThread,
__void__setCameraThread__OperationThread_P1);
I_SimpleProperty(const osg::Vec4 &, ClearAccum,
__C5_osg_Vec4_R1__getClearAccum,
__void__setClearAccum__C5_osg_Vec4_R1);
I_SimpleProperty(const osg::Vec4 &, ClearColor,
__C5_osg_Vec4_R1__getClearColor,
__void__setClearColor__C5_osg_Vec4_R1);
I_SimpleProperty(double, ClearDepth,
__double__getClearDepth,
__void__setClearDepth__double);
I_SimpleProperty(GLbitfield, ClearMask,
__GLbitfield__getClearMask,
__void__setClearMask__GLbitfield);
I_SimpleProperty(int, ClearStencil,
__int__getClearStencil,
__void__setClearStencil__int);
I_SimpleProperty(osg::ColorMask *, ColorMask,
__ColorMask_P1__getColorMask,
__void__setColorMask__osg_ColorMask_P1);
I_SimpleProperty(OpenThreads::Mutex *, DataChangeMutex,
__OpenThreads_Mutex_P1__getDataChangeMutex,
0);
I_SimpleProperty(osg::DisplaySettings *, DisplaySettings,
__osg_DisplaySettings_P1__getDisplaySettings,
__void__setDisplaySettings__osg_DisplaySettings_P1);
I_SimpleProperty(GLenum, DrawBuffer,
__GLenum__getDrawBuffer,
__void__setDrawBuffer__GLenum);
I_SimpleProperty(osg::Camera::DrawCallback *, FinalDrawCallback,
__DrawCallback_P1__getFinalDrawCallback,
__void__setFinalDrawCallback__DrawCallback_P1);
I_SimpleProperty(osg::GraphicsContext *, GraphicsContext,
__GraphicsContext_P1__getGraphicsContext,
__void__setGraphicsContext__GraphicsContext_P1);
I_SimpleProperty(osg::Camera::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentRenderMask,
0,
__void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask);
I_SimpleProperty(osg::Camera::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentResolveMask,
0,
__void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask);
I_SimpleProperty(osg::Camera::DrawCallback *, InitialDrawCallback,
__DrawCallback_P1__getInitialDrawCallback,
__void__setInitialDrawCallback__DrawCallback_P1);
I_SimpleProperty(osg::Matrixd, InverseViewMatrix,
__Matrixd__getInverseViewMatrix,
0);
I_SimpleProperty(osg::Camera::DrawCallback *, PostDrawCallback,
__DrawCallback_P1__getPostDrawCallback,
__void__setPostDrawCallback__DrawCallback_P1);
I_SimpleProperty(osg::Camera::DrawCallback *, PreDrawCallback,
__DrawCallback_P1__getPreDrawCallback,
__void__setPreDrawCallback__DrawCallback_P1);
I_SimpleProperty(const osg::Matrixd &, ProjectionMatrix,
__C5_osg_Matrixd_R1__getProjectionMatrix,
__void__setProjectionMatrix__C5_osg_Matrixd_R1);
I_SimpleProperty(osg::Camera::ProjectionResizePolicy, ProjectionResizePolicy,
__ProjectionResizePolicy__getProjectionResizePolicy,
__void__setProjectionResizePolicy__ProjectionResizePolicy);
I_SimpleProperty(GLenum, ReadBuffer,
__GLenum__getReadBuffer,
__void__setReadBuffer__GLenum);
I_SimpleProperty(osg::Camera::RenderOrder, RenderOrder,
__RenderOrder__getRenderOrder,
0);
I_SimpleProperty(int, RenderOrderNum,
__int__getRenderOrderNum,
0);
I_SimpleProperty(osg::Camera::RenderTargetImplementation, RenderTargetFallback,
__RenderTargetImplementation__getRenderTargetFallback,
0);
I_SimpleProperty(osg::Camera::RenderTargetImplementation, RenderTargetImplementation,
__RenderTargetImplementation__getRenderTargetImplementation,
__void__setRenderTargetImplementation__RenderTargetImplementation);
I_SimpleProperty(osg::GraphicsOperation *, Renderer,
__osg_GraphicsOperation_P1__getRenderer,
__void__setRenderer__osg_GraphicsOperation_P1);
I_SimpleProperty(osg::Object *, RenderingCache,
__osg_Object_P1__getRenderingCache,
__void__setRenderingCache__osg_Object_P1);
I_SimpleProperty(osg::Stats *, Stats,
__osg_Stats_P1__getStats,
__void__setStats__osg_Stats_P1);
I_SimpleProperty(osg::Camera::TransformOrder, TransformOrder,
__TransformOrder__getTransformOrder,
__void__setTransformOrder__TransformOrder);
I_SimpleProperty(osg::View *, View,
__View_P1__getView,
__void__setView__View_P1);
I_SimpleProperty(const osg::Matrixd &, ViewMatrix,
__C5_osg_Matrixd_R1__getViewMatrix,
__void__setViewMatrix__C5_osg_Matrixd_R1);
I_SimpleProperty(osg::Viewport *, Viewport,
__Viewport_P1__getViewport,
__void__setViewport__osg_Viewport_P1);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Camera::Attachment)
I_DeclaringFile("osg/Camera");
I_Constructor0(____Attachment,
"",
"");
I_Method0(int, width,
Properties::NON_VIRTUAL,
__int__width,
"",
"");
I_Method0(int, height,
Properties::NON_VIRTUAL,
__int__height,
"",
"");
I_Method0(int, depth,
Properties::NON_VIRTUAL,
__int__depth,
"",
"");
I_PublicMemberProperty(GLenum, _internalFormat);
I_PublicMemberProperty(osg::ref_ptr< osg::Image >, _image);
I_PublicMemberProperty(osg::ref_ptr< osg::Texture >, _texture);
I_PublicMemberProperty(unsigned int, _level);
I_PublicMemberProperty(unsigned int, _face);
I_PublicMemberProperty(bool, _mipMapGeneration);
I_PublicMemberProperty(unsigned int, _multisampleSamples);
I_PublicMemberProperty(unsigned int, _multisampleColorSamples);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Camera::DrawCallback)
I_DeclaringFile("osg/Camera");
I_VirtualBaseType(osg::Object);
I_Constructor0(____DrawCallback,
"",
"");
I_Constructor2(IN, const osg::Camera::DrawCallback &, x, IN, const osg::CopyOp &, x,
____DrawCallback__C5_DrawCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< osg::Camera::BufferComponent COMMA osg::Camera::Attachment >)

View File

@@ -1,24 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CameraNode>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(osg::Camera, osg::CameraNode)

View File

@@ -1,152 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CameraView>
#include <osg/CopyOp>
#include <osg/Matrix>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Quat>
#include <osg/Vec3d>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::CameraView::FieldOfViewMode)
I_DeclaringFile("osg/CameraView");
I_EnumLabel(osg::CameraView::UNCONSTRAINED);
I_EnumLabel(osg::CameraView::HORIZONTAL);
I_EnumLabel(osg::CameraView::VERTICAL);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::CameraView)
I_DeclaringFile("osg/CameraView");
I_BaseType(osg::Transform);
I_Constructor0(____CameraView,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::CameraView &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CameraView__C5_CameraView_R1__C5_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_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
Properties::NON_VIRTUAL,
__void__setPosition__C5_Vec3d_R1,
"Set the position of the camera view. ",
"");
I_Method0(const osg::Vec3d &, getPosition,
Properties::NON_VIRTUAL,
__C5_Vec3d_R1__getPosition,
"Get the position of the camera view. ",
"");
I_Method1(void, setAttitude, IN, const osg::Quat &, quat,
Properties::NON_VIRTUAL,
__void__setAttitude__C5_Quat_R1,
"Set the attitude of the camera view. ",
"");
I_Method0(const osg::Quat &, getAttitude,
Properties::NON_VIRTUAL,
__C5_Quat_R1__getAttitude,
"Get the attitude of the camera view. ",
"");
I_Method1(void, setFieldOfView, IN, double, fieldOfView,
Properties::NON_VIRTUAL,
__void__setFieldOfView__double,
"Set the field of view. ",
"The cameras field of view can be constrained to either the horizontal or vertex axis of the camera, or unconstrained in which case the camera/application are left to choose an appropriate field of view. The default value if 60 degrees. ");
I_Method0(double, getFieldOfView,
Properties::NON_VIRTUAL,
__double__getFieldOfView,
"Get the field of view. ",
"");
I_Method1(void, setFieldOfViewMode, IN, osg::CameraView::FieldOfViewMode, mode,
Properties::NON_VIRTUAL,
__void__setFieldOfViewMode__FieldOfViewMode,
"Set the field of view mode - controlling how the field of view of the camera is constrained by the CameaView settings. ",
"");
I_Method0(osg::CameraView::FieldOfViewMode, getFieldOfViewMode,
Properties::NON_VIRTUAL,
__FieldOfViewMode__getFieldOfViewMode,
"Get the field of view mode. ",
"");
I_Method1(void, setFocalLength, IN, double, focalLength,
Properties::NON_VIRTUAL,
__void__setFocalLength__double,
"Set the focal length of the camera. ",
"A focal length of 0.0 indicates that the camera/application should determine the focal length. The default value is 0.0. ");
I_Method0(double, getFocalLength,
Properties::NON_VIRTUAL,
__double__getFocalLength,
"Get the focal length of the camera. ",
"");
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
Properties::VIRTUAL,
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
"",
"");
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
Properties::VIRTUAL,
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
"",
"");
I_SimpleProperty(const osg::Quat &, Attitude,
__C5_Quat_R1__getAttitude,
__void__setAttitude__C5_Quat_R1);
I_SimpleProperty(double, FieldOfView,
__double__getFieldOfView,
__void__setFieldOfView__double);
I_SimpleProperty(osg::CameraView::FieldOfViewMode, FieldOfViewMode,
__FieldOfViewMode__getFieldOfViewMode,
__void__setFieldOfViewMode__FieldOfViewMode);
I_SimpleProperty(double, FocalLength,
__double__getFocalLength,
__void__setFocalLength__double);
I_SimpleProperty(const osg::Vec3d &, Position,
__C5_Vec3d_R1__getPosition,
__void__setPosition__C5_Vec3d_R1);
END_REFLECTOR

View File

@@ -1,132 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ClampColor>
#include <osg/CopyOp>
#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::ClampColor)
I_DeclaringFile("osg/ClampColor");
I_BaseType(osg::StateAttribute);
I_Constructor0(____ClampColor,
"",
"");
I_Constructor3(IN, GLenum, vertexMode, IN, GLenum, fragmentMode, IN, GLenum, readMode,
____ClampColor__GLenum__GLenum__GLenum,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ClampColor &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ClampColor__C5_ClampColor_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_Method1(void, setClampVertexColor, IN, GLenum, mode,
Properties::NON_VIRTUAL,
__void__setClampVertexColor__GLenum,
"",
"");
I_Method0(GLenum, getClampVertexColor,
Properties::NON_VIRTUAL,
__GLenum__getClampVertexColor,
"",
"");
I_Method1(void, setClampFragmentColor, IN, GLenum, mode,
Properties::NON_VIRTUAL,
__void__setClampFragmentColor__GLenum,
"",
"");
I_Method0(GLenum, getClampFragmentColor,
Properties::NON_VIRTUAL,
__GLenum__getClampFragmentColor,
"",
"");
I_Method1(void, setClampReadColor, IN, GLenum, mode,
Properties::NON_VIRTUAL,
__void__setClampReadColor__GLenum,
"",
"");
I_Method0(GLenum, getClampReadColor,
Properties::NON_VIRTUAL,
__GLenum__getClampReadColor,
"",
"");
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_StaticMethod2(osg::ClampColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::ClampColor::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() 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_SimpleProperty(GLenum, ClampFragmentColor,
__GLenum__getClampFragmentColor,
__void__setClampFragmentColor__GLenum);
I_SimpleProperty(GLenum, ClampReadColor,
__GLenum__getClampReadColor,
__void__setClampReadColor__GLenum);
I_SimpleProperty(GLenum, ClampVertexColor,
__GLenum__getClampVertexColor,
__void__setClampVertexColor__GLenum);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,107 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ClearNode>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ClearNode)
I_DeclaringFile("osg/ClearNode");
I_BaseType(osg::Group);
I_Constructor0(____ClearNode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ClearNode &, cs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ClearNode__C5_ClearNode_R1__C5_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_Method1(void, setRequiresClear, IN, bool, requiresClear,
Properties::NON_VIRTUAL,
__void__setRequiresClear__bool,
"Enable/disable clearing via glClear. ",
"");
I_Method0(bool, getRequiresClear,
Properties::NON_VIRTUAL,
__bool__getRequiresClear,
"Gets whether clearing is enabled or disabled. ",
"");
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
__void__setClearColor__C5_Vec4_R1,
"Sets the clear color. ",
"");
I_Method0(const osg::Vec4 &, getClearColor,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getClearColor,
"Returns the clear color. ",
"");
I_Method1(void, setClearMask, IN, GLbitfield, mask,
Properties::NON_VIRTUAL,
__void__setClearMask__GLbitfield,
"Set the clear mask used in glClear(. ",
".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. ");
I_Method0(GLbitfield, getClearMask,
Properties::NON_VIRTUAL,
__GLbitfield__getClearMask,
"Get the clear mask. ",
"");
I_SimpleProperty(const osg::Vec4 &, ClearColor,
__C5_Vec4_R1__getClearColor,
__void__setClearColor__C5_Vec4_R1);
I_SimpleProperty(GLbitfield, ClearMask,
__GLbitfield__getClearMask,
__void__setClearMask__GLbitfield);
I_SimpleProperty(bool, RequiresClear,
__bool__getRequiresClear,
__void__setRequiresClear__bool);
END_REFLECTOR

View File

@@ -1,213 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/ClipNode>
#include <osg/ClipPlane>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/StateAttribute>
#include <osg/StateSet>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::ClipNode::ReferenceFrame)
I_DeclaringFile("osg/ClipNode");
I_EnumLabel(osg::ClipNode::RELATIVE_RF);
I_EnumLabel(osg::ClipNode::ABSOLUTE_RF);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::ClipPlane > >, osg::ClipNode::ClipPlaneList)
BEGIN_OBJECT_REFLECTOR(osg::ClipNode)
I_DeclaringFile("osg/ClipNode");
I_BaseType(osg::Group);
I_Constructor0(____ClipNode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ClipNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ClipNode__C5_ClipNode_R1__C5_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_Method1(void, setReferenceFrame, IN, osg::ClipNode::ReferenceFrame, rf,
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ",
"RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene. ");
I_Method0(osg::ClipNode::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,
"",
"");
I_MethodWithDefaults2(void, createClipBox, IN, const osg::BoundingBox &, bb, , IN, unsigned int, clipPlaneNumberBase, 0,
Properties::NON_VIRTUAL,
__void__createClipBox__C5_BoundingBox_R1__unsigned_int,
"Creates six clip planes corresponding to the given BoundingBox. ",
"");
I_Method1(bool, addClipPlane, IN, osg::ClipPlane *, clipplane,
Properties::NON_VIRTUAL,
__bool__addClipPlane__ClipPlane_P1,
"Adds the clipplane. ",
"Returns true on success, and false if the plane has already been added, or if clipplane is NULL. ");
I_Method1(bool, removeClipPlane, IN, osg::ClipPlane *, clipplane,
Properties::NON_VIRTUAL,
__bool__removeClipPlane__ClipPlane_P1,
"Removes the clipplane. ",
"Returns true on success, false if clipplane isn't in this ClipNode. ");
I_Method1(bool, removeClipPlane, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__bool__removeClipPlane__unsigned_int,
"Remove the ClipPlane with the given index. ",
"Returns true on success, false if pos is not a valid plane index. ");
I_Method0(unsigned int, getNumClipPlanes,
Properties::NON_VIRTUAL,
__unsigned_int__getNumClipPlanes,
"Returns the number of ClipPlanes. ",
"");
I_Method1(osg::ClipPlane *, getClipPlane, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__ClipPlane_P1__getClipPlane__unsigned_int,
"Get ClipPlane at the given index position. ",
"");
I_Method1(const osg::ClipPlane *, getClipPlane, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__C5_ClipPlane_P1__getClipPlane__unsigned_int,
"Get const ClipPlane at the given index position. ",
"");
I_Method1(void, setClipPlaneList, IN, const osg::ClipNode::ClipPlaneList &, cpl,
Properties::NON_VIRTUAL,
__void__setClipPlaneList__C5_ClipPlaneList_R1,
"Set the ClipPlaneList. ",
"");
I_Method0(osg::ClipNode::ClipPlaneList &, getClipPlaneList,
Properties::NON_VIRTUAL,
__ClipPlaneList_R1__getClipPlaneList,
"Get the ClipPlaneList. ",
"");
I_Method0(const osg::ClipNode::ClipPlaneList &, getClipPlaneList,
Properties::NON_VIRTUAL,
__C5_ClipPlaneList_R1__getClipPlaneList,
"Get the const ClipPlaneList. ",
"");
I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x,
Properties::NON_VIRTUAL,
__void__setStateSetModes__StateSet_R1__StateAttribute_GLModeValue,
"Set the GLModes for all ClipPlanes, on the StateSet. ",
"");
I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, x, osg::StateAttribute::ON,
Properties::NON_VIRTUAL,
__void__setLocalStateSetModes__StateAttribute_GLModeValue,
"Set up the local StateSet. ",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_ArrayProperty(osg::ClipPlane *, ClipPlane,
__ClipPlane_P1__getClipPlane__unsigned_int,
0,
__unsigned_int__getNumClipPlanes,
__bool__addClipPlane__ClipPlane_P1,
0,
__bool__removeClipPlane__unsigned_int);
I_SimpleProperty(const osg::ClipNode::ClipPlaneList &, ClipPlaneList,
__C5_ClipPlaneList_R1__getClipPlaneList,
__void__setClipPlaneList__C5_ClipPlaneList_R1);
I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes,
0,
__void__setLocalStateSetModes__StateAttribute_GLModeValue);
I_SimpleProperty(osg::ClipNode::ReferenceFrame, ReferenceFrame,
__ReferenceFrame__getReferenceFrame,
__void__setReferenceFrame__ReferenceFrame);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::ClipPlane >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::ClipPlane *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::ClipPlane > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::ClipPlane *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::ClipPlane *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::ClipPlane > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::ClipPlane *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::ClipPlane > >)

View File

@@ -1,149 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ClipPlane>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Plane>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4d>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ClipPlane)
I_DeclaringFile("osg/ClipPlane");
I_BaseType(osg::StateAttribute);
I_Constructor0(____ClipPlane,
"",
"");
I_Constructor1(IN, unsigned int, no,
Properties::NON_EXPLICIT,
____ClipPlane__unsigned_int,
"",
"");
I_Constructor2(IN, unsigned int, no, IN, const osg::Vec4d &, plane,
____ClipPlane__unsigned_int__C5_Vec4d_R1,
"",
"");
I_Constructor2(IN, unsigned int, no, IN, const osg::Plane &, plane,
____ClipPlane__unsigned_int__C5_Plane_R1,
"",
"");
I_Constructor5(IN, unsigned int, no, IN, double, a, IN, double, b, IN, double, c, IN, double, d,
____ClipPlane__unsigned_int__double__double__double__double,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ClipPlane &, cp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ClipPlane__C5_ClipPlane_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(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
"");
I_Method1(void, setClipPlane, IN, const osg::Plane &, plane,
Properties::NON_VIRTUAL,
__void__setClipPlane__C5_Plane_R1,
"Set the clip plane with the given Plane. ",
"");
I_Method4(void, setClipPlane, IN, double, a, IN, double, b, IN, double, c, IN, double, d,
Properties::NON_VIRTUAL,
__void__setClipPlane__double__double__double__double,
"Defines the plane as [ a b c d ]. ",
"");
I_Method1(void, setClipPlane, IN, const osg::Vec4d &, plane,
Properties::NON_VIRTUAL,
__void__setClipPlane__C5_Vec4d_R1,
"Set the clip plane with the given Vec4. ",
"");
I_Method0(const osg::Vec4d &, getClipPlane,
Properties::NON_VIRTUAL,
__C5_Vec4d_R1__getClipPlane,
"Gets the clip plane as a Vec4d. ",
"");
I_Method1(void, setClipPlaneNum, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setClipPlaneNum__unsigned_int,
"Sets the clip plane number. ",
"");
I_Method0(unsigned int, getClipPlaneNum,
Properties::NON_VIRTUAL,
__unsigned_int__getClipPlaneNum,
"Gets the clip plane number. ",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"Applies the clip plane's state to the OpenGL state machine. ",
"");
I_SimpleProperty(const osg::Vec4d &, ClipPlane,
__C5_Vec4d_R1__getClipPlane,
__void__setClipPlane__C5_Vec4d_R1);
I_SimpleProperty(unsigned int, ClipPlaneNum,
__unsigned_int__getClipPlaneNum,
__void__setClipPlaneNum__unsigned_int);
I_SimpleProperty(unsigned int, Member,
__unsigned_int__getMember,
0);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,149 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ClusterCullingCallback>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/State>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ClusterCullingCallback)
I_DeclaringFile("osg/ClusterCullingCallback");
I_BaseType(osg::Drawable::CullCallback);
I_BaseType(osg::NodeCallback);
I_Constructor0(____ClusterCullingCallback,
"",
"");
I_Constructor2(IN, const osg::ClusterCullingCallback &, ccc, IN, const osg::CopyOp &, copyop,
____ClusterCullingCallback__C5_ClusterCullingCallback_R1__C5_CopyOp_R1,
"",
"");
I_Constructor3(IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation,
____ClusterCullingCallback__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float,
"",
"");
I_Constructor1(IN, const osg::Drawable *, drawable,
Properties::NON_EXPLICIT,
____ClusterCullingCallback__C5_osg_Drawable_P1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, computeFrom, IN, const osg::Drawable *, drawable,
Properties::NON_VIRTUAL,
__void__computeFrom__C5_osg_Drawable_P1,
"Computes the control point, normal, and deviation from the given drawable contents. ",
"");
I_Method1(void, transform, IN, const osg::Matrixd &, matrix,
Properties::NON_VIRTUAL,
__void__transform__C5_osg_Matrixd_R1,
"Transform the ClusterCullingCallback's positional members to a new coordinate frame. ",
"");
I_Method4(void, set, IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation, IN, float, radius,
Properties::NON_VIRTUAL,
__void__set__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float__float,
"",
"");
I_Method1(void, setControlPoint, IN, const osg::Vec3 &, controlPoint,
Properties::NON_VIRTUAL,
__void__setControlPoint__C5_osg_Vec3_R1,
"",
"");
I_Method0(const osg::Vec3 &, getControlPoint,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getControlPoint,
"",
"");
I_Method1(void, setNormal, IN, const osg::Vec3 &, normal,
Properties::NON_VIRTUAL,
__void__setNormal__C5_osg_Vec3_R1,
"",
"");
I_Method0(const osg::Vec3 &, getNormal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getNormal,
"",
"");
I_Method1(void, setRadius, IN, float, radius,
Properties::NON_VIRTUAL,
__void__setRadius__float,
"",
"");
I_Method0(float, getRadius,
Properties::NON_VIRTUAL,
__float__getRadius,
"",
"");
I_Method1(void, setDeviation, IN, float, deviation,
Properties::NON_VIRTUAL,
__void__setDeviation__float,
"",
"");
I_Method0(float, getDeviation,
Properties::NON_VIRTUAL,
__float__getDeviation,
"",
"");
I_Method3(bool, cull, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, IN, osg::State *, x,
Properties::VIRTUAL,
__bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_State_P1,
"deprecated. ",
"");
I_SimpleProperty(const osg::Vec3 &, ControlPoint,
__C5_osg_Vec3_R1__getControlPoint,
__void__setControlPoint__C5_osg_Vec3_R1);
I_SimpleProperty(float, Deviation,
__float__getDeviation,
__void__setDeviation__float);
I_SimpleProperty(const osg::Vec3 &, Normal,
__C5_osg_Vec3_R1__getNormal,
__void__setNormal__C5_osg_Vec3_R1);
I_SimpleProperty(float, Radius,
__float__getRadius,
__void__setRadius__float);
END_REFLECTOR

View File

@@ -1,181 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CollectOccludersVisitor>
#include <osg/LOD>
#include <osg/Node>
#include <osg/OccluderNode>
#include <osg/Projection>
#include <osg/Switch>
#include <osg/Transform>
#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::set< osg::ShadowVolumeOccluder >, osg::CollectOccludersVisitor::ShadowVolumeOccluderSet)
BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
I_DeclaringFile("osg/CollectOccludersVisitor");
I_BaseType(osg::NodeVisitor);
I_BaseType(osg::CullStack);
I_Constructor0(____CollectOccludersVisitor,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the library name/namespapce of the visitor's. ",
"Should be defined by derived classes. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the visitor's class type. ",
"Should be defined by derived classes. ");
I_Method0(osg::CollectOccludersVisitor *, cloneType,
Properties::VIRTUAL,
__CollectOccludersVisitor_P1__cloneType,
"",
"");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"",
"");
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 &, 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 &, 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. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__osg_Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__osg_Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__osg_LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__osg_OccluderNode_R1,
"",
"");
I_Method1(void, setMinimumShadowOccluderVolume, IN, float, vol,
Properties::NON_VIRTUAL,
__void__setMinimumShadowOccluderVolume__float,
"Sets the minimum shadow occluder volume that an active occluder must have. ",
"vol is units relative the clip space volume where 1.0 is the whole clip space. ");
I_Method0(float, getMinimumShadowOccluderVolume,
Properties::NON_VIRTUAL,
__float__getMinimumShadowOccluderVolume,
"",
"");
I_Method1(void, setMaximumNumberOfActiveOccluders, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setMaximumNumberOfActiveOccluders__unsigned_int,
"Sets the maximum number of occluders to have active for culling purposes. ",
"");
I_Method0(unsigned int, getMaximumNumberOfActiveOccluders,
Properties::NON_VIRTUAL,
__unsigned_int__getMaximumNumberOfActiveOccluders,
"",
"");
I_Method1(void, setCreateDrawablesOnOccludeNodes, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setCreateDrawablesOnOccludeNodes__bool,
"",
"");
I_Method0(bool, getCreateDrawablesOnOccludeNodes,
Properties::NON_VIRTUAL,
__bool__getCreateDrawablesOnOccludeNodes,
"",
"");
I_Method1(void, setCollectedOccluderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol,
Properties::NON_VIRTUAL,
__void__setCollectedOccluderSet__C5_ShadowVolumeOccluderSet_R1,
"",
"");
I_Method0(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
Properties::NON_VIRTUAL,
__ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
"",
"");
I_Method0(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
Properties::NON_VIRTUAL,
__C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
"",
"");
I_Method0(void, removeOccludedOccluders,
Properties::NON_VIRTUAL,
__void__removeOccludedOccluders,
"Removes occluded occluders for the collected occluders list, then discards all but MaximumNumberOfActiveOccluders of occluders, discarding the occluders with the lowest shadow occluder volume. ",
"");
I_ProtectedMethod1(void, handle_cull_callbacks_and_traverse, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__handle_cull_callbacks_and_traverse__osg_Node_R1,
"",
"");
I_ProtectedMethod2(void, handle_cull_callbacks_and_accept, IN, osg::Node &, node, IN, osg::Node *, acceptNode,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__handle_cull_callbacks_and_accept__osg_Node_R1__osg_Node_P1,
"",
"");
I_SimpleProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet,
__C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
__void__setCollectedOccluderSet__C5_ShadowVolumeOccluderSet_R1);
I_SimpleProperty(bool, CreateDrawablesOnOccludeNodes,
__bool__getCreateDrawablesOnOccludeNodes,
__void__setCreateDrawablesOnOccludeNodes__bool);
I_SimpleProperty(unsigned int, MaximumNumberOfActiveOccluders,
__unsigned_int__getMaximumNumberOfActiveOccluders,
__void__setMaximumNumberOfActiveOccluders__unsigned_int);
I_SimpleProperty(float, MinimumShadowOccluderVolume,
__float__getMinimumShadowOccluderVolume,
__void__setMinimumShadowOccluderVolume__float);
END_REFLECTOR
STD_SET_REFLECTOR(std::set< osg::ShadowVolumeOccluder >)

View File

@@ -1,142 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ColorMask>
#include <osg/CopyOp>
#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::ColorMask)
I_DeclaringFile("osg/ColorMask");
I_BaseType(osg::StateAttribute);
I_Constructor0(____ColorMask,
"",
"");
I_Constructor4(IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha,
____ColorMask__bool__bool__bool__bool,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ColorMask &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ColorMask__C5_ColorMask_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_Method4(void, setMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha,
Properties::NON_VIRTUAL,
__void__setMask__bool__bool__bool__bool,
"",
"");
I_Method1(void, setRedMask, IN, bool, mask,
Properties::NON_VIRTUAL,
__void__setRedMask__bool,
"",
"");
I_Method0(bool, getRedMask,
Properties::NON_VIRTUAL,
__bool__getRedMask,
"",
"");
I_Method1(void, setGreenMask, IN, bool, mask,
Properties::NON_VIRTUAL,
__void__setGreenMask__bool,
"",
"");
I_Method0(bool, getGreenMask,
Properties::NON_VIRTUAL,
__bool__getGreenMask,
"",
"");
I_Method1(void, setBlueMask, IN, bool, mask,
Properties::NON_VIRTUAL,
__void__setBlueMask__bool,
"",
"");
I_Method0(bool, getBlueMask,
Properties::NON_VIRTUAL,
__bool__getBlueMask,
"",
"");
I_Method1(void, setAlphaMask, IN, bool, mask,
Properties::NON_VIRTUAL,
__void__setAlphaMask__bool,
"",
"");
I_Method0(bool, getAlphaMask,
Properties::NON_VIRTUAL,
__bool__getAlphaMask,
"",
"");
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(bool, AlphaMask,
__bool__getAlphaMask,
__void__setAlphaMask__bool);
I_SimpleProperty(bool, BlueMask,
__bool__getBlueMask,
__void__setBlueMask__bool);
I_SimpleProperty(bool, GreenMask,
__bool__getGreenMask,
__void__setGreenMask__bool);
I_SimpleProperty(bool, RedMask,
__bool__getRedMask,
__void__setRedMask__bool);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,100 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ColorMatrix>
#include <osg/CopyOp>
#include <osg/Matrix>
#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::ColorMatrix)
I_DeclaringFile("osg/ColorMatrix");
I_BaseType(osg::StateAttribute);
I_Constructor0(____ColorMatrix,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ColorMatrix &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ColorMatrix__C5_ColorMatrix_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_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
Properties::NON_VIRTUAL,
__void__setMatrix__C5_Matrix_R1,
"Sets the color matrix. ",
"");
I_Method0(osg::Matrix &, getMatrix,
Properties::NON_VIRTUAL,
__Matrix_R1__getMatrix,
"Gets the color matrix. ",
"");
I_Method0(const osg::Matrix &, getMatrix,
Properties::NON_VIRTUAL,
__C5_Matrix_R1__getMatrix,
"Gets the const color matrix. ",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"Applies as OpenGL texture matrix. ",
"");
I_SimpleProperty(const osg::Matrix &, Matrix,
__C5_Matrix_R1__getMatrix,
__void__setMatrix__C5_Matrix_R1);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,103 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/ComputeBoundsVisitor>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Matrix>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Polytope>
#include <osg/Transform>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor)
I_DeclaringFile("osg/ComputeBoundsVisitor");
I_BaseType(osg::NodeVisitor);
I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, traversalMode, osg::NodeVisitor::TRAVERSE_ALL_CHILDREN,
Properties::NON_EXPLICIT,
____ComputeBoundsVisitor__TraversalMode,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the library name/namespapce of the visitor's. ",
"Should be defined by derived classes. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the visitor's class type. ",
"Should be defined by derived classes. ");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method0(osg::BoundingBox &, getBoundingBox,
Properties::NON_VIRTUAL,
__osg_BoundingBox_R1__getBoundingBox,
"",
"");
I_MethodWithDefaults2(void, getPolytope, IN, osg::Polytope &, polytope, , IN, float, margin, 0.1,
Properties::NON_VIRTUAL,
__void__getPolytope__osg_Polytope_R1__float,
"",
"");
I_MethodWithDefaults2(void, getBase, IN, osg::Polytope &, polytope, , IN, float, margin, 0.1,
Properties::NON_VIRTUAL,
__void__getBase__osg_Polytope_R1__float,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, transform,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, geode,
Properties::VIRTUAL,
__void__apply__osg_Geode_R1,
"",
"");
I_Method1(void, pushMatrix, IN, osg::Matrix &, matrix,
Properties::NON_VIRTUAL,
__void__pushMatrix__osg_Matrix_R1,
"",
"");
I_Method0(void, popMatrix,
Properties::NON_VIRTUAL,
__void__popMatrix,
"",
"");
I_Method1(void, applyDrawable, IN, osg::Drawable *, drawable,
Properties::NON_VIRTUAL,
__void__applyDrawable__osg_Drawable_P1,
"",
"");
I_SimpleProperty(osg::BoundingBox &, BoundingBox,
__osg_BoundingBox_R1__getBoundingBox,
0);
END_REFLECTOR

View File

@@ -1,107 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ConvexPlanarOccluder>
#include <osg/ConvexPlanarPolygon>
#include <osg/CopyOp>
#include <osg/Object>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::vector< osg::ConvexPlanarPolygon >, osg::ConvexPlanarOccluder::HoleList)
BEGIN_OBJECT_REFLECTOR(osg::ConvexPlanarOccluder)
I_DeclaringFile("osg/ConvexPlanarOccluder");
I_BaseType(osg::Object);
I_Constructor0(____ConvexPlanarOccluder,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ConvexPlanarOccluder &, cpo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ConvexPlanarOccluder__C5_ConvexPlanarOccluder_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, setOccluder, IN, const osg::ConvexPlanarPolygon &, cpp,
Properties::NON_VIRTUAL,
__void__setOccluder__C5_ConvexPlanarPolygon_R1,
"",
"");
I_Method0(osg::ConvexPlanarPolygon &, getOccluder,
Properties::NON_VIRTUAL,
__ConvexPlanarPolygon_R1__getOccluder,
"",
"");
I_Method0(const osg::ConvexPlanarPolygon &, getOccluder,
Properties::NON_VIRTUAL,
__C5_ConvexPlanarPolygon_R1__getOccluder,
"",
"");
I_Method1(void, addHole, IN, const osg::ConvexPlanarPolygon &, cpp,
Properties::NON_VIRTUAL,
__void__addHole__C5_ConvexPlanarPolygon_R1,
"",
"");
I_Method1(void, setHoleList, IN, const osg::ConvexPlanarOccluder::HoleList &, holeList,
Properties::NON_VIRTUAL,
__void__setHoleList__C5_HoleList_R1,
"",
"");
I_Method0(osg::ConvexPlanarOccluder::HoleList &, getHoleList,
Properties::NON_VIRTUAL,
__HoleList_R1__getHoleList,
"",
"");
I_Method0(const osg::ConvexPlanarOccluder::HoleList &, getHoleList,
Properties::NON_VIRTUAL,
__C5_HoleList_R1__getHoleList,
"",
"");
I_SimpleProperty(const osg::ConvexPlanarOccluder::HoleList &, HoleList,
__C5_HoleList_R1__getHoleList,
__void__setHoleList__C5_HoleList_R1);
I_SimpleProperty(const osg::ConvexPlanarPolygon &, Occluder,
__C5_ConvexPlanarPolygon_R1__getOccluder,
__void__setOccluder__C5_ConvexPlanarPolygon_R1);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ConvexPlanarPolygon >)

View File

@@ -1,55 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ConvexPlanarPolygon>
#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::Vec3 >, osg::ConvexPlanarPolygon::VertexList)
BEGIN_VALUE_REFLECTOR(osg::ConvexPlanarPolygon)
I_DeclaringFile("osg/ConvexPlanarPolygon");
I_Constructor0(____ConvexPlanarPolygon,
"",
"");
I_Method1(void, add, IN, const osg::Vec3 &, v,
Properties::NON_VIRTUAL,
__void__add__C5_Vec3_R1,
"",
"");
I_Method1(void, setVertexList, IN, const osg::ConvexPlanarPolygon::VertexList &, vertexList,
Properties::NON_VIRTUAL,
__void__setVertexList__C5_VertexList_R1,
"",
"");
I_Method0(osg::ConvexPlanarPolygon::VertexList &, getVertexList,
Properties::NON_VIRTUAL,
__VertexList_R1__getVertexList,
"",
"");
I_Method0(const osg::ConvexPlanarPolygon::VertexList &, getVertexList,
Properties::NON_VIRTUAL,
__C5_VertexList_R1__getVertexList,
"",
"");
I_SimpleProperty(const osg::ConvexPlanarPolygon::VertexList &, VertexList,
__C5_VertexList_R1__getVertexList,
__void__setVertexList__C5_VertexList_R1);
END_REFLECTOR

View File

@@ -1,239 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CoordinateSystemNode>
#include <osg/CopyOp>
#include <osg/Matrixd>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3d>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::CoordinateSystemNode)
I_DeclaringFile("osg/CoordinateSystemNode");
I_BaseType(osg::Group);
I_Constructor0(____CoordinateSystemNode,
"",
"");
I_Constructor2(IN, const std::string &, format, IN, const std::string &, cs,
____CoordinateSystemNode__C5_std_string_R1__C5_std_string_R1,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::CoordinateSystemNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CoordinateSystemNode__C5_CoordinateSystemNode_R1__C5_osg_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
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_Method1(void, set, IN, const osg::CoordinateSystemNode &, csn,
Properties::NON_VIRTUAL,
__void__set__C5_CoordinateSystemNode_R1,
"Set the coordinate system node up by copying the format, coordinate system string, and ellipsoid model of another coordinate system node. ",
"");
I_Method1(void, setFormat, IN, const std::string &, format,
Properties::NON_VIRTUAL,
__void__setFormat__C5_std_string_R1,
"Set the coordinate system format string. ",
"Typical values would be WKT, PROJ4, USGS etc. ");
I_Method0(const std::string &, getFormat,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFormat,
"Get the coordinate system format string. ",
"");
I_Method1(void, setCoordinateSystem, IN, const std::string &, cs,
Properties::NON_VIRTUAL,
__void__setCoordinateSystem__C5_std_string_R1,
"Set the CoordinateSystem reference string, should be stored in a form consistent with the Format. ",
"");
I_Method0(const std::string &, getCoordinateSystem,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getCoordinateSystem,
"Get the CoordinateSystem reference string. ",
"");
I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode,
Properties::NON_VIRTUAL,
__void__setEllipsoidModel__EllipsoidModel_P1,
"Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. ",
"");
I_Method0(osg::EllipsoidModel *, getEllipsoidModel,
Properties::NON_VIRTUAL,
__EllipsoidModel_P1__getEllipsoidModel,
"Get the EllipsoidModel. ",
"");
I_Method0(const osg::EllipsoidModel *, getEllipsoidModel,
Properties::NON_VIRTUAL,
__C5_EllipsoidModel_P1__getEllipsoidModel,
"Get the const EllipsoidModel. ",
"");
I_Method1(osg::CoordinateFrame, computeLocalCoordinateFrame, IN, const osg::Vec3d &, position,
Properties::NON_VIRTUAL,
__CoordinateFrame__computeLocalCoordinateFrame__C5_Vec3d_R1,
"Compute the local coordinate frame for specified point. ",
"");
I_Method1(osg::Vec3d, computeLocalUpVector, IN, const osg::Vec3d &, position,
Properties::NON_VIRTUAL,
__osg_Vec3d__computeLocalUpVector__C5_Vec3d_R1,
"Compute the local up-vector for specified point. ",
"");
I_SimpleProperty(const std::string &, CoordinateSystem,
__C5_std_string_R1__getCoordinateSystem,
__void__setCoordinateSystem__C5_std_string_R1);
I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel,
__EllipsoidModel_P1__getEllipsoidModel,
__void__setEllipsoidModel__EllipsoidModel_P1);
I_SimpleProperty(const std::string &, Format,
__C5_std_string_R1__getFormat,
__void__setFormat__C5_std_string_R1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::EllipsoidModel)
I_DeclaringFile("osg/CoordinateSystemNode");
I_BaseType(osg::Object);
I_ConstructorWithDefaults2(IN, double, radiusEquator, osg::WGS_84_RADIUS_EQUATOR, IN, double, radiusPolar, osg::WGS_84_RADIUS_POLAR,
____EllipsoidModel__double__double,
"WGS_84 is a common representation of the earth's spheroid. ",
"");
I_ConstructorWithDefaults2(IN, const osg::EllipsoidModel &, et, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____EllipsoidModel__C5_EllipsoidModel_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, setRadiusEquator, IN, double, radius,
Properties::NON_VIRTUAL,
__void__setRadiusEquator__double,
"",
"");
I_Method0(double, getRadiusEquator,
Properties::NON_VIRTUAL,
__double__getRadiusEquator,
"",
"");
I_Method1(void, setRadiusPolar, IN, double, radius,
Properties::NON_VIRTUAL,
__void__setRadiusPolar__double,
"",
"");
I_Method0(double, getRadiusPolar,
Properties::NON_VIRTUAL,
__double__getRadiusPolar,
"",
"");
I_Method6(void, convertLatLongHeightToXYZ, IN, double, latitude, IN, double, longitude, IN, double, height, IN, double &, X, IN, double &, Y, IN, double &, Z,
Properties::NON_VIRTUAL,
__void__convertLatLongHeightToXYZ__double__double__double__double_R1__double_R1__double_R1,
"",
"");
I_Method6(void, convertXYZToLatLongHeight, IN, double, X, IN, double, Y, IN, double, Z, IN, double &, latitude, IN, double &, longitude, IN, double &, height,
Properties::NON_VIRTUAL,
__void__convertXYZToLatLongHeight__double__double__double__double_R1__double_R1__double_R1,
"",
"");
I_Method4(void, computeLocalToWorldTransformFromLatLongHeight, IN, double, latitude, IN, double, longitude, IN, double, height, IN, osg::Matrixd &, localToWorld,
Properties::NON_VIRTUAL,
__void__computeLocalToWorldTransformFromLatLongHeight__double__double__double__osg_Matrixd_R1,
"",
"");
I_Method4(void, computeLocalToWorldTransformFromXYZ, IN, double, X, IN, double, Y, IN, double, Z, IN, osg::Matrixd &, localToWorld,
Properties::NON_VIRTUAL,
__void__computeLocalToWorldTransformFromXYZ__double__double__double__osg_Matrixd_R1,
"",
"");
I_Method3(void, computeCoordinateFrame, IN, double, latitude, IN, double, longitude, IN, osg::Matrixd &, localToWorld,
Properties::NON_VIRTUAL,
__void__computeCoordinateFrame__double__double__osg_Matrixd_R1,
"",
"");
I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z,
Properties::NON_VIRTUAL,
__osg_Vec3d__computeLocalUpVector__double__double__double,
"",
"");
I_Method0(bool, isWGS84,
Properties::NON_VIRTUAL,
__bool__isWGS84,
"",
"");
I_ProtectedMethod0(void, computeCoefficients,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__computeCoefficients,
"",
"");
I_SimpleProperty(double, RadiusEquator,
__double__getRadiusEquator,
__void__setRadiusEquator__double);
I_SimpleProperty(double, RadiusPolar,
__double__getRadiusPolar,
__void__setRadiusPolar__double);
END_REFLECTOR
TYPE_NAME_ALIAS(osg::Matrixd, osg::CoordinateFrame)

View File

@@ -1,65 +0,0 @@
// ***************************************************************************
//
// 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/Drawable>
#include <osg/Image>
#include <osg/Node>
#include <osg/NodeCallback>
#include <osg/Object>
#include <osg/PrimitiveSet>
#include <osg/Referenced>
#include <osg/Shape>
#include <osg/StateAttribute>
#include <osg/StateAttributeCallback>
#include <osg/StateSet>
#include <osg/Texture>
#include <osg/Uniform>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::CopyOp::Options)
I_DeclaringFile("osg/CopyOp");
I_EnumLabel(osg::CopyOp::SHALLOW_COPY);
I_EnumLabel(osg::CopyOp::DEEP_COPY_OBJECTS);
I_EnumLabel(osg::CopyOp::DEEP_COPY_NODES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_DRAWABLES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_STATESETS);
I_EnumLabel(osg::CopyOp::DEEP_COPY_STATEATTRIBUTES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_TEXTURES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_IMAGES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_ARRAYS);
I_EnumLabel(osg::CopyOp::DEEP_COPY_PRIMITIVES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_SHAPES);
I_EnumLabel(osg::CopyOp::DEEP_COPY_UNIFORMS);
I_EnumLabel(osg::CopyOp::DEEP_COPY_CALLBACKS);
I_EnumLabel(osg::CopyOp::DEEP_COPY_ALL);
END_REFLECTOR
TYPE_NAME_ALIAS(unsigned int, osg::CopyOp::CopyFlags)
BEGIN_VALUE_REFLECTOR(osg::CopyOp)
I_DeclaringFile("osg/CopyOp");
I_ConstructorWithDefaults1(IN, osg::CopyOp::CopyFlags, flags, osg::CopyOp::SHALLOW_COPY,
Properties::NON_EXPLICIT,
____CopyOp__CopyFlags,
"",
"");
END_REFLECTOR

View File

@@ -1,108 +0,0 @@
// ***************************************************************************
//
// 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/CullFace>
#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_ENUM_REFLECTOR(osg::CullFace::Mode)
I_DeclaringFile("osg/CullFace");
I_EnumLabel(osg::CullFace::FRONT);
I_EnumLabel(osg::CullFace::BACK);
I_EnumLabel(osg::CullFace::FRONT_AND_BACK);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::CullFace)
I_DeclaringFile("osg/CullFace");
I_BaseType(osg::StateAttribute);
I_ConstructorWithDefaults1(IN, osg::CullFace::Mode, mode, osg::CullFace::BACK,
Properties::NON_EXPLICIT,
____CullFace__Mode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::CullFace &, cf, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____CullFace__C5_CullFace_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_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, setMode, IN, osg::CullFace::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"",
"");
I_Method0(osg::CullFace::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__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(osg::CullFace::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,358 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ArgumentParser>
#include <osg/CullSettings>
#include <osg/Matrixd>
#include <osg/Matrixf>
#include <osg/Node>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask)
I_DeclaringFile("osg/CullSettings");
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE);
I_EnumLabel(osg::CullSettings::CULLING_MODE);
I_EnumLabel(osg::CullSettings::LOD_SCALE);
I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING_PIXEL_SIZE);
I_EnumLabel(osg::CullSettings::CLAMP_PROJECTION_MATRIX_CALLBACK);
I_EnumLabel(osg::CullSettings::NEAR_FAR_RATIO);
I_EnumLabel(osg::CullSettings::IMPOSTOR_ACTIVE);
I_EnumLabel(osg::CullSettings::DEPTH_SORT_IMPOSTOR_SPRITES);
I_EnumLabel(osg::CullSettings::IMPOSTOR_PIXEL_ERROR_THRESHOLD);
I_EnumLabel(osg::CullSettings::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES);
I_EnumLabel(osg::CullSettings::CULL_MASK);
I_EnumLabel(osg::CullSettings::CULL_MASK_LEFT);
I_EnumLabel(osg::CullSettings::CULL_MASK_RIGHT);
I_EnumLabel(osg::CullSettings::CLEAR_COLOR);
I_EnumLabel(osg::CullSettings::CLEAR_MASK);
I_EnumLabel(osg::CullSettings::LIGHTING_MODE);
I_EnumLabel(osg::CullSettings::LIGHT);
I_EnumLabel(osg::CullSettings::DRAW_BUFFER);
I_EnumLabel(osg::CullSettings::READ_BUFFER);
I_EnumLabel(osg::CullSettings::NO_VARIABLES);
I_EnumLabel(osg::CullSettings::ALL_VARIABLES);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::CullSettings::InheritanceMaskActionOnAttributeSetting)
I_DeclaringFile("osg/CullSettings");
I_EnumLabel(osg::CullSettings::DISABLE_ASSOCIATED_INHERITANCE_MASK_BIT);
I_EnumLabel(osg::CullSettings::DO_NOT_MODIFY_INHERITANCE_MASK);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::CullSettings::ComputeNearFarMode)
I_DeclaringFile("osg/CullSettings");
I_EnumLabel(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES);
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues)
I_DeclaringFile("osg/CullSettings");
I_EnumLabel(osg::CullSettings::NO_CULLING);
I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_SIDES_CULLING);
I_EnumLabel(osg::CullSettings::NEAR_PLANE_CULLING);
I_EnumLabel(osg::CullSettings::FAR_PLANE_CULLING);
I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_CULLING);
I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING);
I_EnumLabel(osg::CullSettings::SHADOW_OCCLUSION_CULLING);
I_EnumLabel(osg::CullSettings::CLUSTER_CULLING);
I_EnumLabel(osg::CullSettings::DEFAULT_CULLING);
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,
"",
"");
I_Constructor1(IN, osg::ArgumentParser &, arguments,
Properties::NON_EXPLICIT,
____CullSettings__ArgumentParser_R1,
"",
"");
I_Constructor1(IN, const osg::CullSettings &, cs,
Properties::NON_EXPLICIT,
____CullSettings__C5_CullSettings_R1,
"",
"");
I_Method0(void, setDefaults,
Properties::VIRTUAL,
__void__setDefaults,
"",
"");
I_Method1(void, setInheritanceMask, IN, unsigned int, mask,
Properties::NON_VIRTUAL,
__void__setInheritanceMask__unsigned_int,
"Set the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ",
"");
I_Method0(unsigned int, getInheritanceMask,
Properties::NON_VIRTUAL,
__unsigned_int__getInheritanceMask,
"Get the inheritance mask used in inheritCullSettings to control which variables get overwritten by the passed in CullSettings object. ",
"");
I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings,
Properties::NON_VIRTUAL,
__void__setCullSettings__C5_CullSettings_R1,
"Set the local cull settings values from specified CullSettings object. ",
"");
I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings,
Properties::VIRTUAL,
__void__inheritCullSettings__C5_CullSettings_R1,
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
"");
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask,
Properties::VIRTUAL,
__void__inheritCullSettings__C5_CullSettings_R1__unsigned_int,
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
"");
I_Method0(void, readEnvironmentalVariables,
Properties::NON_VIRTUAL,
__void__readEnvironmentalVariables,
"read the environmental variables. ",
"");
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments,
Properties::NON_VIRTUAL,
__void__readCommandLine__ArgumentParser_R1,
"read the commandline arguments. ",
"");
I_Method1(void, setInheritanceMaskActionOnAttributeSetting, IN, osg::CullSettings::InheritanceMaskActionOnAttributeSetting, action,
Properties::NON_VIRTUAL,
__void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting,
"",
"");
I_Method0(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, getInheritanceMaskActionOnAttributeSetting,
Properties::NON_VIRTUAL,
__InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting,
"",
"");
I_Method1(void, applyMaskAction, IN, unsigned int, maskBit,
Properties::NON_VIRTUAL,
__void__applyMaskAction__unsigned_int,
"Apply the action, specified by the InheritanceMaskActionOnAttributeSetting, to apply to the inheritance bit mask. ",
"This method is called by CullSettings::set*() parameter methods to ensure that CullSettings inheritance mechanisms doesn't overwrite the local parameter settings. ");
I_Method1(void, setImpostorsActive, IN, bool, active,
Properties::NON_VIRTUAL,
__void__setImpostorsActive__bool,
"Switch the creation of Impostors on or off. ",
"Setting active to false forces the CullVisitor to use the Impostor LOD children for rendering. Setting active to true forces the CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture. ");
I_Method0(bool, getImpostorsActive,
Properties::NON_VIRTUAL,
__bool__getImpostorsActive,
"Get whether impostors are active or not. ",
"");
I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels,
Properties::NON_VIRTUAL,
__void__setImpostorPixelErrorThreshold__float,
"Set the impostor error threshold. ",
"Used in calculation of whether impostors remain valid. ");
I_Method0(float, getImpostorPixelErrorThreshold,
Properties::NON_VIRTUAL,
__float__getImpostorPixelErrorThreshold,
"Get the impostor error threshold. ",
"");
I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort,
Properties::NON_VIRTUAL,
__void__setDepthSortImpostorSprites__bool,
"Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering. ",
"");
I_Method0(bool, getDepthSortImpostorSprites,
Properties::NON_VIRTUAL,
__bool__getDepthSortImpostorSprites,
"Get whether ImpostorSprite's are depth sorted bin for rendering. ",
"");
I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames,
Properties::NON_VIRTUAL,
__void__setNumberOfFrameToKeepImpostorSprites__int,
"Set the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ",
"");
I_Method0(int, getNumberOfFrameToKeepImpostorSprites,
Properties::NON_VIRTUAL,
__int__getNumberOfFrameToKeepImpostorSprites,
"Get the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ",
"");
I_Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm,
Properties::NON_VIRTUAL,
__void__setComputeNearFarMode__ComputeNearFarMode,
"",
"");
I_Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode,
Properties::NON_VIRTUAL,
__ComputeNearFarMode__getComputeNearFarMode,
"",
"");
I_Method1(void, setNearFarRatio, IN, double, ratio,
Properties::NON_VIRTUAL,
__void__setNearFarRatio__double,
"",
"");
I_Method0(double, getNearFarRatio,
Properties::NON_VIRTUAL,
__double__getNearFarRatio,
"",
"");
I_Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode,
Properties::NON_VIRTUAL,
__void__setCullingMode__CullingMode,
"Set the culling mode for the CullVisitor to use. ",
"");
I_Method0(osg::CullSettings::CullingMode, getCullingMode,
Properties::NON_VIRTUAL,
__CullingMode__getCullingMode,
"Returns the current CullingMode. ",
"");
I_Method1(void, setCullMask, IN, osg::Node::NodeMask, nm,
Properties::NON_VIRTUAL,
__void__setCullMask__osg_Node_NodeMask,
"",
"");
I_Method0(osg::Node::NodeMask, getCullMask,
Properties::NON_VIRTUAL,
__osg_Node_NodeMask__getCullMask,
"",
"");
I_Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm,
Properties::NON_VIRTUAL,
__void__setCullMaskLeft__osg_Node_NodeMask,
"",
"");
I_Method0(osg::Node::NodeMask, getCullMaskLeft,
Properties::NON_VIRTUAL,
__osg_Node_NodeMask__getCullMaskLeft,
"",
"");
I_Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm,
Properties::NON_VIRTUAL,
__void__setCullMaskRight__osg_Node_NodeMask,
"",
"");
I_Method0(osg::Node::NodeMask, getCullMaskRight,
Properties::NON_VIRTUAL,
__osg_Node_NodeMask__getCullMaskRight,
"",
"");
I_Method1(void, setLODScale, IN, float, scale,
Properties::NON_VIRTUAL,
__void__setLODScale__float,
"Set the LOD bias for the CullVisitor to use. ",
"");
I_Method0(float, getLODScale,
Properties::NON_VIRTUAL,
__float__getLODScale,
"Get the LOD bias. ",
"");
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value,
Properties::NON_VIRTUAL,
__void__setSmallFeatureCullingPixelSize__float,
"Set the Small Feature Culling Pixel Size. ",
"");
I_Method0(float, getSmallFeatureCullingPixelSize,
Properties::NON_VIRTUAL,
__float__getSmallFeatureCullingPixelSize,
"Get the Small Feature Culling Pixel Size. ",
"");
I_Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc,
Properties::NON_VIRTUAL,
__void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1,
"set the ClampProjectionMatrixCallback. ",
"");
I_Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback,
Properties::NON_VIRTUAL,
__ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
"get the non const ClampProjectionMatrixCallback. ",
"");
I_Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback,
Properties::NON_VIRTUAL,
__C5_ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
"get the const ClampProjectionMatrixCallback. ",
"");
I_Method1(void, write, IN, std::ostream &, out,
Properties::NON_VIRTUAL,
__void__write__std_ostream_R1,
"Write out internal settings of CullSettings. ",
"");
I_SimpleProperty(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback,
__ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
__void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1);
I_SimpleProperty(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode,
__ComputeNearFarMode__getComputeNearFarMode,
__void__setComputeNearFarMode__ComputeNearFarMode);
I_SimpleProperty(osg::Node::NodeMask, CullMask,
__osg_Node_NodeMask__getCullMask,
__void__setCullMask__osg_Node_NodeMask);
I_SimpleProperty(osg::Node::NodeMask, CullMaskLeft,
__osg_Node_NodeMask__getCullMaskLeft,
__void__setCullMaskLeft__osg_Node_NodeMask);
I_SimpleProperty(osg::Node::NodeMask, CullMaskRight,
__osg_Node_NodeMask__getCullMaskRight,
__void__setCullMaskRight__osg_Node_NodeMask);
I_SimpleProperty(const osg::CullSettings &, CullSettings,
0,
__void__setCullSettings__C5_CullSettings_R1);
I_SimpleProperty(osg::CullSettings::CullingMode, CullingMode,
__CullingMode__getCullingMode,
__void__setCullingMode__CullingMode);
I_SimpleProperty(bool, DepthSortImpostorSprites,
__bool__getDepthSortImpostorSprites,
__void__setDepthSortImpostorSprites__bool);
I_SimpleProperty(float, ImpostorPixelErrorThreshold,
__float__getImpostorPixelErrorThreshold,
__void__setImpostorPixelErrorThreshold__float);
I_SimpleProperty(bool, ImpostorsActive,
__bool__getImpostorsActive,
__void__setImpostorsActive__bool);
I_SimpleProperty(unsigned int, InheritanceMask,
__unsigned_int__getInheritanceMask,
__void__setInheritanceMask__unsigned_int);
I_SimpleProperty(osg::CullSettings::InheritanceMaskActionOnAttributeSetting, InheritanceMaskActionOnAttributeSetting,
__InheritanceMaskActionOnAttributeSetting__getInheritanceMaskActionOnAttributeSetting,
__void__setInheritanceMaskActionOnAttributeSetting__InheritanceMaskActionOnAttributeSetting);
I_SimpleProperty(float, LODScale,
__float__getLODScale,
__void__setLODScale__float);
I_SimpleProperty(double, NearFarRatio,
__double__getNearFarRatio,
__void__setNearFarRatio__double);
I_SimpleProperty(int, NumberOfFrameToKeepImpostorSprites,
__int__getNumberOfFrameToKeepImpostorSprites,
__void__setNumberOfFrameToKeepImpostorSprites__int);
I_SimpleProperty(float, SmallFeatureCullingPixelSize,
__float__getSmallFeatureCullingPixelSize,
__void__setSmallFeatureCullingPixelSize__float);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::CullSettings::ClampProjectionMatrixCallback)
I_DeclaringFile("osg/CullSettings");
I_BaseType(osg::Referenced);
I_Constructor0(____ClampProjectionMatrixCallback,
"",
"");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar,
Properties::PURE_VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1,
"",
"");
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar,
Properties::PURE_VIRTUAL,
__bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1,
"",
"");
END_REFLECTOR

View File

@@ -1,322 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/CullStack>
#include <osg/CullingSet>
#include <osg/Matrix>
#include <osg/Node>
#include <osg/ShadowVolumeOccluder>
#include <osg/Transform>
#include <osg/Vec3>
#include <osg/Viewport>
// 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::ShadowVolumeOccluder >, osg::CullStack::OccluderList)
TYPE_NAME_ALIAS(std::vector< osg::CullingSet >, osg::CullStack::CullingStack)
BEGIN_OBJECT_REFLECTOR(osg::CullStack)
I_DeclaringFile("osg/CullStack");
I_BaseType(osg::CullSettings);
I_Constructor0(____CullStack,
"",
"");
I_Constructor1(IN, const osg::CullStack &, cs,
Properties::NON_EXPLICIT,
____CullStack__C5_CullStack_R1,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method0(void, pushCullingSet,
Properties::NON_VIRTUAL,
__void__pushCullingSet,
"",
"");
I_Method0(void, popCullingSet,
Properties::NON_VIRTUAL,
__void__popCullingSet,
"",
"");
I_Method1(void, setOccluderList, IN, const osg::ShadowVolumeOccluderList &, svol,
Properties::NON_VIRTUAL,
__void__setOccluderList__C5_ShadowVolumeOccluderList_R1,
"",
"");
I_Method0(osg::ShadowVolumeOccluderList &, getOccluderList,
Properties::NON_VIRTUAL,
__ShadowVolumeOccluderList_R1__getOccluderList,
"",
"");
I_Method0(const osg::ShadowVolumeOccluderList &, getOccluderList,
Properties::NON_VIRTUAL,
__C5_ShadowVolumeOccluderList_R1__getOccluderList,
"",
"");
I_Method1(void, pushViewport, IN, osg::Viewport *, viewport,
Properties::NON_VIRTUAL,
__void__pushViewport__osg_Viewport_P1,
"",
"");
I_Method0(void, popViewport,
Properties::NON_VIRTUAL,
__void__popViewport,
"",
"");
I_Method1(void, pushProjectionMatrix, IN, osg::RefMatrix *, matrix,
Properties::NON_VIRTUAL,
__void__pushProjectionMatrix__osg_RefMatrix_P1,
"",
"");
I_Method0(void, popProjectionMatrix,
Properties::NON_VIRTUAL,
__void__popProjectionMatrix,
"",
"");
I_Method2(void, pushModelViewMatrix, IN, osg::RefMatrix *, matrix, IN, osg::Transform::ReferenceFrame, referenceFrame,
Properties::NON_VIRTUAL,
__void__pushModelViewMatrix__osg_RefMatrix_P1__Transform_ReferenceFrame,
"",
"");
I_Method0(void, popModelViewMatrix,
Properties::NON_VIRTUAL,
__void__popModelViewMatrix,
"",
"");
I_Method0(float, getFrustumVolume,
Properties::NON_VIRTUAL,
__float__getFrustumVolume,
"",
"");
I_Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius,
Properties::NON_VIRTUAL,
__float__pixelSize__C5_Vec3_R1__float,
"Compute the pixel size of an object at position v, with specified radius. ",
"");
I_Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__float__pixelSize__C5_BoundingSphere_R1,
"Compute the pixel size of the bounding sphere. ",
"");
I_Method2(float, clampedPixelSize, IN, const osg::Vec3 &, v, IN, float, radius,
Properties::NON_VIRTUAL,
__float__clampedPixelSize__C5_Vec3_R1__float,
"Compute the pixel size of an object at position v, with specified radius. ",
"fabs()ed to always be positive. ");
I_Method1(float, clampedPixelSize, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__float__clampedPixelSize__C5_BoundingSphere_R1,
"Compute the pixel size of the bounding sphere. ",
"fabs()ed to always be positive. ");
I_Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath,
Properties::NON_VIRTUAL,
__void__disableAndPushOccludersCurrentMask__NodePath_R1,
"",
"");
I_Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath,
Properties::NON_VIRTUAL,
__void__popOccludersCurrentMask__NodePath_R1,
"",
"");
I_Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_std_vectorT1_Vec3__R1,
"",
"");
I_Method1(bool, isCulled, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_BoundingBox_R1,
"",
"");
I_Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_BoundingSphere_R1,
"",
"");
I_Method1(bool, isCulled, IN, const osg::Node &, node,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_osg_Node_R1,
"",
"");
I_Method0(void, pushCurrentMask,
Properties::NON_VIRTUAL,
__void__pushCurrentMask,
"",
"");
I_Method0(void, popCurrentMask,
Properties::NON_VIRTUAL,
__void__popCurrentMask,
"",
"");
I_Method0(osg::CullStack::CullingStack &, getClipSpaceCullingStack,
Properties::NON_VIRTUAL,
__CullingStack_R1__getClipSpaceCullingStack,
"",
"");
I_Method0(osg::CullStack::CullingStack &, getProjectionCullingStack,
Properties::NON_VIRTUAL,
__CullingStack_R1__getProjectionCullingStack,
"",
"");
I_Method0(osg::CullStack::CullingStack &, getModelViewCullingStack,
Properties::NON_VIRTUAL,
__CullingStack_R1__getModelViewCullingStack,
"",
"");
I_Method0(osg::CullingSet &, getCurrentCullingSet,
Properties::NON_VIRTUAL,
__CullingSet_R1__getCurrentCullingSet,
"",
"");
I_Method0(const osg::CullingSet &, getCurrentCullingSet,
Properties::NON_VIRTUAL,
__C5_CullingSet_R1__getCurrentCullingSet,
"",
"");
I_Method0(osg::Viewport *, getViewport,
Properties::NON_VIRTUAL,
__osg_Viewport_P1__getViewport,
"",
"");
I_Method0(osg::RefMatrix *, getModelViewMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getModelViewMatrix,
"",
"");
I_Method0(osg::RefMatrix *, getProjectionMatrix,
Properties::NON_VIRTUAL,
__osg_RefMatrix_P1__getProjectionMatrix,
"",
"");
I_Method0(osg::Matrix, getWindowMatrix,
Properties::NON_VIRTUAL,
__osg_Matrix__getWindowMatrix,
"",
"");
I_Method0(const osg::RefMatrix *, getMVPW,
Properties::NON_VIRTUAL,
__C5_osg_RefMatrix_P1__getMVPW,
"",
"");
I_Method0(const osg::Vec3 &, getReferenceViewPoint,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getReferenceViewPoint,
"",
"");
I_Method1(void, pushReferenceViewPoint, IN, const osg::Vec3 &, viewPoint,
Properties::NON_VIRTUAL,
__void__pushReferenceViewPoint__C5_osg_Vec3_R1,
"",
"");
I_Method0(void, popReferenceViewPoint,
Properties::NON_VIRTUAL,
__void__popReferenceViewPoint,
"",
"");
I_Method0(const osg::Vec3 &, getEyeLocal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getEyeLocal,
"",
"");
I_Method0(const osg::Vec3 &, getViewPointLocal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getViewPointLocal,
"",
"");
I_Method0(const osg::Vec3, getUpLocal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getUpLocal,
"",
"");
I_Method0(const osg::Vec3, getLookVectorLocal,
Properties::NON_VIRTUAL,
__C5_osg_Vec3__getLookVectorLocal,
"",
"");
I_ProtectedMethod0(void, computeFrustumVolume,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__computeFrustumVolume,
"",
"");
I_ProtectedMethod1(osg::RefMatrix *, createOrReuseMatrix, IN, const osg::Matrix &, value,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__osg_RefMatrix_P1__createOrReuseMatrix__C5_osg_Matrix_R1,
"",
"");
I_SimpleProperty(osg::CullStack::CullingStack &, ClipSpaceCullingStack,
__CullingStack_R1__getClipSpaceCullingStack,
0);
I_SimpleProperty(osg::CullingSet &, CurrentCullingSet,
__CullingSet_R1__getCurrentCullingSet,
0);
I_SimpleProperty(const osg::Vec3 &, EyeLocal,
__C5_osg_Vec3_R1__getEyeLocal,
0);
I_SimpleProperty(float, FrustumVolume,
__float__getFrustumVolume,
0);
I_SimpleProperty(const osg::Vec3, LookVectorLocal,
__C5_osg_Vec3__getLookVectorLocal,
0);
I_SimpleProperty(const osg::RefMatrix *, MVPW,
__C5_osg_RefMatrix_P1__getMVPW,
0);
I_SimpleProperty(osg::CullStack::CullingStack &, ModelViewCullingStack,
__CullingStack_R1__getModelViewCullingStack,
0);
I_SimpleProperty(osg::RefMatrix *, ModelViewMatrix,
__osg_RefMatrix_P1__getModelViewMatrix,
0);
I_SimpleProperty(const osg::ShadowVolumeOccluderList &, OccluderList,
__C5_ShadowVolumeOccluderList_R1__getOccluderList,
__void__setOccluderList__C5_ShadowVolumeOccluderList_R1);
I_SimpleProperty(osg::CullStack::CullingStack &, ProjectionCullingStack,
__CullingStack_R1__getProjectionCullingStack,
0);
I_SimpleProperty(osg::RefMatrix *, ProjectionMatrix,
__osg_RefMatrix_P1__getProjectionMatrix,
0);
I_SimpleProperty(const osg::Vec3 &, ReferenceViewPoint,
__C5_osg_Vec3_R1__getReferenceViewPoint,
0);
I_SimpleProperty(const osg::Vec3, UpLocal,
__C5_osg_Vec3__getUpLocal,
0);
I_SimpleProperty(const osg::Vec3 &, ViewPointLocal,
__C5_osg_Vec3_R1__getViewPointLocal,
0);
I_SimpleProperty(osg::Viewport *, Viewport,
__osg_Viewport_P1__getViewport,
0);
I_SimpleProperty(osg::Matrix, WindowMatrix,
__osg_Matrix__getWindowMatrix,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::CullingSet >)
STD_VECTOR_REFLECTOR(std::vector< osg::ShadowVolumeOccluder >)

View File

@@ -1,273 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/CullingSet>
#include <osg/Matrix>
#include <osg/Node>
#include <osg/Polytope>
#include <osg/ShadowVolumeOccluder>
#include <osg/StateSet>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/Viewport>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::CullingSet::MaskValues)
I_DeclaringFile("osg/CullingSet");
I_EnumLabel(osg::CullingSet::NO_CULLING);
I_EnumLabel(osg::CullingSet::VIEW_FRUSTUM_SIDES_CULLING);
I_EnumLabel(osg::CullingSet::NEAR_PLANE_CULLING);
I_EnumLabel(osg::CullingSet::FAR_PLANE_CULLING);
I_EnumLabel(osg::CullingSet::VIEW_FRUSTUM_CULLING);
I_EnumLabel(osg::CullingSet::SMALL_FEATURE_CULLING);
I_EnumLabel(osg::CullingSet::SHADOW_OCCLUSION_CULLING);
I_EnumLabel(osg::CullingSet::DEFAULT_CULLING);
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);
I_Constructor0(____CullingSet,
"",
"");
I_Constructor1(IN, const osg::CullingSet &, cs,
Properties::NON_EXPLICIT,
____CullingSet__C5_CullingSet_R1,
"",
"");
I_Constructor3(IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector,
____CullingSet__C5_CullingSet_R1__C5_Matrix_R1__C5_Vec4_R1,
"",
"");
I_Method1(void, set, IN, const osg::CullingSet &, cs,
Properties::NON_VIRTUAL,
__void__set__C5_CullingSet_R1,
"",
"");
I_Method3(void, set, IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector,
Properties::NON_VIRTUAL,
__void__set__C5_CullingSet_R1__C5_Matrix_R1__C5_Vec4_R1,
"",
"");
I_Method1(void, setCullingMask, IN, osg::CullingSet::Mask, mask,
Properties::NON_VIRTUAL,
__void__setCullingMask__Mask,
"",
"");
I_Method0(osg::CullingSet::Mask, getCullingMask,
Properties::NON_VIRTUAL,
__Mask__getCullingMask,
"",
"");
I_Method1(void, setFrustum, IN, osg::Polytope &, cv,
Properties::NON_VIRTUAL,
__void__setFrustum__Polytope_R1,
"",
"");
I_Method0(osg::Polytope &, getFrustum,
Properties::NON_VIRTUAL,
__Polytope_R1__getFrustum,
"",
"");
I_Method0(const osg::Polytope &, getFrustum,
Properties::NON_VIRTUAL,
__C5_Polytope_R1__getFrustum,
"",
"");
I_Method2(void, addStateFrustum, IN, osg::StateSet *, stateset, IN, osg::Polytope &, polytope,
Properties::NON_VIRTUAL,
__void__addStateFrustum__StateSet_P1__Polytope_R1,
"",
"");
I_Method1(void, getStateFrustumList, IN, osg::CullingSet::StateFrustumList &, sfl,
Properties::NON_VIRTUAL,
__void__getStateFrustumList__StateFrustumList_R1,
"",
"");
I_Method0(osg::CullingSet::StateFrustumList &, getStateFrustumList,
Properties::NON_VIRTUAL,
__StateFrustumList_R1__getStateFrustumList,
"",
"");
I_Method1(void, addOccluder, IN, osg::ShadowVolumeOccluder &, cv,
Properties::NON_VIRTUAL,
__void__addOccluder__ShadowVolumeOccluder_R1,
"",
"");
I_Method1(void, setPixelSizeVector, IN, const osg::Vec4 &, v,
Properties::NON_VIRTUAL,
__void__setPixelSizeVector__C5_Vec4_R1,
"",
"");
I_Method0(osg::Vec4 &, getPixelSizeVector,
Properties::NON_VIRTUAL,
__Vec4_R1__getPixelSizeVector,
"",
"");
I_Method0(const osg::Vec4 &, getPixelSizeVector,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getPixelSizeVector,
"",
"");
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value,
Properties::NON_VIRTUAL,
__void__setSmallFeatureCullingPixelSize__float,
"",
"");
I_Method0(float &, getSmallFeatureCullingPixelSize,
Properties::NON_VIRTUAL,
__float_R1__getSmallFeatureCullingPixelSize,
"",
"");
I_Method0(float, getSmallFeatureCullingPixelSize,
Properties::NON_VIRTUAL,
__float__getSmallFeatureCullingPixelSize,
"",
"");
I_Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius,
Properties::NON_VIRTUAL,
__float__pixelSize__C5_Vec3_R1__float,
"Compute the pixel of an object at position v, with specified radius. ",
"");
I_Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__float__pixelSize__C5_BoundingSphere_R1,
"Compute the pixel of a bounding sphere. ",
"");
I_Method2(float, clampedPixelSize, IN, const osg::Vec3 &, v, IN, float, radius,
Properties::NON_VIRTUAL,
__float__clampedPixelSize__C5_Vec3_R1__float,
"Compute the pixel of an object at position v, with specified radius. ",
"fabs()ed to always be positive. ");
I_Method1(float, clampedPixelSize, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__float__clampedPixelSize__C5_BoundingSphere_R1,
"Compute the pixel of a bounding sphere. ",
"fabs()ed to always be positive. ");
I_Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_std_vectorT1_Vec3__R1,
"",
"");
I_Method1(bool, isCulled, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_BoundingBox_R1,
"",
"");
I_Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__bool__isCulled__C5_BoundingSphere_R1,
"",
"");
I_Method0(void, pushCurrentMask,
Properties::NON_VIRTUAL,
__void__pushCurrentMask,
"",
"");
I_Method0(void, popCurrentMask,
Properties::NON_VIRTUAL,
__void__popCurrentMask,
"",
"");
I_Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath,
Properties::NON_VIRTUAL,
__void__disableAndPushOccludersCurrentMask__NodePath_R1,
"",
"");
I_Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath,
Properties::NON_VIRTUAL,
__void__popOccludersCurrentMask__NodePath_R1,
"",
"");
I_StaticMethod3(osg::Vec4, computePixelSizeVector, IN, const osg::Viewport &, W, IN, const osg::Matrix &, P, IN, const osg::Matrix &, M,
__osg_Vec4__computePixelSizeVector__C5_Viewport_R1__C5_Matrix_R1__C5_Matrix_R1_S,
"",
"");
I_SimpleProperty(osg::CullingSet::Mask, CullingMask,
__Mask__getCullingMask,
__void__setCullingMask__Mask);
I_SimpleProperty(osg::Polytope &, Frustum,
__Polytope_R1__getFrustum,
__void__setFrustum__Polytope_R1);
I_SimpleProperty(const osg::Vec4 &, PixelSizeVector,
__C5_Vec4_R1__getPixelSizeVector,
__void__setPixelSizeVector__C5_Vec4_R1);
I_SimpleProperty(float, SmallFeatureCullingPixelSize,
__float__getSmallFeatureCullingPixelSize,
__void__setSmallFeatureCullingPixelSize__float);
I_SimpleProperty(osg::CullingSet::StateFrustumList &, StateFrustumList,
__StateFrustumList_R1__getStateFrustumList,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateSet >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::StateSet *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::StateSet > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::StateSet *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::StateSet *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateSet > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::StateSet *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::StateSet > COMMA osg::Polytope >)
STD_VECTOR_REFLECTOR(std::vector< osg::CullingSet::StateFrustumPair >)

View File

@@ -1,91 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/DeleteHandler>
#include <osg/Referenced>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::pair< int COMMA const osg::Referenced * >, osg::DeleteHandler::FrameNumberObjectPair)
TYPE_NAME_ALIAS(std::list< osg::DeleteHandler::FrameNumberObjectPair >, osg::DeleteHandler::ObjectsToDeleteList)
BEGIN_OBJECT_REFLECTOR(osg::DeleteHandler)
I_DeclaringFile("osg/DeleteHandler");
I_ConstructorWithDefaults1(IN, int, numberOfFramesToRetainObjects, 0,
Properties::NON_EXPLICIT,
____DeleteHandler__int,
"",
"");
I_Method1(void, setNumFramesToRetainObjects, IN, int, numberOfFramesToRetainObjects,
Properties::NON_VIRTUAL,
__void__setNumFramesToRetainObjects__int,
"Set the number of frames to retain objects that are have been requested for deletion. ",
"When set to zero objects are deleted immediately, by set to 1 there are kept around for an extra frame etc. The ability to retain objects for several frames is useful to prevent premature deletion when objects are still be used the graphics threads that are using double buffering of rendering data structures with non ref_ptr<> pointers to scene graph elements. ");
I_Method0(int, getNumFramesToRetainObjects,
Properties::NON_VIRTUAL,
__int__getNumFramesToRetainObjects,
"",
"");
I_Method1(void, setFrameNumber, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumber__int,
"Set the current frame number so that subsequent deletes get tagged as associated with this frame. ",
"");
I_Method0(int, getFrameNumber,
Properties::NON_VIRTUAL,
__int__getFrameNumber,
"Get the current frame number. ",
"");
I_Method1(void, doDelete, IN, const osg::Referenced *, object,
Properties::NON_VIRTUAL,
__void__doDelete__C5_Referenced_P1,
"",
"");
I_Method0(void, flush,
Properties::VIRTUAL,
__void__flush,
"Flush objects that ready to be fully deleted. ",
"");
I_Method0(void, flushAll,
Properties::VIRTUAL,
__void__flushAll,
"Flush all objects that the DeleteHandler holds. ",
"Note, this should only be called if there are no threads running with non ref_ptr<> pointers, such as graphics threads. ");
I_Method1(void, requestDelete, IN, const osg::Referenced *, object,
Properties::VIRTUAL,
__void__requestDelete__C5_osg_Referenced_P1,
"Request the deletion of an object. ",
"Depending on users implementation of DeleteHandler, the delete of the object may occur straight away or be delayed until doDelete is called. The default implementation does a delete straight away. ");
I_ProtectedConstructor1(IN, const osg::DeleteHandler &, x,
Properties::NON_EXPLICIT,
____DeleteHandler__C5_DeleteHandler_R1,
"",
"");
I_SimpleProperty(int, FrameNumber,
__int__getFrameNumber,
__void__setFrameNumber__int);
I_SimpleProperty(int, NumFramesToRetainObjects,
0,
__void__setNumFramesToRetainObjects__int);
END_REFLECTOR
STD_LIST_REFLECTOR(std::list< osg::DeleteHandler::FrameNumberObjectPair >)
STD_PAIR_REFLECTOR(std::pair< int COMMA const osg::Referenced * >)

View File

@@ -1,156 +0,0 @@
// ***************************************************************************
//
// 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/Depth>
#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_ENUM_REFLECTOR(osg::Depth::Function)
I_DeclaringFile("osg/Depth");
I_EnumLabel(osg::Depth::NEVER);
I_EnumLabel(osg::Depth::LESS);
I_EnumLabel(osg::Depth::EQUAL);
I_EnumLabel(osg::Depth::LEQUAL);
I_EnumLabel(osg::Depth::GREATER);
I_EnumLabel(osg::Depth::NOTEQUAL);
I_EnumLabel(osg::Depth::GEQUAL);
I_EnumLabel(osg::Depth::ALWAYS);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Depth)
I_DeclaringFile("osg/Depth");
I_BaseType(osg::StateAttribute);
I_ConstructorWithDefaults4(IN, osg::Depth::Function, func, osg::Depth::LESS, IN, double, zNear, 0.0, IN, double, zFar, 1.0, IN, bool, writeMask, true,
____Depth__Function__double__double__bool,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Depth &, dp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Depth__C5_Depth_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_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, setFunction, IN, osg::Depth::Function, func,
Properties::NON_VIRTUAL,
__void__setFunction__Function,
"",
"");
I_Method0(osg::Depth::Function, getFunction,
Properties::NON_VIRTUAL,
__Function__getFunction,
"",
"");
I_Method2(void, setRange, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__setRange__double__double,
"",
"");
I_Method1(void, setZNear, IN, double, zNear,
Properties::NON_VIRTUAL,
__void__setZNear__double,
"",
"");
I_Method0(double, getZNear,
Properties::NON_VIRTUAL,
__double__getZNear,
"",
"");
I_Method1(void, setZFar, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__setZFar__double,
"",
"");
I_Method0(double, getZFar,
Properties::NON_VIRTUAL,
__double__getZFar,
"",
"");
I_Method1(void, setWriteMask, IN, bool, mask,
Properties::NON_VIRTUAL,
__void__setWriteMask__bool,
"",
"");
I_Method0(bool, getWriteMask,
Properties::NON_VIRTUAL,
__bool__getWriteMask,
"",
"");
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(osg::Depth::Function, Function,
__Function__getFunction,
__void__setFunction__Function);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
I_SimpleProperty(bool, WriteMask,
__bool__getWriteMask,
__void__setWriteMask__bool);
I_SimpleProperty(double, ZFar,
__double__getZFar,
__void__setZFar__double);
I_SimpleProperty(double, ZNear,
__double__getZNear,
__void__setZNear__double);
END_REFLECTOR

View File

@@ -1,593 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ArgumentParser>
#include <osg/DisplaySettings>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::DisplayType)
I_DeclaringFile("osg/DisplaySettings");
I_EnumLabel(osg::DisplaySettings::MONITOR);
I_EnumLabel(osg::DisplaySettings::POWERWALL);
I_EnumLabel(osg::DisplaySettings::REALITY_CENTER);
I_EnumLabel(osg::DisplaySettings::HEAD_MOUNTED_DISPLAY);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::StereoMode)
I_DeclaringFile("osg/DisplaySettings");
I_EnumLabel(osg::DisplaySettings::QUAD_BUFFER);
I_EnumLabel(osg::DisplaySettings::ANAGLYPHIC);
I_EnumLabel(osg::DisplaySettings::HORIZONTAL_SPLIT);
I_EnumLabel(osg::DisplaySettings::VERTICAL_SPLIT);
I_EnumLabel(osg::DisplaySettings::LEFT_EYE);
I_EnumLabel(osg::DisplaySettings::RIGHT_EYE);
I_EnumLabel(osg::DisplaySettings::HORIZONTAL_INTERLACE);
I_EnumLabel(osg::DisplaySettings::VERTICAL_INTERLACE);
I_EnumLabel(osg::DisplaySettings::CHECKERBOARD);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::SplitStereoHorizontalEyeMapping)
I_DeclaringFile("osg/DisplaySettings");
I_EnumLabel(osg::DisplaySettings::LEFT_EYE_LEFT_VIEWPORT);
I_EnumLabel(osg::DisplaySettings::LEFT_EYE_RIGHT_VIEWPORT);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::SplitStereoVerticalEyeMapping)
I_DeclaringFile("osg/DisplaySettings");
I_EnumLabel(osg::DisplaySettings::LEFT_EYE_TOP_VIEWPORT);
I_EnumLabel(osg::DisplaySettings::LEFT_EYE_BOTTOM_VIEWPORT);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::DisplaySettings::ImplicitBufferAttachment)
I_DeclaringFile("osg/DisplaySettings");
I_EnumLabel(osg::DisplaySettings::IMPLICIT_DEPTH_BUFFER_ATTACHMENT);
I_EnumLabel(osg::DisplaySettings::IMPLICIT_STENCIL_BUFFER_ATTACHMENT);
I_EnumLabel(osg::DisplaySettings::IMPLICIT_COLOR_BUFFER_ATTACHMENT);
I_EnumLabel(osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT);
END_REFLECTOR
TYPE_NAME_ALIAS(int, osg::DisplaySettings::ImplicitBufferAttachmentMask)
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,
"",
"");
I_Constructor1(IN, osg::ArgumentParser &, arguments,
Properties::NON_EXPLICIT,
____DisplaySettings__ArgumentParser_R1,
"",
"");
I_Constructor1(IN, const osg::DisplaySettings &, vs,
Properties::NON_EXPLICIT,
____DisplaySettings__C5_DisplaySettings_R1,
"",
"");
I_Method1(void, setDisplaySettings, IN, const osg::DisplaySettings &, vs,
Properties::NON_VIRTUAL,
__void__setDisplaySettings__C5_DisplaySettings_R1,
"",
"");
I_Method1(void, merge, IN, const osg::DisplaySettings &, vs,
Properties::NON_VIRTUAL,
__void__merge__C5_DisplaySettings_R1,
"",
"");
I_Method0(void, setDefaults,
Properties::NON_VIRTUAL,
__void__setDefaults,
"",
"");
I_Method0(void, readEnvironmentalVariables,
Properties::NON_VIRTUAL,
__void__readEnvironmentalVariables,
"read the environmental variables. ",
"");
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments,
Properties::NON_VIRTUAL,
__void__readCommandLine__ArgumentParser_R1,
"read the commandline arguments. ",
"");
I_Method1(void, setDisplayType, IN, osg::DisplaySettings::DisplayType, type,
Properties::NON_VIRTUAL,
__void__setDisplayType__DisplayType,
"",
"");
I_Method0(osg::DisplaySettings::DisplayType, getDisplayType,
Properties::NON_VIRTUAL,
__DisplayType__getDisplayType,
"",
"");
I_Method1(void, setStereo, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setStereo__bool,
"",
"");
I_Method0(bool, getStereo,
Properties::NON_VIRTUAL,
__bool__getStereo,
"",
"");
I_Method1(void, setStereoMode, IN, osg::DisplaySettings::StereoMode, mode,
Properties::NON_VIRTUAL,
__void__setStereoMode__StereoMode,
"",
"");
I_Method0(osg::DisplaySettings::StereoMode, getStereoMode,
Properties::NON_VIRTUAL,
__StereoMode__getStereoMode,
"",
"");
I_Method1(void, setEyeSeparation, IN, float, eyeSeparation,
Properties::NON_VIRTUAL,
__void__setEyeSeparation__float,
"",
"");
I_Method0(float, getEyeSeparation,
Properties::NON_VIRTUAL,
__float__getEyeSeparation,
"",
"");
I_Method1(void, setSplitStereoHorizontalEyeMapping, IN, osg::DisplaySettings::SplitStereoHorizontalEyeMapping, m,
Properties::NON_VIRTUAL,
__void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping,
"",
"");
I_Method0(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, getSplitStereoHorizontalEyeMapping,
Properties::NON_VIRTUAL,
__SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping,
"",
"");
I_Method1(void, setSplitStereoHorizontalSeparation, IN, int, s,
Properties::NON_VIRTUAL,
__void__setSplitStereoHorizontalSeparation__int,
"",
"");
I_Method0(int, getSplitStereoHorizontalSeparation,
Properties::NON_VIRTUAL,
__int__getSplitStereoHorizontalSeparation,
"",
"");
I_Method1(void, setSplitStereoVerticalEyeMapping, IN, osg::DisplaySettings::SplitStereoVerticalEyeMapping, m,
Properties::NON_VIRTUAL,
__void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping,
"",
"");
I_Method0(osg::DisplaySettings::SplitStereoVerticalEyeMapping, getSplitStereoVerticalEyeMapping,
Properties::NON_VIRTUAL,
__SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping,
"",
"");
I_Method1(void, setSplitStereoVerticalSeparation, IN, int, s,
Properties::NON_VIRTUAL,
__void__setSplitStereoVerticalSeparation__int,
"",
"");
I_Method0(int, getSplitStereoVerticalSeparation,
Properties::NON_VIRTUAL,
__int__getSplitStereoVerticalSeparation,
"",
"");
I_Method1(void, setSplitStereoAutoAdjustAspectRatio, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setSplitStereoAutoAdjustAspectRatio__bool,
"",
"");
I_Method0(bool, getSplitStereoAutoAdjustAspectRatio,
Properties::NON_VIRTUAL,
__bool__getSplitStereoAutoAdjustAspectRatio,
"",
"");
I_Method1(void, setScreenWidth, IN, float, width,
Properties::NON_VIRTUAL,
__void__setScreenWidth__float,
"",
"");
I_Method0(float, getScreenWidth,
Properties::NON_VIRTUAL,
__float__getScreenWidth,
"",
"");
I_Method1(void, setScreenHeight, IN, float, height,
Properties::NON_VIRTUAL,
__void__setScreenHeight__float,
"",
"");
I_Method0(float, getScreenHeight,
Properties::NON_VIRTUAL,
__float__getScreenHeight,
"",
"");
I_Method1(void, setScreenDistance, IN, float, distance,
Properties::NON_VIRTUAL,
__void__setScreenDistance__float,
"",
"");
I_Method0(float, getScreenDistance,
Properties::NON_VIRTUAL,
__float__getScreenDistance,
"",
"");
I_Method1(void, setDoubleBuffer, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setDoubleBuffer__bool,
"",
"");
I_Method0(bool, getDoubleBuffer,
Properties::NON_VIRTUAL,
__bool__getDoubleBuffer,
"",
"");
I_Method1(void, setRGB, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setRGB__bool,
"",
"");
I_Method0(bool, getRGB,
Properties::NON_VIRTUAL,
__bool__getRGB,
"",
"");
I_Method1(void, setDepthBuffer, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setDepthBuffer__bool,
"",
"");
I_Method0(bool, getDepthBuffer,
Properties::NON_VIRTUAL,
__bool__getDepthBuffer,
"",
"");
I_Method1(void, setMinimumNumAlphaBits, IN, unsigned int, bits,
Properties::NON_VIRTUAL,
__void__setMinimumNumAlphaBits__unsigned_int,
"",
"");
I_Method0(unsigned int, getMinimumNumAlphaBits,
Properties::NON_VIRTUAL,
__unsigned_int__getMinimumNumAlphaBits,
"",
"");
I_Method0(bool, getAlphaBuffer,
Properties::NON_VIRTUAL,
__bool__getAlphaBuffer,
"",
"");
I_Method1(void, setMinimumNumStencilBits, IN, unsigned int, bits,
Properties::NON_VIRTUAL,
__void__setMinimumNumStencilBits__unsigned_int,
"",
"");
I_Method0(unsigned int, getMinimumNumStencilBits,
Properties::NON_VIRTUAL,
__unsigned_int__getMinimumNumStencilBits,
"",
"");
I_Method0(bool, getStencilBuffer,
Properties::NON_VIRTUAL,
__bool__getStencilBuffer,
"",
"");
I_Method4(void, setMinimumNumAccumBits, IN, unsigned int, red, IN, unsigned int, green, IN, unsigned int, blue, IN, unsigned int, alpha,
Properties::NON_VIRTUAL,
__void__setMinimumNumAccumBits__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_Method0(unsigned int, getMinimumNumAccumRedBits,
Properties::NON_VIRTUAL,
__unsigned_int__getMinimumNumAccumRedBits,
"",
"");
I_Method0(unsigned int, getMinimumNumAccumGreenBits,
Properties::NON_VIRTUAL,
__unsigned_int__getMinimumNumAccumGreenBits,
"",
"");
I_Method0(unsigned int, getMinimumNumAccumBlueBits,
Properties::NON_VIRTUAL,
__unsigned_int__getMinimumNumAccumBlueBits,
"",
"");
I_Method0(unsigned int, getMinimumNumAccumAlphaBits,
Properties::NON_VIRTUAL,
__unsigned_int__getMinimumNumAccumAlphaBits,
"",
"");
I_Method0(bool, getAccumBuffer,
Properties::NON_VIRTUAL,
__bool__getAccumBuffer,
"",
"");
I_Method1(void, setMaxNumberOfGraphicsContexts, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setMaxNumberOfGraphicsContexts__unsigned_int,
"",
"");
I_Method0(unsigned int, getMaxNumberOfGraphicsContexts,
Properties::NON_VIRTUAL,
__unsigned_int__getMaxNumberOfGraphicsContexts,
"",
"");
I_Method1(void, setNumMultiSamples, IN, unsigned int, samples,
Properties::NON_VIRTUAL,
__void__setNumMultiSamples__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumMultiSamples,
Properties::NON_VIRTUAL,
__unsigned_int__getNumMultiSamples,
"",
"");
I_Method0(bool, getMultiSamples,
Properties::NON_VIRTUAL,
__bool__getMultiSamples,
"",
"");
I_Method1(void, setCompileContextsHint, IN, bool, useCompileContexts,
Properties::NON_VIRTUAL,
__void__setCompileContextsHint__bool,
"",
"");
I_Method0(bool, getCompileContextsHint,
Properties::NON_VIRTUAL,
__bool__getCompileContextsHint,
"",
"");
I_Method1(void, setSerializeDrawDispatch, IN, bool, serializeDrawDispatch,
Properties::NON_VIRTUAL,
__void__setSerializeDrawDispatch__bool,
"",
"");
I_Method0(bool, getSerializeDrawDispatch,
Properties::NON_VIRTUAL,
__bool__getSerializeDrawDispatch,
"",
"");
I_Method1(void, setNumOfDatabaseThreadsHint, IN, unsigned int, numThreads,
Properties::NON_VIRTUAL,
__void__setNumOfDatabaseThreadsHint__unsigned_int,
"Set the hint for the total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. ",
"");
I_Method0(unsigned int, getNumOfDatabaseThreadsHint,
Properties::NON_VIRTUAL,
__unsigned_int__getNumOfDatabaseThreadsHint,
"Get the hint for total number of threads in the DatbasePager set up, inclusive of the number of http dedicated threads. ",
"");
I_Method1(void, setNumOfHttpDatabaseThreadsHint, IN, unsigned int, numThreads,
Properties::NON_VIRTUAL,
__void__setNumOfHttpDatabaseThreadsHint__unsigned_int,
"Set the hint for number of threads in the DatbasePager to dedicate to reading http requests. ",
"");
I_Method0(unsigned int, getNumOfHttpDatabaseThreadsHint,
Properties::NON_VIRTUAL,
__unsigned_int__getNumOfHttpDatabaseThreadsHint,
"Get the hint for number of threads in the DatbasePager dedicated to reading http requests. ",
"");
I_Method1(void, setApplication, IN, const std::string &, application,
Properties::NON_VIRTUAL,
__void__setApplication__C5_std_string_R1,
"",
"");
I_Method0(const std::string &, getApplication,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getApplication,
"",
"");
I_Method1(void, setMaxTexturePoolSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setMaxTexturePoolSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getMaxTexturePoolSize,
Properties::NON_VIRTUAL,
__unsigned_int__getMaxTexturePoolSize,
"",
"");
I_Method1(void, setMaxBufferObjectPoolSize, IN, unsigned int, size,
Properties::NON_VIRTUAL,
__void__setMaxBufferObjectPoolSize__unsigned_int,
"",
"");
I_Method0(unsigned int, getMaxBufferObjectPoolSize,
Properties::NON_VIRTUAL,
__unsigned_int__getMaxBufferObjectPoolSize,
"",
"");
I_MethodWithDefaults2(void, setImplicitBufferAttachmentMask, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, renderMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, resolveMask, osg::DisplaySettings::DEFAULT_IMPLICIT_BUFFER_ATTACHMENT,
Properties::NON_VIRTUAL,
__void__setImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask__ImplicitBufferAttachmentMask,
"",
"");
I_Method1(void, setImplicitBufferAttachmentRenderMask, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, implicitBufferAttachmentRenderMask,
Properties::NON_VIRTUAL,
__void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask,
"",
"");
I_Method1(void, setImplicitBufferAttachmentResolveMask, IN, osg::DisplaySettings::ImplicitBufferAttachmentMask, implicitBufferAttachmentResolveMask,
Properties::NON_VIRTUAL,
__void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask,
"",
"");
I_Method0(osg::DisplaySettings::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentRenderMask,
Properties::NON_VIRTUAL,
__ImplicitBufferAttachmentMask__getImplicitBufferAttachmentRenderMask,
"Get mask selecting default implict buffer attachments for Cameras primary FBOs. ",
"");
I_Method0(osg::DisplaySettings::ImplicitBufferAttachmentMask, getImplicitBufferAttachmentResolveMask,
Properties::NON_VIRTUAL,
__ImplicitBufferAttachmentMask__getImplicitBufferAttachmentResolveMask,
"Get mask selecting default implict buffer attachments for Cameras secondary MULTISAMPLE FBOs. ",
"");
I_Method1(void, setGLContextVersion, IN, const std::string &, version,
Properties::NON_VIRTUAL,
__void__setGLContextVersion__C5_std_string_R1,
"Set the hint of which OpenGL version to attempt to create a graphics context for. ",
"");
I_Method0(const std::string, getGLContextVersion,
Properties::NON_VIRTUAL,
__C5_std_string__getGLContextVersion,
"Get the hint of which OpenGL version to attempt to create a graphics context for. ",
"");
I_Method1(void, setGLContextFlags, IN, unsigned int, flags,
Properties::NON_VIRTUAL,
__void__setGLContextFlags__unsigned_int,
"Set the hint of the flags to use in when creating graphic contexts. ",
"");
I_Method0(unsigned int, getGLContextFlags,
Properties::NON_VIRTUAL,
__unsigned_int__getGLContextFlags,
"Get the hint of the flags to use in when creating graphic contexts. ",
"");
I_Method1(void, setGLContextProfileMask, IN, unsigned int, mask,
Properties::NON_VIRTUAL,
__void__setGLContextProfileMask__unsigned_int,
"Set the hint of the profile mask to use in when creating graphic contexts. ",
"");
I_Method0(unsigned int, getGLContextProfileMask,
Properties::NON_VIRTUAL,
__unsigned_int__getGLContextProfileMask,
"Get the hint of the profile mask to use in when creating graphic contexts. ",
"");
I_SimpleProperty(bool, AccumBuffer,
__bool__getAccumBuffer,
0);
I_SimpleProperty(bool, AlphaBuffer,
__bool__getAlphaBuffer,
0);
I_SimpleProperty(const std::string &, Application,
__C5_std_string_R1__getApplication,
__void__setApplication__C5_std_string_R1);
I_SimpleProperty(bool, CompileContextsHint,
__bool__getCompileContextsHint,
__void__setCompileContextsHint__bool);
I_SimpleProperty(bool, DepthBuffer,
__bool__getDepthBuffer,
__void__setDepthBuffer__bool);
I_SimpleProperty(const osg::DisplaySettings &, DisplaySettings,
0,
__void__setDisplaySettings__C5_DisplaySettings_R1);
I_SimpleProperty(osg::DisplaySettings::DisplayType, DisplayType,
__DisplayType__getDisplayType,
__void__setDisplayType__DisplayType);
I_SimpleProperty(bool, DoubleBuffer,
__bool__getDoubleBuffer,
__void__setDoubleBuffer__bool);
I_SimpleProperty(float, EyeSeparation,
__float__getEyeSeparation,
__void__setEyeSeparation__float);
I_SimpleProperty(unsigned int, GLContextFlags,
__unsigned_int__getGLContextFlags,
__void__setGLContextFlags__unsigned_int);
I_SimpleProperty(unsigned int, GLContextProfileMask,
__unsigned_int__getGLContextProfileMask,
__void__setGLContextProfileMask__unsigned_int);
I_SimpleProperty(const std::string &, GLContextVersion,
0,
__void__setGLContextVersion__C5_std_string_R1);
I_SimpleProperty(osg::DisplaySettings::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentRenderMask,
__ImplicitBufferAttachmentMask__getImplicitBufferAttachmentRenderMask,
__void__setImplicitBufferAttachmentRenderMask__ImplicitBufferAttachmentMask);
I_SimpleProperty(osg::DisplaySettings::ImplicitBufferAttachmentMask, ImplicitBufferAttachmentResolveMask,
__ImplicitBufferAttachmentMask__getImplicitBufferAttachmentResolveMask,
__void__setImplicitBufferAttachmentResolveMask__ImplicitBufferAttachmentMask);
I_SimpleProperty(unsigned int, MaxBufferObjectPoolSize,
__unsigned_int__getMaxBufferObjectPoolSize,
__void__setMaxBufferObjectPoolSize__unsigned_int);
I_SimpleProperty(unsigned int, MaxNumberOfGraphicsContexts,
__unsigned_int__getMaxNumberOfGraphicsContexts,
__void__setMaxNumberOfGraphicsContexts__unsigned_int);
I_SimpleProperty(unsigned int, MaxTexturePoolSize,
__unsigned_int__getMaxTexturePoolSize,
__void__setMaxTexturePoolSize__unsigned_int);
I_SimpleProperty(unsigned int, MinimumNumAccumAlphaBits,
__unsigned_int__getMinimumNumAccumAlphaBits,
0);
I_SimpleProperty(unsigned int, MinimumNumAccumBlueBits,
__unsigned_int__getMinimumNumAccumBlueBits,
0);
I_SimpleProperty(unsigned int, MinimumNumAccumGreenBits,
__unsigned_int__getMinimumNumAccumGreenBits,
0);
I_SimpleProperty(unsigned int, MinimumNumAccumRedBits,
__unsigned_int__getMinimumNumAccumRedBits,
0);
I_SimpleProperty(unsigned int, MinimumNumAlphaBits,
__unsigned_int__getMinimumNumAlphaBits,
__void__setMinimumNumAlphaBits__unsigned_int);
I_SimpleProperty(unsigned int, MinimumNumStencilBits,
__unsigned_int__getMinimumNumStencilBits,
__void__setMinimumNumStencilBits__unsigned_int);
I_SimpleProperty(bool, MultiSamples,
__bool__getMultiSamples,
0);
I_SimpleProperty(unsigned int, NumMultiSamples,
0,
__void__setNumMultiSamples__unsigned_int);
I_SimpleProperty(unsigned int, NumOfDatabaseThreadsHint,
0,
__void__setNumOfDatabaseThreadsHint__unsigned_int);
I_SimpleProperty(unsigned int, NumOfHttpDatabaseThreadsHint,
0,
__void__setNumOfHttpDatabaseThreadsHint__unsigned_int);
I_SimpleProperty(bool, RGB,
__bool__getRGB,
__void__setRGB__bool);
I_SimpleProperty(float, ScreenDistance,
__float__getScreenDistance,
__void__setScreenDistance__float);
I_SimpleProperty(float, ScreenHeight,
__float__getScreenHeight,
__void__setScreenHeight__float);
I_SimpleProperty(float, ScreenWidth,
__float__getScreenWidth,
__void__setScreenWidth__float);
I_SimpleProperty(bool, SerializeDrawDispatch,
__bool__getSerializeDrawDispatch,
__void__setSerializeDrawDispatch__bool);
I_SimpleProperty(bool, SplitStereoAutoAdjustAspectRatio,
__bool__getSplitStereoAutoAdjustAspectRatio,
__void__setSplitStereoAutoAdjustAspectRatio__bool);
I_SimpleProperty(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, SplitStereoHorizontalEyeMapping,
__SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping,
__void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping);
I_SimpleProperty(int, SplitStereoHorizontalSeparation,
__int__getSplitStereoHorizontalSeparation,
__void__setSplitStereoHorizontalSeparation__int);
I_SimpleProperty(osg::DisplaySettings::SplitStereoVerticalEyeMapping, SplitStereoVerticalEyeMapping,
__SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping,
__void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping);
I_SimpleProperty(int, SplitStereoVerticalSeparation,
__int__getSplitStereoVerticalSeparation,
__void__setSplitStereoVerticalSeparation__int);
I_SimpleProperty(bool, StencilBuffer,
__bool__getStencilBuffer,
0);
I_SimpleProperty(bool, Stereo,
__bool__getStereo,
__void__setStereo__bool);
I_SimpleProperty(osg::DisplaySettings::StereoMode, StereoMode,
__StereoMode__getStereoMode,
__void__setStereoMode__StereoMode);
END_REFLECTOR

View File

@@ -1,134 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/CopyOp>
#include <osg/DrawPixels>
#include <osg/Image>
#include <osg/Object>
#include <osg/RenderInfo>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
I_DeclaringFile("osg/DrawPixels");
I_BaseType(osg::Drawable);
I_Constructor0(____DrawPixels,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____DrawPixels__C5_DrawPixels_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(void, setPosition, IN, const osg::Vec3 &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_osg_Vec3_R1,
"",
"");
I_Method0(osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__osg_Vec3_R1__getPosition,
"",
"");
I_Method0(const osg::Vec3 &, getPosition,
Properties::NON_VIRTUAL,
__C5_osg_Vec3_R1__getPosition,
"",
"");
I_Method1(void, setImage, IN, osg::Image *, image,
Properties::NON_VIRTUAL,
__void__setImage__osg_Image_P1,
"",
"");
I_Method0(osg::Image *, getImage,
Properties::NON_VIRTUAL,
__osg_Image_P1__getImage,
"",
"");
I_Method0(const osg::Image *, getImage,
Properties::NON_VIRTUAL,
__C5_osg_Image_P1__getImage,
"",
"");
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
Properties::NON_VIRTUAL,
__void__setUseSubImage__bool,
"",
"");
I_Method0(bool, getUseSubImage,
Properties::NON_VIRTUAL,
__bool__getUseSubImage,
"",
"");
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
Properties::NON_VIRTUAL,
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
"",
"");
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
Properties::NON_VIRTUAL,
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
"",
"");
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
Properties::VIRTUAL,
__void__drawImplementation__RenderInfo_R1,
"drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ",
" param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. ");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
"Compute the bounding box around Drawables's geometry. ",
"");
I_SimpleProperty(osg::Image *, Image,
__osg_Image_P1__getImage,
__void__setImage__osg_Image_P1);
I_SimpleProperty(const osg::Vec3 &, Position,
__C5_osg_Vec3_R1__getPosition,
__void__setPosition__C5_osg_Vec3_R1);
I_SimpleProperty(bool, UseSubImage,
__bool__getUseSubImage,
__void__setUseSubImage__bool);
END_REFLECTOR

View File

@@ -1,908 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Geometry>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/PrimitiveSet>
#include <osg/RenderInfo>
#include <osg/Shape>
#include <osg/State>
#include <osg/StateSet>
#include <osg/Vec2>
#include <osg/Vec2d>
#include <osg/Vec3>
#include <osg/Vec3d>
#include <osg/Vec4>
#include <osg/Vec4d>
#include <osg/Vec4ub>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Drawable::AttributeTypes)
I_DeclaringFile("osg/Drawable");
I_EnumLabel(osg::Drawable::VERTICES);
I_EnumLabel(osg::Drawable::WEIGHTS);
I_EnumLabel(osg::Drawable::NORMALS);
I_EnumLabel(osg::Drawable::COLORS);
I_EnumLabel(osg::Drawable::SECONDARY_COLORS);
I_EnumLabel(osg::Drawable::FOG_COORDS);
I_EnumLabel(osg::Drawable::ATTRIBUTE_6);
I_EnumLabel(osg::Drawable::ATTRIBUTE_7);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_0);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_1);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_2);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_3);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_4);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_5);
I_EnumLabel(osg::Drawable::TEXTURE_COORDS_6);
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);
I_Constructor0(____Drawable,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Drawable &, drawable, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Drawable__C5_Drawable_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(osg::Geometry *, asGeometry,
Properties::VIRTUAL,
__Geometry_P1__asGeometry,
"Convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. ",
"Equivalent to dynamic_cast<Geometry*>(this). ");
I_Method0(const osg::Geometry *, asGeometry,
Properties::VIRTUAL,
__C5_Geometry_P1__asGeometry,
"Convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. ",
"Equivalent to dynamic_cast<const Geometry*>(this). ");
I_Method0(void, computeDataVariance,
Properties::VIRTUAL,
__void__computeDataVariance,
"Compute the DataVariance based on an assessment of callback etc. ",
"");
I_Method0(const osg::Drawable::ParentList &, getParents,
Properties::NON_VIRTUAL,
__C5_ParentList_R1__getParents,
"Get the parent list of drawable. ",
"");
I_Method0(osg::Drawable::ParentList, getParents,
Properties::NON_VIRTUAL,
__ParentList__getParents,
"Get the a copy of parent list of node. ",
"A copy is returned to prevent modification of the parent list. ");
I_Method1(osg::Node *, getParent, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__Node_P1__getParent__unsigned_int,
"Get a single parent of Drawable. ",
" param i index of the parent to get. return the parent i. ");
I_Method1(const osg::Node *, getParent, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_Node_P1__getParent__unsigned_int,
"Get a single const parent of Drawable. ",
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of node. ",
"the number of parents of this node. ");
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, const osg::Node *, haltTraversalAtNode, 0,
Properties::NON_VIRTUAL,
__MatrixList__getWorldMatrices__C5_osg_Node_P1,
"Get the list of matrices that transform this node from local coordinates to world coordinates. ",
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
Properties::NON_VIRTUAL,
__void__setStateSet__StateSet_P1,
"Set the StateSet attached to the Drawable. ",
"Previously attached StateSet are automatically unreferenced on assignment of a new drawstate. ");
I_Method0(osg::StateSet *, getStateSet,
Properties::NON_VIRTUAL,
__StateSet_P1__getStateSet,
"Get the attached StateSet. ",
"");
I_Method0(const osg::StateSet *, getStateSet,
Properties::NON_VIRTUAL,
__C5_StateSet_P1__getStateSet,
"Get the attached const StateSet. ",
"");
I_Method0(osg::StateSet *, getOrCreateStateSet,
Properties::NON_VIRTUAL,
__StateSet_P1__getOrCreateStateSet,
"Get the attached const StateSet, if one is not already attached create one, attach it to the drawable and return a pointer to it. ",
"");
I_Method1(void, setInitialBound, IN, const osg::BoundingBox &, bbox,
Properties::NON_VIRTUAL,
__void__setInitialBound__C5_osg_BoundingBox_R1,
"Set the initial bounding volume to use when computing the overall bounding volume. ",
"");
I_Method0(const osg::BoundingBox &, getInitialBound,
Properties::NON_VIRTUAL,
__C5_BoundingBox_R1__getInitialBound,
"Set the initial bounding volume to use when computing the overall bounding volume. ",
"");
I_Method0(void, dirtyBound,
Properties::NON_VIRTUAL,
__void__dirtyBound,
"Dirty the bounding box, forcing a computeBound() on the next call to getBound(). ",
"Should be called in the internal geometry of the Drawable is modified. ");
I_Method0(const osg::BoundingBox &, getBound,
Properties::NON_VIRTUAL,
__C5_BoundingBox_R1__getBound,
"Get BoundingBox of Drawable. ",
"If the BoundingBox is not up to date then its updated via an internal call to computeBond(). ");
I_Method0(osg::BoundingBox, computeBound,
Properties::VIRTUAL,
__BoundingBox__computeBound,
"Compute the bounding box around Drawables's geometry. ",
"");
I_Method1(void, setComputeBoundingBoxCallback, IN, osg::Drawable::ComputeBoundingBoxCallback *, callback,
Properties::NON_VIRTUAL,
__void__setComputeBoundingBoxCallback__ComputeBoundingBoxCallback_P1,
"Set the compute bound callback to override the default computeBound. ",
"");
I_Method0(osg::Drawable::ComputeBoundingBoxCallback *, getComputeBoundingBoxCallback,
Properties::NON_VIRTUAL,
__ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback,
"Get the compute bound callback. ",
"");
I_Method0(const osg::Drawable::ComputeBoundingBoxCallback *, getComputeBoundingBoxCallback,
Properties::NON_VIRTUAL,
__C5_ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback,
"Get the const compute bound callback. ",
"");
I_Method1(void, setShape, IN, osg::Shape *, shape,
Properties::NON_VIRTUAL,
__void__setShape__Shape_P1,
"Set the Shape of the Drawable. ",
"The shape can be used to speed up collision detection or as a guide for procedural geometry generation. osg::Shape. ");
I_Method0(osg::Shape *, getShape,
Properties::NON_VIRTUAL,
__Shape_P1__getShape,
"Get the Shape of the Drawable. ",
"");
I_Method0(const osg::Shape *, getShape,
Properties::NON_VIRTUAL,
__C5_Shape_P1__getShape,
"Get the const Shape of the const Drawable. ",
"");
I_Method1(void, setSupportsDisplayList, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setSupportsDisplayList__bool,
"Set the drawable so that it can or cannot be used in conjunction with OpenGL display lists. ",
"When set to true, calls to Drawable::setUseDisplayList, whereas when set to false, no display lists can be created and calls to setUseDisplayList are ignored, and a warning is produced. The latter is typically used to guard against the switching on of display lists on objects with dynamic internal data such as continuous Level of Detail algorithms. ");
I_Method0(bool, getSupportsDisplayList,
Properties::NON_VIRTUAL,
__bool__getSupportsDisplayList,
"Get whether display lists are supported for this drawable instance. ",
"");
I_Method1(void, setUseDisplayList, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setUseDisplayList__bool,
"When set to true, force the draw method to use OpenGL Display List for rendering. ",
"If false, rendering directly. If the display list has not been compiled already, the next call to draw will automatically create the display list. ");
I_Method0(bool, getUseDisplayList,
Properties::NON_VIRTUAL,
__bool__getUseDisplayList,
"Return whether OpenGL display lists are being used for rendering. ",
"");
I_Method1(GLuint &, getDisplayList, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
__GLuint_R1__getDisplayList__unsigned_int,
"Return OpenGL display list for specified contextID. ",
"");
I_Method1(void, setUseVertexBufferObjects, IN, bool, flag,
Properties::VIRTUAL,
__void__setUseVertexBufferObjects__bool,
"When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplementation method to use OpenGL vertex buffer objects for rendering. ",
"");
I_Method0(bool, getUseVertexBufferObjects,
Properties::NON_VIRTUAL,
__bool__getUseVertexBufferObjects,
"Return whether OpenGL vertex buffer objects should be used when supported by OpenGL driver. ",
"");
I_Method0(void, dirtyDisplayList,
Properties::VIRTUAL,
__void__dirtyDisplayList,
"Force a recompile on next draw() of any OpenGL display list associated with this geoset. ",
"");
I_Method0(unsigned int, getGLObjectSizeHint,
Properties::VIRTUAL,
__unsigned_int__getGLObjectSizeHint,
"Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable. ",
"This size is used a hint for reuse of deleted display lists/vertex buffer objects. ");
I_Method1(void, draw, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__draw__RenderInfo_R1,
"Draw OpenGL primitives. ",
"If the Drawable has _useDisplayList set to true, then use an OpenGL display list, automatically compiling one if required. Otherwise, call drawImplementation(). This method should not be overridden in subclasses, as it manages the optional display list (notice this is not even virtual). Subclasses should override drawImplementation() instead. ");
I_Method1(void, compileGLObjects, IN, osg::RenderInfo &, renderInfo,
Properties::VIRTUAL,
__void__compileGLObjects__RenderInfo_R1,
"Immediately compile this Drawable into an OpenGL Display List/VertexBufferObjects. ",
"Operation is ignored if _useDisplayList is false or VertexBufferObjects are not used. ");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned_int,
"Resize any per context GLObject buffers to specified size. ",
"");
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
Properties::VIRTUAL,
__void__releaseGLObjects__State_P1,
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
"Otherwise, releases OpenGL objects for all graphics contexts. ");
I_Method1(void, setUpdateCallback, IN, osg::Drawable::UpdateCallback *, ac,
Properties::VIRTUAL,
__void__setUpdateCallback__UpdateCallback_P1,
"Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ",
"");
I_Method0(osg::Drawable::UpdateCallback *, getUpdateCallback,
Properties::NON_VIRTUAL,
__UpdateCallback_P1__getUpdateCallback,
"Get the non const UpdateCallback. ",
"");
I_Method0(const osg::Drawable::UpdateCallback *, getUpdateCallback,
Properties::NON_VIRTUAL,
__C5_UpdateCallback_P1__getUpdateCallback,
"Get the const UpdateCallback. ",
"");
I_Method0(bool, requiresUpdateTraversal,
Properties::NON_VIRTUAL,
__bool__requiresUpdateTraversal,
"Return whether this Drawable has update callbacks associated with it, and therefore must be traversed. ",
"");
I_Method1(void, setEventCallback, IN, osg::Drawable::EventCallback *, ac,
Properties::VIRTUAL,
__void__setEventCallback__EventCallback_P1,
"Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ",
"");
I_Method0(osg::Drawable::EventCallback *, getEventCallback,
Properties::NON_VIRTUAL,
__EventCallback_P1__getEventCallback,
"Get the non const EventCallback. ",
"");
I_Method0(const osg::Drawable::EventCallback *, getEventCallback,
Properties::NON_VIRTUAL,
__C5_EventCallback_P1__getEventCallback,
"Get the const EventCallback. ",
"");
I_Method0(bool, requiresEventTraversal,
Properties::NON_VIRTUAL,
__bool__requiresEventTraversal,
"Return whether this Drawable has event callbacks associated with it, and therefore must be traversed. ",
"");
I_Method1(void, setCullCallback, IN, osg::Drawable::CullCallback *, cc,
Properties::VIRTUAL,
__void__setCullCallback__CullCallback_P1,
"Set the CullCallback which allows users to customize the culling of Drawable during the cull traversal. ",
"");
I_Method0(osg::Drawable::CullCallback *, getCullCallback,
Properties::NON_VIRTUAL,
__CullCallback_P1__getCullCallback,
"Get the non const CullCallback. ",
"");
I_Method0(const osg::Drawable::CullCallback *, getCullCallback,
Properties::NON_VIRTUAL,
__C5_CullCallback_P1__getCullCallback,
"Get the const CullCallback. ",
"");
I_Method1(void, setDrawCallback, IN, osg::Drawable::DrawCallback *, dc,
Properties::VIRTUAL,
__void__setDrawCallback__DrawCallback_P1,
"Set the DrawCallback which allows users to attach customize the drawing of existing Drawable object. ",
"");
I_Method0(osg::Drawable::DrawCallback *, getDrawCallback,
Properties::NON_VIRTUAL,
__DrawCallback_P1__getDrawCallback,
"Get the non const DrawCallback. ",
"");
I_Method0(const osg::Drawable::DrawCallback *, getDrawCallback,
Properties::NON_VIRTUAL,
__C5_DrawCallback_P1__getDrawCallback,
"Get the const DrawCallback. ",
"");
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
Properties::PURE_VIRTUAL,
__void__drawImplementation__RenderInfo_R1,
"drawImplementation(RenderInfo&) is a pure virtual method for the actual implementation of OpenGL drawing calls, such as vertex arrays and primitives, that must be implemented in concrete subclasses of the Drawable base class, examples include osg::Geometry and osg::ShapeDrawable. ",
" param renderInfo The osg::RenderInfo object that encapsulates the current rendering information including the osg::State OpenGL state for the current graphics context. ");
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_AttributeFunctor_R1,
"Return true if the Drawable subclass supports accept(AttributeFunctor&). ",
"");
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, x,
Properties::VIRTUAL,
__void__accept__AttributeFunctor_R1,
"accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ",
"return true if functor handled by drawable, return false on failure of drawable to generate functor calls. ");
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_ConstAttributeFunctor_R1,
"Return true if the Drawable subclass supports accept(ConstAttributeFunctor&). ",
"");
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, x,
Properties::VIRTUAL,
__void__accept__ConstAttributeFunctor_R1,
"Accept an AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. ",
"return true if functor handled by drawable, return false on failure of drawable to generate functor calls. ");
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_PrimitiveFunctor_R1,
"Return true if the Drawable subclass supports accept(PrimitiveFunctor&). ",
"");
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, x,
Properties::VIRTUAL,
__void__accept__PrimitiveFunctor_R1,
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
"return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveFunctor only provides const access of the primitives, as primitives may be procedurally generated so one cannot modify it. ");
I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_PrimitiveIndexFunctor_R1,
"Return true if the Drawable subclass supports accept(PrimitiveIndexFunctor&). ",
"");
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, x,
Properties::VIRTUAL,
__void__accept__PrimitiveIndexFunctor_R1,
"Accept a PrimitiveIndexFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
"return true if functor handled by drawable, return false on failure of drawable to generate functor calls. Note, PrimtiveIndexFunctor only provide const access of the primitives, as primitives may be procedurally generated so one cannot modify it. ");
I_StaticMethodWithDefaults2(GLuint, generateDisplayList, IN, unsigned int, contextID, , IN, unsigned int, sizeHint, 0,
__GLuint__generateDisplayList__unsigned_int__unsigned_int_S,
"Return a OpenGL display list handle a newly generated or reused from display list cache. ",
"");
I_StaticMethod1(void, setMinimumNumberOfDisplayListsToRetainInCache, IN, unsigned int, minimum,
__void__setMinimumNumberOfDisplayListsToRetainInCache__unsigned_int_S,
"Set the minimum number of display lists to retain in the deleted display list cache. ",
"");
I_StaticMethod0(unsigned int, getMinimumNumberOfDisplayListsToRetainInCache,
__unsigned_int__getMinimumNumberOfDisplayListsToRetainInCache_S,
"Get the minimum number of display lists to retain in the deleted display list cache. ",
"");
I_StaticMethodWithDefaults3(void, deleteDisplayList, IN, unsigned int, contextID, , IN, GLuint, globj, , IN, unsigned int, sizeHint, 0,
__void__deleteDisplayList__unsigned_int__GLuint__unsigned_int_S,
"Use deleteDisplayList instead of glDeleteList to allow OpenGL display list to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
"");
I_StaticMethod1(void, flushAllDeletedDisplayLists, IN, unsigned int, contextID,
__void__flushAllDeletedDisplayLists__unsigned_int_S,
"Flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ",
"");
I_StaticMethod1(void, discardAllDeletedDisplayLists, IN, unsigned int, contextID,
__void__discardAllDeletedDisplayLists__unsigned_int_S,
"Flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ",
"Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. ");
I_StaticMethod2(void, flushDeletedDisplayLists, IN, unsigned int, contextID, IN, double &, availableTime,
__void__flushDeletedDisplayLists__unsigned_int__double_R1_S,
"Flush the cached display list which need to be deleted in the OpenGL context related to contextID. ",
"");
I_StaticMethod2(osg::Drawable::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 is only created with the graphics context associated with ContextID.. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Drawable::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions 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_ProtectedMethod1(void, setBound, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__setBound__C5_BoundingBox_R1,
"set the bounding box . ",
"");
I_ProtectedMethod1(void, addParent, IN, osg::Node *, node,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addParent__osg_Node_P1,
"",
"");
I_ProtectedMethod1(void, removeParent, IN, osg::Node *, node,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__removeParent__osg_Node_P1,
"",
"");
I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setNumChildrenRequiringUpdateTraversal__unsigned_int,
"",
"");
I_ProtectedMethod0(unsigned int, getNumChildrenRequiringUpdateTraversal,
Properties::NON_VIRTUAL,
Properties::CONST,
__unsigned_int__getNumChildrenRequiringUpdateTraversal,
"",
"");
I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setNumChildrenRequiringEventTraversal__unsigned_int,
"",
"");
I_ProtectedMethod0(unsigned int, getNumChildrenRequiringEventTraversal,
Properties::NON_VIRTUAL,
Properties::CONST,
__unsigned_int__getNumChildrenRequiringEventTraversal,
"",
"");
I_SimpleProperty(const osg::BoundingBox &, Bound,
__C5_BoundingBox_R1__getBound,
0);
I_SimpleProperty(osg::Drawable::ComputeBoundingBoxCallback *, ComputeBoundingBoxCallback,
__ComputeBoundingBoxCallback_P1__getComputeBoundingBoxCallback,
__void__setComputeBoundingBoxCallback__ComputeBoundingBoxCallback_P1);
I_SimpleProperty(osg::Drawable::CullCallback *, CullCallback,
__CullCallback_P1__getCullCallback,
__void__setCullCallback__CullCallback_P1);
I_SimpleProperty(osg::Drawable::DrawCallback *, DrawCallback,
__DrawCallback_P1__getDrawCallback,
__void__setDrawCallback__DrawCallback_P1);
I_SimpleProperty(osg::Drawable::EventCallback *, EventCallback,
__EventCallback_P1__getEventCallback,
__void__setEventCallback__EventCallback_P1);
I_SimpleProperty(unsigned int, GLObjectSizeHint,
__unsigned_int__getGLObjectSizeHint,
0);
I_SimpleProperty(const osg::BoundingBox &, InitialBound,
__C5_BoundingBox_R1__getInitialBound,
__void__setInitialBound__C5_osg_BoundingBox_R1);
I_ArrayProperty(osg::Node *, Parent,
__Node_P1__getParent__unsigned_int,
0,
__unsigned_int__getNumParents,
0,
0,
0);
I_SimpleProperty(osg::Drawable::ParentList, Parents,
__ParentList__getParents,
0);
I_SimpleProperty(osg::Shape *, Shape,
__Shape_P1__getShape,
__void__setShape__Shape_P1);
I_SimpleProperty(osg::StateSet *, StateSet,
__StateSet_P1__getStateSet,
__void__setStateSet__StateSet_P1);
I_SimpleProperty(bool, SupportsDisplayList,
__bool__getSupportsDisplayList,
__void__setSupportsDisplayList__bool);
I_SimpleProperty(bool, ThreadSafeRefUnref,
0,
__void__setThreadSafeRefUnref__bool);
I_SimpleProperty(osg::Drawable::UpdateCallback *, UpdateCallback,
__UpdateCallback_P1__getUpdateCallback,
__void__setUpdateCallback__UpdateCallback_P1);
I_SimpleProperty(bool, UseDisplayList,
__bool__getUseDisplayList,
__void__setUseDisplayList__bool);
I_SimpleProperty(bool, UseVertexBufferObjects,
__bool__getUseVertexBufferObjects,
__void__setUseVertexBufferObjects__bool);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Drawable::AttributeFunctor)
I_DeclaringFile("osg/Drawable");
I_Constructor0(____AttributeFunctor,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLbyte *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__GLbyte_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLshort *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__GLshort_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLint *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__GLint_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLubyte *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__GLubyte_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLushort *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__GLushort_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, GLuint *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__GLuint_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, float *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__float_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec2 *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec2_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec3 *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec3_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4 *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec4_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4ub *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec4ub_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, double *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__double_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec2d *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec2d_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec3d *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec3d_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, osg::Vec4d *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__Vec4d_P1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Drawable::ComputeBoundingBoxCallback)
I_DeclaringFile("osg/Drawable");
I_BaseType(osg::Object);
I_Constructor0(____ComputeBoundingBoxCallback,
"",
"");
I_Constructor2(IN, const osg::Drawable::ComputeBoundingBoxCallback &, x, IN, const osg::CopyOp &, x,
____ComputeBoundingBoxCallback__C5_ComputeBoundingBoxCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(osg::BoundingBox, computeBound, IN, const osg::Drawable &, x,
Properties::VIRTUAL,
__BoundingBox__computeBound__C5_osg_Drawable_R1,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Drawable::ConstAttributeFunctor)
I_DeclaringFile("osg/Drawable");
I_Constructor0(____ConstAttributeFunctor,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLbyte *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_GLbyte_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLshort *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_GLshort_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLint *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_GLint_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLubyte *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_GLubyte_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLushort *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_GLushort_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const GLuint *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_GLuint_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const float *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_float_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec2 *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec2_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec3 *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec3_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec4 *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec4_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec4ub *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec4ub_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const double *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_double_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec2d *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec2d_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec3d *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec3d_P1,
"",
"");
I_Method3(void, apply, IN, osg::Drawable::AttributeType, x, IN, unsigned, int, IN, const osg::Vec4d *, x,
Properties::VIRTUAL,
__void__apply__AttributeType__unsigned__C5_Vec4d_P1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Drawable::CullCallback)
I_DeclaringFile("osg/Drawable");
I_VirtualBaseType(osg::Object);
I_Constructor0(____CullCallback,
"",
"");
I_Constructor2(IN, const osg::Drawable::CullCallback &, x, IN, const osg::CopyOp &, x,
____CullCallback__C5_CullCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method3(bool, cull, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, IN, osg::State *, x,
Properties::VIRTUAL,
__bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_State_P1,
"deprecated. ",
"");
I_Method3(bool, cull, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable, IN, osg::RenderInfo *, renderInfo,
Properties::VIRTUAL,
__bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_RenderInfo_P1,
"do customized cull code, return true if drawable should be culled. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Drawable::DrawCallback)
I_DeclaringFile("osg/Drawable");
I_VirtualBaseType(osg::Object);
I_Constructor0(____DrawCallback,
"",
"");
I_Constructor2(IN, const osg::Drawable::DrawCallback &, x, IN, const osg::CopyOp &, x,
____DrawCallback__C5_DrawCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method2(void, drawImplementation, IN, osg::RenderInfo &, x, IN, const osg::Drawable *, x,
Properties::VIRTUAL,
__void__drawImplementation__osg_RenderInfo_R1__C5_osg_Drawable_P1,
"do customized draw code. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Drawable::EventCallback)
I_DeclaringFile("osg/Drawable");
I_VirtualBaseType(osg::Object);
I_Constructor0(____EventCallback,
"",
"");
I_Constructor2(IN, const osg::Drawable::EventCallback &, x, IN, const osg::CopyOp &, x,
____EventCallback__C5_EventCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method2(void, event, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x,
Properties::VIRTUAL,
__void__event__osg_NodeVisitor_P1__osg_Drawable_P1,
"do customized Event code. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Drawable::UpdateCallback)
I_DeclaringFile("osg/Drawable");
I_VirtualBaseType(osg::Object);
I_Constructor0(____UpdateCallback,
"",
"");
I_Constructor2(IN, const osg::Drawable::UpdateCallback &, x, IN, const osg::CopyOp &, x,
____UpdateCallback__C5_UpdateCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method2(void, update, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x,
Properties::VIRTUAL,
__void__update__osg_NodeVisitor_P1__osg_Drawable_P1,
"do customized update code. ",
"");
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::Node * >)

View File

@@ -1,28 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Endian>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Endian)
I_DeclaringFile("osg/Endian");
I_EnumLabel(osg::BigEndian);
I_EnumLabel(osg::LittleEndian);
END_REFLECTOR

View File

@@ -1,178 +0,0 @@
// ***************************************************************************
//
// 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/Fog>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Fog::Mode)
I_DeclaringFile("osg/Fog");
I_EnumLabel(osg::Fog::LINEAR);
I_EnumLabel(osg::Fog::EXP);
I_EnumLabel(osg::Fog::EXP2);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Fog::FogCoordinateSource)
I_DeclaringFile("osg/Fog");
I_EnumLabel(osg::Fog::FOG_COORDINATE);
I_EnumLabel(osg::Fog::FRAGMENT_DEPTH);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Fog)
I_DeclaringFile("osg/Fog");
I_BaseType(osg::StateAttribute);
I_Constructor0(____Fog,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Fog__C5_Fog_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_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, setMode, IN, osg::Fog::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"",
"");
I_Method0(osg::Fog::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__getMode,
"",
"");
I_Method1(void, setDensity, IN, float, density,
Properties::NON_VIRTUAL,
__void__setDensity__float,
"",
"");
I_Method0(float, getDensity,
Properties::NON_VIRTUAL,
__float__getDensity,
"",
"");
I_Method1(void, setStart, IN, float, start,
Properties::NON_VIRTUAL,
__void__setStart__float,
"",
"");
I_Method0(float, getStart,
Properties::NON_VIRTUAL,
__float__getStart,
"",
"");
I_Method1(void, setEnd, IN, float, end,
Properties::NON_VIRTUAL,
__void__setEnd__float,
"",
"");
I_Method0(float, getEnd,
Properties::NON_VIRTUAL,
__float__getEnd,
"",
"");
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
__void__setColor__C5_Vec4_R1,
"",
"");
I_Method0(const osg::Vec4 &, getColor,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getColor,
"",
"");
I_Method1(void, setFogCoordinateSource, IN, GLint, source,
Properties::NON_VIRTUAL,
__void__setFogCoordinateSource__GLint,
"",
"");
I_Method0(GLint, getFogCoordinateSource,
Properties::NON_VIRTUAL,
__GLint__getFogCoordinateSource,
"",
"");
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(const osg::Vec4 &, Color,
__C5_Vec4_R1__getColor,
__void__setColor__C5_Vec4_R1);
I_SimpleProperty(float, Density,
__float__getDensity,
__void__setDensity__float);
I_SimpleProperty(float, End,
__float__getEnd,
__void__setEnd__float);
I_SimpleProperty(GLint, FogCoordinateSource,
__GLint__getFogCoordinateSource,
__void__setFogCoordinateSource__GLint);
I_SimpleProperty(osg::Fog::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);
I_SimpleProperty(float, Start,
__float__getStart,
__void__setStart__float);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,205 +0,0 @@
// ***************************************************************************
//
// 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/FragmentProgram>
#include <osg/Matrix>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::FragmentProgram::LocalParamList)
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::FragmentProgram::MatrixList)
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
I_DeclaringFile("osg/FragmentProgram");
I_BaseType(osg::StateAttribute);
I_Constructor0(____FragmentProgram,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____FragmentProgram__C5_FragmentProgram_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_osg_StateAttribute_R1,
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
"");
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
"");
I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID,
Properties::NON_VIRTUAL,
__GLuint_R1__getFragmentProgramID__unsigned_int,
"Get the handle to the fragment program id for the current context. ",
"");
I_Method1(void, setFragmentProgram, IN, const char *, program,
Properties::NON_VIRTUAL,
__void__setFragmentProgram__C5_char_P1,
"Set the fragment program using a C style string. ",
"");
I_Method1(void, setFragmentProgram, IN, const std::string &, program,
Properties::NON_VIRTUAL,
__void__setFragmentProgram__C5_std_string_R1,
"Set the fragment program using C++ style string. ",
"");
I_Method0(const std::string &, getFragmentProgram,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFragmentProgram,
"Get the fragment program. ",
"");
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
Properties::NON_VIRTUAL,
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
"Set Program Parameters. ",
"");
I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl,
Properties::NON_VIRTUAL,
__void__setLocalParameters__C5_LocalParamList_R1,
"Set list of Program Parameters. ",
"");
I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters,
Properties::NON_VIRTUAL,
__LocalParamList_R1__getLocalParameters,
"Get list of Program Parameters. ",
"");
I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters,
Properties::NON_VIRTUAL,
__C5_LocalParamList_R1__getLocalParameters,
"Get const list of Program Parameters. ",
"");
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
Properties::NON_VIRTUAL,
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
"Matrix. ",
"");
I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices,
Properties::NON_VIRTUAL,
__void__setMatrices__C5_MatrixList_R1,
"Set list of Matrices. ",
"");
I_Method0(osg::FragmentProgram::MatrixList &, getMatrices,
Properties::NON_VIRTUAL,
__MatrixList_R1__getMatrices,
"Get list of Matrices. ",
"");
I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices,
Properties::NON_VIRTUAL,
__C5_MatrixList_R1__getMatrices,
"Get list of Matrices. ",
"");
I_Method0(void, dirtyFragmentProgramObject,
Properties::NON_VIRTUAL,
__void__dirtyFragmentProgramObject,
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
"");
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 &, x,
Properties::VIRTUAL,
__void__compileGLObjects__State_R1,
"Default to nothing to compile - all state is applied immediately. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned_int,
"Resize any per context GLObject buffers to specified size. ",
"");
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
Properties::VIRTUAL,
__void__releaseGLObjects__State_P1,
"release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer == NULL. ",
"");
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
__void__deleteFragmentProgramObject__unsigned_int__GLuint_S,
"use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
"");
I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
__void__flushDeletedFragmentProgramObjects__unsigned_int__double__double_R1_S,
"flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ",
"");
I_StaticMethod1(void, discardDeletedFragmentProgramObjects, IN, unsigned int, contextID,
__void__discardDeletedFragmentProgramObjects__unsigned_int_S,
"discard all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ",
"Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. ");
I_StaticMethod2(osg::FragmentProgram::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 has 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::FragmentProgram::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions 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_SimpleProperty(const std::string &, FragmentProgram,
__C5_std_string_R1__getFragmentProgram,
__void__setFragmentProgram__C5_std_string_R1);
I_SimpleProperty(const osg::FragmentProgram::LocalParamList &, LocalParameters,
__C5_LocalParamList_R1__getLocalParameters,
__void__setLocalParameters__C5_LocalParamList_R1);
I_SimpleProperty(const osg::FragmentProgram::MatrixList &, Matrices,
__C5_MatrixList_R1__getMatrices,
__void__setMatrices__C5_MatrixList_R1);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >)
STD_MAP_REFLECTOR(std::map< GLuint COMMA osg::Vec4 >)

View File

@@ -1,454 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Camera>
#include <osg/CopyOp>
#include <osg/FrameBufferObject>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Texture>
#include <osg/Texture1D>
#include <osg/Texture2D>
#include <osg/Texture2DArray>
#include <osg/Texture3D>
#include <osg/TextureCubeMap>
#include <osg/TextureRectangle>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
I_DeclaringFile("osg/FrameBufferObject");
I_Constructor0(____FrameBufferAttachment,
"",
"");
I_Constructor1(IN, const osg::FrameBufferAttachment &, copy,
Properties::NON_EXPLICIT,
____FrameBufferAttachment__C5_FrameBufferAttachment_R1,
"",
"");
I_Constructor1(IN, osg::RenderBuffer *, target,
Properties::EXPLICIT,
____FrameBufferAttachment__RenderBuffer_P1,
"",
"");
I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, int, level, 0,
____FrameBufferAttachment__Texture1D_P1__int,
"",
"");
I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, int, level, 0,
____FrameBufferAttachment__Texture2D_P1__int,
"",
"");
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0,
____FrameBufferAttachment__Texture3D_P1__int__int,
"",
"");
I_ConstructorWithDefaults3(IN, osg::Texture2DArray *, target, , IN, int, layer, , IN, int, level, 0,
____FrameBufferAttachment__Texture2DArray_P1__int__int,
"",
"");
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0,
____FrameBufferAttachment__TextureCubeMap_P1__int__int,
"",
"");
I_Constructor1(IN, osg::TextureRectangle *, target,
Properties::EXPLICIT,
____FrameBufferAttachment__TextureRectangle_P1,
"",
"");
I_Constructor1(IN, osg::Camera::Attachment &, attachment,
Properties::EXPLICIT,
____FrameBufferAttachment__Camera_Attachment_R1,
"",
"");
I_Method0(bool, isMultisample,
Properties::NON_VIRTUAL,
__bool__isMultisample,
"",
"");
I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext,
Properties::NON_VIRTUAL,
__void__createRequiredTexturesAndApplyGenerateMipMap__State_R1__C5_FBOExtensions_P1,
"",
"");
I_Method4(void, attach, IN, osg::State &, state, IN, GLenum, target, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext,
Properties::NON_VIRTUAL,
__void__attach__State_R1__GLenum__GLenum__C5_FBOExtensions_P1,
"",
"");
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa,
Properties::NON_VIRTUAL,
__int__compare__C5_FrameBufferAttachment_R1,
"",
"");
I_Method0(osg::RenderBuffer *, getRenderBuffer,
Properties::NON_VIRTUAL,
__RenderBuffer_P1__getRenderBuffer,
"",
"");
I_Method0(const osg::RenderBuffer *, getRenderBuffer,
Properties::NON_VIRTUAL,
__C5_RenderBuffer_P1__getRenderBuffer,
"",
"");
I_Method0(osg::Texture *, getTexture,
Properties::NON_VIRTUAL,
__Texture_P1__getTexture,
"",
"");
I_Method0(const osg::Texture *, getTexture,
Properties::NON_VIRTUAL,
__C5_Texture_P1__getTexture,
"",
"");
I_Method0(int, getCubeMapFace,
Properties::NON_VIRTUAL,
__int__getCubeMapFace,
"",
"");
I_Method0(int, getTextureLevel,
Properties::NON_VIRTUAL,
__int__getTextureLevel,
"",
"");
I_Method0(int, getTexture3DZOffset,
Properties::NON_VIRTUAL,
__int__getTexture3DZOffset,
"",
"");
I_Method0(int, getTextureArrayLayer,
Properties::NON_VIRTUAL,
__int__getTextureArrayLayer,
"",
"");
I_SimpleProperty(int, CubeMapFace,
__int__getCubeMapFace,
0);
I_SimpleProperty(osg::RenderBuffer *, RenderBuffer,
__RenderBuffer_P1__getRenderBuffer,
0);
I_SimpleProperty(osg::Texture *, Texture,
__Texture_P1__getTexture,
0);
I_SimpleProperty(int, Texture3DZOffset,
__int__getTexture3DZOffset,
0);
I_SimpleProperty(int, TextureArrayLayer,
__int__getTextureArrayLayer,
0);
I_SimpleProperty(int, TextureLevel,
__int__getTextureLevel,
0);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::FrameBufferObject::BindTarget)
I_DeclaringFile("osg/FrameBufferObject");
I_EnumLabel(osg::FrameBufferObject::READ_FRAMEBUFFER);
I_EnumLabel(osg::FrameBufferObject::DRAW_FRAMEBUFFER);
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);
I_Constructor0(____FrameBufferObject,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____FrameBufferObject__C5_FrameBufferObject_R1__C5_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_Method0(osg::StateAttribute::Type, getType,
Properties::VIRTUAL,
__Type__getType,
"Return the Type identifier of the attribute's class type. ",
"");
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap,
Properties::NON_VIRTUAL,
__C5_AttachmentMap_R1__getAttachmentMap,
"",
"");
I_Method2(void, setAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point, IN, const osg::FrameBufferAttachment &, attachment,
Properties::NON_VIRTUAL,
__void__setAttachment__BufferComponent__C5_FrameBufferAttachment_R1,
"",
"");
I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point,
Properties::NON_VIRTUAL,
__C5_FrameBufferAttachment_R1__getAttachment__BufferComponent,
"",
"");
I_Method1(bool, hasAttachment, IN, osg::FrameBufferObject::BufferComponent, attachment_point,
Properties::NON_VIRTUAL,
__bool__hasAttachment__BufferComponent,
"",
"");
I_Method0(bool, hasMultipleRenderingTargets,
Properties::NON_VIRTUAL,
__bool__hasMultipleRenderingTargets,
"",
"");
I_Method0(const osg::FrameBufferObject::MultipleRenderingTargets &, getMultipleRenderingTargets,
Properties::NON_VIRTUAL,
__C5_MultipleRenderingTargets_R1__getMultipleRenderingTargets,
"",
"");
I_Method0(bool, isMultisample,
Properties::NON_VIRTUAL,
__bool__isMultisample,
"",
"");
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_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_Method2(void, apply, IN, osg::State &, state, IN, osg::FrameBufferObject::BindTarget, target,
Properties::NON_VIRTUAL,
__void__apply__State_R1__BindTarget,
"Bind the FBO as either the read or draw target, or both. ",
"");
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
"Mark internal FBO for deletion. ",
"Deletion requests are queued until they can be executed in the proper GL context. ");
I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
__void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S,
"flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ",
"");
I_StaticMethod1(void, discardDeletedFrameBufferObjects, IN, unsigned int, contextID,
__void__discardDeletedFrameBufferObjects__unsigned_int_S,
"discard all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ",
"");
I_ProtectedMethod0(void, updateDrawBuffers,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__updateDrawBuffers,
"",
"");
I_ProtectedMethod0(void, dirtyAll,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__dirtyAll,
"",
"");
I_ProtectedMethod1(GLenum, convertBufferComponentToGLenum, IN, osg::FrameBufferObject::BufferComponent, attachment_point,
Properties::NON_VIRTUAL,
Properties::CONST,
__GLenum__convertBufferComponentToGLenum__BufferComponent,
"",
"");
I_IndexedProperty(const osg::FrameBufferAttachment &, Attachment,
__C5_FrameBufferAttachment_R1__getAttachment__BufferComponent,
__void__setAttachment__BufferComponent__C5_FrameBufferAttachment_R1,
0);
I_SimpleProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap,
__C5_AttachmentMap_R1__getAttachmentMap,
0);
I_SimpleProperty(const osg::FrameBufferObject::MultipleRenderingTargets &, MultipleRenderingTargets,
__C5_MultipleRenderingTargets_R1__getMultipleRenderingTargets,
0);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
I_DeclaringFile("osg/FrameBufferObject");
I_BaseType(osg::Object);
I_Constructor0(____RenderBuffer,
"",
"");
I_ConstructorWithDefaults5(IN, int, width, , IN, int, height, , IN, GLenum, internalFormat, , IN, int, samples, 0, IN, int, colorSamples, 0,
____RenderBuffer__int__int__GLenum__int__int,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(int, getWidth,
Properties::NON_VIRTUAL,
__int__getWidth,
"",
"");
I_Method0(int, getHeight,
Properties::NON_VIRTUAL,
__int__getHeight,
"",
"");
I_Method1(void, setWidth, IN, int, w,
Properties::NON_VIRTUAL,
__void__setWidth__int,
"",
"");
I_Method1(void, setHeight, IN, int, h,
Properties::NON_VIRTUAL,
__void__setHeight__int,
"",
"");
I_Method2(void, setSize, IN, int, w, IN, int, h,
Properties::NON_VIRTUAL,
__void__setSize__int__int,
"",
"");
I_Method0(GLenum, getInternalFormat,
Properties::NON_VIRTUAL,
__GLenum__getInternalFormat,
"",
"");
I_Method1(void, setInternalFormat, IN, GLenum, format,
Properties::NON_VIRTUAL,
__void__setInternalFormat__GLenum,
"",
"");
I_Method0(int, getSamples,
Properties::NON_VIRTUAL,
__int__getSamples,
"",
"");
I_Method0(int, getColorSamples,
Properties::NON_VIRTUAL,
__int__getColorSamples,
"",
"");
I_Method1(void, setSamples, IN, int, samples,
Properties::NON_VIRTUAL,
__void__setSamples__int,
"",
"");
I_Method1(void, setColorSamples, IN, int, colorSamples,
Properties::NON_VIRTUAL,
__void__setColorSamples__int,
"",
"");
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
Properties::NON_VIRTUAL,
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
"",
"");
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
Properties::NON_VIRTUAL,
__int__compare__C5_RenderBuffer_R1,
"",
"");
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
"Mark internal RenderBuffer for deletion. ",
"Deletion requests are queued until they can be executed in the proper GL context. ");
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
"");
I_StaticMethod1(void, discardDeletedRenderBuffers, IN, unsigned int, contextID,
__void__discardDeletedRenderBuffers__unsigned_int_S,
"discard all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
"Note, unlike flush no OpenGL calls are made, instead the handles are all removed. this call is useful for when an OpenGL context has been destroyed. ");
I_StaticMethod2(int, getMaxSamples, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
__int__getMaxSamples__unsigned_int__C5_FBOExtensions_P1_S,
"",
"");
I_ProtectedMethod0(void, dirtyAll,
Properties::NON_VIRTUAL,
Properties::CONST,
__void__dirtyAll,
"",
"");
I_SimpleProperty(int, ColorSamples,
__int__getColorSamples,
__void__setColorSamples__int);
I_SimpleProperty(int, Height,
__int__getHeight,
__void__setHeight__int);
I_SimpleProperty(GLenum, InternalFormat,
__GLenum__getInternalFormat,
__void__setInternalFormat__GLenum);
I_SimpleProperty(int, Samples,
__int__getSamples,
__void__setSamples__int);
I_SimpleProperty(int, Width,
__int__getWidth,
__void__setWidth__int);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< osg::Camera::BufferComponent COMMA osg::FrameBufferAttachment >)
STD_VECTOR_REFLECTOR(std::vector< GLenum >)

View File

@@ -1,87 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/FrameStamp>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::FrameStamp)
I_DeclaringFile("osg/FrameStamp");
I_BaseType(osg::Referenced);
I_Constructor0(____FrameStamp,
"",
"");
I_Constructor1(IN, const osg::FrameStamp &, fs,
Properties::NON_EXPLICIT,
____FrameStamp__C5_FrameStamp_R1,
"",
"");
I_Method1(void, setFrameNumber, IN, int, fnum,
Properties::NON_VIRTUAL,
__void__setFrameNumber__int,
"",
"");
I_Method0(int, getFrameNumber,
Properties::NON_VIRTUAL,
__int__getFrameNumber,
"",
"");
I_Method1(void, setReferenceTime, IN, double, refTime,
Properties::NON_VIRTUAL,
__void__setReferenceTime__double,
"",
"");
I_Method0(double, getReferenceTime,
Properties::NON_VIRTUAL,
__double__getReferenceTime,
"",
"");
I_Method1(void, setSimulationTime, IN, double, refTime,
Properties::NON_VIRTUAL,
__void__setSimulationTime__double,
"",
"");
I_Method0(double, getSimulationTime,
Properties::NON_VIRTUAL,
__double__getSimulationTime,
"",
"");
I_Method1(void, setCalendarTime, IN, const tm &, calendarTime,
Properties::NON_VIRTUAL,
__void__setCalendarTime__C5_tm_R1,
"",
"");
I_Method1(void, getCalendarTime, IN, tm &, calendarTime,
Properties::NON_VIRTUAL,
__void__getCalendarTime__tm_R1,
"",
"");
I_SimpleProperty(const tm &, CalendarTime,
0,
__void__setCalendarTime__C5_tm_R1);
I_SimpleProperty(int, FrameNumber,
__int__getFrameNumber,
__void__setFrameNumber__int);
I_SimpleProperty(double, ReferenceTime,
__double__getReferenceTime,
__void__setReferenceTime__double);
I_SimpleProperty(double, SimulationTime,
__double__getSimulationTime,
__void__setSimulationTime__double);
END_REFLECTOR

View File

@@ -1,102 +0,0 @@
// ***************************************************************************
//
// 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/FrontFace>
#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_ENUM_REFLECTOR(osg::FrontFace::Mode)
I_DeclaringFile("osg/FrontFace");
I_EnumLabel(osg::FrontFace::CLOCKWISE);
I_EnumLabel(osg::FrontFace::COUNTER_CLOCKWISE);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
I_DeclaringFile("osg/FrontFace");
I_BaseType(osg::StateAttribute);
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE,
Properties::NON_EXPLICIT,
____FrontFace__Mode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____FrontFace__C5_FrontFace_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_Method1(void, setMode, IN, osg::FrontFace::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Mode,
"",
"");
I_Method0(osg::FrontFace::Mode, getMode,
Properties::NON_VIRTUAL,
__Mode__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(osg::FrontFace::Mode, Mode,
__Mode__getMode,
__void__setMode__Mode);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,22 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/GL2Extensions>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

View File

@@ -1,289 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/GLBeginEndAdapter>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::GLBeginEndAdapter::MatrixMode)
I_DeclaringFile("osg/GLBeginEndAdapter");
I_EnumLabel(osg::GLBeginEndAdapter::APPLY_LOCAL_MATRICES_TO_VERTICES);
I_EnumLabel(osg::GLBeginEndAdapter::APPLY_LOCAL_MATRICES_TO_MODELVIEW);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GLBeginEndAdapter)
I_DeclaringFile("osg/GLBeginEndAdapter");
I_ConstructorWithDefaults1(IN, osg::State *, state, 0,
Properties::NON_EXPLICIT,
____GLBeginEndAdapter__State_P1,
"",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__State_P1,
"",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__State_P1__getState,
"",
"");
I_Method0(const osg::State *, getState,
Properties::NON_VIRTUAL,
__C5_State_P1__getState,
"",
"");
I_Method1(void, setMatrixMode, IN, osg::GLBeginEndAdapter::MatrixMode, mode,
Properties::NON_VIRTUAL,
__void__setMatrixMode__MatrixMode,
"",
"");
I_Method0(osg::GLBeginEndAdapter::MatrixMode, setMatrixMode,
Properties::NON_VIRTUAL,
__MatrixMode__setMatrixMode,
"",
"");
I_Method0(void, PushMatrix,
Properties::NON_VIRTUAL,
__void__PushMatrix,
"",
"");
I_Method0(void, PopMatrix,
Properties::NON_VIRTUAL,
__void__PopMatrix,
"",
"");
I_Method0(void, LoadIdentity,
Properties::NON_VIRTUAL,
__void__LoadIdentity,
"",
"");
I_Method1(void, LoadMatrixd, IN, const GLdouble *, m,
Properties::NON_VIRTUAL,
__void__LoadMatrixd__C5_GLdouble_P1,
"",
"");
I_Method1(void, MultMatrixd, IN, const GLdouble *, m,
Properties::NON_VIRTUAL,
__void__MultMatrixd__C5_GLdouble_P1,
"",
"");
I_Method3(void, Translatef, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__Translatef__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method3(void, Scalef, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__Scalef__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method4(void, Rotatef, IN, GLfloat, angle, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__Rotatef__GLfloat__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method3(void, Translated, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z,
Properties::NON_VIRTUAL,
__void__Translated__GLdouble__GLdouble__GLdouble,
"",
"");
I_Method3(void, Scaled, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z,
Properties::NON_VIRTUAL,
__void__Scaled__GLdouble__GLdouble__GLdouble,
"",
"");
I_Method4(void, Rotated, IN, GLdouble, angle, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z,
Properties::NON_VIRTUAL,
__void__Rotated__GLdouble__GLdouble__GLdouble__GLdouble,
"",
"");
I_Method3(void, Vertex3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__Vertex3f__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method1(void, Vertex3fv, IN, const GLfloat *, v,
Properties::NON_VIRTUAL,
__void__Vertex3fv__C5_GLfloat_P1,
"",
"");
I_Method4(void, Color4f, IN, GLfloat, red, IN, GLfloat, green, IN, GLfloat, blue, IN, GLfloat, alpha,
Properties::NON_VIRTUAL,
__void__Color4f__GLfloat__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method1(void, Color4fv, IN, const GLfloat *, c,
Properties::NON_VIRTUAL,
__void__Color4fv__C5_GLfloat_P1,
"",
"");
I_Method1(void, Color4ubv, IN, const GLubyte *, c,
Properties::NON_VIRTUAL,
__void__Color4ubv__C5_GLubyte_P1,
"",
"");
I_Method3(void, Normal3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__Normal3f__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method1(void, Normal3fv, IN, const GLfloat *, n,
Properties::NON_VIRTUAL,
__void__Normal3fv__C5_GLfloat_P1,
"",
"");
I_Method1(void, TexCoord1f, IN, GLfloat, x,
Properties::NON_VIRTUAL,
__void__TexCoord1f__GLfloat,
"",
"");
I_Method1(void, TexCoord1fv, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__TexCoord1fv__C5_GLfloat_P1,
"",
"");
I_Method2(void, TexCoord2f, IN, GLfloat, x, IN, GLfloat, y,
Properties::NON_VIRTUAL,
__void__TexCoord2f__GLfloat__GLfloat,
"",
"");
I_Method1(void, TexCoord2fv, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__TexCoord2fv__C5_GLfloat_P1,
"",
"");
I_Method3(void, TexCoord3f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__TexCoord3f__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method1(void, TexCoord3fv, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__TexCoord3fv__C5_GLfloat_P1,
"",
"");
I_Method4(void, TexCoord4f, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w,
Properties::NON_VIRTUAL,
__void__TexCoord4f__GLfloat__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method1(void, TexCoord4fv, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__TexCoord4fv__C5_GLfloat_P1,
"",
"");
I_Method2(void, MultiTexCoord1f, IN, GLenum, target, IN, GLfloat, x,
Properties::NON_VIRTUAL,
__void__MultiTexCoord1f__GLenum__GLfloat,
"",
"");
I_Method2(void, MultiTexCoord1fv, IN, GLenum, target, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__MultiTexCoord1fv__GLenum__C5_GLfloat_P1,
"",
"");
I_Method3(void, MultiTexCoord2f, IN, GLenum, target, IN, GLfloat, x, IN, GLfloat, y,
Properties::NON_VIRTUAL,
__void__MultiTexCoord2f__GLenum__GLfloat__GLfloat,
"",
"");
I_Method2(void, MultiTexCoord2fv, IN, GLenum, target, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__MultiTexCoord2fv__GLenum__C5_GLfloat_P1,
"",
"");
I_Method4(void, MultiTexCoord3f, IN, GLenum, target, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__MultiTexCoord3f__GLenum__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method2(void, MultiTexCoord3fv, IN, GLenum, target, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__MultiTexCoord3fv__GLenum__C5_GLfloat_P1,
"",
"");
I_Method5(void, MultiTexCoord4f, IN, GLenum, target, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w,
Properties::NON_VIRTUAL,
__void__MultiTexCoord4f__GLenum__GLfloat__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method2(void, MultiTexCoord4fv, IN, GLenum, target, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__MultiTexCoord4fv__GLenum__C5_GLfloat_P1,
"",
"");
I_Method2(void, VertexAttrib1f, IN, GLuint, unit, IN, GLfloat, x,
Properties::NON_VIRTUAL,
__void__VertexAttrib1f__GLuint__GLfloat,
"",
"");
I_Method2(void, VertexAttrib1fv, IN, GLuint, unit, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__VertexAttrib1fv__GLuint__C5_GLfloat_P1,
"",
"");
I_Method3(void, VertexAttrib2f, IN, GLuint, unit, IN, GLfloat, x, IN, GLfloat, y,
Properties::NON_VIRTUAL,
__void__VertexAttrib2f__GLuint__GLfloat__GLfloat,
"",
"");
I_Method2(void, VertexAttrib2fv, IN, GLuint, unit, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__VertexAttrib2fv__GLuint__C5_GLfloat_P1,
"",
"");
I_Method4(void, VertexAttrib3f, IN, GLuint, unit, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
Properties::NON_VIRTUAL,
__void__VertexAttrib3f__GLuint__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method2(void, VertexAttrib3fv, IN, GLuint, unit, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__VertexAttrib3fv__GLuint__C5_GLfloat_P1,
"",
"");
I_Method5(void, VertexAttrib4f, IN, GLuint, unit, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w,
Properties::NON_VIRTUAL,
__void__VertexAttrib4f__GLuint__GLfloat__GLfloat__GLfloat__GLfloat,
"",
"");
I_Method2(void, VertexAttrib4fv, IN, GLuint, unit, IN, const GLfloat *, tc,
Properties::NON_VIRTUAL,
__void__VertexAttrib4fv__GLuint__C5_GLfloat_P1,
"",
"");
I_Method1(void, Begin, IN, GLenum, mode,
Properties::NON_VIRTUAL,
__void__Begin__GLenum,
"",
"");
I_Method0(void, End,
Properties::NON_VIRTUAL,
__void__End,
"",
"");
I_SimpleProperty(osg::GLBeginEndAdapter::MatrixMode, MatrixMode,
0,
__void__setMatrixMode__MatrixMode);
I_SimpleProperty(osg::State *, State,
__State_P1__getState,
__void__setState__State_P1);
END_REFLECTOR

View File

@@ -1,227 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/RenderInfo>
#include <osg/State>
// 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::ref_ptr< osg::Drawable > >, osg::Geode::DrawableList)
BEGIN_OBJECT_REFLECTOR(osg::Geode)
I_DeclaringFile("osg/Geode");
I_BaseType(osg::Node);
I_Constructor0(____Geode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Geode__C5_Geode_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 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::Geode *, asGeode,
Properties::VIRTUAL,
__Geode_P1__asGeode,
"Convert 'this' into a Geode pointer if Node is a Geode, otherwise return 0. ",
"Equivalent to dynamic_cast<Geode*>(this). ");
I_Method0(const osg::Geode *, asGeode,
Properties::VIRTUAL,
__C5_Geode_P1__asGeode,
"convert 'const this' into a const Geode pointer if Node is a Geode, otherwise return 0. ",
"Equivalent to dynamic_cast<const Geode*>(this). ");
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__bool__addDrawable__Drawable_P1,
"Add a Drawable to the Geode. ",
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise. ");
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__bool__removeDrawable__Drawable_P1,
"Remove a Drawable from the Geode. ",
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise. ");
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1,
Properties::VIRTUAL,
__bool__removeDrawables__unsigned_int__unsigned_int,
"Remove Drawable(s) from the specified position in Geode's drawable list. ",
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise. ");
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw,
Properties::VIRTUAL,
__bool__replaceDrawable__Drawable_P1__Drawable_P1,
"Replace specified Drawable with another Drawable. ",
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation. ");
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable,
Properties::VIRTUAL,
__bool__setDrawable__unsigned_int__Drawable_P1,
"Set Drawable at position i. ",
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
I_Method0(unsigned int, getNumDrawables,
Properties::NON_VIRTUAL,
__unsigned_int__getNumDrawables,
"Return the number of Drawables currently attached to the Geode. ",
"");
I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__Drawable_P1__getDrawable__unsigned_int,
"Return the Drawable at position i. ",
"");
I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_Drawable_P1__getDrawable__unsigned_int,
"Return the Drawable at position i. ",
"");
I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset,
Properties::NON_VIRTUAL,
__bool__containsDrawable__C5_Drawable_P1,
"Return true if a given Drawable is contained within Geode. ",
"");
I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable,
Properties::NON_VIRTUAL,
__unsigned_int__getDrawableIndex__C5_Drawable_P1,
"Get the index number of drawable. ",
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
I_Method0(const osg::Geode::DrawableList &, getDrawableList,
Properties::NON_VIRTUAL,
__C5_DrawableList_R1__getDrawableList,
"Get the list of drawables. ",
"");
I_Method1(void, compileDrawables, IN, osg::RenderInfo &, renderInfo,
Properties::NON_VIRTUAL,
__void__compileDrawables__RenderInfo_R1,
"Compile OpenGL Display List for each drawable. ",
"");
I_Method0(const osg::BoundingBox &, getBoundingBox,
Properties::NON_VIRTUAL,
__C5_BoundingBox_R1__getBoundingBox,
"Return the Geode's bounding box, which is the union of all the bounding boxes of the geode's drawables. ",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned_int,
"Resize any per context GLObject buffers to specified size. ",
"");
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_SimpleProperty(const osg::BoundingBox &, BoundingBox,
__C5_BoundingBox_R1__getBoundingBox,
0);
I_ArrayProperty(osg::Drawable *, Drawable,
__Drawable_P1__getDrawable__unsigned_int,
__bool__setDrawable__unsigned_int__Drawable_P1,
__unsigned_int__getNumDrawables,
__bool__addDrawable__Drawable_P1,
0,
__bool__removeDrawables__unsigned_int__unsigned_int);
I_SimpleProperty(const osg::Geode::DrawableList &, DrawableList,
__C5_DrawableList_R1__getDrawableList,
0);
I_SimpleProperty(bool, ThreadSafeRefUnref,
0,
__void__setThreadSafeRefUnref__bool);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Drawable >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::Drawable *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::Drawable > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::Drawable *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::Drawable *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::Drawable > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::Drawable *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Drawable > >)

File diff suppressed because it is too large Load Diff

View File

@@ -1,624 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <OpenThreads/Mutex>
#include <osg/DisplaySettings>
#include <osg/GraphicsContext>
#include <osg/GraphicsThread>
#include <osg/Object>
#include <osg/OperationThread>
#include <osg/State>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
#include <osg/Camera>
TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext::ScreenSettings >, osg::GraphicsContext::ScreenSettingsList)
TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osg::GraphicsContext::GraphicsContexts)
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osg::Operation > >, osg::GraphicsContext::GraphicsOperationQueue)
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,
"Add operation to end of OperationQueue. ",
"");
I_Method1(void, remove, IN, osg::Operation *, operation,
Properties::NON_VIRTUAL,
__void__remove__Operation_P1,
"Remove operation from OperationQueue. ",
"");
I_Method1(void, remove, IN, const std::string &, name,
Properties::NON_VIRTUAL,
__void__remove__C5_std_string_R1,
"Remove named operation from OperationQueue. ",
"");
I_Method0(void, removeAllOperations,
Properties::NON_VIRTUAL,
__void__removeAllOperations,
"Remove all operations from OperationQueue. ",
"");
I_Method0(void, runOperations,
Properties::NON_VIRTUAL,
__void__runOperations,
"Run the operations. ",
"");
I_Method0(osg::GraphicsContext::GraphicsOperationQueue &, getOperationsQueue,
Properties::NON_VIRTUAL,
__GraphicsOperationQueue_R1__getOperationsQueue,
"Get the operations queue, not you must use the OperationsMutex when accessing the queue. ",
"");
I_Method0(OpenThreads::Mutex *, getOperationsMutex,
Properties::NON_VIRTUAL,
__OpenThreads_Mutex_P1__getOperationsMutex,
"Get the operations queue mutex. ",
"");
I_Method0(osg::RefBlock *, getOperationsBlock,
Properties::NON_VIRTUAL,
__osg_RefBlock_P1__getOperationsBlock,
"Get the operations queue block used to mark an empty queue, if you end items into the empty queue you must release this block. ",
"");
I_Method0(osg::Operation *, getCurrentOperation,
Properties::NON_VIRTUAL,
__Operation_P1__getCurrentOperation,
"Get the current operations that is being run. ",
"");
I_Method0(const osg::GraphicsContext::Traits *, getTraits,
Properties::NON_VIRTUAL,
__C5_Traits_P1__getTraits,
"Get the traits of the GraphicsContext. ",
"");
I_Method0(bool, valid,
Properties::PURE_VIRTUAL,
__bool__valid,
"Return whether a valid and usable GraphicsContext has been created. ",
"");
I_Method1(void, setState, IN, osg::State *, state,
Properties::NON_VIRTUAL,
__void__setState__State_P1,
"Set the State object which tracks the current OpenGL state for this graphics context. ",
"");
I_Method0(osg::State *, getState,
Properties::NON_VIRTUAL,
__State_P1__getState,
"Get the State object which tracks the current OpenGL state for this graphics context. ",
"");
I_Method0(const osg::State *, getState,
Properties::NON_VIRTUAL,
__C5_State_P1__getState,
"Get the const State object which tracks the current OpenGL state for this graphics context. ",
"");
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL,
__void__setClearColor__C5_Vec4_R1,
"Sets the clear color. ",
"");
I_Method0(const osg::Vec4 &, getClearColor,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getClearColor,
"Returns the clear color. ",
"");
I_Method1(void, setClearMask, IN, GLbitfield, mask,
Properties::NON_VIRTUAL,
__void__setClearMask__GLbitfield,
"Set the clear mask used in glClear(. ",
".). Defaults to 0 - so no clear is done by default by the GraphicsContext, instead the Camera's attached the GraphicsContext will do the clear. GraphicsContext::setClearMask() is useful for when the Camera's Viewports don't conver the whole context, so the context will fill in the gaps. ");
I_Method0(GLbitfield, getClearMask,
Properties::NON_VIRTUAL,
__GLbitfield__getClearMask,
"Get the clear mask. ",
"");
I_Method0(void, clear,
Properties::VIRTUAL,
__void__clear,
"Do an OpenGL clear of the full graphics context/window. ",
"Note, must only be called from a thread with this context current. ");
I_Method0(double, getTimeSinceLastClear,
Properties::NON_VIRTUAL,
__double__getTimeSinceLastClear,
"",
"");
I_Method0(bool, realize,
Properties::NON_VIRTUAL,
__bool__realize,
"Realize the GraphicsContext. ",
"");
I_MethodWithDefaults1(void, close, IN, bool, callCloseImplementation, true,
Properties::NON_VIRTUAL,
__void__close__bool,
"close the graphics context. ",
"close(bool) stops any associated graphics threads, releases the contextID for the GraphicsContext then optional calls closeImplementation() to do the actual deletion of the graphics. This call is made optional as there are times when the graphics context has already been deleted externally and only the OSG side of the its data need to be closed down. ");
I_Method0(void, swapBuffers,
Properties::NON_VIRTUAL,
__void__swapBuffers,
"swap the front and back buffers. ",
"");
I_Method0(bool, isRealized,
Properties::NON_VIRTUAL,
__bool__isRealized,
"Return true if the graphics context has been realized and is ready to use. ",
"");
I_Method0(bool, makeCurrent,
Properties::NON_VIRTUAL,
__bool__makeCurrent,
"Make this graphics context current. ",
"Implemented by calling makeCurrentImplementation(). Returns true on success. ");
I_Method1(bool, makeContextCurrent, IN, osg::GraphicsContext *, readContext,
Properties::NON_VIRTUAL,
__bool__makeContextCurrent__GraphicsContext_P1,
"Make this graphics context current with specified read context. ",
"Implemented by calling makeContextCurrentImplementation(). Returns true on success. ");
I_Method0(bool, releaseContext,
Properties::NON_VIRTUAL,
__bool__releaseContext,
"Release the graphics context. ",
"Returns true on success. ");
I_Method0(bool, isCurrent,
Properties::NON_VIRTUAL,
__bool__isCurrent,
"Return true if the current thread has this OpenGL graphics context. ",
"");
I_Method1(void, bindPBufferToTexture, IN, GLenum, buffer,
Properties::NON_VIRTUAL,
__void__bindPBufferToTexture__GLenum,
"Bind the graphics context to associated texture. ",
"");
I_Method0(void, createGraphicsThread,
Properties::NON_VIRTUAL,
__void__createGraphicsThread,
"Create a graphics thread to the graphics context, so that the thread handles all OpenGL operations. ",
"");
I_Method1(void, setGraphicsThread, IN, osg::GraphicsThread *, gt,
Properties::NON_VIRTUAL,
__void__setGraphicsThread__GraphicsThread_P1,
"Assign a graphics thread to the graphics context, so that the thread handles all OpenGL operations. ",
"");
I_Method0(osg::GraphicsThread *, getGraphicsThread,
Properties::NON_VIRTUAL,
__GraphicsThread_P1__getGraphicsThread,
"Get the graphics thread assigned the graphics context. ",
"");
I_Method0(const osg::GraphicsThread *, getGraphicsThread,
Properties::NON_VIRTUAL,
__C5_GraphicsThread_P1__getGraphicsThread,
"Get the const graphics thread assigned the graphics context. ",
"");
I_Method0(bool, realizeImplementation,
Properties::PURE_VIRTUAL,
__bool__realizeImplementation,
"Realize the GraphicsContext implementation, Pure virtual - must be implemented by concrete implementations of GraphicsContext. ",
"");
I_Method0(bool, isRealizedImplementation,
Properties::PURE_VIRTUAL,
__bool__isRealizedImplementation,
"Return true if the graphics context has been realized, and is ready to use, implementation. ",
"Pure virtual - must be implemented by concrete implementations of GraphicsContext. ");
I_Method0(void, closeImplementation,
Properties::PURE_VIRTUAL,
__void__closeImplementation,
"Close the graphics context implementation. ",
"Pure virtual - must be implemented by concrete implementations of GraphicsContext. ");
I_Method0(bool, makeCurrentImplementation,
Properties::PURE_VIRTUAL,
__bool__makeCurrentImplementation,
"Make this graphics context current implementation. ",
"Pure virtual - must be implemented by concrete implementations of GraphicsContext. ");
I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext,
Properties::PURE_VIRTUAL,
__bool__makeContextCurrentImplementation__GraphicsContext_P1,
"Make this graphics context current with specified read context implementation. ",
"Pure virtual - must be implemented by concrete implementations of GraphicsContext. ");
I_Method0(bool, releaseContextImplementation,
Properties::PURE_VIRTUAL,
__bool__releaseContextImplementation,
"Release the graphics context implementation. ",
"");
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer,
Properties::PURE_VIRTUAL,
__void__bindPBufferToTextureImplementation__GLenum,
"Pure virtual, Bind the graphics context to associated texture implementation. ",
"Pure virtual - must be implemented by concrete implementations of GraphicsContext. ");
I_Method0(void, swapBuffersImplementation,
Properties::PURE_VIRTUAL,
__void__swapBuffersImplementation,
"Swap the front and back buffers implementation. ",
"Pure virtual - must be implemented by concrete implementations of GraphicsContext. ");
I_Method4(void, resized, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
Properties::NON_VIRTUAL,
__void__resized__int__int__int__int,
"resized method should be called when the underlying window has been resized and the GraphicsWindow and associated Cameras must be updated to keep in sync with the new size. ",
"");
I_Method1(void, setResizedCallback, IN, osg::GraphicsContext::ResizedCallback *, rc,
Properties::NON_VIRTUAL,
__void__setResizedCallback__ResizedCallback_P1,
"Set the resized callback which overrides the GraphicsConext::realizedImplementation(), allow developers to provide custom behavior in response to a window being resized. ",
"");
I_Method0(osg::GraphicsContext::ResizedCallback *, getResizedCallback,
Properties::NON_VIRTUAL,
__ResizedCallback_P1__getResizedCallback,
"Get the resized callback which overrides the GraphicsConext::realizedImplementation(). ",
"");
I_Method0(const osg::GraphicsContext::ResizedCallback *, getResizedCallback,
Properties::NON_VIRTUAL,
__C5_ResizedCallback_P1__getResizedCallback,
"Get the const resized callback which overrides the GraphicsConext::realizedImplementation(). ",
"");
I_Method4(void, resizedImplementation, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
Properties::VIRTUAL,
__void__resizedImplementation__int__int__int__int,
"resized implementation, by default resizes the viewports and aspect ratios the cameras associated with the graphics Window. ",
"");
I_Method0(osg::GraphicsContext::Cameras &, getCameras,
Properties::NON_VIRTUAL,
__Cameras_R1__getCameras,
"Get the the list of cameras associated with this graphics context. ",
"");
I_Method0(const osg::GraphicsContext::Cameras &, getCameras,
Properties::NON_VIRTUAL,
__C5_Cameras_R1__getCameras,
"Get the the const list of cameras associated with this graphics context. ",
"");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, object,
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_ProtectedConstructor0(____GraphicsContext,
"",
"");
I_ProtectedConstructor2(IN, const osg::GraphicsContext &, x, IN, const osg::CopyOp &, x,
____GraphicsContext__C5_GraphicsContext_R1__C5_osg_CopyOp_R1,
"",
"");
I_ProtectedMethod0(osg::Object *, cloneType,
Properties::VIRTUAL,
Properties::CONST,
__Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_ProtectedMethod1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
Properties::CONST,
__Object_P1__clone__C5_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_ProtectedMethod1(void, addCamera, IN, osg::Camera *, camera,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addCamera__osg_Camera_P1,
"",
"");
I_ProtectedMethod1(void, removeCamera, IN, osg::Camera *, camera,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__removeCamera__osg_Camera_P1,
"",
"");
I_SimpleProperty(osg::GraphicsContext::Cameras &, Cameras,
__Cameras_R1__getCameras,
0);
I_SimpleProperty(const osg::Vec4 &, ClearColor,
__C5_Vec4_R1__getClearColor,
__void__setClearColor__C5_Vec4_R1);
I_SimpleProperty(GLbitfield, ClearMask,
__GLbitfield__getClearMask,
__void__setClearMask__GLbitfield);
I_SimpleProperty(osg::Operation *, CurrentOperation,
__Operation_P1__getCurrentOperation,
0);
I_SimpleProperty(osg::GraphicsThread *, GraphicsThread,
__GraphicsThread_P1__getGraphicsThread,
__void__setGraphicsThread__GraphicsThread_P1);
I_SimpleProperty(osg::RefBlock *, OperationsBlock,
__osg_RefBlock_P1__getOperationsBlock,
0);
I_SimpleProperty(OpenThreads::Mutex *, OperationsMutex,
__OpenThreads_Mutex_P1__getOperationsMutex,
0);
I_SimpleProperty(osg::GraphicsContext::GraphicsOperationQueue &, OperationsQueue,
__GraphicsOperationQueue_R1__getOperationsQueue,
0);
I_SimpleProperty(osg::GraphicsContext::ResizedCallback *, ResizedCallback,
__ResizedCallback_P1__getResizedCallback,
__void__setResizedCallback__ResizedCallback_P1);
I_SimpleProperty(osg::State *, State,
__State_P1__getState,
__void__setState__State_P1);
I_SimpleProperty(double, TimeSinceLastClear,
__double__getTimeSinceLastClear,
0);
I_SimpleProperty(const osg::GraphicsContext::Traits *, Traits,
__C5_Traits_P1__getTraits,
0);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::ResizedCallback)
I_DeclaringFile("osg/GraphicsContext");
I_BaseType(osg::Referenced);
I_Constructor0(____ResizedCallback,
"",
"");
I_Method5(void, resizedImplementation, IN, osg::GraphicsContext *, gc, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
Properties::PURE_VIRTUAL,
__void__resizedImplementation__GraphicsContext_P1__int__int__int__int,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::ScreenIdentifier)
I_DeclaringFile("osg/GraphicsContext");
I_Constructor0(____ScreenIdentifier,
"",
"");
I_Constructor1(IN, int, in_screenNum,
Properties::NON_EXPLICIT,
____ScreenIdentifier__int,
"",
"");
I_Constructor3(IN, const std::string &, in_hostName, IN, int, in_displayNum, IN, int, in_screenNum,
____ScreenIdentifier__C5_std_string_R1__int__int,
"",
"");
I_Method0(std::string, displayName,
Properties::NON_VIRTUAL,
__std_string__displayName,
"Return the display name in the form hostName::displayNum:screenNum. ",
"");
I_Method0(void, readDISPLAY,
Properties::NON_VIRTUAL,
__void__readDISPLAY,
"Read the DISPLAY environmental variable, and set the ScreenIdentifier accordingly. ",
"Note, if either of displayNum or screenNum are not defined then -1 is set respectively to signify the this parameter has not been set. When parameters are undefined one can call call setUndefinedScreenDetalstoDefaultScreen() method after readDISPLAY() to ensure valid values. ");
I_Method1(void, setScreenIdentifier, IN, const std::string &, displayName,
Properties::NON_VIRTUAL,
__void__setScreenIdentifier__C5_std_string_R1,
"Set the screenIndentifier from the displayName string. ",
"Note, if either of displayNum or screenNum are not defined then -1 is set respectively to signify the this parameter has not been set. When parameters are undefined one can call call setUndefinedScreenDetalstoDefaultScreen() method after readDISPLAY() to ensure valid values. ");
I_Method0(void, setUndefinedScreenDetailsToDefaultScreen,
Properties::NON_VIRTUAL,
__void__setUndefinedScreenDetailsToDefaultScreen,
"Set any undefined displayNum or screenNum values (i.e. ",
"-1) to the default display & screen of 0 respectively. ");
I_SimpleProperty(const std::string &, ScreenIdentifier,
0,
__void__setScreenIdentifier__C5_std_string_R1);
I_PublicMemberProperty(std::string, hostName);
I_PublicMemberProperty(int, displayNum);
I_PublicMemberProperty(int, screenNum);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::GraphicsContext::ScreenSettings)
I_DeclaringFile("osg/GraphicsContext");
I_Constructor0(____ScreenSettings,
"",
"");
I_ConstructorWithDefaults4(IN, int, width, , IN, int, height, , IN, double, refreshRate, 0, IN, unsigned int, colorDepth, 0,
____ScreenSettings__int__int__double__unsigned_int,
"",
"");
I_PublicMemberProperty(int, width);
I_PublicMemberProperty(int, height);
I_PublicMemberProperty(double, refreshRate);
I_PublicMemberProperty(unsigned int, colorDepth);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::GraphicsContext::Traits)
I_DeclaringFile("osg/GraphicsContext");
I_BaseType(osg::Referenced);
I_BaseType(osg::GraphicsContext::ScreenIdentifier);
I_ConstructorWithDefaults1(IN, osg::DisplaySettings *, ds, 0,
Properties::NON_EXPLICIT,
____Traits__DisplaySettings_P1,
"",
"");
I_PublicMemberProperty(int, x);
I_PublicMemberProperty(int, y);
I_PublicMemberProperty(int, width);
I_PublicMemberProperty(int, height);
I_PublicMemberProperty(std::string, windowName);
I_PublicMemberProperty(bool, windowDecoration);
I_PublicMemberProperty(bool, supportsResize);
I_PublicMemberProperty(unsigned int, red);
I_PublicMemberProperty(unsigned int, blue);
I_PublicMemberProperty(unsigned int, green);
I_PublicMemberProperty(unsigned int, alpha);
I_PublicMemberProperty(unsigned int, depth);
I_PublicMemberProperty(unsigned int, stencil);
I_PublicMemberProperty(unsigned int, sampleBuffers);
I_PublicMemberProperty(unsigned int, samples);
I_PublicMemberProperty(bool, pbuffer);
I_PublicMemberProperty(bool, quadBufferStereo);
I_PublicMemberProperty(bool, doubleBuffer);
I_PublicMemberProperty(GLenum, target);
I_PublicMemberProperty(GLenum, format);
I_PublicMemberProperty(unsigned int, level);
I_PublicMemberProperty(unsigned int, face);
I_PublicMemberProperty(unsigned int, mipMapGeneration);
I_PublicMemberProperty(bool, vsync);
I_PublicMemberProperty(bool, useMultiThreadedOpenGLEngine);
I_PublicMemberProperty(bool, useCursor);
I_PublicMemberProperty(std::string, glContextVersion);
I_PublicMemberProperty(unsigned int, glContextFlags);
I_PublicMemberProperty(unsigned int, glContextProfileMask);
I_PublicMemberProperty(osg::GraphicsContext *, sharedContext);
I_PublicMemberProperty(osg::ref_ptr< osg::Referenced >, inheritedWindowData);
I_PublicMemberProperty(bool, setInheritedWindowPixelFormat);
I_PublicMemberProperty(bool, overrideRedirect);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::WindowingSystemInterface)
I_DeclaringFile("osg/GraphicsContext");
I_BaseType(osg::Referenced);
I_Constructor0(____WindowingSystemInterface,
"",
"");
I_MethodWithDefaults1(unsigned int, getNumScreens, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, osg::GraphicsContext::ScreenIdentifier(),
Properties::PURE_VIRTUAL,
__unsigned_int__getNumScreens__C5_ScreenIdentifier_R1,
"",
"");
I_Method2(void, getScreenSettings, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, osg::GraphicsContext::ScreenSettings &, resolution,
Properties::PURE_VIRTUAL,
__void__getScreenSettings__C5_ScreenIdentifier_R1__ScreenSettings_R1,
"",
"");
I_Method2(bool, setScreenSettings, IN, const osg::GraphicsContext::ScreenIdentifier &, x, IN, const osg::GraphicsContext::ScreenSettings &, x,
Properties::VIRTUAL,
__bool__setScreenSettings__C5_ScreenIdentifier_R1__C5_ScreenSettings_R1,
"",
"");
I_Method2(void, enumerateScreenSettings, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, osg::GraphicsContext::ScreenSettingsList &, resolutionList,
Properties::PURE_VIRTUAL,
__void__enumerateScreenSettings__C5_ScreenIdentifier_R1__ScreenSettingsList_R1,
"",
"");
I_Method1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits,
Properties::PURE_VIRTUAL,
__GraphicsContext_P1__createGraphicsContext__Traits_P1,
"",
"");
I_Method3(void, getScreenResolution, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, unsigned int &, width, IN, unsigned int &, height,
Properties::NON_VIRTUAL,
__void__getScreenResolution__C5_ScreenIdentifier_R1__unsigned_int_R1__unsigned_int_R1,
"Gets screen resolution without using the ScreenResolution structure. ",
"");
I_Method3(bool, setScreenResolution, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, unsigned int, width, IN, unsigned int, height,
Properties::NON_VIRTUAL,
__bool__setScreenResolution__C5_ScreenIdentifier_R1__unsigned_int__unsigned_int,
"Sets screen resolution without using the ScreenSettings structure. ",
"");
I_Method2(bool, setScreenRefreshRate, IN, const osg::GraphicsContext::ScreenIdentifier &, screenIdentifier, IN, double, refreshRate,
Properties::NON_VIRTUAL,
__bool__setScreenRefreshRate__C5_ScreenIdentifier_R1__double,
"",
"");
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Operation >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::Operation *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::Operation > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::Operation *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::Operation *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::Operation > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::Operation *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_LIST_REFLECTOR(std::list< osg::Camera * >)
STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osg::Operation > >)
STD_VECTOR_REFLECTOR(std::vector< osg::GraphicsContext * >)
STD_VECTOR_REFLECTOR(std::vector< osg::GraphicsContext::ScreenSettings >)

View File

@@ -1,140 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/GraphicsContext>
#include <osg/GraphicsThread>
#include <osg/Object>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::BarrierOperation::PreBlockOp)
I_DeclaringFile("osg/GraphicsThread");
I_EnumLabel(osg::BarrierOperation::NO_OPERATION);
I_EnumLabel(osg::BarrierOperation::GL_FLUSH);
I_EnumLabel(osg::BarrierOperation::GL_FINISH);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::Operation);
I_BaseType(OpenThreads::Barrier);
I_ConstructorWithDefaults3(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION, IN, bool, keep, true,
____BarrierOperation__int__PreBlockOp__bool,
"",
"");
I_Method0(void, release,
Properties::VIRTUAL,
__void__release,
"Release the barrier, now. ",
"");
I_PublicMemberProperty(osg::BarrierOperation::PreBlockOp, _preBlockOp);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::BlockAndFlushOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::GraphicsOperation);
I_BaseType(OpenThreads::Block);
I_Constructor0(____BlockAndFlushOperation,
"",
"");
I_Method0(void, release,
Properties::VIRTUAL,
__void__release,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::EndOfDynamicDrawBlock)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(OpenThreads::BlockCount);
I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback);
I_Constructor1(IN, unsigned, int,
Properties::NON_EXPLICIT,
____EndOfDynamicDrawBlock__unsigned,
"",
"");
I_Method1(void, completed, IN, osg::State *, state,
Properties::VIRTUAL,
__void__completed__osg_State_P1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::FlushDeletedGLObjectsOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::GraphicsOperation);
I_ConstructorWithDefaults2(IN, double, availableTime, , IN, bool, keep, false,
____FlushDeletedGLObjectsOperation__double__bool,
"",
"");
I_PublicMemberProperty(double, _availableTime);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::Operation);
I_Constructor2(IN, const std::string &, name, IN, bool, keep,
____GraphicsOperation__C5_std_string_R1__bool,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::OperationThread);
I_Constructor0(____GraphicsThread,
"",
"");
I_Method0(void, run,
Properties::VIRTUAL,
__void__run,
"Run does the graphics thread run loop. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::GraphicsOperation);
I_BaseType(osg::RefBlock);
I_Constructor0(____ReleaseContext_Block_MakeCurrentOperation,
"",
"");
I_Method0(void, release,
Properties::VIRTUAL,
__void__release,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RunOperations)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::GraphicsOperation);
I_Constructor0(____RunOperations,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
I_DeclaringFile("osg/GraphicsThread");
I_BaseType(osg::GraphicsOperation);
I_Constructor0(____SwapBuffersOperation,
"",
"");
END_REFLECTOR

View File

@@ -1,231 +0,0 @@
// ***************************************************************************
//
// 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/CopyOp>
#include <osg/Group>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::Group)
I_DeclaringFile("osg/Group");
I_BaseType(osg::Node);
I_Constructor0(____Group,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Group &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Group__C5_Group_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 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::Group *, asGroup,
Properties::VIRTUAL,
__Group_P1__asGroup,
"convert 'this' into a Group pointer if Node is a Group, otherwise return 0. ",
"Equivalent to dynamic_cast<Group*>(this). ");
I_Method0(const osg::Group *, asGroup,
Properties::VIRTUAL,
__C5_Group_P1__asGroup,
"convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. ",
"Equivalent to dynamic_cast<const Group*>(this). ");
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"Traverse downwards : calls children's accept method with NodeVisitor. ",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__insertChild__unsigned_int__Node_P1,
"Insert Node to Group at specific location. ",
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation. ");
I_Method1(bool, removeChild, IN, osg::Node *, child,
Properties::NON_VIRTUAL,
__bool__removeChild__Node_P1,
"Remove Node from Group. ",
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. ");
I_MethodWithDefaults2(bool, removeChild, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::NON_VIRTUAL,
__bool__removeChild__unsigned_int__unsigned_int,
"Remove Node from Group. ",
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required. ");
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"Remove children from Group. ",
"Note, must be override by subclasses of Group which add per child attributes. ");
I_Method2(bool, replaceChild, IN, osg::Node *, origChild, IN, osg::Node *, newChild,
Properties::VIRTUAL,
__bool__replaceChild__Node_P1__Node_P1,
"Replace specified Node with another Node. ",
"Equivalent to setChild(getChildIndex(orignChild),node) See docs for setChild for further details on implementation. ");
I_Method0(unsigned int, getNumChildren,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildren,
"Return the number of children nodes. ",
"");
I_Method2(bool, setChild, IN, unsigned int, i, IN, osg::Node *, node,
Properties::VIRTUAL,
__bool__setChild__unsigned_int__Node_P1,
"Set child node at position i. ",
"Return true if set correctly, false on failure (if node==NULL || i is out of range). When Set can be successful applied, the algorithm is : decrement the reference count origNode and increment the reference count of newNode, and dirty the bounding sphere to force it to recompute on next getBound() and return true. If origNode is not found then return false and do not add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node. ");
I_Method1(osg::Node *, getChild, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__Node_P1__getChild__unsigned_int,
"Return child node at position i. ",
"");
I_Method1(const osg::Node *, getChild, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_Node_P1__getChild__unsigned_int,
"Return child node at position i. ",
"");
I_Method1(bool, containsNode, IN, const osg::Node *, node,
Properties::NON_VIRTUAL,
__bool__containsNode__C5_Node_P1,
"Return true if node is contained within Group. ",
"");
I_Method1(unsigned int, getChildIndex, IN, const osg::Node *, node,
Properties::NON_VIRTUAL,
__unsigned_int__getChildIndex__C5_Node_P1,
"Get the index number of child, return a value between 0 and _children.size()-1 if found, if not found then return _children.size(). ",
"");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned_int,
"Resize any per context GLObject buffers to specified size. ",
"");
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_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_ProtectedMethod2(void, childRemoved, IN, unsigned, int, IN, unsigned, int,
Properties::VIRTUAL,
Properties::NON_CONST,
__void__childRemoved__unsigned__unsigned,
"",
"");
I_ProtectedMethod1(void, childInserted, IN, unsigned, int,
Properties::VIRTUAL,
Properties::NON_CONST,
__void__childInserted__unsigned,
"",
"");
I_ArrayProperty(osg::Node *, Child,
__Node_P1__getChild__unsigned_int,
__bool__setChild__unsigned_int__Node_P1,
__unsigned_int__getNumChildren,
__bool__addChild__Node_P1,
__bool__insertChild__unsigned_int__Node_P1,
__bool__removeChild__unsigned_int__unsigned_int);
I_SimpleProperty(bool, ThreadSafeRefUnref,
0,
__void__setThreadSafeRefUnref__bool);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Node > >, osg::NodeList)
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Node >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::Node *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::Node > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::Node *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::Node *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::Node > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::Node *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Node > >)

View File

@@ -1,119 +0,0 @@
// ***************************************************************************
//
// 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

View File

@@ -1,516 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BufferObject>
#include <osg/CopyOp>
#include <osg/FrameStamp>
#include <osg/Image>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/StateAttribute>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Image::WriteHint)
I_DeclaringFile("osg/Image");
I_EnumLabel(osg::Image::NO_PREFERENCE);
I_EnumLabel(osg::Image::STORE_INLINE);
I_EnumLabel(osg::Image::EXTERNAL_FILE);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Image::AllocationMode)
I_DeclaringFile("osg/Image");
I_EnumLabel(osg::Image::NO_DELETE);
I_EnumLabel(osg::Image::USE_NEW_DELETE);
I_EnumLabel(osg::Image::USE_MALLOC_FREE);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Image::Origin)
I_DeclaringFile("osg/Image");
I_EnumLabel(osg::Image::BOTTOM_LEFT);
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::BufferData);
I_Constructor0(____Image,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Image &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Image__C5_Image_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_Method0(const GLvoid *, getDataPointer,
Properties::VIRTUAL,
__C5_GLvoid_P1__getDataPointer,
"",
"");
I_Method0(unsigned int, getTotalDataSize,
Properties::VIRTUAL,
__unsigned_int__getTotalDataSize,
"",
"");
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, setFileName, IN, const std::string &, fileName,
Properties::NON_VIRTUAL,
__void__setFileName__C5_std_string_R1,
"",
"");
I_Method0(const std::string &, getFileName,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFileName,
"",
"");
I_Method1(void, setWriteHint, IN, osg::Image::WriteHint, writeHint,
Properties::NON_VIRTUAL,
__void__setWriteHint__WriteHint,
"",
"");
I_Method0(osg::Image::WriteHint, getWriteHint,
Properties::NON_VIRTUAL,
__WriteHint__getWriteHint,
"",
"");
I_Method1(void, setAllocationMode, IN, osg::Image::AllocationMode, mode,
Properties::NON_VIRTUAL,
__void__setAllocationMode__AllocationMode,
"Set the method used for deleting data once it goes out of scope. ",
"");
I_Method0(osg::Image::AllocationMode, getAllocationMode,
Properties::NON_VIRTUAL,
__AllocationMode__getAllocationMode,
"Get the method used for deleting data once it goes out of scope. ",
"");
I_MethodWithDefaults6(void, allocateImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, int, packing, 1,
Properties::VIRTUAL,
__void__allocateImage__int__int__int__GLenum__GLenum__int,
"Allocate a pixel block of specified size and type. ",
"");
I_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1,
Properties::VIRTUAL,
__void__setImage__int__int__int__GLint__GLenum__GLenum__unsigned_char_P1__AllocationMode__int,
"Set the image dimensions, format and data. ",
"");
I_Method6(void, readPixels, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, GLenum, pixelFormat, IN, GLenum, type,
Properties::VIRTUAL,
__void__readPixels__int__int__int__int__GLenum__GLenum,
"Read pixels from current frame buffer at specified position and size, using glReadPixels. ",
"Create memory for storage if required, reuse existing pixel coords if possible. ");
I_MethodWithDefaults3(void, readImageFromCurrentTexture, IN, unsigned int, contextID, , IN, bool, copyMipMapsIfAvailable, , IN, GLenum, type, GL_UNSIGNED_BYTE,
Properties::VIRTUAL,
__void__readImageFromCurrentTexture__unsigned_int__bool__GLenum,
"Read the contents of the current bound texture, handling compressed pixelFormats if present. ",
"Create memory for storage if required, reuse existing pixel coords if possible. ");
I_Method3(void, scaleImage, IN, int, s, IN, int, t, IN, int, r,
Properties::NON_VIRTUAL,
__void__scaleImage__int__int__int,
"Scale image to specified size. ",
"The method uses gluScaleImage() and thus needs a valid rendering context. ");
I_Method4(void, scaleImage, IN, int, s, IN, int, t, IN, int, r, IN, GLenum, newDataType,
Properties::VIRTUAL,
__void__scaleImage__int__int__int__GLenum,
"Scale image to specified size and with specified data type. ",
"The method uses gluScaleImage() and thus needs a valid rendering context. ");
I_Method4(void, copySubImage, IN, int, s_offset, IN, int, t_offset, IN, int, r_offset, IN, const osg::Image *, source,
Properties::VIRTUAL,
__void__copySubImage__int__int__int__C5_osg_Image_P1,
"Copy a source Image into a subpart of this Image at specified position. ",
"Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged. ");
I_Method1(void, setOrigin, IN, osg::Image::Origin, origin,
Properties::NON_VIRTUAL,
__void__setOrigin__Origin,
"Set the origin of the image. ",
"The default value is BOTTOM_LEFT and is consistent with OpenGL. TOP_LEFT is used for imagery that follows standard Imagery convention, such as movies, and hasn't been flipped yet. For such images one much flip the t axis of the tex coords. to handle this origin position. ");
I_Method0(osg::Image::Origin, getOrigin,
Properties::NON_VIRTUAL,
__Origin__getOrigin,
"Get the origin of the image. ",
"");
I_Method0(int, s,
Properties::NON_VIRTUAL,
__int__s,
"Width of image. ",
"");
I_Method0(int, t,
Properties::NON_VIRTUAL,
__int__t,
"Height of image. ",
"");
I_Method0(int, r,
Properties::NON_VIRTUAL,
__int__r,
"Depth of image. ",
"");
I_Method1(void, setInternalTextureFormat, IN, GLint, internalFormat,
Properties::NON_VIRTUAL,
__void__setInternalTextureFormat__GLint,
"",
"");
I_Method0(GLint, getInternalTextureFormat,
Properties::NON_VIRTUAL,
__GLint__getInternalTextureFormat,
"",
"");
I_Method1(void, setPixelFormat, IN, GLenum, pixelFormat,
Properties::NON_VIRTUAL,
__void__setPixelFormat__GLenum,
"",
"");
I_Method0(GLenum, getPixelFormat,
Properties::NON_VIRTUAL,
__GLenum__getPixelFormat,
"",
"");
I_Method1(void, setDataType, IN, GLenum, dataType,
Properties::NON_VIRTUAL,
__void__setDataType__GLenum,
"",
"");
I_Method0(GLenum, getDataType,
Properties::NON_VIRTUAL,
__GLenum__getDataType,
"",
"");
I_Method1(void, setPacking, IN, unsigned int, packing,
Properties::NON_VIRTUAL,
__void__setPacking__unsigned_int,
"",
"");
I_Method0(unsigned int, getPacking,
Properties::NON_VIRTUAL,
__unsigned_int__getPacking,
"",
"");
I_Method1(void, setPixelAspectRatio, IN, float, pixelAspectRatio,
Properties::NON_VIRTUAL,
__void__setPixelAspectRatio__float,
"Set the pixel aspect ratio, defined as the pixel width divided by the pixel height. ",
"");
I_Method0(float, getPixelAspectRatio,
Properties::NON_VIRTUAL,
__float__getPixelAspectRatio,
"Get the pixel aspect ratio. ",
"");
I_Method0(unsigned int, getPixelSizeInBits,
Properties::NON_VIRTUAL,
__unsigned_int__getPixelSizeInBits,
"Return the number of bits required for each pixel. ",
"");
I_Method0(unsigned int, getRowSizeInBytes,
Properties::NON_VIRTUAL,
__unsigned_int__getRowSizeInBytes,
"Return the number of bytes each row of pixels occupies once it has been packed. ",
"");
I_Method0(unsigned int, getImageSizeInBytes,
Properties::NON_VIRTUAL,
__unsigned_int__getImageSizeInBytes,
"Return the number of bytes each image (_s*_t) of pixels occupies. ",
"");
I_Method0(unsigned int, getTotalSizeInBytes,
Properties::NON_VIRTUAL,
__unsigned_int__getTotalSizeInBytes,
"Return the number of bytes the whole row/image/volume of pixels occupies. ",
"");
I_Method0(unsigned int, getTotalSizeInBytesIncludingMipmaps,
Properties::NON_VIRTUAL,
__unsigned_int__getTotalSizeInBytesIncludingMipmaps,
"Return the number of bytes the whole row/image/volume of pixels occupies, including all mip maps if included. ",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"Return true if the Image represent a valid and usable imagery. ",
"");
I_Method0(unsigned char *, data,
Properties::NON_VIRTUAL,
__unsigned_char_P1__data,
"Raw image data. ",
"");
I_Method0(const unsigned char *, data,
Properties::NON_VIRTUAL,
__C5_unsigned_char_P1__data,
"Raw const image data. ",
"");
I_MethodWithDefaults3(unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0,
Properties::NON_VIRTUAL,
__unsigned_char_P1__data__int__int__int,
"",
"");
I_MethodWithDefaults3(const unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0,
Properties::NON_VIRTUAL,
__C5_unsigned_char_P1__data__int__int__int,
"",
"");
I_MethodWithDefaults3(osg::Vec4, getColor, IN, unsigned int, s, , IN, unsigned, t, 0, IN, unsigned, r, 0,
Properties::NON_VIRTUAL,
__Vec4__getColor__unsigned_int__unsigned__unsigned,
"Get the color value for specified texcoord. ",
"");
I_Method1(osg::Vec4, getColor, IN, const osg::Vec2 &, texcoord,
Properties::NON_VIRTUAL,
__Vec4__getColor__C5_Vec2_R1,
"Get the color value for specified texcoord. ",
"");
I_Method1(osg::Vec4, getColor, IN, const osg::Vec3 &, texcoord,
Properties::NON_VIRTUAL,
__Vec4__getColor__C5_Vec3_R1,
"Get the color value for specified texcoord. ",
"");
I_Method0(void, flipHorizontal,
Properties::NON_VIRTUAL,
__void__flipHorizontal,
"Flip the image horizontally. ",
"");
I_Method0(void, flipVertical,
Properties::NON_VIRTUAL,
__void__flipVertical,
"Flip the image vertically. ",
"");
I_Method1(void, ensureValidSizeForTexturing, IN, GLint, maxTextureSize,
Properties::NON_VIRTUAL,
__void__ensureValidSizeForTexturing__GLint,
"Ensure image dimensions are a power of two. ",
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. ");
I_Method0(bool, isMipmap,
Properties::NON_VIRTUAL,
__bool__isMipmap,
"",
"");
I_Method0(unsigned int, getNumMipmapLevels,
Properties::NON_VIRTUAL,
__unsigned_int__getNumMipmapLevels,
"",
"");
I_Method1(void, setMipmapLevels, IN, const osg::Image::MipmapDataType &, mipmapDataVector,
Properties::NON_VIRTUAL,
__void__setMipmapLevels__C5_MipmapDataType_R1,
"Send offsets into data. ",
"It is assumed that first mipmap offset (index 0) is 0. ");
I_Method0(const osg::Image::MipmapDataType &, getMipmapLevels,
Properties::NON_VIRTUAL,
__C5_MipmapDataType_R1__getMipmapLevels,
"",
"");
I_Method1(unsigned int, getMipmapOffset, IN, unsigned int, mipmapLevel,
Properties::NON_VIRTUAL,
__unsigned_int__getMipmapOffset__unsigned_int,
"",
"");
I_Method1(unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel,
Properties::NON_VIRTUAL,
__unsigned_char_P1__getMipmapData__unsigned_int,
"",
"");
I_Method1(const unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel,
Properties::NON_VIRTUAL,
__C5_unsigned_char_P1__getMipmapData__unsigned_int,
"",
"");
I_Method0(bool, isImageTranslucent,
Properties::VIRTUAL,
__bool__isImageTranslucent,
"Return true if this image is translucent - i.e. ",
"it has alpha values that are less 1.0 (when normalized). ");
I_Method1(void, setPixelBufferObject, IN, osg::PixelBufferObject *, buffer,
Properties::NON_VIRTUAL,
__void__setPixelBufferObject__PixelBufferObject_P1,
"Set the optional PixelBufferObject used to map the image memory efficiently to graphics memory. ",
"");
I_Method0(osg::PixelBufferObject *, getPixelBufferObject,
Properties::NON_VIRTUAL,
__PixelBufferObject_P1__getPixelBufferObject,
"Get the PixelBufferObject. ",
"");
I_Method0(const osg::PixelBufferObject *, getPixelBufferObject,
Properties::NON_VIRTUAL,
__C5_PixelBufferObject_P1__getPixelBufferObject,
"Get the const PixelBufferObject. ",
"");
I_Method0(bool, requiresUpdateCall,
Properties::VIRTUAL,
__bool__requiresUpdateCall,
"return whether the update(NodeVisitor* nv) should be required on each frame to enable proper working of osg::Image. ",
"");
I_Method1(void, update, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__void__update__NodeVisitor_P1,
"update method for osg::Image subclasses that update themselves during the update traversal. ",
"");
I_Method3(bool, sendPointerEvent, IN, int, x, IN, int, x, IN, int, x,
Properties::VIRTUAL,
__bool__sendPointerEvent__int__int__int,
"method for sending pointer events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ",
"Return true if handled. ");
I_Method2(bool, sendKeyEvent, IN, int, x, IN, bool, x,
Properties::VIRTUAL,
__bool__sendKeyEvent__int__bool,
"method for sending key events to images that are acting as front ends to interactive surfaces such as a vnc or browser window. ",
"Return true if handled. ");
I_Method1(void, setFrameLastRendered, IN, const osg::FrameStamp *, x,
Properties::VIRTUAL,
__void__setFrameLastRendered__C5_osg_FrameStamp_P1,
"method for passing frame information to the custom Image classes, to be called only when objects associated with imagery are not culled. ",
"");
I_StaticMethod1(bool, isPackedType, IN, GLenum, type,
__bool__isPackedType__GLenum_S,
"",
"");
I_StaticMethod1(GLenum, computePixelFormat, IN, GLenum, pixelFormat,
__GLenum__computePixelFormat__GLenum_S,
"",
"");
I_StaticMethod1(GLenum, computeFormatDataType, IN, GLenum, pixelFormat,
__GLenum__computeFormatDataType__GLenum_S,
"",
"");
I_StaticMethod1(unsigned int, computeNumComponents, IN, GLenum, pixelFormat,
__unsigned_int__computeNumComponents__GLenum_S,
"",
"");
I_StaticMethod2(unsigned int, computePixelSizeInBits, IN, GLenum, pixelFormat, IN, GLenum, type,
__unsigned_int__computePixelSizeInBits__GLenum__GLenum_S,
"",
"");
I_StaticMethod4(unsigned int, computeRowWidthInBytes, IN, int, width, IN, GLenum, pixelFormat, IN, GLenum, type, IN, int, packing,
__unsigned_int__computeRowWidthInBytes__int__GLenum__GLenum__int_S,
"",
"");
I_StaticMethodWithDefaults2(int, computeNearestPowerOfTwo, IN, int, s, , IN, float, bias, 0.5f,
__int__computeNearestPowerOfTwo__int__float_S,
"",
"");
I_StaticMethodWithDefaults3(int, computeNumberOfMipmapLevels, IN, int, s, , IN, int, t, 1, IN, int, r, 1,
__int__computeNumberOfMipmapLevels__int__int__int_S,
"",
"");
I_ProtectedMethod0(void, deallocateData,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__deallocateData,
"",
"");
I_ProtectedMethod2(void, setData, IN, unsigned char *, data, IN, osg::Image::AllocationMode, allocationMode,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setData__unsigned_char_P1__AllocationMode,
"",
"");
I_SimpleProperty(osg::Image::AllocationMode, AllocationMode,
__AllocationMode__getAllocationMode,
__void__setAllocationMode__AllocationMode);
I_SimpleProperty(const GLvoid *, DataPointer,
__C5_GLvoid_P1__getDataPointer,
0);
I_SimpleProperty(GLenum, DataType,
__GLenum__getDataType,
__void__setDataType__GLenum);
I_SimpleProperty(const std::string &, FileName,
__C5_std_string_R1__getFileName,
__void__setFileName__C5_std_string_R1);
I_SimpleProperty(const osg::FrameStamp *, FrameLastRendered,
0,
__void__setFrameLastRendered__C5_osg_FrameStamp_P1);
I_SimpleProperty(unsigned int, ImageSizeInBytes,
__unsigned_int__getImageSizeInBytes,
0);
I_SimpleProperty(GLint, InternalTextureFormat,
__GLint__getInternalTextureFormat,
__void__setInternalTextureFormat__GLint);
I_SimpleProperty(const osg::Image::MipmapDataType &, MipmapLevels,
__C5_MipmapDataType_R1__getMipmapLevels,
__void__setMipmapLevels__C5_MipmapDataType_R1);
I_SimpleProperty(osg::Image::Origin, Origin,
__Origin__getOrigin,
__void__setOrigin__Origin);
I_SimpleProperty(unsigned int, Packing,
__unsigned_int__getPacking,
__void__setPacking__unsigned_int);
I_SimpleProperty(float, PixelAspectRatio,
__float__getPixelAspectRatio,
__void__setPixelAspectRatio__float);
I_SimpleProperty(osg::PixelBufferObject *, PixelBufferObject,
__PixelBufferObject_P1__getPixelBufferObject,
__void__setPixelBufferObject__PixelBufferObject_P1);
I_SimpleProperty(GLenum, PixelFormat,
__GLenum__getPixelFormat,
__void__setPixelFormat__GLenum);
I_SimpleProperty(unsigned int, PixelSizeInBits,
__unsigned_int__getPixelSizeInBits,
0);
I_SimpleProperty(unsigned int, RowSizeInBytes,
__unsigned_int__getRowSizeInBytes,
0);
I_SimpleProperty(unsigned int, TotalDataSize,
__unsigned_int__getTotalDataSize,
0);
I_SimpleProperty(unsigned int, TotalSizeInBytes,
__unsigned_int__getTotalSizeInBytes,
0);
I_SimpleProperty(unsigned int, TotalSizeInBytesIncludingMipmaps,
__unsigned_int__getTotalSizeInBytesIncludingMipmaps,
0);
I_SimpleProperty(osg::Image::WriteHint, WriteHint,
__WriteHint__getWriteHint,
__void__setWriteHint__WriteHint);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Image::UpdateCallback)
I_DeclaringFile("osg/Image");
I_BaseType(osg::StateAttributeCallback);
I_Constructor0(____UpdateCallback,
"",
"");
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< unsigned int >)

View File

@@ -1,319 +0,0 @@
// ***************************************************************************
//
// 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>
// 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::vector< osg::ref_ptr< osg::Image > >, osg::ImageSequence::Images)
TYPE_NAME_ALIAS(std::vector< std::string >, osg::ImageSequence::FileNames)
BEGIN_OBJECT_REFLECTOR(osg::ImageSequence)
I_DeclaringFile("osg/ImageSequence");
I_BaseType(osg::ImageStream);
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, seek, IN, double, time,
Properties::VIRTUAL,
__void__seek__double,
"",
"");
I_Method0(void, play,
Properties::VIRTUAL,
__void__play,
"",
"");
I_Method0(void, pause,
Properties::VIRTUAL,
__void__pause,
"",
"");
I_Method0(void, rewind,
Properties::VIRTUAL,
__void__rewind,
"",
"");
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, setLength, IN, double, length,
Properties::NON_VIRTUAL,
__void__setLength__double,
"",
"");
I_Method0(double, getLength,
Properties::VIRTUAL,
__double__getLength,
"",
"");
I_Method1(void, addImageFile, IN, const std::string &, fileName,
Properties::NON_VIRTUAL,
__void__addImageFile__C5_std_string_R1,
"",
"");
I_Method2(void, setImageFile, IN, unsigned int, pos, IN, const std::string &, fileName,
Properties::NON_VIRTUAL,
__void__setImageFile__unsigned_int__C5_std_string_R1,
"",
"");
I_Method1(std::string, getImageFile, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__std_string__getImageFile__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumImageFiles,
Properties::NON_VIRTUAL,
__unsigned_int__getNumImageFiles,
"",
"");
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_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1,
Properties::VIRTUAL,
__void__setImage__int__int__int__GLint__GLenum__GLenum__unsigned_char_P1__AllocationMode__int,
"Set the image dimensions, format and data. ",
"");
I_Method2(void, setImage, IN, unsigned int, pos, IN, osg::Image *, image,
Properties::NON_VIRTUAL,
__void__setImage__unsigned_int__osg_Image_P1,
"",
"");
I_Method1(osg::Image *, getImage, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__Image_P1__getImage__unsigned_int,
"",
"");
I_Method1(const osg::Image *, getImage, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__C5_Image_P1__getImage__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumImages,
Properties::NON_VIRTUAL,
__unsigned_int__getNumImages,
"",
"");
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_Method0(bool, requiresUpdateCall,
Properties::VIRTUAL,
__bool__requiresUpdateCall,
"ImageSequence requires a call to update(NodeVisitor*) during the update traversal so return true. ",
"");
I_Method1(void, update, IN, osg::NodeVisitor *, nv,
Properties::VIRTUAL,
__void__update__NodeVisitor_P1,
"update method for osg::Image subclasses that update themselves during the update traversal. ",
"");
I_ProtectedMethod0(void, applyLoopingMode,
Properties::VIRTUAL,
Properties::NON_CONST,
__void__applyLoopingMode,
"",
"");
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_ProtectedMethod1(int, imageIndex, IN, double, time,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__int__imageIndex__double,
"",
"");
I_SimpleProperty(osg::ImageSequence::FileNames &, FileNames,
__FileNames_R1__getFileNames,
0);
I_ArrayProperty(osg::Image *, Image,
__Image_P1__getImage__unsigned_int,
__void__setImage__unsigned_int__osg_Image_P1,
__unsigned_int__getNumImages,
__void__addImage__osg_Image_P1,
0,
0);
I_ArrayProperty(std::string, ImageFile,
__std_string__getImageFile__unsigned_int,
__void__setImageFile__unsigned_int__C5_std_string_R1,
__unsigned_int__getNumImageFiles,
0,
0,
0);
I_SimpleProperty(osg::ImageSequence::Images &, Images,
__Images_R1__getImages,
0);
I_SimpleProperty(double, Length,
__double__getLength,
__void__setLength__double);
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_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_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Image > >)
STD_VECTOR_REFLECTOR(std::vector< std::string >)

View File

@@ -1,251 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/AudioStream>
#include <osg/CopyOp>
#include <osg/Image>
#include <osg/ImageStream>
#include <osg/Object>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::ImageStream::StreamStatus)
I_DeclaringFile("osg/ImageStream");
I_EnumLabel(osg::ImageStream::INVALID);
I_EnumLabel(osg::ImageStream::PLAYING);
I_EnumLabel(osg::ImageStream::PAUSED);
I_EnumLabel(osg::ImageStream::REWINDING);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::ImageStream::LoopingMode)
I_DeclaringFile("osg/ImageStream");
I_EnumLabel(osg::ImageStream::NO_LOOPING);
I_EnumLabel(osg::ImageStream::LOOPING);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::AudioStream > >, osg::ImageStream::AudioStreams)
BEGIN_OBJECT_REFLECTOR(osg::ImageStream)
I_DeclaringFile("osg/ImageStream");
I_BaseType(osg::Image);
I_Constructor0(____ImageStream,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::ImageStream &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ImageStream__C5_ImageStream_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, seek, IN, double, x,
Properties::VIRTUAL,
__void__seek__double,
"",
"");
I_Method0(void, play,
Properties::VIRTUAL,
__void__play,
"",
"");
I_Method0(void, pause,
Properties::VIRTUAL,
__void__pause,
"",
"");
I_Method0(void, rewind,
Properties::VIRTUAL,
__void__rewind,
"",
"");
I_MethodWithDefaults1(void, quit, IN, bool, x, true,
Properties::VIRTUAL,
__void__quit__bool,
"",
"");
I_Method0(osg::ImageStream::StreamStatus, getStatus,
Properties::NON_VIRTUAL,
__StreamStatus__getStatus,
"",
"");
I_Method1(void, setLoopingMode, IN, osg::ImageStream::LoopingMode, mode,
Properties::NON_VIRTUAL,
__void__setLoopingMode__LoopingMode,
"",
"");
I_Method0(osg::ImageStream::LoopingMode, getLoopingMode,
Properties::NON_VIRTUAL,
__LoopingMode__getLoopingMode,
"",
"");
I_Method0(double, getLength,
Properties::VIRTUAL,
__double__getLength,
"",
"");
I_Method0(double, getFrameRate,
Properties::VIRTUAL,
__double__getFrameRate,
"",
"");
I_Method1(void, setReferenceTime, IN, double, x,
Properties::VIRTUAL,
__void__setReferenceTime__double,
"",
"");
I_Method0(double, getReferenceTime,
Properties::VIRTUAL,
__double__getReferenceTime,
"",
"");
I_Method1(void, setTimeMultiplier, IN, double, x,
Properties::VIRTUAL,
__void__setTimeMultiplier__double,
"",
"");
I_Method0(double, getTimeMultiplier,
Properties::VIRTUAL,
__double__getTimeMultiplier,
"",
"");
I_Method1(void, setVolume, IN, float, x,
Properties::VIRTUAL,
__void__setVolume__float,
"",
"");
I_Method0(float, getVolume,
Properties::VIRTUAL,
__float__getVolume,
"",
"");
I_Method1(void, setAudioStreams, IN, const osg::ImageStream::AudioStreams &, asl,
Properties::NON_VIRTUAL,
__void__setAudioStreams__C5_AudioStreams_R1,
"",
"");
I_Method0(osg::ImageStream::AudioStreams &, getAudioStreams,
Properties::NON_VIRTUAL,
__AudioStreams_R1__getAudioStreams,
"",
"");
I_Method0(const osg::ImageStream::AudioStreams &, getAudioStreams,
Properties::NON_VIRTUAL,
__C5_AudioStreams_R1__getAudioStreams,
"",
"");
I_ProtectedMethod0(void, applyLoopingMode,
Properties::VIRTUAL,
Properties::NON_CONST,
__void__applyLoopingMode,
"",
"");
I_SimpleProperty(const osg::ImageStream::AudioStreams &, AudioStreams,
__C5_AudioStreams_R1__getAudioStreams,
__void__setAudioStreams__C5_AudioStreams_R1);
I_SimpleProperty(double, FrameRate,
__double__getFrameRate,
0);
I_SimpleProperty(double, Length,
__double__getLength,
0);
I_SimpleProperty(osg::ImageStream::LoopingMode, LoopingMode,
__LoopingMode__getLoopingMode,
__void__setLoopingMode__LoopingMode);
I_SimpleProperty(double, ReferenceTime,
__double__getReferenceTime,
__void__setReferenceTime__double);
I_SimpleProperty(osg::ImageStream::StreamStatus, Status,
__StreamStatus__getStatus,
0);
I_SimpleProperty(double, TimeMultiplier,
__double__getTimeMultiplier,
__void__setTimeMultiplier__double);
I_SimpleProperty(float, Volume,
__float__getVolume,
__void__setVolume__float);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::AudioStream >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::AudioStream *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::AudioStream > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::AudioStream *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::AudioStream *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::AudioStream > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::AudioStream *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::AudioStream > >)

View File

@@ -1,265 +0,0 @@
// ***************************************************************************
//
// 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(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the library name/namespapce of the visitor's. ",
"Should be defined by derived classes. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the visitor's class type. ",
"Should be defined by derived classes. ");
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 >)

View File

@@ -1,203 +0,0 @@
// ***************************************************************************
//
// 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/CopyOp>
#include <osg/LOD>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::LOD::CenterMode)
I_DeclaringFile("osg/LOD");
I_EnumLabel(osg::LOD::USE_BOUNDING_SPHERE_CENTER);
I_EnumLabel(osg::LOD::USER_DEFINED_CENTER);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::LOD::RangeMode)
I_DeclaringFile("osg/LOD");
I_EnumLabel(osg::LOD::DISTANCE_FROM_EYE_POINT);
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);
I_Constructor0(____LOD,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::LOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____LOD__C5_LOD_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 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_Method1(void, traverse, IN, osg::NodeVisitor &, x,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"Traverse downwards : calls children's accept method with NodeVisitor. ",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
"",
"");
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"Remove children from Group. ",
"Note, must be override by subclasses of Group which add per child attributes. ");
I_Method1(void, setCenterMode, IN, osg::LOD::CenterMode, mode,
Properties::NON_VIRTUAL,
__void__setCenterMode__CenterMode,
"Set how the center of object should be determined when computing which child is active. ",
"");
I_Method0(osg::LOD::CenterMode, getCenterMode,
Properties::NON_VIRTUAL,
__CenterMode__getCenterMode,
"Get how the center of object should be determined when computing which child is active. ",
"");
I_Method1(void, setCenter, IN, const osg::LOD::vec_type &, center,
Properties::NON_VIRTUAL,
__void__setCenter__C5_vec_type_R1,
"Sets the object-space point which defines the center of the osg::LOD. ",
"center is affected by any transforms in the hierarchy above the osg::LOD. ");
I_Method0(const osg::LOD::vec_type &, getCenter,
Properties::NON_VIRTUAL,
__C5_vec_type_R1__getCenter,
"return the LOD center point. ",
"");
I_Method1(void, setRadius, IN, osg::LOD::value_type, radius,
Properties::NON_VIRTUAL,
__void__setRadius__value_type,
"Set the object-space reference radius of the volume enclosed by the LOD. ",
"Used to determine the bounding sphere of the LOD in the absence of any children. ");
I_Method0(osg::LOD::value_type, getRadius,
Properties::NON_VIRTUAL,
__value_type__getRadius,
"Get the object-space radius of the volume enclosed by the LOD. ",
"");
I_Method1(void, setRangeMode, IN, osg::LOD::RangeMode, mode,
Properties::NON_VIRTUAL,
__void__setRangeMode__RangeMode,
"Set how the range values should be interpreted when computing which child is active. ",
"");
I_Method0(osg::LOD::RangeMode, getRangeMode,
Properties::NON_VIRTUAL,
__RangeMode__getRangeMode,
"Get how the range values should be interpreted when computing which child is active. ",
"");
I_Method3(void, setRange, IN, unsigned int, childNo, IN, float, min, IN, float, max,
Properties::NON_VIRTUAL,
__void__setRange__unsigned_int__float__float,
"Sets the min and max visible ranges of range of specific child. ",
"Values are floating point distance specified in local objects coordinates. ");
I_Method1(float, getMinRange, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getMinRange__unsigned_int,
"returns the min visible range for specified child. ",
"");
I_Method1(float, getMaxRange, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getMaxRange__unsigned_int,
"returns the max visible range for specified child. ",
"");
I_Method0(unsigned int, getNumRanges,
Properties::NON_VIRTUAL,
__unsigned_int__getNumRanges,
"returns the number of ranges currently set. ",
"An LOD which has been fully set up will have getNumChildren()==getNumRanges(). ");
I_Method1(void, setRangeList, IN, const osg::LOD::RangeList &, rangeList,
Properties::NON_VIRTUAL,
__void__setRangeList__C5_RangeList_R1,
"set the list of MinMax ranges for each child. ",
"");
I_Method0(const osg::LOD::RangeList &, getRangeList,
Properties::NON_VIRTUAL,
__C5_RangeList_R1__getRangeList,
"return the list of MinMax ranges for each child. ",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_SimpleProperty(const osg::LOD::vec_type &, Center,
__C5_vec_type_R1__getCenter,
__void__setCenter__C5_vec_type_R1);
I_SimpleProperty(osg::LOD::CenterMode, CenterMode,
__CenterMode__getCenterMode,
__void__setCenterMode__CenterMode);
I_SimpleProperty(osg::LOD::value_type, Radius,
__value_type__getRadius,
__void__setRadius__value_type);
I_SimpleProperty(const osg::LOD::RangeList &, RangeList,
__C5_RangeList_R1__getRangeList,
__void__setRangeList__C5_RangeList_R1);
I_SimpleProperty(osg::LOD::RangeMode, RangeMode,
__RangeMode__getRangeMode,
__void__setRangeMode__RangeMode);
END_REFLECTOR
STD_PAIR_REFLECTOR(std::pair< float COMMA float >)
STD_VECTOR_REFLECTOR(std::vector< osg::LOD::MinMaxPair >)

View File

@@ -1,255 +0,0 @@
// ***************************************************************************
//
// 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/Light>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec3>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::Light)
I_DeclaringFile("osg/Light");
I_BaseType(osg::StateAttribute);
I_Constructor0(____Light,
"",
"");
I_Constructor1(IN, unsigned int, lightnum,
Properties::NON_EXPLICIT,
____Light__unsigned_int,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Light &, light, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Light__C5_Light_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(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
"");
I_Method1(void, setLightNum, IN, int, num,
Properties::NON_VIRTUAL,
__void__setLightNum__int,
"Set which OpenGL light to operate on. ",
"");
I_Method0(int, getLightNum,
Properties::NON_VIRTUAL,
__int__getLightNum,
"Get which OpenGL light this osg::Light operates on. ",
"");
I_Method1(void, setAmbient, IN, const osg::Vec4 &, ambient,
Properties::NON_VIRTUAL,
__void__setAmbient__C5_Vec4_R1,
"Set the ambient component of the light. ",
"");
I_Method0(const osg::Vec4 &, getAmbient,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getAmbient,
"Get the ambient component of the light. ",
"");
I_Method1(void, setDiffuse, IN, const osg::Vec4 &, diffuse,
Properties::NON_VIRTUAL,
__void__setDiffuse__C5_Vec4_R1,
"Set the diffuse component of the light. ",
"");
I_Method0(const osg::Vec4 &, getDiffuse,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getDiffuse,
"Get the diffuse component of the light. ",
"");
I_Method1(void, setSpecular, IN, const osg::Vec4 &, specular,
Properties::NON_VIRTUAL,
__void__setSpecular__C5_Vec4_R1,
"Set the specular component of the light. ",
"");
I_Method0(const osg::Vec4 &, getSpecular,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getSpecular,
"Get the specular component of the light. ",
"");
I_Method1(void, setPosition, IN, const osg::Vec4 &, position,
Properties::NON_VIRTUAL,
__void__setPosition__C5_Vec4_R1,
"Set the position of the light. ",
"");
I_Method0(const osg::Vec4 &, getPosition,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getPosition,
"Get the position of the light. ",
"");
I_Method1(void, setDirection, IN, const osg::Vec3 &, direction,
Properties::NON_VIRTUAL,
__void__setDirection__C5_Vec3_R1,
"Set the direction of the light. ",
"");
I_Method0(const osg::Vec3 &, getDirection,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getDirection,
"Get the direction of the light. ",
"");
I_Method1(void, setConstantAttenuation, IN, float, constant_attenuation,
Properties::NON_VIRTUAL,
__void__setConstantAttenuation__float,
"Set the constant attenuation of the light. ",
"");
I_Method0(float, getConstantAttenuation,
Properties::NON_VIRTUAL,
__float__getConstantAttenuation,
"Get the constant attenuation of the light. ",
"");
I_Method1(void, setLinearAttenuation, IN, float, linear_attenuation,
Properties::NON_VIRTUAL,
__void__setLinearAttenuation__float,
"Set the linear attenuation of the light. ",
"");
I_Method0(float, getLinearAttenuation,
Properties::NON_VIRTUAL,
__float__getLinearAttenuation,
"Get the linear attenuation of the light. ",
"");
I_Method1(void, setQuadraticAttenuation, IN, float, quadratic_attenuation,
Properties::NON_VIRTUAL,
__void__setQuadraticAttenuation__float,
"Set the quadratic attenuation of the light. ",
"");
I_Method0(float, getQuadraticAttenuation,
Properties::NON_VIRTUAL,
__float__getQuadraticAttenuation,
"Get the quadratic attenuation of the light. ",
"");
I_Method1(void, setSpotExponent, IN, float, spot_exponent,
Properties::NON_VIRTUAL,
__void__setSpotExponent__float,
"Set the spot exponent of the light. ",
"");
I_Method0(float, getSpotExponent,
Properties::NON_VIRTUAL,
__float__getSpotExponent,
"Get the spot exponent of the light. ",
"");
I_Method1(void, setSpotCutoff, IN, float, spot_cutoff,
Properties::NON_VIRTUAL,
__void__setSpotCutoff__float,
"Set the spot cutoff of the light. ",
"");
I_Method0(float, getSpotCutoff,
Properties::NON_VIRTUAL,
__float__getSpotCutoff,
"Get the spot cutoff of the light. ",
"");
I_Method0(void, captureLightState,
Properties::NON_VIRTUAL,
__void__captureLightState,
"Capture the lighting settings of the current OpenGL state and store them in this object. ",
"");
I_Method1(void, apply, IN, osg::State &, state,
Properties::VIRTUAL,
__void__apply__State_R1,
"Apply the light's state to the OpenGL state machine. ",
"");
I_ProtectedMethod0(void, init,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__init,
"Initialize the light's settings with some decent defaults. ",
"");
I_SimpleProperty(const osg::Vec4 &, Ambient,
__C5_Vec4_R1__getAmbient,
__void__setAmbient__C5_Vec4_R1);
I_SimpleProperty(float, ConstantAttenuation,
__float__getConstantAttenuation,
__void__setConstantAttenuation__float);
I_SimpleProperty(const osg::Vec4 &, Diffuse,
__C5_Vec4_R1__getDiffuse,
__void__setDiffuse__C5_Vec4_R1);
I_SimpleProperty(const osg::Vec3 &, Direction,
__C5_Vec3_R1__getDirection,
__void__setDirection__C5_Vec3_R1);
I_SimpleProperty(int, LightNum,
__int__getLightNum,
__void__setLightNum__int);
I_SimpleProperty(float, LinearAttenuation,
__float__getLinearAttenuation,
__void__setLinearAttenuation__float);
I_SimpleProperty(unsigned int, Member,
__unsigned_int__getMember,
0);
I_SimpleProperty(const osg::Vec4 &, Position,
__C5_Vec4_R1__getPosition,
__void__setPosition__C5_Vec4_R1);
I_SimpleProperty(float, QuadraticAttenuation,
__float__getQuadraticAttenuation,
__void__setQuadraticAttenuation__float);
I_SimpleProperty(const osg::Vec4 &, Specular,
__C5_Vec4_R1__getSpecular,
__void__setSpecular__C5_Vec4_R1);
I_SimpleProperty(float, SpotCutoff,
__float__getSpotCutoff,
__void__setSpotCutoff__float);
I_SimpleProperty(float, SpotExponent,
__float__getSpotExponent,
__void__setSpotExponent__float);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,140 +0,0 @@
// ***************************************************************************
//
// 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/LightModel>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::LightModel::ColorControl)
I_DeclaringFile("osg/LightModel");
I_EnumLabel(osg::LightModel::SEPARATE_SPECULAR_COLOR);
I_EnumLabel(osg::LightModel::SINGLE_COLOR);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::LightModel)
I_DeclaringFile("osg/LightModel");
I_BaseType(osg::StateAttribute);
I_Constructor0(____LightModel,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::LightModel &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____LightModel__C5_LightModel_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_Method1(void, setAmbientIntensity, IN, const osg::Vec4 &, ambient,
Properties::NON_VIRTUAL,
__void__setAmbientIntensity__C5_osg_Vec4_R1,
"",
"");
I_Method0(const osg::Vec4 &, getAmbientIntensity,
Properties::NON_VIRTUAL,
__C5_osg_Vec4_R1__getAmbientIntensity,
"",
"");
I_Method1(void, setColorControl, IN, osg::LightModel::ColorControl, cc,
Properties::NON_VIRTUAL,
__void__setColorControl__ColorControl,
"",
"");
I_Method0(osg::LightModel::ColorControl, getColorControl,
Properties::NON_VIRTUAL,
__ColorControl__getColorControl,
"",
"");
I_Method1(void, setLocalViewer, IN, bool, localViewer,
Properties::NON_VIRTUAL,
__void__setLocalViewer__bool,
"",
"");
I_Method0(bool, getLocalViewer,
Properties::NON_VIRTUAL,
__bool__getLocalViewer,
"",
"");
I_Method1(void, setTwoSided, IN, bool, twoSided,
Properties::NON_VIRTUAL,
__void__setTwoSided__bool,
"",
"");
I_Method0(bool, getTwoSided,
Properties::NON_VIRTUAL,
__bool__getTwoSided,
"",
"");
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(const osg::Vec4 &, AmbientIntensity,
__C5_osg_Vec4_R1__getAmbientIntensity,
__void__setAmbientIntensity__C5_osg_Vec4_R1);
I_SimpleProperty(osg::LightModel::ColorControl, ColorControl,
__ColorControl__getColorControl,
__void__setColorControl__ColorControl);
I_SimpleProperty(bool, LocalViewer,
__bool__getLocalViewer,
__void__setLocalViewer__bool);
I_SimpleProperty(bool, TwoSided,
__bool__getTwoSided,
__void__setTwoSided__bool);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,134 +0,0 @@
// ***************************************************************************
//
// 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/CopyOp>
#include <osg/Light>
#include <osg/LightSource>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/StateAttribute>
#include <osg/StateSet>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::LightSource::ReferenceFrame)
I_DeclaringFile("osg/LightSource");
I_EnumLabel(osg::LightSource::RELATIVE_RF);
I_EnumLabel(osg::LightSource::ABSOLUTE_RF);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::LightSource)
I_DeclaringFile("osg/LightSource");
I_BaseType(osg::Group);
I_Constructor0(____LightSource,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::LightSource &, ls, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____LightSource__C5_LightSource_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 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_Method1(void, setReferenceFrame, IN, osg::LightSource::ReferenceFrame, rf,
Properties::NON_VIRTUAL,
__void__setReferenceFrame__ReferenceFrame,
"Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ",
"RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene. ");
I_Method0(osg::LightSource::ReferenceFrame, getReferenceFrame,
Properties::NON_VIRTUAL,
__ReferenceFrame__getReferenceFrame,
"",
"");
I_Method1(void, setLight, IN, osg::Light *, light,
Properties::NON_VIRTUAL,
__void__setLight__Light_P1,
"Set the attached light. ",
"");
I_Method0(osg::Light *, getLight,
Properties::NON_VIRTUAL,
__Light_P1__getLight,
"Get the attached light. ",
"");
I_Method0(const osg::Light *, getLight,
Properties::NON_VIRTUAL,
__C5_Light_P1__getLight,
"Get the const attached light. ",
"");
I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x,
Properties::NON_VIRTUAL,
__void__setStateSetModes__StateSet_R1__StateAttribute_GLModeValue,
"Set the GLModes on StateSet associated with the LightSource. ",
"");
I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON,
Properties::NON_VIRTUAL,
__void__setLocalStateSetModes__StateAttribute_GLModeValue,
"Set up the local StateSet. ",
"");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_SimpleProperty(osg::Light *, Light,
__Light_P1__getLight,
__void__setLight__Light_P1);
I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes,
0,
__void__setLocalStateSetModes__StateAttribute_GLModeValue);
I_SimpleProperty(osg::LightSource::ReferenceFrame, ReferenceFrame,
__ReferenceFrame__getReferenceFrame,
__void__setReferenceFrame__ReferenceFrame);
I_SimpleProperty(bool, ThreadSafeRefUnref,
0,
__void__setThreadSafeRefUnref__bool);
END_REFLECTOR

View File

@@ -1,128 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/LineSegment>
#include <osg/Matrix>
#include <osg/Vec3d>
#include <osg/Vec3f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(osg::Vec3d, osg::LineSegment::vec_type)
TYPE_NAME_ALIAS(osg::LineSegment::vec_type::value_type, osg::LineSegment::value_type)
BEGIN_OBJECT_REFLECTOR(osg::LineSegment)
I_DeclaringFile("osg/LineSegment");
I_BaseType(osg::Referenced);
I_Constructor0(____LineSegment,
"",
"");
I_Constructor1(IN, const osg::LineSegment &, seg,
Properties::NON_EXPLICIT,
____LineSegment__C5_LineSegment_R1,
"",
"");
I_Constructor2(IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e,
____LineSegment__C5_vec_type_R1__C5_vec_type_R1,
"",
"");
I_Method2(void, set, IN, const osg::LineSegment::vec_type &, s, IN, const osg::LineSegment::vec_type &, e,
Properties::NON_VIRTUAL,
__void__set__C5_vec_type_R1__C5_vec_type_R1,
"",
"");
I_Method0(osg::LineSegment::vec_type &, start,
Properties::NON_VIRTUAL,
__vec_type_R1__start,
"",
"");
I_Method0(const osg::LineSegment::vec_type &, start,
Properties::NON_VIRTUAL,
__C5_vec_type_R1__start,
"",
"");
I_Method0(osg::LineSegment::vec_type &, end,
Properties::NON_VIRTUAL,
__vec_type_R1__end,
"",
"");
I_Method0(const osg::LineSegment::vec_type &, end,
Properties::NON_VIRTUAL,
__C5_vec_type_R1__end,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method1(bool, intersect, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingBox_R1,
"return true if segment intersects BoundingBox. ",
"");
I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, float &, r1, IN, float &, r2,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingBox_R1__float_R1__float_R1,
"return true if segment intersects BoundingBox and return the intersection ratios. ",
"");
I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, double &, r1, IN, double &, r2,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingBox_R1__double_R1__double_R1,
"return true if segment intersects BoundingBox and return the intersection ratios. ",
"");
I_Method1(bool, intersect, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingSphere_R1,
"return true if segment intersects BoundingSphere. ",
"");
I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, float &, r1, IN, float &, r2,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingSphere_R1__float_R1__float_R1,
"return true if segment intersects BoundingSphere and return the intersection ratio. ",
"");
I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, double &, r1, IN, double &, r2,
Properties::NON_VIRTUAL,
__bool__intersect__C5_BoundingSphere_R1__double_R1__double_R1,
"return true if segment intersects BoundingSphere and return the intersection ratio. ",
"");
I_Method4(bool, intersect, IN, const osg::Vec3f &, v1, IN, const osg::Vec3f &, v2, IN, const osg::Vec3f &, v3, IN, float &, r,
Properties::NON_VIRTUAL,
__bool__intersect__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1__float_R1,
"return true if segment intersects triangle and set ratio long segment. ",
"");
I_Method4(bool, intersect, IN, const osg::Vec3d &, v1, IN, const osg::Vec3d &, v2, IN, const osg::Vec3d &, v3, IN, double &, r,
Properties::NON_VIRTUAL,
__bool__intersect__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1__double_R1,
"return true if segment intersects triangle and set ratio long segment. ",
"");
I_Method2(void, mult, IN, const osg::LineSegment &, seg, IN, const osg::Matrix &, m,
Properties::NON_VIRTUAL,
__void__mult__C5_LineSegment_R1__C5_Matrix_R1,
"post multiply a segment by matrix. ",
"");
I_Method2(void, mult, IN, const osg::Matrix &, m, IN, const osg::LineSegment &, seg,
Properties::NON_VIRTUAL,
__void__mult__C5_Matrix_R1__C5_LineSegment_R1,
"pre multiply a segment by matrix. ",
"");
END_REFLECTOR

View File

@@ -1,116 +0,0 @@
// ***************************************************************************
//
// 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/LineStipple>
#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::LineStipple)
I_DeclaringFile("osg/LineStipple");
I_BaseType(osg::StateAttribute);
I_Constructor0(____LineStipple,
"",
"");
I_Constructor2(IN, GLint, factor, IN, GLushort, pattern,
____LineStipple__GLint__GLushort,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::LineStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____LineStipple__C5_LineStipple_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_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, setFactor, IN, GLint, factor,
Properties::NON_VIRTUAL,
__void__setFactor__GLint,
"",
"");
I_Method0(GLint, getFactor,
Properties::NON_VIRTUAL,
__GLint__getFactor,
"",
"");
I_Method1(void, setPattern, IN, GLushort, pattern,
Properties::NON_VIRTUAL,
__void__setPattern__GLushort,
"",
"");
I_Method0(GLushort, getPattern,
Properties::NON_VIRTUAL,
__GLushort__getPattern,
"",
"");
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(GLint, Factor,
__GLint__getFactor,
__void__setFactor__GLint);
I_SimpleProperty(GLushort, Pattern,
__GLushort__getPattern,
__void__setPattern__GLushort);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,96 +0,0 @@
// ***************************************************************************
//
// 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/LineWidth>
#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::LineWidth)
I_DeclaringFile("osg/LineWidth");
I_BaseType(osg::StateAttribute);
I_ConstructorWithDefaults1(IN, float, width, 1.0f,
Properties::NON_EXPLICIT,
____LineWidth__float,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::LineWidth &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____LineWidth__C5_LineWidth_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_Method1(void, setWidth, IN, float, width,
Properties::NON_VIRTUAL,
__void__setWidth__float,
"",
"");
I_Method0(float, getWidth,
Properties::NON_VIRTUAL,
__float__getWidth,
"",
"");
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(osg::StateAttribute::Type, Type,
__Type__getType,
0);
I_SimpleProperty(float, Width,
__float__getWidth,
__void__setWidth__float);
END_REFLECTOR

View File

@@ -1,124 +0,0 @@
// ***************************************************************************
//
// 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/LogicOp>
#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_ENUM_REFLECTOR(osg::LogicOp::Opcode)
I_DeclaringFile("osg/LogicOp");
I_EnumLabel(osg::LogicOp::CLEAR);
I_EnumLabel(osg::LogicOp::SET);
I_EnumLabel(osg::LogicOp::COPY);
I_EnumLabel(osg::LogicOp::COPY_INVERTED);
I_EnumLabel(osg::LogicOp::NOOP);
I_EnumLabel(osg::LogicOp::INVERT);
I_EnumLabel(osg::LogicOp::AND);
I_EnumLabel(osg::LogicOp::NAND);
I_EnumLabel(osg::LogicOp::OR);
I_EnumLabel(osg::LogicOp::NOR);
I_EnumLabel(osg::LogicOp::XOR);
I_EnumLabel(osg::LogicOp::EQUIV);
I_EnumLabel(osg::LogicOp::AND_REVERSE);
I_EnumLabel(osg::LogicOp::AND_INVERTED);
I_EnumLabel(osg::LogicOp::OR_REVERSE);
I_EnumLabel(osg::LogicOp::OR_INVERTED);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
I_DeclaringFile("osg/LogicOp");
I_BaseType(osg::StateAttribute);
I_Constructor0(____LogicOp,
"",
"");
I_Constructor1(IN, osg::LogicOp::Opcode, opcode,
Properties::NON_EXPLICIT,
____LogicOp__Opcode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::LogicOp &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____LogicOp__C5_LogicOp_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_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, setOpcode, IN, osg::LogicOp::Opcode, opcode,
Properties::NON_VIRTUAL,
__void__setOpcode__Opcode,
"",
"");
I_Method0(osg::LogicOp::Opcode, getOpcode,
Properties::NON_VIRTUAL,
__Opcode__getOpcode,
"",
"");
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(osg::LogicOp::Opcode, Opcode,
__Opcode__getOpcode,
__void__setOpcode__Opcode);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,88 +0,0 @@
AnimationPath
ApplicationUsage
ApplicationUsageProxy
ArgumentParser
Array
ArrayData
ArrayVisitor
AttributeFunctor
AttributeStack
Billboard
ClampProjectionMatrixCallback
CollectOccludersVisitor
CompositeShape
ConstArrayVisitor
ConstAttributeFunctor
ConstShapeVisitor
ConstValueVisitor
Extensions
Extensions
Extensions
Extensions
Extensions
Extensions
Extensions
Extensions
EnabledArrayPair
ConvexHull
CopyOp
CullStack
DatabaseRequestHandler
DeleteHandler
DrawArrayLengths
DrawArrays
DrawCallback
DrawElementsUByte
DrawElementsUInt
DrawElementsUShort
DrawPixels
FrameStamp
Geode
Group
HeightField
Image
ImpostorSpriteManager
IndexArray
InfinitePlane
Material
ModeStack
ModeUsage
NodeAcceptOp
OccluderVolume
Plane
PerRangeData
Texture
Texture1D
Texture2D
Texture3D
TextureCubeMap
TextureObject
TextureObjectManager
TextureRectangle
ValueVisitor
Vec3ArrayData
VectorSizei
VectorUByte
VectorUInt
VectorUShort
SubloadCallback
SubloadCallback
SubloadCallback
SubloadCallback
SubloadCallback
PolygonMode
Polytope
PrimitiveFunctor
PrimitiveIndexFunctor
PrimitiveSet
Referenced
Sequence
ShapeVisitor
State
StateAttribute
Switch
Timer
UpdateCallback
Viewport

View File

@@ -1,237 +0,0 @@
// ***************************************************************************
//
// 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/Material>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec4>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Material::Face)
I_DeclaringFile("osg/Material");
I_EnumLabel(osg::Material::FRONT);
I_EnumLabel(osg::Material::BACK);
I_EnumLabel(osg::Material::FRONT_AND_BACK);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Material::ColorMode)
I_DeclaringFile("osg/Material");
I_EnumLabel(osg::Material::AMBIENT);
I_EnumLabel(osg::Material::DIFFUSE);
I_EnumLabel(osg::Material::SPECULAR);
I_EnumLabel(osg::Material::EMISSION);
I_EnumLabel(osg::Material::AMBIENT_AND_DIFFUSE);
I_EnumLabel(osg::Material::OFF);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Material)
I_DeclaringFile("osg/Material");
I_BaseType(osg::StateAttribute);
I_Constructor0(____Material,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Material &, mat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Material__C5_Material_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_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 &, 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, setColorMode, IN, osg::Material::ColorMode, mode,
Properties::NON_VIRTUAL,
__void__setColorMode__ColorMode,
"",
"");
I_Method0(osg::Material::ColorMode, getColorMode,
Properties::NON_VIRTUAL,
__ColorMode__getColorMode,
"",
"");
I_Method2(void, setAmbient, IN, osg::Material::Face, face, IN, const osg::Vec4 &, ambient,
Properties::NON_VIRTUAL,
__void__setAmbient__Face__C5_Vec4_R1,
"",
"");
I_Method1(const osg::Vec4 &, getAmbient, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getAmbient__Face,
"",
"");
I_Method0(bool, getAmbientFrontAndBack,
Properties::NON_VIRTUAL,
__bool__getAmbientFrontAndBack,
"",
"");
I_Method2(void, setDiffuse, IN, osg::Material::Face, face, IN, const osg::Vec4 &, diffuse,
Properties::NON_VIRTUAL,
__void__setDiffuse__Face__C5_Vec4_R1,
"",
"");
I_Method1(const osg::Vec4 &, getDiffuse, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getDiffuse__Face,
"",
"");
I_Method0(bool, getDiffuseFrontAndBack,
Properties::NON_VIRTUAL,
__bool__getDiffuseFrontAndBack,
"",
"");
I_Method2(void, setSpecular, IN, osg::Material::Face, face, IN, const osg::Vec4 &, specular,
Properties::NON_VIRTUAL,
__void__setSpecular__Face__C5_Vec4_R1,
"Set specular value of specified face(s) of the material, valid specular[0. ",
".3] range is 0.0 to 1.0. ");
I_Method1(const osg::Vec4 &, getSpecular, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getSpecular__Face,
"Get the specular value for specified face. ",
"");
I_Method0(bool, getSpecularFrontAndBack,
Properties::NON_VIRTUAL,
__bool__getSpecularFrontAndBack,
"Return whether specular values are equal for front and back faces or not. ",
"");
I_Method2(void, setEmission, IN, osg::Material::Face, face, IN, const osg::Vec4 &, emission,
Properties::NON_VIRTUAL,
__void__setEmission__Face__C5_Vec4_R1,
"Set emission value of specified face(s) of the material, valid emission[0. ",
".3] range is 0.0 to 1.0. ");
I_Method1(const osg::Vec4 &, getEmission, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__C5_Vec4_R1__getEmission__Face,
"Get the emission value for specified face. ",
"");
I_Method0(bool, getEmissionFrontAndBack,
Properties::NON_VIRTUAL,
__bool__getEmissionFrontAndBack,
"Return whether emission values are equal for front and back faces or not. ",
"");
I_Method2(void, setShininess, IN, osg::Material::Face, face, IN, float, shininess,
Properties::NON_VIRTUAL,
__void__setShininess__Face__float,
"Set shininess of specified face(s) of the material. ",
"valid shininess range is 0.0 to 128.0. ");
I_Method1(float, getShininess, IN, osg::Material::Face, face,
Properties::NON_VIRTUAL,
__float__getShininess__Face,
"Get the shininess value for specified face. ",
"");
I_Method0(bool, getShininessFrontAndBack,
Properties::NON_VIRTUAL,
__bool__getShininessFrontAndBack,
"Return whether shininess values are equal for front and back faces or not. ",
"");
I_Method2(void, setTransparency, IN, osg::Material::Face, face, IN, float, trans,
Properties::NON_VIRTUAL,
__void__setTransparency__Face__float,
"Set the alpha value of ambient, diffuse, specular and emission colors of specified face, to 1-transparency. ",
"Valid transparency range is 0.0 to 1.0. ");
I_Method2(void, setAlpha, IN, osg::Material::Face, face, IN, float, alpha,
Properties::NON_VIRTUAL,
__void__setAlpha__Face__float,
"Set the alpha value of ambient, diffuse, specular and emission colors. ",
"Valid transparency range is 0.0 to 1.0. ");
I_IndexedProperty(const osg::Vec4 &, Ambient,
__C5_Vec4_R1__getAmbient__Face,
__void__setAmbient__Face__C5_Vec4_R1,
0);
I_SimpleProperty(bool, AmbientFrontAndBack,
__bool__getAmbientFrontAndBack,
0);
I_SimpleProperty(osg::Material::ColorMode, ColorMode,
__ColorMode__getColorMode,
__void__setColorMode__ColorMode);
I_IndexedProperty(const osg::Vec4 &, Diffuse,
__C5_Vec4_R1__getDiffuse__Face,
__void__setDiffuse__Face__C5_Vec4_R1,
0);
I_SimpleProperty(bool, DiffuseFrontAndBack,
__bool__getDiffuseFrontAndBack,
0);
I_IndexedProperty(const osg::Vec4 &, Emission,
__C5_Vec4_R1__getEmission__Face,
__void__setEmission__Face__C5_Vec4_R1,
0);
I_SimpleProperty(bool, EmissionFrontAndBack,
__bool__getEmissionFrontAndBack,
0);
I_IndexedProperty(float, Shininess,
__float__getShininess__Face,
__void__setShininess__Face__float,
0);
I_SimpleProperty(bool, ShininessFrontAndBack,
__bool__getShininessFrontAndBack,
0);
I_IndexedProperty(const osg::Vec4 &, Specular,
__C5_Vec4_R1__getSpecular__Face,
__void__setSpecular__Face__C5_Vec4_R1,
0);
I_SimpleProperty(bool, SpecularFrontAndBack,
__bool__getSpecularFrontAndBack,
0);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,26 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Matrix>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(osg::Matrixd, osg::Matrix)
TYPE_NAME_ALIAS(osg::RefMatrixd, osg::RefMatrix)

View File

@@ -1,124 +0,0 @@
// ***************************************************************************
//
// 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/Matrix>
#include <osg/MatrixTransform>
#include <osg/NodeVisitor>
#include <osg/Object>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::MatrixTransform)
I_DeclaringFile("osg/MatrixTransform");
I_BaseType(osg::Transform);
I_Constructor0(____MatrixTransform,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::MatrixTransform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____MatrixTransform__C5_MatrixTransform_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Constructor1(IN, const osg::Matrix &, matix,
Properties::NON_EXPLICIT,
____MatrixTransform__C5_Matrix_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::MatrixTransform *, asMatrixTransform,
Properties::VIRTUAL,
__MatrixTransform_P1__asMatrixTransform,
"",
"");
I_Method0(const osg::MatrixTransform *, asMatrixTransform,
Properties::VIRTUAL,
__C5_MatrixTransform_P1__asMatrixTransform,
"",
"");
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
Properties::NON_VIRTUAL,
__void__setMatrix__C5_Matrix_R1,
"Set the transform's matrix. ",
"");
I_Method0(const osg::Matrix &, getMatrix,
Properties::NON_VIRTUAL,
__C5_Matrix_R1__getMatrix,
"Get the matrix. ",
"");
I_Method1(void, preMult, IN, const osg::Matrix &, mat,
Properties::NON_VIRTUAL,
__void__preMult__C5_Matrix_R1,
"pre multiply the transform's matrix. ",
"");
I_Method1(void, postMult, IN, const osg::Matrix &, mat,
Properties::NON_VIRTUAL,
__void__postMult__C5_Matrix_R1,
"post multiply the transform's matrix. ",
"");
I_Method0(const osg::Matrix &, getInverseMatrix,
Properties::NON_VIRTUAL,
__C5_Matrix_R1__getInverseMatrix,
"Get the inverse matrix. ",
"");
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
"",
"");
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
"",
"");
I_SimpleProperty(const osg::Matrix &, InverseMatrix,
__C5_Matrix_R1__getInverseMatrix,
0);
I_SimpleProperty(const osg::Matrix &, Matrix,
__C5_Matrix_R1__getMatrix,
__void__setMatrix__C5_Matrix_R1);
END_REFLECTOR

View File

@@ -1,603 +0,0 @@
// ***************************************************************************
//
// 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/Matrixd>
#include <osg/Matrixf>
#include <osg/Object>
#include <osg/Quat>
#include <osg/Vec3d>
#include <osg/Vec3f>
#include <osg/Vec4d>
#include <osg/Vec4f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(double, osg::Matrixd::value_type)
BEGIN_VALUE_REFLECTOR(osg::Matrixd)
I_DeclaringFile("osg/Matrixd");
I_Constructor0(____Matrixd,
"",
"");
I_Constructor1(IN, const osg::Matrixd &, mat,
Properties::NON_EXPLICIT,
____Matrixd__C5_Matrixd_R1,
"",
"");
I_Constructor1(IN, const osg::Matrixf &, mat,
Properties::NON_EXPLICIT,
____Matrixd__C5_Matrixf_R1,
"",
"");
I_Constructor1(IN, float const *const, ptr,
Properties::EXPLICIT,
____Matrixd__float_C5_P1C5,
"",
"");
I_Constructor1(IN, double const *const, ptr,
Properties::EXPLICIT,
____Matrixd__double_C5_P1C5,
"",
"");
I_Constructor1(IN, const osg::Quat &, quat,
Properties::EXPLICIT,
____Matrixd__C5_Quat_R1,
"",
"");
I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33,
____Matrixd__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
"",
"");
I_Method1(int, compare, IN, const osg::Matrixd &, m,
Properties::NON_VIRTUAL,
__int__compare__C5_Matrixd_R1,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(bool, isNaN,
Properties::NON_VIRTUAL,
__bool__isNaN,
"",
"");
I_Method1(void, set, IN, const osg::Matrixd &, rhs,
Properties::NON_VIRTUAL,
__void__set__C5_Matrixd_R1,
"",
"");
I_Method1(void, set, IN, const osg::Matrixf &, rhs,
Properties::NON_VIRTUAL,
__void__set__C5_Matrixf_R1,
"",
"");
I_Method1(void, set, IN, float const *const, ptr,
Properties::NON_VIRTUAL,
__void__set__float_C5_P1C5,
"",
"");
I_Method1(void, set, IN, double const *const, ptr,
Properties::NON_VIRTUAL,
__void__set__double_C5_P1C5,
"",
"");
I_Method16(void, set, IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33,
Properties::NON_VIRTUAL,
__void__set__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
"",
"");
I_Method0(osg::Matrixd::value_type *, ptr,
Properties::NON_VIRTUAL,
__value_type_P1__ptr,
"",
"");
I_Method0(const osg::Matrixd::value_type *, ptr,
Properties::NON_VIRTUAL,
__C5_value_type_P1__ptr,
"",
"");
I_Method0(bool, isIdentity,
Properties::NON_VIRTUAL,
__bool__isIdentity,
"",
"");
I_Method0(void, makeIdentity,
Properties::NON_VIRTUAL,
__void__makeIdentity,
"",
"");
I_Method1(void, makeScale, IN, const osg::Vec3f &, x,
Properties::NON_VIRTUAL,
__void__makeScale__C5_Vec3f_R1,
"",
"");
I_Method1(void, makeScale, IN, const osg::Vec3d &, x,
Properties::NON_VIRTUAL,
__void__makeScale__C5_Vec3d_R1,
"",
"");
I_Method3(void, makeScale, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x,
Properties::NON_VIRTUAL,
__void__makeScale__value_type__value_type__value_type,
"",
"");
I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x,
Properties::NON_VIRTUAL,
__void__makeTranslate__C5_Vec3f_R1,
"",
"");
I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x,
Properties::NON_VIRTUAL,
__void__makeTranslate__C5_Vec3d_R1,
"",
"");
I_Method3(void, makeTranslate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x,
Properties::NON_VIRTUAL,
__void__makeTranslate__value_type__value_type__value_type,
"",
"");
I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
Properties::NON_VIRTUAL,
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
"",
"");
I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
Properties::NON_VIRTUAL,
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
"",
"");
I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3f_R1,
"",
"");
I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3d_R1,
"",
"");
I_Method4(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__value_type__value_type__value_type,
"",
"");
I_Method1(void, makeRotate, IN, const osg::Quat &, x,
Properties::NON_VIRTUAL,
__void__makeRotate__C5_Quat_R1,
"",
"");
I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
"",
"");
I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
"",
"");
I_Method4(void, decompose, IN, osg::Vec3f &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3f &, scale, IN, osg::Quat &, so,
Properties::NON_VIRTUAL,
__void__decompose__osg_Vec3f_R1__osg_Quat_R1__osg_Vec3f_R1__osg_Quat_R1,
"decompose the matrix into translation, rotation, scale and scale orientation. ",
"");
I_Method4(void, decompose, IN, osg::Vec3d &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3d &, scale, IN, osg::Quat &, so,
Properties::NON_VIRTUAL,
__void__decompose__osg_Vec3d_R1__osg_Quat_R1__osg_Vec3d_R1__osg_Quat_R1,
"decompose the matrix into translation, rotation, scale and scale orientation. ",
"");
I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makeOrtho__double__double__double__double__double__double,
"Set to an orthographic projection. ",
"See glOrtho for further details. ");
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the orthographic settings of the orthographic projection matrix. ",
"Note, if matrix is not an orthographic matrix then invalid values will be returned. ");
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
Properties::NON_VIRTUAL,
__void__makeOrtho2D__double__double__double__double,
"Set to a 2D orthographic projection. ",
"See glOrtho2D for further details. ");
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makeFrustum__double__double__double__double__double__double,
"Set to a perspective projection. ",
"See glFrustum for further details. ");
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a perspective projection matrix. ",
"Note, if matrix is not a perspective matrix then invalid values will be returned. ");
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makePerspective__double__double__double__double,
"Set to a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getPerspective__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a symmetric perspective projection matrix. ",
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead. ");
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
Properties::NON_VIRTUAL,
__void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1,
"Set the position and orientation to be a view matrix, using the same convention as gluLookAt. ",
"");
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f,
Properties::NON_VIRTUAL,
__void__getLookAt__Vec3f_R1__Vec3f_R1__Vec3f_R1__value_type,
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
"");
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f,
Properties::NON_VIRTUAL,
__void__getLookAt__Vec3d_R1__Vec3d_R1__Vec3d_R1__value_type,
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
"");
I_Method1(bool, invert, IN, const osg::Matrixd &, rhs,
Properties::NON_VIRTUAL,
__bool__invert__C5_Matrixd_R1,
"invert the matrix rhs, automatically select invert_4x3 or invert_4x4. ",
"");
I_Method1(bool, invert_4x3, IN, const osg::Matrixd &, rhs,
Properties::NON_VIRTUAL,
__bool__invert_4x3__C5_Matrixd_R1,
"4x3 matrix invert, not right hand column is assumed to be 0,0,0,1. ",
"");
I_Method1(bool, invert_4x4, IN, const osg::Matrixd &, rhs,
Properties::NON_VIRTUAL,
__bool__invert_4x4__C5_Matrixd_R1,
"full 4x4 matrix invert. ",
"");
I_Method1(void, orthoNormalize, IN, const osg::Matrixd &, rhs,
Properties::NON_VIRTUAL,
__void__orthoNormalize__C5_Matrixd_R1,
"ortho-normalize the 3x3 rotation & scale matrix ",
"");
I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__Vec3f__preMult__C5_Vec3f_R1,
"",
"");
I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__Vec3d__preMult__C5_Vec3d_R1,
"",
"");
I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__Vec3f__postMult__C5_Vec3f_R1,
"",
"");
I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__Vec3d__postMult__C5_Vec3d_R1,
"",
"");
I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v,
Properties::NON_VIRTUAL,
__Vec4f__preMult__C5_Vec4f_R1,
"",
"");
I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v,
Properties::NON_VIRTUAL,
__Vec4d__preMult__C5_Vec4d_R1,
"",
"");
I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v,
Properties::NON_VIRTUAL,
__Vec4f__postMult__C5_Vec4f_R1,
"",
"");
I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v,
Properties::NON_VIRTUAL,
__Vec4d__postMult__C5_Vec4d_R1,
"",
"");
I_Method1(void, set, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__set__C5_Quat_R1,
"",
"");
I_Method1(void, get, IN, osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__get__Quat_R1,
"",
"");
I_Method1(void, setRotate, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__setRotate__C5_Quat_R1,
"",
"");
I_Method0(osg::Quat, getRotate,
Properties::NON_VIRTUAL,
__Quat__getRotate,
"Get the matrix rotation as a Quat. ",
"Note that this function assumes a non-scaled matrix and will return incorrect results for scaled matrixces. Consider decompose() instead. ");
I_Method3(void, setTrans, IN, osg::Matrixd::value_type, tx, IN, osg::Matrixd::value_type, ty, IN, osg::Matrixd::value_type, tz,
Properties::NON_VIRTUAL,
__void__setTrans__value_type__value_type__value_type,
"",
"");
I_Method1(void, setTrans, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__setTrans__C5_Vec3f_R1,
"",
"");
I_Method1(void, setTrans, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__setTrans__C5_Vec3d_R1,
"",
"");
I_Method0(osg::Vec3d, getTrans,
Properties::NON_VIRTUAL,
__Vec3d__getTrans,
"",
"");
I_Method0(osg::Vec3d, getScale,
Properties::NON_VIRTUAL,
__Vec3d__getScale,
"",
"");
I_Method2(void, mult, IN, const osg::Matrixd &, x, IN, const osg::Matrixd &, x,
Properties::NON_VIRTUAL,
__void__mult__C5_Matrixd_R1__C5_Matrixd_R1,
"",
"");
I_Method1(void, preMult, IN, const osg::Matrixd &, x,
Properties::NON_VIRTUAL,
__void__preMult__C5_Matrixd_R1,
"",
"");
I_Method1(void, postMult, IN, const osg::Matrixd &, x,
Properties::NON_VIRTUAL,
__void__postMult__C5_Matrixd_R1,
"",
"");
I_Method1(void, preMultTranslate, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__preMultTranslate__C5_Vec3d_R1,
"Optimized version of preMult(translate(v));. ",
"");
I_Method1(void, preMultTranslate, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__preMultTranslate__C5_Vec3f_R1,
"",
"");
I_Method1(void, postMultTranslate, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__postMultTranslate__C5_Vec3d_R1,
"Optimized version of postMult(translate(v));. ",
"");
I_Method1(void, postMultTranslate, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__postMultTranslate__C5_Vec3f_R1,
"",
"");
I_Method1(void, preMultScale, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__preMultScale__C5_Vec3d_R1,
"Optimized version of preMult(scale(v));. ",
"");
I_Method1(void, preMultScale, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__preMultScale__C5_Vec3f_R1,
"",
"");
I_Method1(void, postMultScale, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__postMultScale__C5_Vec3d_R1,
"Optimized version of postMult(scale(v));. ",
"");
I_Method1(void, postMultScale, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__postMultScale__C5_Vec3f_R1,
"",
"");
I_Method1(void, preMultRotate, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__preMultRotate__C5_Quat_R1,
"Optimized version of preMult(rotate(q));. ",
"");
I_Method1(void, postMultRotate, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__postMultRotate__C5_Quat_R1,
"Optimized version of postMult(rotate(q));. ",
"");
I_StaticMethod0(osg::Matrixd, identity,
__Matrixd__identity_S,
"",
"");
I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3f &, sv,
__Matrixd__scale__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3d &, sv,
__Matrixd__scale__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod3(osg::Matrixd, scale, IN, osg::Matrixd::value_type, sx, IN, osg::Matrixd::value_type, sy, IN, osg::Matrixd::value_type, sz,
__Matrixd__scale__value_type__value_type__value_type_S,
"",
"");
I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3f &, dv,
__Matrixd__translate__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3d &, dv,
__Matrixd__translate__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod3(osg::Matrixd, translate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z,
__Matrixd__translate__value_type__value_type__value_type_S,
"",
"");
I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
__Matrixd__rotate__C5_Vec3f_R1__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
__Matrixd__rotate__C5_Vec3d_R1__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod4(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z,
__Matrixd__rotate__value_type__value_type__value_type__value_type_S,
"",
"");
I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis,
__Matrixd__rotate__value_type__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis,
__Matrixd__rotate__value_type__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3,
__Matrixd__rotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3,
__Matrixd__rotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixd, rotate, IN, const osg::Quat &, quat,
__Matrixd__rotate__C5_Quat_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixd, inverse, IN, const osg::Matrixd &, matrix,
__Matrixd__inverse__C5_Matrixd_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixd, orthoNormal, IN, const osg::Matrixd &, matrix,
__Matrixd__orthoNormal__C5_Matrixd_R1_S,
"",
"");
I_StaticMethod6(osg::Matrixd, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixd__ortho__double__double__double__double__double__double_S,
"Create an orthographic projection matrix. ",
"See glOrtho for further details. ");
I_StaticMethod4(osg::Matrixd, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
__Matrixd__ortho2D__double__double__double__double_S,
"Create a 2D orthographic projection. ",
"See glOrtho for further details. ");
I_StaticMethod6(osg::Matrixd, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixd__frustum__double__double__double__double__double__double_S,
"Create a perspective projection. ",
"See glFrustum for further details. ");
I_StaticMethod4(osg::Matrixd, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
__Matrixd__perspective__double__double__double__double_S,
"Create a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up,
__Matrixd__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S,
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
"");
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
__Matrixd__lookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1_S,
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
"");
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixd &, m,
__Vec3f__transform3x3__C5_Vec3f_R1__C5_Matrixd_R1_S,
"apply a 3x3 transform of v*M[0. ",
".2,0..2]. ");
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixd &, m,
__Vec3d__transform3x3__C5_Vec3d_R1__C5_Matrixd_R1_S,
"apply a 3x3 transform of v*M[0. ",
".2,0..2]. ");
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3f &, v,
__Vec3f__transform3x3__C5_Matrixd_R1__C5_Vec3f_R1_S,
"apply a 3x3 transform of M[0. ",
".2,0..2]*v. ");
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3d &, v,
__Vec3d__transform3x3__C5_Matrixd_R1__C5_Vec3d_R1_S,
"apply a 3x3 transform of M[0. ",
".2,0..2]*v. ");
I_SimpleProperty(osg::Quat, Rotate,
__Quat__getRotate,
__void__setRotate__C5_Quat_R1);
I_SimpleProperty(osg::Vec3d, Scale,
__Vec3d__getScale,
0);
I_SimpleProperty(osg::Vec3d, Trans,
__Vec3d__getTrans,
__void__setTrans__C5_Vec3d_R1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RefMatrixd)
I_DeclaringFile("osg/Matrixd");
I_BaseType(osg::Object);
I_BaseType(osg::Matrixd);
I_Constructor0(____RefMatrixd,
"",
"");
I_Constructor1(IN, const osg::Matrixd &, other,
Properties::NON_EXPLICIT,
____RefMatrixd__C5_Matrixd_R1,
"",
"");
I_Constructor1(IN, const osg::Matrixf &, other,
Properties::NON_EXPLICIT,
____RefMatrixd__C5_Matrixf_R1,
"",
"");
I_Constructor1(IN, const osg::RefMatrixd &, other,
Properties::NON_EXPLICIT,
____RefMatrixd__C5_RefMatrixd_R1,
"",
"");
I_Constructor1(IN, osg::Matrixd::value_type const *const, def,
Properties::EXPLICIT,
____RefMatrixd__Matrixd_value_type_C5_P1C5,
"",
"");
I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33,
____RefMatrixd__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type,
"",
"");
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. ");
END_REFLECTOR

View File

@@ -1,603 +0,0 @@
// ***************************************************************************
//
// 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/Matrixd>
#include <osg/Matrixf>
#include <osg/Object>
#include <osg/Quat>
#include <osg/Vec3d>
#include <osg/Vec3f>
#include <osg/Vec4d>
#include <osg/Vec4f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(float, osg::Matrixf::value_type)
BEGIN_VALUE_REFLECTOR(osg::Matrixf)
I_DeclaringFile("osg/Matrixf");
I_Constructor0(____Matrixf,
"",
"");
I_Constructor1(IN, const osg::Matrixf &, mat,
Properties::NON_EXPLICIT,
____Matrixf__C5_Matrixf_R1,
"",
"");
I_Constructor1(IN, const osg::Matrixd &, mat,
Properties::NON_EXPLICIT,
____Matrixf__C5_Matrixd_R1,
"",
"");
I_Constructor1(IN, float const *const, ptr,
Properties::EXPLICIT,
____Matrixf__float_C5_P1C5,
"",
"");
I_Constructor1(IN, double const *const, ptr,
Properties::EXPLICIT,
____Matrixf__double_C5_P1C5,
"",
"");
I_Constructor1(IN, const osg::Quat &, quat,
Properties::EXPLICIT,
____Matrixf__C5_Quat_R1,
"",
"");
I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33,
____Matrixf__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
"",
"");
I_Method1(int, compare, IN, const osg::Matrixf &, m,
Properties::NON_VIRTUAL,
__int__compare__C5_Matrixf_R1,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(bool, isNaN,
Properties::NON_VIRTUAL,
__bool__isNaN,
"",
"");
I_Method1(void, set, IN, const osg::Matrixf &, rhs,
Properties::NON_VIRTUAL,
__void__set__C5_Matrixf_R1,
"",
"");
I_Method1(void, set, IN, const osg::Matrixd &, rhs,
Properties::NON_VIRTUAL,
__void__set__C5_Matrixd_R1,
"",
"");
I_Method1(void, set, IN, float const *const, ptr,
Properties::NON_VIRTUAL,
__void__set__float_C5_P1C5,
"",
"");
I_Method1(void, set, IN, double const *const, ptr,
Properties::NON_VIRTUAL,
__void__set__double_C5_P1C5,
"",
"");
I_Method16(void, set, IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33,
Properties::NON_VIRTUAL,
__void__set__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
"",
"");
I_Method0(osg::Matrixf::value_type *, ptr,
Properties::NON_VIRTUAL,
__value_type_P1__ptr,
"",
"");
I_Method0(const osg::Matrixf::value_type *, ptr,
Properties::NON_VIRTUAL,
__C5_value_type_P1__ptr,
"",
"");
I_Method0(bool, isIdentity,
Properties::NON_VIRTUAL,
__bool__isIdentity,
"",
"");
I_Method0(void, makeIdentity,
Properties::NON_VIRTUAL,
__void__makeIdentity,
"",
"");
I_Method1(void, makeScale, IN, const osg::Vec3f &, x,
Properties::NON_VIRTUAL,
__void__makeScale__C5_Vec3f_R1,
"",
"");
I_Method1(void, makeScale, IN, const osg::Vec3d &, x,
Properties::NON_VIRTUAL,
__void__makeScale__C5_Vec3d_R1,
"",
"");
I_Method3(void, makeScale, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x,
Properties::NON_VIRTUAL,
__void__makeScale__value_type__value_type__value_type,
"",
"");
I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x,
Properties::NON_VIRTUAL,
__void__makeTranslate__C5_Vec3f_R1,
"",
"");
I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x,
Properties::NON_VIRTUAL,
__void__makeTranslate__C5_Vec3d_R1,
"",
"");
I_Method3(void, makeTranslate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x,
Properties::NON_VIRTUAL,
__void__makeTranslate__value_type__value_type__value_type,
"",
"");
I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
Properties::NON_VIRTUAL,
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
"",
"");
I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
Properties::NON_VIRTUAL,
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
"",
"");
I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3f_R1,
"",
"");
I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3d_R1,
"",
"");
I_Method4(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__value_type__value_type__value_type,
"",
"");
I_Method1(void, makeRotate, IN, const osg::Quat &, x,
Properties::NON_VIRTUAL,
__void__makeRotate__C5_Quat_R1,
"",
"");
I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
"",
"");
I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3,
Properties::NON_VIRTUAL,
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
"",
"");
I_Method4(void, decompose, IN, osg::Vec3f &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3f &, scale, IN, osg::Quat &, so,
Properties::NON_VIRTUAL,
__void__decompose__osg_Vec3f_R1__osg_Quat_R1__osg_Vec3f_R1__osg_Quat_R1,
"decompose the matrix into translation, rotation, scale and scale orientation. ",
"");
I_Method4(void, decompose, IN, osg::Vec3d &, translation, IN, osg::Quat &, rotation, IN, osg::Vec3d &, scale, IN, osg::Quat &, so,
Properties::NON_VIRTUAL,
__void__decompose__osg_Vec3d_R1__osg_Quat_R1__osg_Vec3d_R1__osg_Quat_R1,
"decompose the matrix into translation, rotation, scale and scale orientation. ",
"");
I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makeOrtho__double__double__double__double__double__double,
"Set to an orthographic projection. ",
"See glOrtho for further details. ");
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the orthographic settings of the orthographic projection matrix. ",
"Note, if matrix is not an orthographic matrix then invalid values will be returned. ");
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
Properties::NON_VIRTUAL,
__void__makeOrtho2D__double__double__double__double,
"Set to a 2D orthographic projection. ",
"See glOrtho2D for further details. ");
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makeFrustum__double__double__double__double__double__double,
"Set to a perspective projection. ",
"See glFrustum for further details. ");
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a perspective projection matrix. ",
"Note, if matrix is not a perspective matrix then invalid values will be returned. ");
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
Properties::NON_VIRTUAL,
__void__makePerspective__double__double__double__double,
"Set to a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
Properties::NON_VIRTUAL,
__bool__getPerspective__double_R1__double_R1__double_R1__double_R1,
"Get the frustum settings of a symmetric perspective projection matrix. ",
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead. ");
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
Properties::NON_VIRTUAL,
__void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1,
"Set the position and orientation to be a view matrix, using the same convention as gluLookAt. ",
"");
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f,
Properties::NON_VIRTUAL,
__void__getLookAt__Vec3f_R1__Vec3f_R1__Vec3f_R1__value_type,
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
"");
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f,
Properties::NON_VIRTUAL,
__void__getLookAt__Vec3d_R1__Vec3d_R1__Vec3d_R1__value_type,
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
"");
I_Method1(bool, invert, IN, const osg::Matrixf &, rhs,
Properties::NON_VIRTUAL,
__bool__invert__C5_Matrixf_R1,
"invert the matrix rhs, automatically select invert_4x3 or invert_4x4. ",
"");
I_Method1(bool, invert_4x3, IN, const osg::Matrixf &, rhs,
Properties::NON_VIRTUAL,
__bool__invert_4x3__C5_Matrixf_R1,
"4x3 matrix invert, not right hand column is assumed to be 0,0,0,1. ",
"");
I_Method1(bool, invert_4x4, IN, const osg::Matrixf &, rhs,
Properties::NON_VIRTUAL,
__bool__invert_4x4__C5_Matrixf_R1,
"full 4x4 matrix invert. ",
"");
I_Method1(void, orthoNormalize, IN, const osg::Matrixf &, rhs,
Properties::NON_VIRTUAL,
__void__orthoNormalize__C5_Matrixf_R1,
"ortho-normalize the 3x3 rotation & scale matrix ",
"");
I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__Vec3f__preMult__C5_Vec3f_R1,
"",
"");
I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__Vec3d__preMult__C5_Vec3d_R1,
"",
"");
I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__Vec3f__postMult__C5_Vec3f_R1,
"",
"");
I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__Vec3d__postMult__C5_Vec3d_R1,
"",
"");
I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v,
Properties::NON_VIRTUAL,
__Vec4f__preMult__C5_Vec4f_R1,
"",
"");
I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v,
Properties::NON_VIRTUAL,
__Vec4d__preMult__C5_Vec4d_R1,
"",
"");
I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v,
Properties::NON_VIRTUAL,
__Vec4f__postMult__C5_Vec4f_R1,
"",
"");
I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v,
Properties::NON_VIRTUAL,
__Vec4d__postMult__C5_Vec4d_R1,
"",
"");
I_Method1(void, set, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__set__C5_Quat_R1,
"",
"");
I_Method1(void, get, IN, osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__get__Quat_R1,
"",
"");
I_Method1(void, setRotate, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__setRotate__C5_Quat_R1,
"",
"");
I_Method0(osg::Quat, getRotate,
Properties::NON_VIRTUAL,
__Quat__getRotate,
"Get the matrix rotation as a Quat. ",
"Note that this function assumes a non-scaled matrix and will return incorrect results for scaled matrixces. Consider decompose() instead. ");
I_Method3(void, setTrans, IN, osg::Matrixf::value_type, tx, IN, osg::Matrixf::value_type, ty, IN, osg::Matrixf::value_type, tz,
Properties::NON_VIRTUAL,
__void__setTrans__value_type__value_type__value_type,
"",
"");
I_Method1(void, setTrans, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__setTrans__C5_Vec3f_R1,
"",
"");
I_Method1(void, setTrans, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__setTrans__C5_Vec3d_R1,
"",
"");
I_Method0(osg::Vec3d, getTrans,
Properties::NON_VIRTUAL,
__Vec3d__getTrans,
"",
"");
I_Method0(osg::Vec3d, getScale,
Properties::NON_VIRTUAL,
__Vec3d__getScale,
"",
"");
I_Method2(void, mult, IN, const osg::Matrixf &, x, IN, const osg::Matrixf &, x,
Properties::NON_VIRTUAL,
__void__mult__C5_Matrixf_R1__C5_Matrixf_R1,
"",
"");
I_Method1(void, preMult, IN, const osg::Matrixf &, x,
Properties::NON_VIRTUAL,
__void__preMult__C5_Matrixf_R1,
"",
"");
I_Method1(void, postMult, IN, const osg::Matrixf &, x,
Properties::NON_VIRTUAL,
__void__postMult__C5_Matrixf_R1,
"",
"");
I_Method1(void, preMultTranslate, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__preMultTranslate__C5_Vec3d_R1,
"Optimized version of preMult(translate(v));. ",
"");
I_Method1(void, preMultTranslate, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__preMultTranslate__C5_Vec3f_R1,
"",
"");
I_Method1(void, postMultTranslate, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__postMultTranslate__C5_Vec3d_R1,
"Optimized version of postMult(translate(v));. ",
"");
I_Method1(void, postMultTranslate, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__postMultTranslate__C5_Vec3f_R1,
"",
"");
I_Method1(void, preMultScale, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__preMultScale__C5_Vec3d_R1,
"Optimized version of preMult(scale(v));. ",
"");
I_Method1(void, preMultScale, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__preMultScale__C5_Vec3f_R1,
"",
"");
I_Method1(void, postMultScale, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__void__postMultScale__C5_Vec3d_R1,
"Optimized version of postMult(scale(v));. ",
"");
I_Method1(void, postMultScale, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__void__postMultScale__C5_Vec3f_R1,
"",
"");
I_Method1(void, preMultRotate, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__preMultRotate__C5_Quat_R1,
"Optimized version of preMult(rotate(q));. ",
"");
I_Method1(void, postMultRotate, IN, const osg::Quat &, q,
Properties::NON_VIRTUAL,
__void__postMultRotate__C5_Quat_R1,
"Optimized version of postMult(rotate(q));. ",
"");
I_StaticMethod0(osg::Matrixf, identity,
__Matrixf__identity_S,
"",
"");
I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3f &, sv,
__Matrixf__scale__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3d &, sv,
__Matrixf__scale__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod3(osg::Matrixf, scale, IN, osg::Matrixf::value_type, sx, IN, osg::Matrixf::value_type, sy, IN, osg::Matrixf::value_type, sz,
__Matrixf__scale__value_type__value_type__value_type_S,
"",
"");
I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3f &, dv,
__Matrixf__translate__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3d &, dv,
__Matrixf__translate__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod3(osg::Matrixf, translate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z,
__Matrixf__translate__value_type__value_type__value_type_S,
"",
"");
I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
__Matrixf__rotate__C5_Vec3f_R1__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
__Matrixf__rotate__C5_Vec3d_R1__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod4(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z,
__Matrixf__rotate__value_type__value_type__value_type__value_type_S,
"",
"");
I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis,
__Matrixf__rotate__value_type__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis,
__Matrixf__rotate__value_type__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3,
__Matrixf__rotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1_S,
"",
"");
I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3,
__Matrixf__rotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixf, rotate, IN, const osg::Quat &, quat,
__Matrixf__rotate__C5_Quat_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixf, inverse, IN, const osg::Matrixf &, matrix,
__Matrixf__inverse__C5_Matrixf_R1_S,
"",
"");
I_StaticMethod1(osg::Matrixf, orthoNormal, IN, const osg::Matrixf &, matrix,
__Matrixf__orthoNormal__C5_Matrixf_R1_S,
"",
"");
I_StaticMethod6(osg::Matrixf, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixf__ortho__double__double__double__double__double__double_S,
"Create an orthographic projection matrix. ",
"See glOrtho for further details. ");
I_StaticMethod4(osg::Matrixf, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
__Matrixf__ortho2D__double__double__double__double_S,
"Create a 2D orthographic projection. ",
"See glOrtho for further details. ");
I_StaticMethod6(osg::Matrixf, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
__Matrixf__frustum__double__double__double__double__double__double_S,
"Create a perspective projection. ",
"See glFrustum for further details. ");
I_StaticMethod4(osg::Matrixf, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
__Matrixf__perspective__double__double__double__double_S,
"Create a symmetrical perspective projection. ",
"See gluPerspective for further details. Aspect ratio is defined as width/height. ");
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up,
__Matrixf__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S,
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
"");
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
__Matrixf__lookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1_S,
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
"");
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixf &, m,
__Vec3f__transform3x3__C5_Vec3f_R1__C5_Matrixf_R1_S,
"apply a 3x3 transform of v*M[0. ",
".2,0..2]. ");
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixf &, m,
__Vec3d__transform3x3__C5_Vec3d_R1__C5_Matrixf_R1_S,
"apply a 3x3 transform of v*M[0. ",
".2,0..2]. ");
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3f &, v,
__Vec3f__transform3x3__C5_Matrixf_R1__C5_Vec3f_R1_S,
"apply a 3x3 transform of M[0. ",
".2,0..2]*v. ");
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3d &, v,
__Vec3d__transform3x3__C5_Matrixf_R1__C5_Vec3d_R1_S,
"apply a 3x3 transform of M[0. ",
".2,0..2]*v. ");
I_SimpleProperty(osg::Quat, Rotate,
__Quat__getRotate,
__void__setRotate__C5_Quat_R1);
I_SimpleProperty(osg::Vec3d, Scale,
__Vec3d__getScale,
0);
I_SimpleProperty(osg::Vec3d, Trans,
__Vec3d__getTrans,
__void__setTrans__C5_Vec3d_R1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RefMatrixf)
I_DeclaringFile("osg/Matrixf");
I_BaseType(osg::Object);
I_BaseType(osg::Matrixf);
I_Constructor0(____RefMatrixf,
"",
"");
I_Constructor1(IN, const osg::Matrixf &, other,
Properties::NON_EXPLICIT,
____RefMatrixf__C5_Matrixf_R1,
"",
"");
I_Constructor1(IN, const osg::Matrixd &, other,
Properties::NON_EXPLICIT,
____RefMatrixf__C5_Matrixd_R1,
"",
"");
I_Constructor1(IN, const osg::RefMatrixf &, other,
Properties::NON_EXPLICIT,
____RefMatrixf__C5_RefMatrixf_R1,
"",
"");
I_Constructor1(IN, osg::Matrixf::value_type const *const, def,
Properties::EXPLICIT,
____RefMatrixf__Matrixf_value_type_C5_P1C5,
"",
"");
I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33,
____RefMatrixf__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type,
"",
"");
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. ");
END_REFLECTOR

View File

@@ -1,140 +0,0 @@
// ***************************************************************************
//
// 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/Multisample>
#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_ENUM_REFLECTOR(osg::Multisample::Mode)
I_DeclaringFile("osg/Multisample");
I_EnumLabel(osg::Multisample::FASTEST);
I_EnumLabel(osg::Multisample::NICEST);
I_EnumLabel(osg::Multisample::DONT_CARE);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Multisample)
I_DeclaringFile("osg/Multisample");
I_BaseType(osg::StateAttribute);
I_Constructor0(____Multisample,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Multisample &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Multisample__C5_Multisample_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_Method2(void, setSampleCoverage, IN, float, coverage, IN, bool, invert,
Properties::NON_VIRTUAL,
__void__setSampleCoverage__float__bool,
"",
"");
I_Method1(void, setCoverage, IN, float, coverage,
Properties::NON_VIRTUAL,
__void__setCoverage__float,
"",
"");
I_Method0(float, getCoverage,
Properties::NON_VIRTUAL,
__float__getCoverage,
"",
"");
I_Method1(void, setInvert, IN, bool, invert,
Properties::NON_VIRTUAL,
__void__setInvert__bool,
"",
"");
I_Method0(bool, getInvert,
Properties::NON_VIRTUAL,
__bool__getInvert,
"",
"");
I_Method1(void, setHint, IN, osg::Multisample::Mode, mode,
Properties::NON_VIRTUAL,
__void__setHint__Mode,
"",
"");
I_Method0(osg::Multisample::Mode, getHint,
Properties::NON_VIRTUAL,
__Mode__getHint,
"",
"");
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_StaticMethod2(osg::Multisample::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::Multisample::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions 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_SimpleProperty(float, Coverage,
__float__getCoverage,
__void__setCoverage__float);
I_SimpleProperty(osg::Multisample::Mode, Hint,
__Mode__getHint,
__void__setHint__Mode);
I_SimpleProperty(bool, Invert,
__bool__getInvert,
__void__setInvert__bool);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,541 +0,0 @@
// ***************************************************************************
//
// 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/CopyOp>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Node>
#include <osg/NodeCallback>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/State>
#include <osg/StateSet>
#include <osg/Switch>
#include <osg/Transform>
// 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::Group * >, osg::Node::ParentList)
TYPE_NAME_ALIAS(unsigned int, osg::Node::NodeMask)
TYPE_NAME_ALIAS(std::vector< std::string >, osg::Node::DescriptionList)
BEGIN_OBJECT_REFLECTOR(osg::Node)
I_DeclaringFile("osg/Node");
I_BaseType(osg::Object);
I_Constructor0(____Node,
"Construct a node. ",
"Initialize the parent list to empty, node name to \"\" and bounding sphere dirty flag to true. ");
I_ConstructorWithDefaults2(IN, const osg::Node &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Node__C5_Node_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 an object of the same type as the node. ",
"");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
Properties::VIRTUAL,
__Object_P1__clone__C5_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_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 node's library. ",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the node's class type. ",
"");
I_Method0(osg::Group *, asGroup,
Properties::VIRTUAL,
__Group_P1__asGroup,
"convert 'this' into a Group pointer if Node is a Group, otherwise return 0. ",
"Equivalent to dynamic_cast<Group*>(this). ");
I_Method0(const osg::Group *, asGroup,
Properties::VIRTUAL,
__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_Method0(osg::Transform *, asTransform,
Properties::VIRTUAL,
__Transform_P1__asTransform,
"Convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. ",
"Equivalent to dynamic_cast<Transform*>(this). ");
I_Method0(const osg::Transform *, asTransform,
Properties::VIRTUAL,
__C5_Transform_P1__asTransform,
"convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. ",
"Equivalent to dynamic_cast<const Transform*>(this). ");
I_Method0(osg::Switch *, asSwitch,
Properties::VIRTUAL,
__Switch_P1__asSwitch,
"Convert 'this' into a Switch pointer if Node is a Switch, otherwise return 0. ",
"Equivalent to dynamic_cast<Switch*>(this). ");
I_Method0(const osg::Switch *, asSwitch,
Properties::VIRTUAL,
__C5_Switch_P1__asSwitch,
"convert 'const this' into a const Switch pointer if Node is a Switch, otherwise return 0. ",
"Equivalent to dynamic_cast<const Switch*>(this). ");
I_Method0(osg::Geode *, asGeode,
Properties::VIRTUAL,
__Geode_P1__asGeode,
"Convert 'this' into a Geode pointer if Node is a Geode, otherwise return 0. ",
"Equivalent to dynamic_cast<Geode*>(this). ");
I_Method0(const osg::Geode *, asGeode,
Properties::VIRTUAL,
__C5_Geode_P1__asGeode,
"convert 'const this' into a const Geode pointer if Node is a Geode, otherwise return 0. ",
"Equivalent to dynamic_cast<const Geode*>(this). ");
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__accept__NodeVisitor_R1,
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
"");
I_Method1(void, ascend, IN, osg::NodeVisitor &, nv,
Properties::VIRTUAL,
__void__ascend__NodeVisitor_R1,
"Traverse upwards : calls parents' accept method with NodeVisitor. ",
"");
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"Traverse downwards : calls children's accept method with NodeVisitor. ",
"");
I_Method0(const osg::Node::ParentList &, getParents,
Properties::NON_VIRTUAL,
__C5_ParentList_R1__getParents,
"Get the parent list of node. ",
"");
I_Method0(osg::Node::ParentList, getParents,
Properties::NON_VIRTUAL,
__ParentList__getParents,
"Get the a copy of parent list of node. ",
"A copy is returned to prevent modification of the parent list. ");
I_Method1(osg::Group *, getParent, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__Group_P1__getParent__unsigned_int,
"",
"");
I_Method1(const osg::Group *, getParent, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_Group_P1__getParent__unsigned_int,
"Get a single const parent of node. ",
" param i index of the parent to get. return the parent i. ");
I_Method0(unsigned int, getNumParents,
Properties::NON_VIRTUAL,
__unsigned_int__getNumParents,
"Get the number of parents of node. ",
"the number of parents of this node. ");
I_MethodWithDefaults1(osg::NodePathList, getParentalNodePaths, IN, osg::Node *, haltTraversalAtNode, 0,
Properties::NON_VIRTUAL,
__NodePathList__getParentalNodePaths__osg_Node_P1,
"Get the list of node paths parent paths. ",
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, const osg::Node *, haltTraversalAtNode, 0,
Properties::NON_VIRTUAL,
__MatrixList__getWorldMatrices__C5_osg_Node_P1,
"Get the list of matrices that transform this node from local coordinates to world coordinates. ",
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
I_Method1(void, setUpdateCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__setUpdateCallback__NodeCallback_P1,
"Set update node callback, called during update traversal. ",
"");
I_Method0(osg::NodeCallback *, getUpdateCallback,
Properties::NON_VIRTUAL,
__NodeCallback_P1__getUpdateCallback,
"Get update node callback, called during update traversal. ",
"");
I_Method0(const osg::NodeCallback *, getUpdateCallback,
Properties::NON_VIRTUAL,
__C5_NodeCallback_P1__getUpdateCallback,
"Get const update node callback, called during update traversal. ",
"");
I_Method1(void, addUpdateCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__addUpdateCallback__NodeCallback_P1,
"Convenience method that sets the update callback of the node if it doesn't exist, or nest it into the existing one. ",
"");
I_Method1(void, removeUpdateCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__removeUpdateCallback__NodeCallback_P1,
"Convenience method that removes a given callback from a node, even if that callback is nested. ",
"There is no error return in case the given callback is not found. ");
I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenRequiringUpdateTraversal,
"Get the number of Children of this node which require Update traversal, since they have an Update Callback attached to them or their children. ",
"");
I_Method1(void, setEventCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__setEventCallback__NodeCallback_P1,
"Set event node callback, called during event traversal. ",
"");
I_Method0(osg::NodeCallback *, getEventCallback,
Properties::NON_VIRTUAL,
__NodeCallback_P1__getEventCallback,
"Get event node callback, called during event traversal. ",
"");
I_Method0(const osg::NodeCallback *, getEventCallback,
Properties::NON_VIRTUAL,
__C5_NodeCallback_P1__getEventCallback,
"Get const event node callback, called during event traversal. ",
"");
I_Method1(void, addEventCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__addEventCallback__NodeCallback_P1,
"Convenience method that sets the event callback of the node if it doesn't exist, or nest it into the existing one. ",
"");
I_Method1(void, removeEventCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__removeEventCallback__NodeCallback_P1,
"Convenience method that removes a given callback from a node, even if that callback is nested. ",
"There is no error return in case the given callback is not found. ");
I_Method0(unsigned int, getNumChildrenRequiringEventTraversal,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenRequiringEventTraversal,
"Get the number of Children of this node which require Event traversal, since they have an Event Callback attached to them or their children. ",
"");
I_Method1(void, setCullCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__setCullCallback__NodeCallback_P1,
"Set cull node callback, called during cull traversal. ",
"");
I_Method0(osg::NodeCallback *, getCullCallback,
Properties::NON_VIRTUAL,
__NodeCallback_P1__getCullCallback,
"Get cull node callback, called during cull traversal. ",
"");
I_Method0(const osg::NodeCallback *, getCullCallback,
Properties::NON_VIRTUAL,
__C5_NodeCallback_P1__getCullCallback,
"Get const cull node callback, called during cull traversal. ",
"");
I_Method1(void, addCullCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__addCullCallback__NodeCallback_P1,
"Convenience method that sets the cull callback of the node if it doesn't exist, or nest it into the existing one. ",
"");
I_Method1(void, removeCullCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__removeCullCallback__NodeCallback_P1,
"Convenience method that removes a given callback from a node, even if that callback is nested. ",
"There is no error return in case the given callback is not found. ");
I_Method1(void, setCullingActive, IN, bool, active,
Properties::NON_VIRTUAL,
__void__setCullingActive__bool,
"Set the view frustum/small feature culling of this node to be active or inactive. ",
"The default value is true for _cullingActive. Used as a guide to the cull traversal. ");
I_Method0(bool, getCullingActive,
Properties::NON_VIRTUAL,
__bool__getCullingActive,
"Get the view frustum/small feature _cullingActive flag for this node. ",
"Used as a guide to the cull traversal. ");
I_Method0(unsigned int, getNumChildrenWithCullingDisabled,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenWithCullingDisabled,
"Get the number of Children of this node which have culling disabled. ",
"");
I_Method0(bool, isCullingActive,
Properties::NON_VIRTUAL,
__bool__isCullingActive,
"Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal. ",
"Note, returns true only if no children have culling disabled, and the local _cullingActive flag is true. ");
I_Method0(unsigned int, getNumChildrenWithOccluderNodes,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenWithOccluderNodes,
"Get the number of Children of this node which are or have OccluderNode's. ",
"");
I_Method0(bool, containsOccluderNodes,
Properties::NON_VIRTUAL,
__bool__containsOccluderNodes,
"return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes. ",
"");
I_Method1(void, setNodeMask, IN, osg::Node::NodeMask, nm,
Properties::NON_VIRTUAL,
__void__setNodeMask__NodeMask,
"Set the node mask. ",
"");
I_Method0(osg::Node::NodeMask, getNodeMask,
Properties::NON_VIRTUAL,
__NodeMask__getNodeMask,
"Get the node Mask. ",
"");
I_Method1(void, setDescriptions, IN, const osg::Node::DescriptionList &, descriptions,
Properties::NON_VIRTUAL,
__void__setDescriptions__C5_DescriptionList_R1,
"Set the description list of the node. ",
"");
I_Method0(osg::Node::DescriptionList &, getDescriptions,
Properties::NON_VIRTUAL,
__DescriptionList_R1__getDescriptions,
"Get the description list of the node. ",
"");
I_Method0(const osg::Node::DescriptionList &, getDescriptions,
Properties::NON_VIRTUAL,
__C5_DescriptionList_R1__getDescriptions,
"Get the const description list of the const node. ",
"");
I_Method1(const std::string &, getDescription, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDescription__unsigned_int,
"Get a single const description of the const node. ",
"");
I_Method1(std::string &, getDescription, IN, unsigned int, i,
Properties::NON_VIRTUAL,
__std_string_R1__getDescription__unsigned_int,
"Get a single description of the node. ",
"");
I_Method0(unsigned int, getNumDescriptions,
Properties::NON_VIRTUAL,
__unsigned_int__getNumDescriptions,
"Get the number of descriptions of the node. ",
"");
I_Method1(void, addDescription, IN, const std::string &, desc,
Properties::NON_VIRTUAL,
__void__addDescription__C5_std_string_R1,
"Add a description string to the node. ",
"");
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
Properties::NON_VIRTUAL,
__void__setStateSet__osg_StateSet_P1,
"Set the node's StateSet. ",
"");
I_Method0(osg::StateSet *, getOrCreateStateSet,
Properties::NON_VIRTUAL,
__osg_StateSet_P1__getOrCreateStateSet,
"return the node's StateSet, if one does not already exist create it set the node and return the newly created StateSet. ",
"This ensures that a valid StateSet is always returned and can be used directly. ");
I_Method0(osg::StateSet *, getStateSet,
Properties::NON_VIRTUAL,
__osg_StateSet_P1__getStateSet,
"Return the node's StateSet. ",
"returns NULL if a stateset is not attached. ");
I_Method0(const osg::StateSet *, getStateSet,
Properties::NON_VIRTUAL,
__C5_osg_StateSet_P1__getStateSet,
"Return the node's const StateSet. ",
"Returns NULL if a stateset is not attached. ");
I_Method1(void, setInitialBound, IN, const osg::BoundingSphere &, bsphere,
Properties::NON_VIRTUAL,
__void__setInitialBound__C5_osg_BoundingSphere_R1,
"Set the initial bounding volume to use when computing the overall bounding volume. ",
"");
I_Method0(const osg::BoundingSphere &, getInitialBound,
Properties::NON_VIRTUAL,
__C5_BoundingSphere_R1__getInitialBound,
"Set the initial bounding volume to use when computing the overall bounding volume. ",
"");
I_Method0(void, dirtyBound,
Properties::NON_VIRTUAL,
__void__dirtyBound,
"Mark this node's bounding sphere dirty. ",
"Forcing it to be computed on the next call to getBound(). ");
I_Method0(const osg::BoundingSphere &, getBound,
Properties::NON_VIRTUAL,
__C5_BoundingSphere_R1__getBound,
"Get the bounding sphere of node. ",
"Using lazy evaluation computes the bounding sphere if it is 'dirty'. ");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__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_Method1(void, setComputeBoundingSphereCallback, IN, osg::Node::ComputeBoundingSphereCallback *, callback,
Properties::NON_VIRTUAL,
__void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1,
"Set the compute bound callback to override the default computeBound. ",
"");
I_Method0(osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback,
Properties::NON_VIRTUAL,
__ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback,
"Get the compute bound callback. ",
"");
I_Method0(const osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback,
Properties::NON_VIRTUAL,
__C5_ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback,
"Get the const compute bound callback. ",
"");
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
Properties::VIRTUAL,
__void__setThreadSafeRefUnref__bool,
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned,
"Resize any per context GLObject buffers to specified size. ",
"");
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_ProtectedMethod1(void, addParent, IN, osg::Group *, node,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addParent__osg_Group_P1,
"",
"");
I_ProtectedMethod1(void, removeParent, IN, osg::Group *, node,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__removeParent__osg_Group_P1,
"",
"");
I_ProtectedMethod1(void, setNumChildrenRequiringUpdateTraversal, IN, unsigned int, num,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setNumChildrenRequiringUpdateTraversal__unsigned_int,
"",
"");
I_ProtectedMethod1(void, setNumChildrenRequiringEventTraversal, IN, unsigned int, num,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setNumChildrenRequiringEventTraversal__unsigned_int,
"",
"");
I_ProtectedMethod1(void, setNumChildrenWithCullingDisabled, IN, unsigned int, num,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setNumChildrenWithCullingDisabled__unsigned_int,
"",
"");
I_ProtectedMethod1(void, setNumChildrenWithOccluderNodes, IN, unsigned int, num,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setNumChildrenWithOccluderNodes__unsigned_int,
"",
"");
I_SimpleProperty(const osg::BoundingSphere &, Bound,
__C5_BoundingSphere_R1__getBound,
0);
I_SimpleProperty(osg::Node::ComputeBoundingSphereCallback *, ComputeBoundingSphereCallback,
__ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback,
__void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1);
I_SimpleProperty(osg::NodeCallback *, CullCallback,
__NodeCallback_P1__getCullCallback,
__void__setCullCallback__NodeCallback_P1);
I_SimpleProperty(bool, CullingActive,
__bool__getCullingActive,
__void__setCullingActive__bool);
I_ArrayProperty(const std::string &, Description,
__C5_std_string_R1__getDescription__unsigned_int,
0,
__unsigned_int__getNumDescriptions,
__void__addDescription__C5_std_string_R1,
0,
0);
I_SimpleProperty(const osg::Node::DescriptionList &, Descriptions,
__C5_DescriptionList_R1__getDescriptions,
__void__setDescriptions__C5_DescriptionList_R1);
I_SimpleProperty(osg::NodeCallback *, EventCallback,
__NodeCallback_P1__getEventCallback,
__void__setEventCallback__NodeCallback_P1);
I_SimpleProperty(const osg::BoundingSphere &, InitialBound,
__C5_BoundingSphere_R1__getInitialBound,
__void__setInitialBound__C5_osg_BoundingSphere_R1);
I_SimpleProperty(osg::Node::NodeMask, NodeMask,
__NodeMask__getNodeMask,
__void__setNodeMask__NodeMask);
I_ArrayProperty(osg::Group *, Parent,
__Group_P1__getParent__unsigned_int,
0,
__unsigned_int__getNumParents,
0,
0,
0);
I_SimpleProperty(osg::Node::ParentList, Parents,
__ParentList__getParents,
0);
I_SimpleProperty(osg::StateSet *, StateSet,
__osg_StateSet_P1__getStateSet,
__void__setStateSet__osg_StateSet_P1);
I_SimpleProperty(bool, ThreadSafeRefUnref,
0,
__void__setThreadSafeRefUnref__bool);
I_SimpleProperty(osg::NodeCallback *, UpdateCallback,
__NodeCallback_P1__getUpdateCallback,
__void__setUpdateCallback__NodeCallback_P1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Node::ComputeBoundingSphereCallback)
I_DeclaringFile("osg/Node");
I_BaseType(osg::Object);
I_Constructor0(____ComputeBoundingSphereCallback,
"",
"");
I_Constructor2(IN, const osg::Node::ComputeBoundingSphereCallback &, x, IN, const osg::CopyOp &, x,
____ComputeBoundingSphereCallback__C5_ComputeBoundingSphereCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(osg::BoundingSphere, computeBound, IN, const osg::Node &, x,
Properties::VIRTUAL,
__BoundingSphere__computeBound__C5_osg_Node_R1,
"",
"");
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::NodePath)
TYPE_NAME_ALIAS(std::vector< osg::NodePath >, osg::NodePathList)
TYPE_NAME_ALIAS(std::vector< osg::Matrix >, osg::MatrixList)
STD_VECTOR_REFLECTOR(std::vector< osg::Group * >)
STD_VECTOR_REFLECTOR(std::vector< osg::Matrix >)
STD_VECTOR_REFLECTOR(std::vector< osg::NodePath >)

View File

@@ -1,97 +0,0 @@
// ***************************************************************************
//
// 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/Node>
#include <osg/NodeCallback>
#include <osg/NodeVisitor>
#include <osg/Object>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::NodeCallback)
I_DeclaringFile("osg/NodeCallback");
I_VirtualBaseType(osg::Object);
I_Constructor0(____NodeCallback,
"",
"");
I_Constructor2(IN, const osg::NodeCallback &, nc, IN, const osg::CopyOp &, x,
____NodeCallback__C5_NodeCallback_R1__C5_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method2(void, traverse, IN, osg::Node *, node, IN, osg::NodeVisitor *, nv,
Properties::NON_VIRTUAL,
__void__traverse__Node_P1__NodeVisitor_P1,
"Call any nested callbacks and then traverse the scene graph. ",
"");
I_Method1(void, setNestedCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__setNestedCallback__NodeCallback_P1,
"",
"");
I_Method0(osg::NodeCallback *, getNestedCallback,
Properties::NON_VIRTUAL,
__NodeCallback_P1__getNestedCallback,
"",
"");
I_Method0(const osg::NodeCallback *, getNestedCallback,
Properties::NON_VIRTUAL,
__C5_NodeCallback_P1__getNestedCallback,
"",
"");
I_Method1(void, addNestedCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__addNestedCallback__NodeCallback_P1,
"",
"");
I_Method1(void, removeNestedCallback, IN, osg::NodeCallback *, nc,
Properties::NON_VIRTUAL,
__void__removeNestedCallback__NodeCallback_P1,
"",
"");
I_SimpleProperty(osg::NodeCallback *, NestedCallback,
__NodeCallback_P1__getNestedCallback,
__void__setNestedCallback__NodeCallback_P1);
I_PublicMemberProperty(osg::ref_ptr< osg::NodeCallback >, _nestedCallback);
END_REFLECTOR

View File

@@ -1,118 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Node>
#include <osg/NodeTrackerCallback>
#include <osg/NodeVisitor>
// 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::observer_ptr< osg::Node > >, osg::NodeTrackerCallback::ObserverNodePath)
BEGIN_OBJECT_REFLECTOR(osg::NodeTrackerCallback)
I_DeclaringFile("osg/NodeTrackerCallback");
I_BaseType(osg::NodeCallback);
I_Constructor0(____NodeTrackerCallback,
"",
"");
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath,
Properties::NON_VIRTUAL,
__void__setTrackNodePath__C5_osg_NodePath_R1,
"",
"");
I_Method1(void, setTrackNodePath, IN, const osg::NodeTrackerCallback::ObserverNodePath &, nodePath,
Properties::NON_VIRTUAL,
__void__setTrackNodePath__C5_ObserverNodePath_R1,
"",
"");
I_Method0(osg::NodeTrackerCallback::ObserverNodePath &, getTrackNodePath,
Properties::NON_VIRTUAL,
__ObserverNodePath_R1__getTrackNodePath,
"",
"");
I_Method1(void, setTrackNode, IN, osg::Node *, node,
Properties::NON_VIRTUAL,
__void__setTrackNode__osg_Node_P1,
"",
"");
I_Method0(osg::Node *, getTrackNode,
Properties::NON_VIRTUAL,
__osg_Node_P1__getTrackNode,
"",
"");
I_Method0(const osg::Node *, getTrackNode,
Properties::NON_VIRTUAL,
__C5_osg_Node_P1__getTrackNode,
"",
"");
I_Method1(void, update, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
__void__update__osg_Node_R1,
"Update the node to track the nodepath. ",
"");
I_Method0(bool, validateNodePath,
Properties::NON_VIRTUAL,
__bool__validateNodePath,
"",
"");
I_SimpleProperty(osg::Node *, TrackNode,
__osg_Node_P1__getTrackNode,
__void__setTrackNode__osg_Node_P1);
I_SimpleProperty(osg::NodeTrackerCallback::ObserverNodePath &, TrackNodePath,
__ObserverNodePath_R1__getTrackNodePath,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::Node >)
I_DeclaringFile("osg/observer_ptr");
I_BaseType(osg::Observer);
I_Constructor0(____observer_ptr,
"",
"");
I_Constructor1(IN, osg::Node *, t,
Properties::NON_EXPLICIT,
____observer_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::observer_ptr< osg::Node > &, rp,
Properties::NON_EXPLICIT,
____observer_ptr__C5_observer_ptr_R1,
"",
"");
I_Method1(void, objectDeleted, IN, void *, x,
Properties::VIRTUAL,
__void__objectDeleted__void_P1,
"",
"");
I_Method0(osg::Node *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_SimpleProperty(osg::Node *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::observer_ptr< osg::Node > >)

View File

@@ -1,494 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Billboard>
#include <osg/Camera>
#include <osg/CameraView>
#include <osg/ClearNode>
#include <osg/ClipNode>
#include <osg/CoordinateSystemNode>
#include <osg/FrameStamp>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Image>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/MatrixTransform>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/OccluderNode>
#include <osg/OcclusionQueryNode>
#include <osg/PagedLOD>
#include <osg/PositionAttitudeTransform>
#include <osg/Projection>
#include <osg/ProxyNode>
#include <osg/Referenced>
#include <osg/Sequence>
#include <osg/Switch>
#include <osg/TexGenNode>
#include <osg/Transform>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_VALUE_REFLECTOR(osg::NodeAcceptOp)
I_DeclaringFile("osg/NodeVisitor");
I_Constructor1(IN, osg::NodeVisitor &, nv,
Properties::NON_EXPLICIT,
____NodeAcceptOp__NodeVisitor_R1,
"",
"");
I_Constructor1(IN, const osg::NodeAcceptOp &, naop,
Properties::NON_EXPLICIT,
____NodeAcceptOp__C5_NodeAcceptOp_R1,
"",
"");
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::TraversalMode)
I_DeclaringFile("osg/NodeVisitor");
I_EnumLabel(osg::NodeVisitor::TRAVERSE_NONE);
I_EnumLabel(osg::NodeVisitor::TRAVERSE_PARENTS);
I_EnumLabel(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN);
I_EnumLabel(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::VisitorType)
I_DeclaringFile("osg/NodeVisitor");
I_EnumLabel(osg::NodeVisitor::NODE_VISITOR);
I_EnumLabel(osg::NodeVisitor::UPDATE_VISITOR);
I_EnumLabel(osg::NodeVisitor::EVENT_VISITOR);
I_EnumLabel(osg::NodeVisitor::COLLECT_OCCLUDER_VISITOR);
I_EnumLabel(osg::NodeVisitor::CULL_VISITOR);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor)
I_DeclaringFile("osg/NodeVisitor");
I_VirtualBaseType(osg::Referenced);
I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE,
Properties::NON_EXPLICIT,
____NodeVisitor__TraversalMode,
"",
"");
I_ConstructorWithDefaults2(IN, osg::NodeVisitor::VisitorType, type, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE,
____NodeVisitor__VisitorType__TraversalMode,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the library name/namespapce of the visitor's. ",
"Should be defined by derived classes. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the visitor's class type. ",
"Should be defined by derived classes. ");
I_Method0(void, reset,
Properties::VIRTUAL,
__void__reset,
"Method to call to reset visitor. ",
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
I_Method1(void, setVisitorType, IN, osg::NodeVisitor::VisitorType, type,
Properties::NON_VIRTUAL,
__void__setVisitorType__VisitorType,
"Set the VisitorType, used to distinguish different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors. ",
"");
I_Method0(osg::NodeVisitor::VisitorType, getVisitorType,
Properties::NON_VIRTUAL,
__VisitorType__getVisitorType,
"Get the VisitorType. ",
"");
I_Method1(void, setTraversalNumber, IN, int, fn,
Properties::NON_VIRTUAL,
__void__setTraversalNumber__int,
"Set the traversal number. ",
"Typically used to denote the frame count. ");
I_Method0(int, getTraversalNumber,
Properties::NON_VIRTUAL,
__int__getTraversalNumber,
"Get the traversal number. ",
"Typically used to denote the frame count. ");
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
Properties::NON_VIRTUAL,
__void__setFrameStamp__FrameStamp_P1,
"Set the FrameStamp that this traversal is associated with. ",
"");
I_Method0(const osg::FrameStamp *, getFrameStamp,
Properties::NON_VIRTUAL,
__C5_FrameStamp_P1__getFrameStamp,
"Get the FrameStamp that this traversal is associated with. ",
"");
I_Method1(void, setTraversalMask, IN, osg::Node::NodeMask, mask,
Properties::NON_VIRTUAL,
__void__setTraversalMask__Node_NodeMask,
"Set the TraversalMask of this NodeVisitor. ",
"The TraversalMask is used by the NodeVisitor::validNodeMask() method to determine whether to operate on a node and its subgraph. validNodeMask() is called automatically in the Node::accept() method before any call to NodeVisitor::apply(), apply() is only ever called if validNodeMask returns true. Note, if NodeVisitor::_traversalMask is 0 then all operations will be switched off for all nodes. Whereas setting both _traversalMask and _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state. ");
I_Method0(osg::Node::NodeMask, getTraversalMask,
Properties::NON_VIRTUAL,
__Node_NodeMask__getTraversalMask,
"Get the TraversalMask. ",
"");
I_Method1(void, setNodeMaskOverride, IN, osg::Node::NodeMask, mask,
Properties::NON_VIRTUAL,
__void__setNodeMaskOverride__Node_NodeMask,
"Set the NodeMaskOverride mask. ",
"Used in validNodeMask() to determine whether to operate on a node or its subgraph, by OR'ing NodeVisitor::_nodeMaskOverride with the Node's own Node::_nodeMask. Typically used to force on nodes which may have been switched off by their own Node::_nodeMask. ");
I_Method0(osg::Node::NodeMask, getNodeMaskOverride,
Properties::NON_VIRTUAL,
__Node_NodeMask__getNodeMaskOverride,
"Get the NodeMaskOverride mask. ",
"");
I_Method1(bool, validNodeMask, IN, const osg::Node &, node,
Properties::NON_VIRTUAL,
__bool__validNodeMask__C5_osg_Node_R1,
"Method to called by Node and its subclass' Node::accept() method, if the result is true it is used to cull operations of nodes and their subgraphs. ",
"Return true if the result of a bit wise and of the NodeVisitor::_traversalMask with the bit or between NodeVistor::_nodeMaskOverride and the Node::_nodeMask. default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff. ");
I_Method1(void, setTraversalMode, IN, osg::NodeVisitor::TraversalMode, mode,
Properties::NON_VIRTUAL,
__void__setTraversalMode__TraversalMode,
"Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse. ",
"If a NodeVisitor has been attached via setTraverseVisitor() and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE. ");
I_Method0(osg::NodeVisitor::TraversalMode, getTraversalMode,
Properties::NON_VIRTUAL,
__TraversalMode__getTraversalMode,
"Get the traversal mode. ",
"");
I_Method1(void, setUserData, IN, osg::Referenced *, obj,
Properties::NON_VIRTUAL,
__void__setUserData__Referenced_P1,
"Set user data, data must be subclassed from Referenced to allow automatic memory handling. ",
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own objects and handles the memory addressing. ");
I_Method0(osg::Referenced *, getUserData,
Properties::NON_VIRTUAL,
__Referenced_P1__getUserData,
"Get user data. ",
"");
I_Method0(const osg::Referenced *, getUserData,
Properties::NON_VIRTUAL,
__C5_Referenced_P1__getUserData,
"Get const user data. ",
"");
I_Method1(void, traverse, IN, osg::Node &, node,
Properties::NON_VIRTUAL,
__void__traverse__Node_R1,
"Method for handling traversal of a nodes. ",
"If you intend to use the visitor for actively traversing the scene graph then make sure the accept() methods call this method unless they handle traversal directly. ");
I_Method1(void, pushOntoNodePath, IN, osg::Node *, node,
Properties::NON_VIRTUAL,
__void__pushOntoNodePath__Node_P1,
"Method called by osg::Node::accept() method before a call to the NodeVisitor::apply(. ",
".). The back of the list will, therefore, be the current node being visited inside the apply(..), and the rest of the list will be the parental sequence of nodes from the top most node applied down the graph to the current node. Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method. ");
I_Method0(void, popFromNodePath,
Properties::NON_VIRTUAL,
__void__popFromNodePath,
"Method called by osg::Node::accept() method after a call to NodeVisitor::apply(. ",
".). Note, the user does not typically call popFromNodePath() as it will be called automatically by the Node::accept() method. ");
I_Method0(osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__NodePath_R1__getNodePath,
"Get the non const NodePath from the top most node applied down to the current Node being visited. ",
"");
I_Method0(const osg::NodePath &, getNodePath,
Properties::NON_VIRTUAL,
__C5_NodePath_R1__getNodePath,
"Get the const NodePath from the top most node applied down to the current Node being visited. ",
"");
I_Method0(osg::Vec3, getEyePoint,
Properties::VIRTUAL,
__osg_Vec3__getEyePoint,
"Get the eye point in local coordinates. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
I_Method0(osg::Vec3, getViewPoint,
Properties::VIRTUAL,
__osg_Vec3__getViewPoint,
"Get the view point in local coordinates. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
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, 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. ",
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
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_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Geode &, node,
Properties::VIRTUAL,
__void__apply__Geode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Billboard &, node,
Properties::VIRTUAL,
__void__apply__Billboard_R1,
"",
"");
I_Method1(void, apply, IN, osg::Group &, node,
Properties::VIRTUAL,
__void__apply__Group_R1,
"",
"");
I_Method1(void, apply, IN, osg::ProxyNode &, node,
Properties::VIRTUAL,
__void__apply__ProxyNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::Projection &, node,
Properties::VIRTUAL,
__void__apply__Projection_R1,
"",
"");
I_Method1(void, apply, IN, osg::CoordinateSystemNode &, node,
Properties::VIRTUAL,
__void__apply__CoordinateSystemNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClipNode &, node,
Properties::VIRTUAL,
__void__apply__ClipNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::TexGenNode &, node,
Properties::VIRTUAL,
__void__apply__TexGenNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::LightSource &, node,
Properties::VIRTUAL,
__void__apply__LightSource_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__Transform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Camera &, node,
Properties::VIRTUAL,
__void__apply__Camera_R1,
"",
"");
I_Method1(void, apply, IN, osg::CameraView &, node,
Properties::VIRTUAL,
__void__apply__CameraView_R1,
"",
"");
I_Method1(void, apply, IN, osg::MatrixTransform &, node,
Properties::VIRTUAL,
__void__apply__MatrixTransform_R1,
"",
"");
I_Method1(void, apply, IN, osg::PositionAttitudeTransform &, node,
Properties::VIRTUAL,
__void__apply__PositionAttitudeTransform_R1,
"",
"");
I_Method1(void, apply, IN, osg::Switch &, node,
Properties::VIRTUAL,
__void__apply__Switch_R1,
"",
"");
I_Method1(void, apply, IN, osg::Sequence &, node,
Properties::VIRTUAL,
__void__apply__Sequence_R1,
"",
"");
I_Method1(void, apply, IN, osg::LOD &, node,
Properties::VIRTUAL,
__void__apply__LOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::PagedLOD &, node,
Properties::VIRTUAL,
__void__apply__PagedLOD_R1,
"",
"");
I_Method1(void, apply, IN, osg::ClearNode &, node,
Properties::VIRTUAL,
__void__apply__ClearNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::OccluderNode &, node,
Properties::VIRTUAL,
__void__apply__OccluderNode_R1,
"",
"");
I_Method1(void, apply, IN, osg::OcclusionQueryNode &, node,
Properties::VIRTUAL,
__void__apply__OcclusionQueryNode_R1,
"",
"");
I_Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler,
Properties::NON_VIRTUAL,
__void__setDatabaseRequestHandler__DatabaseRequestHandler_P1,
"Set the handler for database requests. ",
"");
I_Method0(osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler,
Properties::NON_VIRTUAL,
__DatabaseRequestHandler_P1__getDatabaseRequestHandler,
"Get the handler for database requests. ",
"");
I_Method0(const osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler,
Properties::NON_VIRTUAL,
__C5_DatabaseRequestHandler_P1__getDatabaseRequestHandler,
"Get the const handler for database requests. ",
"");
I_Method1(void, setImageRequestHandler, IN, osg::NodeVisitor::ImageRequestHandler *, handler,
Properties::NON_VIRTUAL,
__void__setImageRequestHandler__ImageRequestHandler_P1,
"Set the handler for image requests. ",
"");
I_Method0(osg::NodeVisitor::ImageRequestHandler *, getImageRequestHandler,
Properties::NON_VIRTUAL,
__ImageRequestHandler_P1__getImageRequestHandler,
"Get the handler for image requests. ",
"");
I_Method0(const osg::NodeVisitor::ImageRequestHandler *, getImageRequestHandler,
Properties::NON_VIRTUAL,
__C5_ImageRequestHandler_P1__getImageRequestHandler,
"Get the const handler for image requests. ",
"");
I_SimpleProperty(osg::NodeVisitor::DatabaseRequestHandler *, DatabaseRequestHandler,
__DatabaseRequestHandler_P1__getDatabaseRequestHandler,
__void__setDatabaseRequestHandler__DatabaseRequestHandler_P1);
I_SimpleProperty(osg::Vec3, EyePoint,
__osg_Vec3__getEyePoint,
0);
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
0,
__void__setFrameStamp__FrameStamp_P1);
I_SimpleProperty(osg::NodeVisitor::ImageRequestHandler *, ImageRequestHandler,
__ImageRequestHandler_P1__getImageRequestHandler,
__void__setImageRequestHandler__ImageRequestHandler_P1);
I_SimpleProperty(osg::Node::NodeMask, NodeMaskOverride,
__Node_NodeMask__getNodeMaskOverride,
__void__setNodeMaskOverride__Node_NodeMask);
I_SimpleProperty(osg::NodePath &, NodePath,
__NodePath_R1__getNodePath,
0);
I_SimpleProperty(osg::Node::NodeMask, TraversalMask,
__Node_NodeMask__getTraversalMask,
__void__setTraversalMask__Node_NodeMask);
I_SimpleProperty(osg::NodeVisitor::TraversalMode, TraversalMode,
__TraversalMode__getTraversalMode,
__void__setTraversalMode__TraversalMode);
I_SimpleProperty(int, TraversalNumber,
__int__getTraversalNumber,
__void__setTraversalNumber__int);
I_SimpleProperty(osg::Referenced *, UserData,
__Referenced_P1__getUserData,
__void__setUserData__Referenced_P1);
I_SimpleProperty(osg::Vec3, ViewPoint,
__osg_Vec3__getViewPoint,
0);
I_SimpleProperty(osg::NodeVisitor::VisitorType, VisitorType,
__VisitorType__getVisitorType,
__void__setVisitorType__VisitorType);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::DatabaseRequestHandler)
I_DeclaringFile("osg/NodeVisitor");
I_BaseType(osg::Referenced);
I_Constructor0(____DatabaseRequestHandler,
"",
"");
I_MethodWithDefaults6(void, requestNodeFile, IN, const std::string &, fileName, , IN, osg::Group *, group, , IN, float, priority, , IN, const osg::FrameStamp *, framestamp, , IN, osg::ref_ptr< osg::Referenced > &, databaseRequest, , IN, const osg::Referenced *, options, 0,
Properties::PURE_VIRTUAL,
__void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_FrameStamp_P1__osg_ref_ptrT1_osg_Referenced__R1__C5_osg_Referenced_P1,
"",
"");
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::ImageRequestHandler)
I_DeclaringFile("osg/NodeVisitor");
I_BaseType(osg::Referenced);
I_Constructor0(____ImageRequestHandler,
"",
"");
I_Method0(double, getPreLoadTime,
Properties::PURE_VIRTUAL,
__double__getPreLoadTime,
"",
"");
I_Method1(osg::Image *, readImageFile, IN, const std::string &, fileName,
Properties::PURE_VIRTUAL,
__osg_Image_P1__readImageFile__C5_std_string_R1,
"",
"");
I_Method5(void, requestImageFile, IN, const std::string &, fileName, IN, osg::Object *, attachmentPoint, IN, int, attachmentIndex, IN, double, timeToMergeBy, IN, const osg::FrameStamp *, framestamp,
Properties::PURE_VIRTUAL,
__void__requestImageFile__C5_std_string_R1__osg_Object_P1__int__double__C5_FrameStamp_P1,
"",
"");
I_SimpleProperty(double, PreLoadTime,
__double__getPreLoadTime,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Referenced >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::Referenced *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::Referenced > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::Referenced *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::Referenced *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::Referenced > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::Referenced *, ,
__T_P1__get,
0);
END_REFLECTOR

View File

@@ -1,59 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Notify>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NotifyHandler)
I_DeclaringFile("osg/Notify");
I_BaseType(osg::Referenced);
I_Constructor0(____NotifyHandler,
"",
"");
I_Method2(void, notify, IN, osg::NotifySeverity, severity, IN, const char *, message,
Properties::PURE_VIRTUAL,
__void__notify__osg_NotifySeverity__C5_char_P1,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::StandardNotifyHandler)
I_DeclaringFile("osg/Notify");
I_BaseType(osg::NotifyHandler);
I_Constructor0(____StandardNotifyHandler,
"",
"");
I_Method2(void, notify, IN, osg::NotifySeverity, severity, IN, const char *, message,
Properties::VIRTUAL,
__void__notify__osg_NotifySeverity__C5_char_P1,
"",
"");
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::NotifySeverity)
I_DeclaringFile("osg/Notify");
I_EnumLabel(osg::ALWAYS);
I_EnumLabel(osg::FATAL);
I_EnumLabel(osg::WARN);
I_EnumLabel(osg::NOTICE);
I_EnumLabel(osg::INFO);
I_EnumLabel(osg::DEBUG_INFO);
I_EnumLabel(osg::DEBUG_FP);
END_REFLECTOR

View File

@@ -1,138 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Referenced>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::Object::DataVariance)
I_DeclaringFile("osg/Object");
I_EnumLabel(osg::Object::DYNAMIC);
I_EnumLabel(osg::Object::STATIC);
I_EnumLabel(osg::Object::UNSPECIFIED);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Object)
I_DeclaringFile("osg/Object");
I_BaseType(osg::Referenced);
I_Constructor0(____Object,
"Construct an object. ",
"Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived classes which override the clone and className methods are concrete classes and can be constructed. ");
I_Constructor1(IN, bool, threadSafeRefUnref,
Properties::EXPLICIT,
____Object__bool,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Object &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Object__C5_Object_R1__C5_CopyOp_R1,
"Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data. ",
"");
I_Method0(osg::Object *, cloneType,
Properties::PURE_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::PURE_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 *, x,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::PURE_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::PURE_VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method1(void, setName, IN, const std::string &, name,
Properties::NON_VIRTUAL,
__void__setName__C5_std_string_R1,
"Set the name of object using C++ style string. ",
"");
I_Method1(void, setName, IN, const char *, name,
Properties::NON_VIRTUAL,
__void__setName__C5_char_P1,
"Set the name of object using a C style string. ",
"");
I_Method0(const std::string &, getName,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getName,
"Get the name of object. ",
"");
I_Method1(void, setDataVariance, IN, osg::Object::DataVariance, dv,
Properties::NON_VIRTUAL,
__void__setDataVariance__DataVariance,
"Set the data variance of this object. ",
"Can be set to either STATIC for values that do not change over the lifetime of the object, or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value can be used by routines such as optimization codes that wish to share static data. UNSPECIFIED is used to specify that the DataVariance hasn't been set yet. ");
I_Method0(osg::Object::DataVariance, getDataVariance,
Properties::NON_VIRTUAL,
__DataVariance__getDataVariance,
"Get the data variance of this object. ",
"");
I_Method0(void, computeDataVariance,
Properties::VIRTUAL,
__void__computeDataVariance,
"Compute the DataVariance based on an assessment of callback etc. ",
"");
I_Method1(void, setUserData, IN, osg::Referenced *, obj,
Properties::NON_VIRTUAL,
__void__setUserData__Referenced_P1,
"Set user data, data must be subclassed from Referenced to allow automatic memory handling. ",
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own object and handles the memory addressing. ");
I_Method0(osg::Referenced *, getUserData,
Properties::NON_VIRTUAL,
__Referenced_P1__getUserData,
"Get user data. ",
"");
I_Method0(const osg::Referenced *, getUserData,
Properties::NON_VIRTUAL,
__C5_Referenced_P1__getUserData,
"Get const user data. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned,
"Resize any per context GLObject buffers to specified size. ",
"");
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_SimpleProperty(osg::Object::DataVariance, DataVariance,
__DataVariance__getDataVariance,
__void__setDataVariance__DataVariance);
I_SimpleProperty(const std::string &, Name,
__C5_std_string_R1__getName,
__void__setName__C5_std_string_R1);
I_SimpleProperty(osg::Referenced *, UserData,
__Referenced_P1__getUserData,
__void__setUserData__Referenced_P1);
END_REFLECTOR

View File

@@ -1,92 +0,0 @@
// ***************************************************************************
//
// 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/ConvexPlanarOccluder>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/OccluderNode>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::OccluderNode)
I_DeclaringFile("osg/OccluderNode");
I_BaseType(osg::Group);
I_Constructor0(____OccluderNode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::OccluderNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____OccluderNode__C5_OccluderNode_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 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_Method1(void, setOccluder, IN, osg::ConvexPlanarOccluder *, occluder,
Properties::NON_VIRTUAL,
__void__setOccluder__ConvexPlanarOccluder_P1,
"Attach a ConvexPlanarOccluder to an OccluderNode. ",
"");
I_Method0(osg::ConvexPlanarOccluder *, getOccluder,
Properties::NON_VIRTUAL,
__ConvexPlanarOccluder_P1__getOccluder,
"Get the ConvexPlanarOccluder* attached to a OccluderNode. ",
"");
I_Method0(const osg::ConvexPlanarOccluder *, getOccluder,
Properties::NON_VIRTUAL,
__C5_ConvexPlanarOccluder_P1__getOccluder,
"Get the const ConvexPlanarOccluder* attached to a OccluderNode. ",
"");
I_Method0(osg::BoundingSphere, computeBound,
Properties::VIRTUAL,
__BoundingSphere__computeBound,
"Overrides Group's computeBound. ",
"");
I_SimpleProperty(osg::ConvexPlanarOccluder *, Occluder,
__ConvexPlanarOccluder_P1__getOccluder,
__void__setOccluder__ConvexPlanarOccluder_P1);
END_REFLECTOR

View File

@@ -1,206 +0,0 @@
// ***************************************************************************
//
// 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

View File

@@ -1,271 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Object>
#include <osg/OperationThread>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Operation)
I_DeclaringFile("osg/OperationThread");
I_VirtualBaseType(osg::Referenced);
I_Constructor2(IN, const std::string &, name, IN, bool, keep,
____Operation__C5_std_string_R1__bool,
"",
"");
I_Method1(void, setName, IN, const std::string &, name,
Properties::NON_VIRTUAL,
__void__setName__C5_std_string_R1,
"Set the human readable name of the operation. ",
"");
I_Method0(const std::string &, getName,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getName,
"Get the human readable name of the operation. ",
"");
I_Method1(void, setKeep, IN, bool, keep,
Properties::NON_VIRTUAL,
__void__setKeep__bool,
"Set whether the operation should be kept once its been applied. ",
"");
I_Method0(bool, getKeep,
Properties::NON_VIRTUAL,
__bool__getKeep,
"Get whether the operation should be kept once its been applied. ",
"");
I_Method0(void, release,
Properties::VIRTUAL,
__void__release,
"if this operation is a barrier then release it. ",
"");
I_ProtectedConstructor0(____Operation,
"",
"");
I_ProtectedConstructor1(IN, const osg::Operation &, op,
Properties::NON_EXPLICIT,
____Operation__C5_Operation_R1,
"",
"");
I_SimpleProperty(bool, Keep,
__bool__getKeep,
__void__setKeep__bool);
I_SimpleProperty(const std::string &, Name,
__C5_std_string_R1__getName,
__void__setName__C5_std_string_R1);
END_REFLECTOR
TYPE_NAME_ALIAS(std::set< osg::OperationThread * >, osg::OperationQueue::OperationThreads)
BEGIN_OBJECT_REFLECTOR(osg::OperationQueue)
I_DeclaringFile("osg/OperationThread");
I_BaseType(osg::Referenced);
I_Constructor0(____OperationQueue,
"",
"");
I_MethodWithDefaults1(osg::ref_ptr< osg::Operation >, getNextOperation, IN, bool, blockIfEmpty, false,
Properties::NON_VIRTUAL,
__osg_ref_ptrT1_Operation___getNextOperation__bool,
"Get the next operation from the operation queue. ",
"Return null ref_ptr<> if no operations are left in queue. ");
I_Method0(bool, empty,
Properties::NON_VIRTUAL,
__bool__empty,
"Return true if the operation queue is empty. ",
"");
I_Method0(unsigned int, getNumOperationsInQueue,
Properties::NON_VIRTUAL,
__unsigned_int__getNumOperationsInQueue,
"Return the num of pending operations that are sitting in the OperationQueue. ",
"");
I_Method1(void, add, IN, osg::Operation *, operation,
Properties::NON_VIRTUAL,
__void__add__Operation_P1,
"Add operation to end of OperationQueue, this will be executed by the operation thread once this operation gets to the head of the queue. ",
"");
I_Method1(void, remove, IN, osg::Operation *, operation,
Properties::NON_VIRTUAL,
__void__remove__Operation_P1,
"Remove operation from OperationQueue. ",
"");
I_Method1(void, remove, IN, const std::string &, name,
Properties::NON_VIRTUAL,
__void__remove__C5_std_string_R1,
"Remove named operation from OperationQueue. ",
"");
I_Method0(void, removeAllOperations,
Properties::NON_VIRTUAL,
__void__removeAllOperations,
"Remove all operations from OperationQueue. ",
"");
I_MethodWithDefaults1(void, runOperations, IN, osg::Object *, callingObject, 0,
Properties::NON_VIRTUAL,
__void__runOperations__Object_P1,
"Run the operations. ",
"");
I_Method0(void, releaseAllOperations,
Properties::NON_VIRTUAL,
__void__releaseAllOperations,
"Call release on all operations. ",
"");
I_Method0(void, releaseOperationsBlock,
Properties::NON_VIRTUAL,
__void__releaseOperationsBlock,
"Release operations block that is used to block threads that are waiting on an empty operations queue. ",
"");
I_Method0(const osg::OperationQueue::OperationThreads &, getOperationThreads,
Properties::NON_VIRTUAL,
__C5_OperationThreads_R1__getOperationThreads,
"Get the set of OperationThreads that are sharing this OperationQueue. ",
"");
I_ProtectedMethod1(void, addOperationThread, IN, osg::OperationThread *, thread,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addOperationThread__OperationThread_P1,
"",
"");
I_ProtectedMethod1(void, removeOperationThread, IN, osg::OperationThread *, thread,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__removeOperationThread__OperationThread_P1,
"",
"");
I_SimpleProperty(const osg::OperationQueue::OperationThreads &, OperationThreads,
__C5_OperationThreads_R1__getOperationThreads,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::OperationThread)
I_DeclaringFile("osg/OperationThread");
I_BaseType(osg::Referenced);
I_BaseType(OpenThreads::Thread);
I_Constructor0(____OperationThread,
"",
"");
I_Method1(void, setParent, IN, osg::Object *, parent,
Properties::NON_VIRTUAL,
__void__setParent__Object_P1,
"",
"");
I_Method0(osg::Object *, getParent,
Properties::NON_VIRTUAL,
__Object_P1__getParent,
"",
"");
I_Method0(const osg::Object *, getParent,
Properties::NON_VIRTUAL,
__C5_Object_P1__getParent,
"",
"");
I_Method1(void, setOperationQueue, IN, osg::OperationQueue *, opq,
Properties::NON_VIRTUAL,
__void__setOperationQueue__OperationQueue_P1,
"Set the OperationQueue. ",
"");
I_Method0(osg::OperationQueue *, getOperationQueue,
Properties::NON_VIRTUAL,
__OperationQueue_P1__getOperationQueue,
"Get the OperationQueue. ",
"");
I_Method0(const osg::OperationQueue *, getOperationQueue,
Properties::NON_VIRTUAL,
__C5_OperationQueue_P1__getOperationQueue,
"Get the const OperationQueue. ",
"");
I_Method1(void, add, IN, osg::Operation *, operation,
Properties::NON_VIRTUAL,
__void__add__Operation_P1,
"Add operation to end of OperationQueue, this will be executed by the graphics thread once this operation gets to the head of the queue. ",
"");
I_Method1(void, remove, IN, osg::Operation *, operation,
Properties::NON_VIRTUAL,
__void__remove__Operation_P1,
"Remove operation from OperationQueue. ",
"");
I_Method1(void, remove, IN, const std::string &, name,
Properties::NON_VIRTUAL,
__void__remove__C5_std_string_R1,
"Remove named operation from OperationQueue. ",
"");
I_Method0(void, removeAllOperations,
Properties::NON_VIRTUAL,
__void__removeAllOperations,
"Remove all operations from OperationQueue. ",
"");
I_Method0(osg::ref_ptr< osg::Operation >, getCurrentOperation,
Properties::NON_VIRTUAL,
__osg_ref_ptrT1_Operation___getCurrentOperation,
"Get the operation currently being run. ",
"");
I_Method0(void, run,
Properties::VIRTUAL,
__void__run,
"Run does the opertion thread run loop. ",
"");
I_Method1(void, setDone, IN, bool, done,
Properties::NON_VIRTUAL,
__void__setDone__bool,
"",
"");
I_Method0(bool, getDone,
Properties::NON_VIRTUAL,
__bool__getDone,
"",
"");
I_Method0(int, cancel,
Properties::VIRTUAL,
__int__cancel,
"Cancel this graphics thread. ",
"");
I_SimpleProperty(osg::ref_ptr< osg::Operation >, CurrentOperation,
__osg_ref_ptrT1_Operation___getCurrentOperation,
0);
I_SimpleProperty(bool, Done,
__bool__getDone,
__void__setDone__bool);
I_SimpleProperty(osg::OperationQueue *, OperationQueue,
__OperationQueue_P1__getOperationQueue,
__void__setOperationQueue__OperationQueue_P1);
I_SimpleProperty(osg::Object *, Parent,
__Object_P1__getParent,
__void__setParent__Object_P1);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RefBlock)
I_DeclaringFile("osg/OperationThread");
I_VirtualBaseType(osg::Referenced);
I_BaseType(OpenThreads::Block);
I_Constructor0(____RefBlock,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::RefBlockCount)
I_DeclaringFile("osg/OperationThread");
I_VirtualBaseType(osg::Referenced);
I_BaseType(OpenThreads::BlockCount);
I_Constructor1(IN, unsigned, blockCount,
Properties::NON_EXPLICIT,
____RefBlockCount__unsigned,
"",
"");
END_REFLECTOR
TYPE_NAME_ALIAS(osg::OperationThread, osg::OperationsThread)
STD_SET_REFLECTOR(std::set< osg::OperationThread * >)

View File

@@ -1,324 +0,0 @@
// ***************************************************************************
//
// 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/Group>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/PagedLOD>
#include <osg/Referenced>
// 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::PagedLOD::PerRangeData >, osg::PagedLOD::PerRangeDataList)
BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
I_DeclaringFile("osg/PagedLOD");
I_BaseType(osg::LOD);
I_Constructor0(____PagedLOD,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PagedLOD__C5_PagedLOD_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 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_Method1(void, traverse, IN, osg::NodeVisitor &, x,
Properties::VIRTUAL,
__void__traverse__NodeVisitor_R1,
"Traverse downwards : calls children's accept method with NodeVisitor. ",
"");
I_Method1(bool, addChild, IN, osg::Node *, child,
Properties::VIRTUAL,
__bool__addChild__Node_P1,
"Add Node to Group. ",
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float,
"",
"");
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
Properties::VIRTUAL,
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
"",
"");
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
Properties::VIRTUAL,
__bool__removeChildren__unsigned_int__unsigned_int,
"Remove children from Group. ",
"Note, must be override by subclasses of Group which add per child attributes. ");
I_Method1(void, setDatabaseOptions, IN, osg::Referenced *, options,
Properties::NON_VIRTUAL,
__void__setDatabaseOptions__osg_Referenced_P1,
"Set the optional database osgDB::Options object to use when loaded children. ",
"");
I_Method0(osg::Referenced *, getDatabaseOptions,
Properties::NON_VIRTUAL,
__osg_Referenced_P1__getDatabaseOptions,
"Get the optional database osgDB::Options object used when loaded children. ",
"");
I_Method0(const osg::Referenced *, getDatabaseOptions,
Properties::NON_VIRTUAL,
__C5_osg_Referenced_P1__getDatabaseOptions,
"Get the optional database osgDB::Options object used when loaded children. ",
"");
I_Method1(void, setDatabasePath, IN, const std::string &, path,
Properties::NON_VIRTUAL,
__void__setDatabasePath__C5_std_string_R1,
"Set the database path to prepend to children's filenames. ",
"");
I_Method0(const std::string &, getDatabasePath,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getDatabasePath,
"Get the database path used to prepend to children's filenames. ",
"");
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
Properties::NON_VIRTUAL,
__void__setFileName__unsigned_int__C5_std_string_R1,
"",
"");
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__C5_std_string_R1__getFileName__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumFileNames,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFileNames,
"",
"");
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
Properties::NON_VIRTUAL,
__void__setPriorityOffset__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityOffset__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityOffsets,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityOffsets,
"",
"");
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
Properties::NON_VIRTUAL,
__void__setPriorityScale__unsigned_int__float,
"",
"");
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__float__getPriorityScale__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumPriorityScales,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPriorityScales,
"",
"");
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
Properties::NON_VIRTUAL,
__void__setTimeStamp__unsigned_int__double,
"",
"");
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__double__getTimeStamp__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumTimeStamps,
Properties::NON_VIRTUAL,
__unsigned_int__getNumTimeStamps,
"",
"");
I_Method2(void, setFrameNumber, IN, unsigned int, childNo, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumber__unsigned_int__int,
"",
"");
I_Method1(double, getFrameNumber, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__double__getFrameNumber__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumFrameNumbers,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFrameNumbers,
"",
"");
I_Method1(osg::ref_ptr< osg::Referenced > &, getDatabaseRequest, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__osg_ref_ptrT1_osg_Referenced__R1__getDatabaseRequest__unsigned_int,
"Return the DatabaseRequest object used by the DatabasePager to keep track of file load requests being carried on behalf of the DatabasePager. ",
"Note, in normal OSG usage you should not set this value yourself, as this will be managed by the osgDB::DatabasePager. ");
I_Method1(const osg::ref_ptr< osg::Referenced > &, getDatabaseRequest, IN, unsigned int, childNo,
Properties::NON_VIRTUAL,
__C5_osg_ref_ptrT1_osg_Referenced__R1__getDatabaseRequest__unsigned_int,
"Return the const DatabaseRequest object. ",
"");
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
Properties::NON_VIRTUAL,
__void__setFrameNumberOfLastTraversal__int,
"Set the frame number of the last time that this PageLOD node was traversed. ",
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.). ");
I_Method0(int, getFrameNumberOfLastTraversal,
Properties::NON_VIRTUAL,
__int__getFrameNumberOfLastTraversal,
"Get the frame number of the last time that this PageLOD node was traversed. ",
"");
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
Properties::NON_VIRTUAL,
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
Properties::NON_VIRTUAL,
__unsigned_int__getNumChildrenThatCannotBeExpired,
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
"");
I_Method1(void, setDisableExternalChildrenPaging, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setDisableExternalChildrenPaging__bool,
"Set wether you want to disable the paging in of external nodes. ",
"");
I_Method0(bool, getDisableExternalChildrenPaging,
Properties::NON_VIRTUAL,
__bool__getDisableExternalChildrenPaging,
"",
"");
I_Method3(bool, removeExpiredChildren, IN, double, expiryTime, IN, int, expiryFrame, IN, osg::NodeList &, removedChildren,
Properties::VIRTUAL,
__bool__removeExpiredChildren__double__int__NodeList_R1,
"Remove the children from the PagedLOD which haven't been visited since specified expiry time and expiry frame number. ",
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
I_Method2(bool, releaseGLObjectsOnExpiredChildren, IN, double, releaseTime, IN, int, releaseFrame,
Properties::VIRTUAL,
__bool__releaseGLObjectsOnExpiredChildren__double__int,
"Release the GL Objects of the children from the PagedLOD which haven't been visited since specified expiry time and expiry frame number. ",
"Return true if any children have release called upon them, false otherwise. ");
I_ProtectedMethod1(void, expandPerRangeDataTo, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__expandPerRangeDataTo__unsigned_int,
"",
"");
I_SimpleProperty(osg::Referenced *, DatabaseOptions,
__osg_Referenced_P1__getDatabaseOptions,
__void__setDatabaseOptions__osg_Referenced_P1);
I_SimpleProperty(const std::string &, DatabasePath,
__C5_std_string_R1__getDatabasePath,
__void__setDatabasePath__C5_std_string_R1);
I_SimpleProperty(bool, DisableExternalChildrenPaging,
__bool__getDisableExternalChildrenPaging,
__void__setDisableExternalChildrenPaging__bool);
I_ArrayProperty(const std::string &, FileName,
__C5_std_string_R1__getFileName__unsigned_int,
__void__setFileName__unsigned_int__C5_std_string_R1,
__unsigned_int__getNumFileNames,
0,
0,
0);
I_ArrayProperty(double, FrameNumber,
__double__getFrameNumber__unsigned_int,
0,
__unsigned_int__getNumFrameNumbers,
0,
0,
0);
I_SimpleProperty(int, FrameNumberOfLastTraversal,
__int__getFrameNumberOfLastTraversal,
__void__setFrameNumberOfLastTraversal__int);
I_SimpleProperty(unsigned int, NumChildrenThatCannotBeExpired,
0,
__void__setNumChildrenThatCannotBeExpired__unsigned_int);
I_ArrayProperty(float, PriorityOffset,
__float__getPriorityOffset__unsigned_int,
__void__setPriorityOffset__unsigned_int__float,
__unsigned_int__getNumPriorityOffsets,
0,
0,
0);
I_ArrayProperty(float, PriorityScale,
__float__getPriorityScale__unsigned_int,
__void__setPriorityScale__unsigned_int__float,
__unsigned_int__getNumPriorityScales,
0,
0,
0);
I_ArrayProperty(double, TimeStamp,
__double__getTimeStamp__unsigned_int,
__void__setTimeStamp__unsigned_int__double,
__unsigned_int__getNumTimeStamps,
0,
0,
0);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::PagedLOD::PerRangeData)
I_DeclaringFile("osg/PagedLOD");
I_Constructor0(____PerRangeData,
"",
"");
I_Constructor1(IN, const osg::PagedLOD::PerRangeData &, prd,
Properties::NON_EXPLICIT,
____PerRangeData__C5_PerRangeData_R1,
"",
"");
I_PublicMemberProperty(std::string, _filename);
I_PublicMemberProperty(float, _priorityOffset);
I_PublicMemberProperty(float, _priorityScale);
I_PublicMemberProperty(double, _timeStamp);
I_PublicMemberProperty(int, _frameNumber);
I_PublicMemberProperty(int, _frameNumberOfLastReleaseGLObjects);
I_PublicMemberProperty(osg::ref_ptr< osg::Referenced >, _databaseRequest);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::PagedLOD::PerRangeData >)

View File

@@ -1,214 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/Matrix>
#include <osg/Plane>
#include <osg/Vec3d>
#include <osg/Vec3f>
#include <osg/Vec4d>
#include <osg/Vec4f>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
#include <osg/io_utils>
TYPE_NAME_ALIAS(double, osg::Plane::value_type)
TYPE_NAME_ALIAS(osg::Vec3d, osg::Plane::Vec3_type)
TYPE_NAME_ALIAS(osg::Vec4d, osg::Plane::Vec4_type)
BEGIN_VALUE_REFLECTOR(osg::Plane)
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
I_DeclaringFile("osg/Plane");
I_Constructor0(____Plane,
"",
"");
I_Constructor1(IN, const osg::Plane &, pl,
Properties::NON_EXPLICIT,
____Plane__C5_Plane_R1,
"",
"");
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
____Plane__value_type__value_type__value_type__value_type,
"",
"");
I_Constructor1(IN, const osg::Vec4f &, vec,
Properties::NON_EXPLICIT,
____Plane__C5_Vec4f_R1,
"",
"");
I_Constructor1(IN, const osg::Vec4d &, vec,
Properties::NON_EXPLICIT,
____Plane__C5_Vec4d_R1,
"",
"");
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
____Plane__C5_Vec3_type_R1__value_type,
"",
"");
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
"",
"");
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
"",
"");
I_Method1(void, set, IN, const osg::Plane &, pl,
Properties::NON_VIRTUAL,
__void__set__C5_Plane_R1,
"",
"");
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
Properties::NON_VIRTUAL,
__void__set__value_type__value_type__value_type__value_type,
"",
"");
I_Method1(void, set, IN, const osg::Vec4f &, vec,
Properties::NON_VIRTUAL,
__void__set__C5_Vec4f_R1,
"",
"");
I_Method1(void, set, IN, const osg::Vec4d &, vec,
Properties::NON_VIRTUAL,
__void__set__C5_Vec4d_R1,
"",
"");
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
Properties::NON_VIRTUAL,
__void__set__C5_Vec3_type_R1__double,
"",
"");
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
Properties::NON_VIRTUAL,
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
"",
"");
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
Properties::NON_VIRTUAL,
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
"",
"");
I_Method0(void, flip,
Properties::NON_VIRTUAL,
__void__flip,
"flip/reverse the orientation of the plane. ",
"");
I_Method0(void, makeUnitLength,
Properties::NON_VIRTUAL,
__void__makeUnitLength,
"",
"");
I_Method0(void, calculateUpperLowerBBCorners,
Properties::NON_VIRTUAL,
__void__calculateUpperLowerBBCorners,
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(bool, isNaN,
Properties::NON_VIRTUAL,
__bool__isNaN,
"",
"");
I_Method0(osg::Plane::value_type *, ptr,
Properties::NON_VIRTUAL,
__value_type_P1__ptr,
"",
"");
I_Method0(const osg::Plane::value_type *, ptr,
Properties::NON_VIRTUAL,
__C5_value_type_P1__ptr,
"",
"");
I_Method0(osg::Plane::Vec4_type, asVec4,
Properties::NON_VIRTUAL,
__Vec4_type__asVec4,
"",
"");
I_Method0(osg::Plane::Vec3_type, getNormal,
Properties::NON_VIRTUAL,
__Vec3_type__getNormal,
"",
"");
I_Method1(float, distance, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__float__distance__C5_osg_Vec3f_R1,
"calculate the distance between a point and the plane. ",
"");
I_Method1(double, distance, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__double__distance__C5_osg_Vec3d_R1,
"",
"");
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
Properties::NON_VIRTUAL,
__float__dotProductNormal__C5_osg_Vec3f_R1,
"calculate the dot product of the plane normal and a point. ",
"");
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
Properties::NON_VIRTUAL,
__double__dotProductNormal__C5_osg_Vec3d_R1,
"calculate the dot product of the plane normal and a point. ",
"");
I_Method1(int, intersect, IN, const std::vector< osg::Vec3f > &, vertices,
Properties::NON_VIRTUAL,
__int__intersect__C5_std_vectorT1_Vec3f__R1,
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
"");
I_Method1(int, intersect, IN, const std::vector< osg::Vec3d > &, vertices,
Properties::NON_VIRTUAL,
__int__intersect__C5_std_vectorT1_Vec3d__R1,
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
"");
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
Properties::NON_VIRTUAL,
__int__intersect__C5_BoundingSphere_R1,
"intersection test between plane and bounding sphere. ",
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
Properties::NON_VIRTUAL,
__int__intersect__C5_BoundingBox_R1,
"intersection test between plane and bounding sphere. ",
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
Properties::NON_VIRTUAL,
__void__transform__C5_osg_Matrix_R1,
"Transform the plane by matrix. ",
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
Properties::NON_VIRTUAL,
__void__transformProvidingInverse__C5_osg_Matrix_R1,
"Transform the plane by providing a pre inverted matrix. ",
"see transform for details. ");
I_SimpleProperty(osg::Plane::Vec3_type, Normal,
__Vec3_type__getNormal,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3d >)
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3f >)

View File

@@ -1,165 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/Point>
#include <osg/State>
#include <osg/StateAttribute>
#include <osg/Vec3>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osg::Point)
I_DeclaringFile("osg/Point");
I_BaseType(osg::StateAttribute);
I_Constructor0(____Point,
"",
"");
I_Constructor1(IN, float, size,
Properties::NON_EXPLICIT,
____Point__float,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Point__C5_Point_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_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, setSize, IN, float, size,
Properties::NON_VIRTUAL,
__void__setSize__float,
"",
"");
I_Method0(float, getSize,
Properties::NON_VIRTUAL,
__float__getSize,
"",
"");
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
Properties::NON_VIRTUAL,
__void__setFadeThresholdSize__float,
"",
"");
I_Method0(float, getFadeThresholdSize,
Properties::NON_VIRTUAL,
__float__getFadeThresholdSize,
"",
"");
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
Properties::NON_VIRTUAL,
__void__setDistanceAttenuation__C5_Vec3_R1,
"",
"");
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
Properties::NON_VIRTUAL,
__C5_Vec3_R1__getDistanceAttenuation,
"",
"");
I_Method1(void, setMinSize, IN, float, minSize,
Properties::NON_VIRTUAL,
__void__setMinSize__float,
"",
"");
I_Method0(float, getMinSize,
Properties::NON_VIRTUAL,
__float__getMinSize,
"",
"");
I_Method1(void, setMaxSize, IN, float, maxSize,
Properties::NON_VIRTUAL,
__void__setMaxSize__float,
"",
"");
I_Method0(float, getMaxSize,
Properties::NON_VIRTUAL,
__float__getMaxSize,
"",
"");
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_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
__Extensions_P1__getExtensions__unsigned_int__bool_S,
"Returns the Extensions object for the given context. ",
"If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
__void__setExtensions__unsigned_int__Extensions_P1_S,
"setExtensions() 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_SimpleProperty(const osg::Vec3 &, DistanceAttenuation,
__C5_Vec3_R1__getDistanceAttenuation,
__void__setDistanceAttenuation__C5_Vec3_R1);
I_SimpleProperty(float, FadeThresholdSize,
__float__getFadeThresholdSize,
__void__setFadeThresholdSize__float);
I_SimpleProperty(float, MaxSize,
__float__getMaxSize,
__void__setMaxSize__float);
I_SimpleProperty(float, MinSize,
__float__getMinSize,
__void__setMinSize__float);
I_SimpleProperty(float, Size,
__float__getSize,
__void__setSize__float);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,119 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/PointSprite>
#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_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode)
I_DeclaringFile("osg/PointSprite");
I_EnumLabel(osg::PointSprite::UPPER_LEFT);
I_EnumLabel(osg::PointSprite::LOWER_LEFT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
I_DeclaringFile("osg/PointSprite");
I_BaseType(osg::StateAttribute);
I_Constructor0(____PointSprite,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PointSprite__C5_PointSprite_R1__C5_osg_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_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
Properties::VIRTUAL,
__bool__getModeUsage__StateAttribute_ModeUsage_R1,
"Return the modes associated with this StateAttribute. ",
"");
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
Properties::VIRTUAL,
__bool__checkValidityOfAssociatedModes__osg_State_R1,
"Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
"Return true if all associated modes are valid. ");
I_Method0(bool, isTextureAttribute,
Properties::VIRTUAL,
__bool__isTextureAttribute,
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
"");
I_Method1(void, apply, IN, osg::State &, x,
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, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
Properties::NON_VIRTUAL,
__void__setCoordOriginMode__CoordOriginMode,
"",
"");
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
Properties::NON_VIRTUAL,
__CoordOriginMode__getCoordOriginMode,
"",
"");
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
__bool__isPointSpriteSupported__unsigned_int_S,
"",
"");
I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode,
__CoordOriginMode__getCoordOriginMode,
__void__setCoordOriginMode__CoordOriginMode);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,121 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/PolygonMode>
#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_ENUM_REFLECTOR(osg::PolygonMode::Mode)
I_DeclaringFile("osg/PolygonMode");
I_EnumLabel(osg::PolygonMode::POINT);
I_EnumLabel(osg::PolygonMode::LINE);
I_EnumLabel(osg::PolygonMode::FILL);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face)
I_DeclaringFile("osg/PolygonMode");
I_EnumLabel(osg::PolygonMode::FRONT_AND_BACK);
I_EnumLabel(osg::PolygonMode::FRONT);
I_EnumLabel(osg::PolygonMode::BACK);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
I_DeclaringFile("osg/PolygonMode");
I_BaseType(osg::StateAttribute);
I_Constructor0(____PolygonMode,
"",
"");
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
____PolygonMode__Face__Mode,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PolygonMode__C5_PolygonMode_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_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
Properties::NON_VIRTUAL,
__void__setMode__Face__Mode,
"",
"");
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face,
Properties::NON_VIRTUAL,
__Mode__getMode__Face,
"",
"");
I_Method0(bool, getFrontAndBack,
Properties::NON_VIRTUAL,
__bool__getFrontAndBack,
"",
"");
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(bool, FrontAndBack,
__bool__getFrontAndBack,
0);
I_IndexedProperty(osg::PolygonMode::Mode, Mode,
__Mode__getMode__Face,
__void__setMode__Face__Mode,
0);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
END_REFLECTOR

View File

@@ -1,140 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/PolygonOffset>
#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::PolygonOffset)
I_DeclaringFile("osg/PolygonOffset");
I_BaseType(osg::StateAttribute);
I_Constructor0(____PolygonOffset,
"",
"");
I_Constructor2(IN, float, factor, IN, float, units,
____PolygonOffset__float__float,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____PolygonOffset__C5_PolygonOffset_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_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, setFactor, IN, float, factor,
Properties::NON_VIRTUAL,
__void__setFactor__float,
"",
"");
I_Method0(float, getFactor,
Properties::NON_VIRTUAL,
__float__getFactor,
"",
"");
I_Method1(void, setUnits, IN, float, units,
Properties::NON_VIRTUAL,
__void__setUnits__float,
"",
"");
I_Method0(float, getUnits,
Properties::NON_VIRTUAL,
__float__getUnits,
"",
"");
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_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
__void__setFactorMultiplier__float_S,
"",
"");
I_StaticMethod0(float, getFactorMultiplier,
__float__getFactorMultiplier_S,
"",
"");
I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier,
__void__setUnitsMultiplier__float_S,
"",
"");
I_StaticMethod0(float, getUnitsMultiplier,
__float__getUnitsMultiplier_S,
"",
"");
I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet,
__bool__areFactorAndUnitsMultipliersSet_S,
"",
"");
I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver,
__void__setFactorAndUnitsMultipliersUsingBestGuessForDriver_S,
"Checks with the OpenGL driver to try and pick multiplier appropriate for the hardware. ",
"note, requires a valid graphics context to be current. ");
I_SimpleProperty(float, Factor,
__float__getFactor,
__void__setFactor__float);
I_SimpleProperty(osg::StateAttribute::Type, Type,
__Type__getType,
0);
I_SimpleProperty(float, Units,
__float__getUnits,
__void__setUnits__float);
END_REFLECTOR

Some files were not shown because too many files have changed in this diff Show More