Updated wrappers
This commit is contained in:
@@ -85,7 +85,7 @@ class OSG_EXPORT CullSettings
|
||||
unsigned int getInheritanceMask() const { return _inheritanceMask; }
|
||||
|
||||
/** Set the local cull settings values from specified CullSettings object.*/
|
||||
void setCullSettings(const CullSettings& settings) { inheritCullSettings(settings, ALL_VARIABLES); }
|
||||
void setCullSettings(const CullSettings& settings);
|
||||
|
||||
/** Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask.*/
|
||||
virtual void inheritCullSettings(const CullSettings& settings) { inheritCullSettings(settings, _inheritanceMask); }
|
||||
|
||||
@@ -31,6 +31,7 @@ class OSG_EXPORT CullStack : public osg::CullSettings
|
||||
|
||||
|
||||
CullStack();
|
||||
CullStack(const CullStack& cs);
|
||||
|
||||
~CullStack();
|
||||
|
||||
|
||||
@@ -48,6 +48,28 @@ void CullSettings::setDefaults()
|
||||
//_nearFarRatio = 0.00005f;
|
||||
}
|
||||
|
||||
void CullSettings::setCullSettings(const CullSettings& rhs)
|
||||
{
|
||||
_inheritanceMask = rhs._inheritanceMask;
|
||||
|
||||
_computeNearFar = rhs._computeNearFar;
|
||||
_cullingMode = rhs._cullingMode;
|
||||
_LODScale = rhs._LODScale;
|
||||
_smallFeatureCullingPixelSize = rhs._smallFeatureCullingPixelSize;
|
||||
|
||||
_clampProjectionMatrixCallback = rhs._clampProjectionMatrixCallback;
|
||||
_nearFarRatio = rhs._nearFarRatio;
|
||||
_impostorActive = rhs._impostorActive;
|
||||
_depthSortImpostorSprites = rhs._depthSortImpostorSprites;
|
||||
_impostorPixelErrorThreshold = rhs._impostorPixelErrorThreshold;
|
||||
_numFramesToKeepImpostorSprites = rhs._numFramesToKeepImpostorSprites;
|
||||
|
||||
_cullMask = rhs._cullMask;
|
||||
_cullMaskLeft = rhs._cullMaskLeft;
|
||||
_cullMaskRight = rhs._cullMaskRight;
|
||||
}
|
||||
|
||||
|
||||
void CullSettings::inheritCullSettings(const CullSettings& settings, unsigned int inheritanceMask)
|
||||
{
|
||||
if (inheritanceMask & COMPUTE_NEAR_FAR_MODE) _computeNearFar = settings._computeNearFar;
|
||||
|
||||
@@ -32,6 +32,21 @@ CullStack::CullStack()
|
||||
_referenceViewPoints.push_back(osg::Vec3(0.0f,0.0f,0.0f));
|
||||
}
|
||||
|
||||
CullStack::CullStack(const CullStack& cs):
|
||||
CullSettings(cs)
|
||||
{
|
||||
_frustumVolume=-1.0f;
|
||||
_bbCornerNear = 0;
|
||||
_bbCornerFar = 7;
|
||||
_currentReuseMatrixIndex=0;
|
||||
_identity = new RefMatrix();
|
||||
|
||||
_index_modelviewCullingStack = 0;
|
||||
_back_modelviewCullingStack = 0;
|
||||
|
||||
_referenceViewPoints.push_back(osg::Vec3(0.0f,0.0f,0.0f));
|
||||
}
|
||||
|
||||
|
||||
CullStack::~CullStack()
|
||||
{
|
||||
|
||||
@@ -144,7 +144,7 @@ Renderer::Renderer(osg::Camera* camera):
|
||||
osgViewer::View* view = dynamic_cast<osgViewer::View*>(_camera->getView());
|
||||
|
||||
osg::DisplaySettings* ds = _camera->getDisplaySettings() ? _camera->getDisplaySettings() :
|
||||
((view &&view->getDisplaySettings()) ? view->getDisplaySettings() : osg::DisplaySettings::instance());
|
||||
((view && view->getDisplaySettings()) ? view->getDisplaySettings() : osg::DisplaySettings::instance());
|
||||
|
||||
_sceneView[0]->setGlobalStateSet(stateset);
|
||||
_sceneView[1]->setGlobalStateSet(stateset);
|
||||
|
||||
@@ -35,16 +35,16 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::Condition)
|
||||
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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -29,16 +29,16 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::Mutex)
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
"Lock the mutex. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -30,16 +30,16 @@ BEGIN_OBJECT_REFLECTOR(OpenThreads::ReentrantMutex)
|
||||
Properties::VIRTUAL,
|
||||
__int__lock,
|
||||
"Lock the mutex. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -47,17 +47,17 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getThreadId,
|
||||
"Get a unique thread id. ",
|
||||
"This id is monotonically increasing.a unique thread identifier ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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,
|
||||
@@ -67,42 +67,42 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
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.");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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,
|
||||
@@ -112,42 +112,42 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__detach,
|
||||
"Detach the thread from the calling process. ",
|
||||
"0 if normal, -1 if errno set, errno code otherwise. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"(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. ");
|
||||
"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. ");
|
||||
"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.");
|
||||
"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.");
|
||||
"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,
|
||||
@@ -157,15 +157,15 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::Thread)
|
||||
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.");
|
||||
"This binds a thread to a processor whenever possible. This call must be made before start() or startThread() and has no effect after the thread has been running. In the pthreads implementation, this is only implemented on sgi, through a pthread extension. On other pthread platforms this is ignored. Returns 0 on success, implementation's error on failure, or -1 if ignored. ");
|
||||
I_StaticMethod1(int, SetConcurrency, IN, int, concurrencyLevel,
|
||||
__int__SetConcurrency__int_S,
|
||||
"Set the concurrency level for a running application. ",
|
||||
"This method only has effect if the pthreads thread model is being used, and then only when that model is many-to-one (eg. irix). in other cases it is ignored. The concurrency level is only a *hint* as to the number of execution vehicles to use, the actual implementation may do anything it wants. Setting the value to 0 returns things to their default state.previous concurrency level, -1 indicates no-op. ");
|
||||
"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)");
|
||||
"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. ",
|
||||
@@ -173,19 +173,19 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(OpenThreads::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.");
|
||||
"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. ");
|
||||
"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. ");
|
||||
"(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.");
|
||||
"This is not strictly thread API but is used so often with threads. It's basically UNIX usleep. Parameter is number of microseconds we current thread to sleep. Returns 0 on succes, non-zero on failure (UNIX errno or GetLastError() will give detailed description. ");
|
||||
I_SimpleProperty(void *, Implementation,
|
||||
__void_P1__getImplementation,
|
||||
0);
|
||||
|
||||
@@ -119,7 +119,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -173,7 +173,7 @@ BEGIN_OBJECT_REFLECTOR(osg::AutoTransform)
|
||||
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).");
|
||||
"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,
|
||||
|
||||
@@ -99,7 +99,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
|
||||
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.");
|
||||
"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. ",
|
||||
|
||||
@@ -105,7 +105,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
|
||||
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.");
|
||||
"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. ",
|
||||
|
||||
@@ -175,7 +175,7 @@ BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
|
||||
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.");
|
||||
"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. ",
|
||||
|
||||
@@ -55,7 +55,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUsage__GLenum,
|
||||
"Set what type of usage the buffer object will have. ",
|
||||
"Options are: GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.");
|
||||
"Options are: GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY. ");
|
||||
I_Method0(GLenum, getUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getUsage,
|
||||
|
||||
@@ -107,7 +107,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ClampColor)
|
||||
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.");
|
||||
"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. ",
|
||||
|
||||
@@ -122,7 +122,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ColorMask)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -97,7 +97,7 @@ BEGIN_OBJECT_REFLECTOR(osg::CullFace)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -39,6 +39,11 @@ BEGIN_OBJECT_REFLECTOR(osg::CullStack)
|
||||
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,
|
||||
|
||||
@@ -136,7 +136,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Depth)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -114,17 +114,17 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
|
||||
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.");
|
||||
" 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.");
|
||||
" 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. ");
|
||||
"the number of parents of this node. ");
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStateSet__StateSet_P1,
|
||||
@@ -164,7 +164,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
|
||||
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().");
|
||||
"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,
|
||||
@@ -189,7 +189,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
|
||||
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. ");
|
||||
"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,
|
||||
@@ -249,12 +249,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Drawable)
|
||||
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. ");
|
||||
"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. ",
|
||||
"Operation is ignored if _useDisplayList is false. ");
|
||||
"Operation is ignored if _useDisplayList is false. ");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
|
||||
@@ -152,7 +152,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -149,7 +149,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
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.");
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
|
||||
@@ -217,7 +217,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
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.");
|
||||
"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(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
|
||||
"Mark internal FBO for deletion. ",
|
||||
|
||||
@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -74,27 +74,27 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
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.");
|
||||
" 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.");
|
||||
" 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.");
|
||||
" 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.");
|
||||
"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). ");
|
||||
"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,
|
||||
@@ -119,7 +119,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
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. ");
|
||||
"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,
|
||||
|
||||
@@ -554,7 +554,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getPrimitiveSetIndex__C5_PrimitiveSet_P1,
|
||||
"Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). ",
|
||||
"When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet())");
|
||||
"When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) ");
|
||||
I_Method1(void, setUseVertexBufferObjects, IN, bool, flag,
|
||||
Properties::VIRTUAL,
|
||||
__void__setUseVertexBufferObjects__bool,
|
||||
@@ -609,7 +609,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__areFastPathsUsed,
|
||||
"Return true if OpenGL fast paths will be used with drawing this Geometry. ",
|
||||
"Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path.");
|
||||
"Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path. ");
|
||||
I_Method0(bool, computeFastPathsUsed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeFastPathsUsed,
|
||||
@@ -669,7 +669,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__RenderInfo_R1,
|
||||
"Draw Geometry directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects.");
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects. ");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_Drawable_AttributeFunctor_R1,
|
||||
|
||||
@@ -85,22 +85,22 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
|
||||
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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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,
|
||||
@@ -110,7 +110,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
|
||||
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 futher details on implementation.");
|
||||
"Equivalent to setChild(getChildIndex(orignChild),node) See docs for setChild for futher details on implementation. ");
|
||||
I_Method0(unsigned int, getNumChildren,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumChildren,
|
||||
@@ -120,7 +120,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
|
||||
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.");
|
||||
"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,
|
||||
|
||||
@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Hint)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -112,12 +112,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
Properties::NON_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.");
|
||||
"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::NON_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.");
|
||||
"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,
|
||||
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copySubImage__int__int__int__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.");
|
||||
"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,
|
||||
@@ -262,7 +262,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
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.");
|
||||
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine. ");
|
||||
I_Method0(void, dirty,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirty,
|
||||
|
||||
@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LOD)
|
||||
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.");
|
||||
"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,
|
||||
|
||||
@@ -120,7 +120,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LightModel)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -77,7 +77,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LightSource)
|
||||
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.");
|
||||
"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,
|
||||
|
||||
@@ -98,7 +98,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineStipple)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -85,7 +85,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LineWidth)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -113,7 +113,7 @@ BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
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.");
|
||||
"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,
|
||||
@@ -141,7 +141,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
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.");
|
||||
".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,
|
||||
@@ -156,7 +156,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
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.");
|
||||
".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,
|
||||
@@ -171,7 +171,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
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.");
|
||||
"valid shininess range is 0.0 to 128.0. ");
|
||||
I_Method1(float, getShininess, IN, osg::Material::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getShininess__Face,
|
||||
@@ -186,12 +186,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
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.");
|
||||
"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.");
|
||||
"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,
|
||||
|
||||
@@ -208,37 +208,37 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixd)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeOrtho__double__double__double__double__double__double,
|
||||
"Set to an orthographic projection. ",
|
||||
"See glOrtho for further details.");
|
||||
"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 othogrraphic settings of the orthographic projection matrix. ",
|
||||
"Note, if matrix is not an orthographic matrix then invalid values will be returned.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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,
|
||||
@@ -445,19 +445,19 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixd)
|
||||
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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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. ",
|
||||
|
||||
@@ -208,37 +208,37 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixf)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeOrtho__double__double__double__double__double__double,
|
||||
"Set to an orthographic projection. ",
|
||||
"See glOrtho for further details.");
|
||||
"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 othogrraphic settings of the orthographic projection matrix. ",
|
||||
"Note, if matrix is not an orthographic matrix then invalid values will be returned.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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,
|
||||
@@ -445,19 +445,19 @@ BEGIN_VALUE_REFLECTOR(osg::Matrixf)
|
||||
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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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.");
|
||||
"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. ",
|
||||
|
||||
@@ -115,7 +115,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
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.");
|
||||
"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. ",
|
||||
|
||||
@@ -124,12 +124,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Node)
|
||||
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.");
|
||||
" 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. ");
|
||||
"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,
|
||||
|
||||
@@ -156,7 +156,7 @@ BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUserData__Referenced_P1,
|
||||
"Set user data, data must be subclased 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.");
|
||||
"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,
|
||||
|
||||
@@ -104,7 +104,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Object)
|
||||
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.");
|
||||
"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,
|
||||
|
||||
@@ -76,7 +76,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
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.");
|
||||
"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,
|
||||
@@ -166,7 +166,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
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.).");
|
||||
"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,
|
||||
|
||||
@@ -129,7 +129,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
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.");
|
||||
"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. ",
|
||||
|
||||
@@ -94,7 +94,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
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.");
|
||||
"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,
|
||||
|
||||
@@ -106,7 +106,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
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.");
|
||||
"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,
|
||||
"",
|
||||
|
||||
@@ -88,7 +88,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
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.");
|
||||
"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 GLubyte *, Mask,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
__void__setMask__C5_GLubyte_P1);
|
||||
|
||||
@@ -632,17 +632,17 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor)
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec2_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
"Somehow mimics the OpenGL glVertexPointer() function. ");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec3_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
"Somehow mimics the OpenGL glVertexPointer() function. ");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec4_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
"Somehow mimics the OpenGL glVertexPointer() function. ");
|
||||
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__drawArrays__GLenum__GLint__GLsizei,
|
||||
|
||||
@@ -83,7 +83,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
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.");
|
||||
"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, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__C5_std_string_R1,
|
||||
|
||||
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -87,7 +87,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
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.");
|
||||
"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, addChild, IN, osg::Node *, child, IN, double, t,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__double,
|
||||
@@ -97,7 +97,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
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.");
|
||||
"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_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, double, t,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1__double,
|
||||
@@ -107,7 +107,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
Properties::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.");
|
||||
"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,
|
||||
|
||||
@@ -91,7 +91,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
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.");
|
||||
"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::ShadeModel::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
|
||||
@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__RenderInfo_R1,
|
||||
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects. ");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
|
||||
@@ -200,7 +200,7 @@ BEGIN_OBJECT_REFLECTOR(osg::State)
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__applyMode__StateAttribute_GLMode__bool,
|
||||
"Apply an OpenGL mode if required. ",
|
||||
"This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter. ");
|
||||
"This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter. ");
|
||||
I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool,
|
||||
|
||||
@@ -170,12 +170,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_StateSet_P1__getParent__unsigned_int,
|
||||
"Get a single const parent of this StateAttribute. ",
|
||||
" param i index of the parent to get. return the parent i.");
|
||||
" 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 this StateAttribute. ",
|
||||
"the number of parents of this StateAttribute. ");
|
||||
"the number of parents of this StateAttribute. ");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
@@ -220,7 +220,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
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.");
|
||||
"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,
|
||||
|
||||
@@ -115,12 +115,12 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Object_P1__getParent__unsigned_int,
|
||||
"Get a single const parent of this StateSet. ",
|
||||
" param i index of the parent to get. return the parent i.");
|
||||
" 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 this StateSet. ",
|
||||
"the number of parents of this StateSet. ");
|
||||
"the number of parents of this StateSet. ");
|
||||
I_Method0(void, computeDataVariance,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeDataVariance,
|
||||
@@ -140,22 +140,22 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__merge__C5_StateSet_R1,
|
||||
"Merge this StateSet with the StateSet passed as parameter. ",
|
||||
"Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs.");
|
||||
"Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs. ");
|
||||
I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
"Set this StateSet to contain the specified GLMode with a given value. ",
|
||||
"Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
"Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeMode__StateAttribute_GLMode,
|
||||
"Remove mode from this StateSet. ",
|
||||
"Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
"Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__StateAttribute_GLModeValue__getMode__StateAttribute_GLMode,
|
||||
"Get the value for a given GLMode. ",
|
||||
" param mode The GLMode whose value is desired. return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT. note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call.");
|
||||
" param mode The GLMode whose value is desired. return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT. note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setModeList__ModeList_R1,
|
||||
@@ -225,7 +225,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
"Set this StateSet to contain specified GLMode with a given value. ",
|
||||
" param unit The texture unit to be affected (used with multi-texturing). mode The OpenGL mode to be added to the StateSet. value The value to be assigned to mode. ");
|
||||
" param unit The texture unit to be affected (used with multi-texturing). mode The OpenGL mode to be added to the StateSet. value The value to be assigned to mode. ");
|
||||
I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeTextureMode__unsigned_int__StateAttribute_GLMode,
|
||||
@@ -365,7 +365,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRenderingHint__int,
|
||||
"Set the RenderingHint of this StateSet. ",
|
||||
"RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects).");
|
||||
"RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects). ");
|
||||
I_Method0(int, getRenderingHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getRenderingHint,
|
||||
|
||||
@@ -182,7 +182,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Stencil)
|
||||
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.");
|
||||
"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::Stencil::Function, Function,
|
||||
__Function__getFunction,
|
||||
__void__setFunction__Function);
|
||||
|
||||
@@ -188,15 +188,15 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
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.");
|
||||
"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::StencilTwoSided::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 Exentsion 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.");
|
||||
"If the Exentsion 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::StencilTwoSided::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
"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_IndexedProperty(osg::StencilTwoSided::Function, Function,
|
||||
__Function__getFunction__Face,
|
||||
__void__setFunction__Face__Function,
|
||||
|
||||
@@ -86,7 +86,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
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.");
|
||||
"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, addChild, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__bool,
|
||||
@@ -96,7 +96,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
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.");
|
||||
"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_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1__bool,
|
||||
|
||||
@@ -115,7 +115,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -296,7 +296,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
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.");
|
||||
"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_ProtectedMethod1(bool, needsTexEnvCombiner, IN, GLint, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
|
||||
@@ -90,7 +90,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
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.");
|
||||
"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(float, LodBias,
|
||||
__float__getLodBias,
|
||||
__void__setLodBias__float);
|
||||
|
||||
@@ -102,7 +102,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
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.");
|
||||
"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, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
@@ -132,7 +132,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1,
|
||||
"Set the tex gen planes from specified matrix. ",
|
||||
"Typical usage would be to pass in a projection matrix to set up projective texturing.");
|
||||
"Typical usage would be to pass in a projection matrix to set up projective texturing. ");
|
||||
I_SimpleProperty(osg::TexGen::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
|
||||
@@ -114,7 +114,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Set the texture width and height. ",
|
||||
"If width or height are zero then the repsective size value is calculated from the source image sizes.");
|
||||
"If width or height are zero then the repsective size value is calculated from the source image sizes. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
@@ -159,7 +159,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Set the number of mip map levels the the texture has been created with. ",
|
||||
"Should only be called within an osg::Texuture::apply() and custom OpenGL texture load.");
|
||||
"Should only be called within an osg::Texuture::apply() and custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
@@ -174,15 +174,15 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"On first apply (unless already compiled), create the mipmapped texture and bind it. ",
|
||||
"Subsequent apply will simple bind to texture.");
|
||||
"Subsequent apply will simple bind to texture. ");
|
||||
I_StaticMethod2(osg::TextureCubeMap::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 Exentsion 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.");
|
||||
"If the Exentsion 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::TextureCubeMap::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_ProtectedMethod0(bool, imagesValid,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
|
||||
@@ -124,7 +124,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Set the texture width and height. ",
|
||||
"If width or height are zero then the repsective size value is calculated from the source image sizes.");
|
||||
"If width or height are zero then the repsective size value is calculated from the source image sizes. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
|
||||
@@ -108,7 +108,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Transform)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the transform'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 transform, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is neccessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommended to only use absolute Transforms at the top of the scene, for such things as heads up displays. ABSOLUTE_RF_INHERIT_VIEWPOINT is the same as ABSOLUTE_RF except it adds the ability to use the parents view points position in world coordinates as its local viewpoint in the new coordinates frame. This is useful for Render to texture Cameras that wish to use the main views LOD range computation (which uses the viewpoint rather than the eye point) rather than use the local eye point defined by the this Transforms' abosolute view matrix.");
|
||||
"RELATIVE_RF is the default. Note: Setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the transform, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is neccessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommended to only use absolute Transforms at the top of the scene, for such things as heads up displays. ABSOLUTE_RF_INHERIT_VIEWPOINT is the same as ABSOLUTE_RF except it adds the ability to use the parents view points position in world coordinates as its local viewpoint in the new coordinates frame. This is useful for Render to texture Cameras that wish to use the main views LOD range computation (which uses the viewpoint rather than the eye point) rather than use the local eye point defined by the this Transforms' abosolute view matrix. ");
|
||||
I_Method0(osg::Transform::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
@@ -128,7 +128,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Transform)
|
||||
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).");
|
||||
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). ");
|
||||
I_SimpleProperty(osg::Transform::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
|
||||
@@ -318,12 +318,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Uniform)
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_StateSet_P1__getParent__unsigned_int,
|
||||
"Get a single const parent of this Uniform. ",
|
||||
" param i index of the parent to get. return the parent i.");
|
||||
" 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 this Uniform. ",
|
||||
"the number of parents of this Uniform. ");
|
||||
"the number of parents of this Uniform. ");
|
||||
I_Method1(bool, set, IN, float, f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__set__float,
|
||||
|
||||
@@ -100,6 +100,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2d)
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
"Returns the previous length of the vector. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -94,6 +94,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2f)
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
"Returns the previous length of the vector. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -120,6 +120,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec3d)
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
"Returns the previous length of the vector. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -114,6 +114,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec3f)
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
"Returns the previous length of the vector. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -175,6 +175,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4d)
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
"Returns the previous length of the vector. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -169,6 +169,6 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4f)
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
"Returns the previous length of the vector. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -149,7 +149,7 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
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.");
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
@@ -176,11 +176,11 @@ BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
I_StaticMethod2(osg::VertexProgram::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 Exentsion 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.");
|
||||
"If the Exentsion 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::VertexProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"The setExtensions method allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions.");
|
||||
"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::VertexProgram::LocalParamList &, LocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1);
|
||||
|
||||
@@ -130,17 +130,17 @@ BEGIN_OBJECT_REFLECTOR(osg::Viewport)
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__aspectRatio,
|
||||
"Return the aspectRatio of the viewport, which is equal to width/height. ",
|
||||
"If height is zero, the potental division by zero is avoided by simply returning 1.0f.");
|
||||
"If height is zero, the potental division by zero is avoided by simply returning 1.0f. ");
|
||||
I_Method0(const osg::Matrix, computeWindowMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix__computeWindowMatrix,
|
||||
"Compute the Window Matrix which takes projected coords into Window coordinates. ",
|
||||
"To convert local coordinates into window coordinates use v_window = v_local * MVPW matrix, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the latter supplied by Viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the current osg::State object, via osgUtil::SceneView or CullVisitor.");
|
||||
"To convert local coordinates into window coordinates use v_window = v_local * MVPW matrix, where the MVPW matrix is ModelViewMatrix * ProjectionMatrix * WindowMatrix, the latter supplied by Viewport::computeWindowMatrix(), the ModelView and Projection Matrix can either be sourced from the current osg::State object, via osgUtil::SceneView or CullVisitor. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
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.");
|
||||
"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);
|
||||
|
||||
@@ -183,7 +183,7 @@ BEGIN_OBJECT_REFLECTOR(osgDB::DatabasePager)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTargetFrameRate__double,
|
||||
"Set the target frame rate that the DatabasePager should assume. ",
|
||||
"Typically one would set this to the value refresh rate of your display system i.e. 60Hz. Default value is 100. Usage notes. The TargetFrameRate and the MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters are not directly used by DatabasePager, but are should be used as a guide for how long to set aside per frame for compiling and deleting OpenGL objects - ie. the value to use when calling DatabasePager::compileGLObjectgs(state,availableTime,). The longer amount of time to set aside cthe faster databases will be paged in but with increased chance of frame drops, the lower the amount of time the set aside the slower databases will paged it but with better chance of avoid any frame drops. The default values are chosen to achieve the later when running on a modern mid to high end PC. The way to compute the amount of available time use a scheme such as : availableTime = maximum(1.0/targetFrameRate - timeTakenDuringUpdateCullAndDraw, minimumTimeAvailableForGLCompileAndDeletePerFrame).");
|
||||
"Typically one would set this to the value refresh rate of your display system i.e. 60Hz. Default value is 100. Usage notes. The TargetFrameRate and the MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters are not directly used by DatabasePager, but are should be used as a guide for how long to set aside per frame for compiling and deleting OpenGL objects - ie. the value to use when calling DatabasePager::compileGLObjectgs(state,availableTime,). The longer amount of time to set aside cthe faster databases will be paged in but with increased chance of frame drops, the lower the amount of time the set aside the slower databases will paged it but with better chance of avoid any frame drops. The default values are chosen to achieve the later when running on a modern mid to high end PC. The way to compute the amount of available time use a scheme such as : availableTime = maximum(1.0/targetFrameRate - timeTakenDuringUpdateCullAndDraw, minimumTimeAvailableForGLCompileAndDeletePerFrame). ");
|
||||
I_Method0(double, getTargetFrameRate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTargetFrameRate,
|
||||
|
||||
@@ -109,7 +109,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::AnisotropicLighting)
|
||||
Properties::NON_CONST,
|
||||
__bool__define_techniques,
|
||||
"abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ",
|
||||
"You will usually call addTechnique() inside this method.");
|
||||
"You will usually call addTechnique() inside this method. ");
|
||||
I_SimpleProperty(int, LightNumber,
|
||||
__int__getLightNumber,
|
||||
__void__setLightNumber__int);
|
||||
|
||||
@@ -145,7 +145,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::BumpMapping)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__prepareGeometry__osg_Geometry_P1,
|
||||
"prepare a Geometry for bump lighting. ",
|
||||
"Tangent-space basis vectors are generated and attached to the geometry as vertex attribute arrays.");
|
||||
"Tangent-space basis vectors are generated and attached to the geometry as vertex attribute arrays. ");
|
||||
I_Method1(void, prepareNode, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__prepareNode__osg_Node_P1,
|
||||
@@ -166,7 +166,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::BumpMapping)
|
||||
Properties::NON_CONST,
|
||||
__bool__define_techniques,
|
||||
"abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ",
|
||||
"You will usually call addTechnique() inside this method.");
|
||||
"You will usually call addTechnique() inside this method. ");
|
||||
I_SimpleProperty(int, DiffuseTextureUnit,
|
||||
__int__getDiffuseTextureUnit,
|
||||
__void__setDiffuseTextureUnit__int);
|
||||
|
||||
@@ -114,7 +114,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::Cartoon)
|
||||
Properties::NON_CONST,
|
||||
__bool__define_techniques,
|
||||
"abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ",
|
||||
"You will usually call addTechnique() inside this method.");
|
||||
"You will usually call addTechnique() inside this method. ");
|
||||
I_SimpleProperty(int, LightNumber,
|
||||
__int__getLightNumber,
|
||||
__void__setLightNumber__int);
|
||||
|
||||
@@ -83,7 +83,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Effect)
|
||||
Properties::VIRTUAL,
|
||||
__void__setUpDemo,
|
||||
"optional: set effect parameters to produce a visually significant result to be used in demo applications like osgfxbrowser. ",
|
||||
"Default is to do nothing.");
|
||||
"Default is to do nothing. ");
|
||||
I_Method0(int, getNumTechniques,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumTechniques,
|
||||
@@ -136,7 +136,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Effect)
|
||||
Properties::NON_CONST,
|
||||
__bool__define_techniques,
|
||||
"abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ",
|
||||
"You will usually call addTechnique() inside this method.");
|
||||
"You will usually call addTechnique() inside this method. ");
|
||||
I_SimpleProperty(bool, Enabled,
|
||||
__bool__getEnabled,
|
||||
__void__setEnabled__bool);
|
||||
|
||||
@@ -104,7 +104,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::Scribe)
|
||||
Properties::NON_CONST,
|
||||
__bool__define_techniques,
|
||||
"abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ",
|
||||
"You will usually call addTechnique() inside this method.");
|
||||
"You will usually call addTechnique() inside this method. ");
|
||||
I_SimpleProperty(const osg::Vec4 &, WireframeColor,
|
||||
__C5_osg_Vec4_R1__getWireframeColor,
|
||||
__void__setWireframeColor__C5_osg_Vec4_R1);
|
||||
|
||||
@@ -124,7 +124,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::SpecularHighlights)
|
||||
Properties::NON_CONST,
|
||||
__bool__define_techniques,
|
||||
"abstract method to be implemented in derived classes; its purpose if to create the techniques that can be used for obtaining the desired effect. ",
|
||||
"You will usually call addTechnique() inside this method.");
|
||||
"You will usually call addTechnique() inside this method. ");
|
||||
I_SimpleProperty(int, LightNumber,
|
||||
__int__getLightNumber,
|
||||
__void__setLightNumber__int);
|
||||
|
||||
@@ -44,12 +44,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique)
|
||||
Properties::VIRTUAL,
|
||||
__void__getRequiredExtensions__std_vectorT1_std_string__R1,
|
||||
"collect the GL extension strings which are required for this technique to work properly. ",
|
||||
"This method is called from the default implementation of validate().");
|
||||
"This method is called from the default implementation of validate(). ");
|
||||
I_Method1(bool, validate, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__validate__osg_State_R1,
|
||||
"tests whether this technique is valid for the current rendering context. ",
|
||||
"The default behavior is to call getRequiredExtensions() and check for extension availability.");
|
||||
"The default behavior is to call getRequiredExtensions() and check for extension availability. ");
|
||||
I_Method0(int, getNumPasses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPasses,
|
||||
@@ -69,7 +69,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique)
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1__Effect_P1,
|
||||
"traverse children with multipass if necessary. ",
|
||||
"By default this method simply calls the protected method traverse_implementation(); you can override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect");
|
||||
"By default this method simply calls the protected method traverse_implementation(); you can override it to change the default behavior. Don't call this method directly as it is called by osgFX::Effect ");
|
||||
I_ProtectedConstructor1(IN, const osgFX::Technique &, x,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Technique__C5_Technique_R1,
|
||||
@@ -98,12 +98,12 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgFX::Technique)
|
||||
Properties::NON_CONST,
|
||||
__void__define_passes,
|
||||
"define the rendering passes that make up this technique. ",
|
||||
"You must implement this method in derived classes to add the required passes.");
|
||||
"You must implement this method in derived classes to add the required passes. ");
|
||||
I_ProtectedMethod2(void, traverse_implementation, IN, osg::NodeVisitor &, nv, IN, osgFX::Effect *, fx,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__traverse_implementation__osg_NodeVisitor_R1__Effect_P1,
|
||||
"traverse children with multipass if necessary. ",
|
||||
"Don't call this method directly unless you are in a customized version of traverse().");
|
||||
"Don't call this method directly unless you are in a customized version of traverse(). ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ BEGIN_OBJECT_REFLECTOR(osgFX::Validator)
|
||||
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.");
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. ");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__osg_State_R1,
|
||||
|
||||
@@ -97,17 +97,17 @@ BEGIN_OBJECT_REFLECTOR(osgGA::AnimationPathManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(void, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method1(void, home, IN, double, currentTime,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. ");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
|
||||
@@ -60,7 +60,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
@@ -80,12 +80,12 @@ BEGIN_OBJECT_REFLECTOR(osgGA::DriveManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
|
||||
@@ -66,7 +66,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
@@ -81,12 +81,12 @@ BEGIN_OBJECT_REFLECTOR(osgGA::FlightManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
|
||||
@@ -34,11 +34,11 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::GUIActionAdapter)
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ",
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.");
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure. ");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
@@ -177,12 +177,12 @@ BEGIN_OBJECT_REFLECTOR(osgGA::KeySwitchMatrixManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ee, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
|
||||
@@ -124,7 +124,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Attach a node to the manipulator, automatically detaching any previously attached node. ",
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model.");
|
||||
"setNode(NULL) detaches previous nodes. May be ignored by manipulators which do not require a reference model. ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
@@ -164,17 +164,17 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgGA::MatrixManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__home__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Move the camera to the default position. ",
|
||||
"May be ignored by manipulators if home functionality is not appropriate.");
|
||||
"May be ignored by manipulators if home functionality is not appropriate. ");
|
||||
I_Method1(void, home, IN, double, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
|
||||
@@ -93,7 +93,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::TrackballManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, us,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
|
||||
@@ -36,17 +36,17 @@ BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return className ",
|
||||
"returns constant \"UFO\" ");
|
||||
"returns constant \"UFO\" ");
|
||||
I_Method1(void, setByMatrix, IN, const osg::Matrixd &, matrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with a matrix. ",
|
||||
" param matrix A viewpoint matrix. ");
|
||||
" param matrix A viewpoint matrix. ");
|
||||
I_Method1(void, setByInverseMatrix, IN, const osg::Matrixd &, invmat,
|
||||
Properties::VIRTUAL,
|
||||
__void__setByInverseMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the current position with the invers matrix. ",
|
||||
" param invmat The inverse of a viewpoint matrix ");
|
||||
" param invmat The inverse of a viewpoint matrix ");
|
||||
I_Method0(osg::Matrixd, getMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrixd__getMatrix,
|
||||
@@ -61,7 +61,7 @@ BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__setNode__osg_Node_P1,
|
||||
"Set the subgraph this manipulator is driving the eye through. ",
|
||||
" param node root of subgraph ");
|
||||
" param node root of subgraph ");
|
||||
I_Method0(const osg::Node *, getNode,
|
||||
Properties::VIRTUAL,
|
||||
__C5_osg_Node_P1__getNode,
|
||||
@@ -86,12 +86,12 @@ BEGIN_OBJECT_REFLECTOR(osgGA::UFOManipulator)
|
||||
Properties::VIRTUAL,
|
||||
__void__home__double,
|
||||
"Move the camera to the default position. ",
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications.");
|
||||
"This version does not require GUIEventAdapter and GUIActionAdapter so may be called from somewhere other than a handle() method in GUIEventHandler. Application must be aware of implications. ");
|
||||
I_Method2(void, init, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__init__C5_GUIEventAdapter_R1__GUIActionAdapter_R1,
|
||||
"Start/restart the manipulator. ",
|
||||
"FIXME: what does this actually mean? Provide examples.");
|
||||
"FIXME: what does this actually mean? Provide examples. ");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
|
||||
@@ -60,7 +60,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::MotionCommand)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addSelection__Selection_P1,
|
||||
"Add Selection (receiver) to the command. ",
|
||||
"The command will be executed on all the selections.");
|
||||
"The command will be executed on all the selections. ");
|
||||
I_Method1(void, removeSelection, IN, osgManipulator::Selection *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeSelection__Selection_P1,
|
||||
@@ -70,7 +70,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::MotionCommand)
|
||||
Properties::PURE_VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_Method2(void, setLocalToWorldAndWorldToLocal, IN, const osg::Matrix &, localToWorld, IN, const osg::Matrix &, worldToLocal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalToWorldAndWorldToLocal__C5_osg_Matrix_R1__C5_osg_Matrix_R1,
|
||||
@@ -147,7 +147,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Rotate3DCommand)
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
@@ -221,7 +221,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale1DCommand)
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_SimpleProperty(float, MinScale,
|
||||
__float__getMinScale,
|
||||
__void__setMinScale__float);
|
||||
@@ -304,7 +304,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Scale2DCommand)
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_SimpleProperty(const osg::Vec2 &, MinScale,
|
||||
__C5_osg_Vec2_R1__getMinScale,
|
||||
__void__setMinScale__C5_osg_Vec2_R1);
|
||||
@@ -367,7 +367,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::ScaleUniformCommand)
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
@@ -433,7 +433,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInLineCommand)
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_SimpleProperty(const osg::Vec3 &, LineEnd,
|
||||
__C5_osg_Vec3_R1__getLineEnd,
|
||||
0);
|
||||
@@ -508,7 +508,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::TranslateInPlaneCommand)
|
||||
Properties::VIRTUAL,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
"Gets the matrix for transforming the Selection. ",
|
||||
"This matrix is in the command's coordinate systems.");
|
||||
"This matrix is in the command's coordinate systems. ");
|
||||
I_SimpleProperty(osg::Matrix, MotionMatrix,
|
||||
__osg_Matrix__getMotionMatrix,
|
||||
0);
|
||||
|
||||
@@ -34,7 +34,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CommandManager)
|
||||
Properties::VIRTUAL,
|
||||
__bool__connect__Dragger_R1__Selection_R1,
|
||||
"Connect a dragger to a selection. ",
|
||||
"The selection will begin listening to commands generated by the dragger. This can be called multiple times to connect many selections to a dragger.");
|
||||
"The selection will begin listening to commands generated by the dragger. This can be called multiple times to connect many selections to a dragger. ");
|
||||
I_Method2(bool, connect, IN, osgManipulator::Dragger &, dragger, IN, osgManipulator::Constraint &, constrain,
|
||||
Properties::VIRTUAL,
|
||||
__bool__connect__Dragger_R1__Constraint_R1,
|
||||
|
||||
@@ -50,7 +50,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CompositeDragger)
|
||||
Properties::VIRTUAL,
|
||||
__void__setParentDragger__Dragger_P1,
|
||||
"Set/Get parent dragger. ",
|
||||
"For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger.");
|
||||
"For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger. ");
|
||||
I_Method3(bool, handle, IN, const osgManipulator::PointerInfo &, pi, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::VIRTUAL,
|
||||
__bool__handle__C5_PointerInfo_R1__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
@@ -134,7 +134,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::Dragger)
|
||||
Properties::VIRTUAL,
|
||||
__void__setParentDragger__Dragger_P1,
|
||||
"Set/Get parent dragger. ",
|
||||
"For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger.");
|
||||
"For simple draggers parent points to itself. For composite draggers parent points to the parent dragger that uses this dragger. ");
|
||||
I_Method0(osgManipulator::Dragger *, getParentDragger,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Dragger_P1__getParentDragger,
|
||||
|
||||
@@ -41,7 +41,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CylinderPlaneProjector)
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ",
|
||||
"Returns true on successful projection.");
|
||||
"Returns true on successful projection. ");
|
||||
I_Method0(bool, isProjectionOnCylinder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isProjectionOnCylinder,
|
||||
@@ -79,7 +79,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::CylinderProjector)
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ",
|
||||
"Returns true on successful projection.");
|
||||
"Returns true on successful projection. ");
|
||||
I_Method2(bool, isPointInFront, IN, const osgManipulator::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointInFront__C5_PointerInfo_R1__C5_osg_Matrix_R1,
|
||||
@@ -137,7 +137,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::LineProjector)
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given line. ",
|
||||
"Returns true on successful projection.");
|
||||
"Returns true on successful projection. ");
|
||||
I_SimpleProperty(osg::Vec3 &, LineEnd,
|
||||
__osg_Vec3_R1__getLineEnd,
|
||||
0);
|
||||
@@ -171,7 +171,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::PlaneProjector)
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given plane. ",
|
||||
"Returns true on successful projection.");
|
||||
"Returns true on successful projection. ");
|
||||
I_SimpleProperty(const osg::Plane &, Plane,
|
||||
__C5_osg_Plane_R1__getPlane,
|
||||
__void__setPlane__C5_osg_Plane_R1);
|
||||
@@ -187,7 +187,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgManipulator::Projector)
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object/world coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto some shape or geometry (implemented in derived classes). ",
|
||||
"SceneView in used for i projecting window coordinates into object coordinates and vice versa. Returns true on successful projection.");
|
||||
"SceneView in used for i projecting window coordinates into object coordinates and vice versa. Returns true on successful projection. ");
|
||||
I_Method1(void, setLocalToWorld, IN, const osg::Matrix &, localToWorld,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalToWorld__C5_osg_Matrix_R1,
|
||||
@@ -226,7 +226,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::SpherePlaneProjector)
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere. ",
|
||||
"Returns true on successful projection.");
|
||||
"Returns true on successful projection. ");
|
||||
I_Method0(bool, isProjectionOnSphere,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isProjectionOnSphere,
|
||||
@@ -264,7 +264,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::SphereProjector)
|
||||
Properties::VIRTUAL,
|
||||
__bool__project__C5_PointerInfo_R1__osg_Vec3_R1,
|
||||
"Calculates the object coordinates (projectedPoint) of a window coordinate (pointToProject) when projected onto the given sphere. ",
|
||||
"Returns true on successful projection.");
|
||||
"Returns true on successful projection. ");
|
||||
I_Method2(bool, isPointInFront, IN, const osgManipulator::PointerInfo &, pi, IN, const osg::Matrix &, localToWorld,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointInFront__C5_PointerInfo_R1__C5_osg_Matrix_R1,
|
||||
|
||||
@@ -54,7 +54,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateCylinderDragger)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPickColor__C5_osg_Vec4_R1,
|
||||
"Set/Get pick color for dragger. ",
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked.");
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. ");
|
||||
I_Method0(const osg::Vec4, getPickColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getPickColor,
|
||||
|
||||
@@ -54,7 +54,7 @@ BEGIN_OBJECT_REFLECTOR(osgManipulator::RotateSphereDragger)
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPickColor__C5_osg_Vec4_R1,
|
||||
"Set/Get pick color for dragger. ",
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked.");
|
||||
"Pick color is color of the dragger when picked. It gives a visual feedback to show that the dragger has been picked. ");
|
||||
I_Method0(const osg::Vec4, getPickColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4__getPickColor,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user