Fixed genwrapper so that it handles .svn directories, updated wrappers
This commit is contained in:
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/AlphaFunc.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/AlphaFunc>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -37,7 +36,6 @@ BEGIN_ENUM_REFLECTOR(osg::AlphaFunc::ComparisonFunction)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____AlphaFunc,
|
||||
"",
|
||||
@@ -53,32 +51,32 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -118,283 +116,15 @@ BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____AlphaFunc,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
____AlphaFunc__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AlphaFunc__C5_AlphaFunc_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__ComparisonFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ComparisonFunction__getFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceValue, IN, float, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceValue__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getReferenceValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getReferenceValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::AlphaFunc::ComparisonFunction, Function,
|
||||
__ComparisonFunction__getFunction,
|
||||
__void__setFunction__ComparisonFunction);
|
||||
I_SimpleProperty(float, ReferenceValue,
|
||||
__float__getReferenceValue,
|
||||
__void__setReferenceValue__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::AlphaFunc::ComparisonFunction)
|
||||
I_EnumLabel(osg::AlphaFunc::NEVER);
|
||||
I_EnumLabel(osg::AlphaFunc::LESS);
|
||||
I_EnumLabel(osg::AlphaFunc::EQUAL);
|
||||
I_EnumLabel(osg::AlphaFunc::LEQUAL);
|
||||
I_EnumLabel(osg::AlphaFunc::GREATER);
|
||||
I_EnumLabel(osg::AlphaFunc::NOTEQUAL);
|
||||
I_EnumLabel(osg::AlphaFunc::GEQUAL);
|
||||
I_EnumLabel(osg::AlphaFunc::ALWAYS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____AlphaFunc,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
____AlphaFunc__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AlphaFunc__C5_AlphaFunc_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__ComparisonFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ComparisonFunction__getFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceValue, IN, float, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceValue__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getReferenceValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getReferenceValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____AlphaFunc,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
____AlphaFunc__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AlphaFunc__C5_AlphaFunc_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__ComparisonFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ComparisonFunction__getFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceValue, IN, float, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceValue__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getReferenceValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getReferenceValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::AlphaFunc::ComparisonFunction, Function,
|
||||
__ComparisonFunction__getFunction,
|
||||
__void__setFunction__ComparisonFunction);
|
||||
I_SimpleProperty(float, ReferenceValue,
|
||||
__float__getReferenceValue,
|
||||
__void__setReferenceValue__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/ApplicationUsage.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -30,7 +29,6 @@ BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
@@ -160,439 +158,6 @@ BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)
|
||||
__void__writeEnvironmentSettings__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, commandLineUsage,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ApplicationUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getApplicationName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDescription, IN, const std::string &, desc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDescription__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getDescription,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDescription,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addUsageExplanation__Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getCommandLineUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getCommandLineUsage,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addCommandLineOption__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineOptions__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getCommandLineOptions,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEnvironmentalVariable__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnvironmentalVariables__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariables,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addKeyboardMouseBinding__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyboardMouseBindings__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getKeyboardMouseBindings,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getFormattedString__std_string_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__write__std_ostream_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__write__std_ostream_R1__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__writeEnvironmentSettings__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, ApplicationName,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
__void__setApplicationName__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptions,
|
||||
__C5_UsageMap_R1__getCommandLineOptions,
|
||||
__void__setCommandLineOptions__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptionsDefaults,
|
||||
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
|
||||
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const std::string &, CommandLineUsage,
|
||||
__C5_std_string_R1__getCommandLineUsage,
|
||||
__void__setCommandLineUsage__C5_std_string_R1);
|
||||
I_SimpleProperty(const std::string &, Description,
|
||||
__C5_std_string_R1__getDescription,
|
||||
__void__setDescription__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariables,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariables,
|
||||
__void__setEnvironmentalVariables__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariablesDefaults,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
|
||||
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, KeyboardMouseBindings,
|
||||
__C5_UsageMap_R1__getKeyboardMouseBindings,
|
||||
__void__setKeyboardMouseBindings__C5_UsageMap_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA std::string >, osg::ApplicationUsage::UsageMap);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
|
||||
I_EnumLabel(osg::ApplicationUsage::COMMAND_LINE_OPTION);
|
||||
I_EnumLabel(osg::ApplicationUsage::ENVIRONMENTAL_VARIABLE);
|
||||
I_EnumLabel(osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, commandLineUsage,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ApplicationUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getApplicationName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDescription, IN, const std::string &, desc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDescription__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getDescription,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDescription,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addUsageExplanation__Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getCommandLineUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getCommandLineUsage,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addCommandLineOption__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineOptions__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getCommandLineOptions,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEnvironmentalVariable__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnvironmentalVariables__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariables,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addKeyboardMouseBinding__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyboardMouseBindings__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getKeyboardMouseBindings,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getFormattedString__std_string_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__write__std_ostream_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__write__std_ostream_R1__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__writeEnvironmentSettings__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, commandLineUsage,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ApplicationUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getApplicationName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDescription, IN, const std::string &, desc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDescription__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getDescription,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDescription,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addUsageExplanation__Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getCommandLineUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getCommandLineUsage,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addCommandLineOption__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineOptions__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getCommandLineOptions,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEnvironmentalVariable__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnvironmentalVariables__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariables,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addKeyboardMouseBinding__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyboardMouseBindings__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UsageMap_R1__getKeyboardMouseBindings,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getFormattedString__std_string_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__write__std_ostream_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__write__std_ostream_R1__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__writeEnvironmentSettings__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
@@ -628,20 +193,7 @@ BEGIN_VALUE_REFLECTOR(osg::ApplicationUsageProxy)
|
||||
____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"register an explanation of commandline/evironmentalvaraible/keyboard mouse usage. ",
|
||||
"");
|
||||
I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"register an explanation of commandline/evironmentalvaraible/keyboard mouse usage. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ApplicationUsageProxy)
|
||||
I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"register an explanation of commandline/evironmentalvaraible/keyboard mouse usage. ",
|
||||
"");
|
||||
I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"register an explanation of commandline/evironmentalvaraible/keyboard mouse usage. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA std::string >);
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/ArgumentParser.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/ArgumentParser>
|
||||
|
||||
@@ -219,628 +218,6 @@ BEGIN_VALUE_REFLECTOR(osg::ArgumentParser)
|
||||
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
|
||||
"Write error messages to the given ostream, if at or above the given severiity. ",
|
||||
"");
|
||||
I_Constructor2(IN, int *, argc, IN, char **, argv,
|
||||
____ArgumentParser__int_P1__char_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationUsage__ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, argc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__argc,
|
||||
"Return the argument count. ",
|
||||
"");
|
||||
I_Method0(char **, argv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__char_P1P1__argv,
|
||||
"Return the argument array. ",
|
||||
"");
|
||||
I_Method0(std::string, getApplicationName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getApplicationName,
|
||||
"Return the application name, as specified by argv[0]. ",
|
||||
"");
|
||||
I_Method1(int, find, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__find__C5_std_string_R1,
|
||||
"Return the position of an occurance of a string in the argument list. ",
|
||||
"Return -1 if no string is found. ");
|
||||
I_Method1(bool, isOption, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isOption__int,
|
||||
"Return true if the specified parameter is an option in the form of -option or --option. ",
|
||||
"");
|
||||
I_Method1(bool, isString, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isString__int,
|
||||
"Return true if the specified parameter is a string not in the form of an option. ",
|
||||
"");
|
||||
I_Method1(bool, isNumber, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNumber__int,
|
||||
"Return true if the specified parameter is a number. ",
|
||||
"");
|
||||
I_Method0(bool, containsOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsOptions,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__int__int,
|
||||
"Remove one or more arguments from the argv argument list, and decrement the argc respectively. ",
|
||||
"");
|
||||
I_Method2(bool, match, IN, int, pos, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__match__int__C5_std_string_R1,
|
||||
"Return true if the specified argument matches the given string. ",
|
||||
"");
|
||||
I_Method1(bool, read, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1,
|
||||
"Search for an occurance of a string in the argument list. ",
|
||||
"If found, remove that occurance and return true. Otherwise, return false. ");
|
||||
I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, read, IN, int, pos, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1,
|
||||
"If the argument value at the specified position matches the given string, and subsequent parameters are also matched, then set the parameter values, remove the arguments from the list, and return true. ",
|
||||
"Otherwise, return false. ");
|
||||
I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__errors__ErrorSeverity,
|
||||
"Return the error flag, true if an error has occured when reading arguments. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reportError__C5_std_string_R1__ErrorSeverity,
|
||||
"Report an error message by adding to the ErrorMessageMap. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reportRemainingOptionsAsUnrecognized__ErrorSeverity,
|
||||
"For each remaining option, report it as unrecognized. ",
|
||||
"");
|
||||
I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
|
||||
"Write error messages to the given ostream, if at or above the given severiity. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str,
|
||||
__bool__isString__C5_char_P1_S,
|
||||
"Return true if string is non-NULL and not an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str,
|
||||
__bool__isNumber__C5_char_P1_S,
|
||||
"Return true if specified parameter is a number. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str,
|
||||
__bool__isString__C5_char_P1_S,
|
||||
"Return true if string is non-NULL and not an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str,
|
||||
__bool__isNumber__C5_char_P1_S,
|
||||
"Return true if specified parameter is a number. ",
|
||||
"");
|
||||
I_SimpleProperty(std::string, ApplicationName,
|
||||
__std_string__getApplicationName,
|
||||
0);
|
||||
I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage,
|
||||
__ApplicationUsage_P1__getApplicationUsage,
|
||||
__void__setApplicationUsage__ApplicationUsage_P1);
|
||||
I_SimpleProperty(osg::ArgumentParser::ErrorMessageMap &, ErrorMessageMap,
|
||||
__ErrorMessageMap_R1__getErrorMessageMap,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >, osg::ArgumentParser::ErrorMessageMap);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::ErrorSeverity)
|
||||
I_EnumLabel(osg::ArgumentParser::BENIGN);
|
||||
I_EnumLabel(osg::ArgumentParser::CRITICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ArgumentParser)
|
||||
I_Constructor2(IN, int *, argc, IN, char **, argv,
|
||||
____ArgumentParser__int_P1__char_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationUsage__ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, argc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__argc,
|
||||
"Return the argument count. ",
|
||||
"");
|
||||
I_Method0(char **, argv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__char_P1P1__argv,
|
||||
"Return the argument array. ",
|
||||
"");
|
||||
I_Method0(std::string, getApplicationName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getApplicationName,
|
||||
"Return the application name, as specified by argv[0]. ",
|
||||
"");
|
||||
I_Method1(int, find, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__find__C5_std_string_R1,
|
||||
"Return the position of an occurance of a string in the argument list. ",
|
||||
"Return -1 if no string is found. ");
|
||||
I_Method1(bool, isOption, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isOption__int,
|
||||
"Return true if the specified parameter is an option in the form of -option or --option. ",
|
||||
"");
|
||||
I_Method1(bool, isString, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isString__int,
|
||||
"Return true if the specified parameter is a string not in the form of an option. ",
|
||||
"");
|
||||
I_Method1(bool, isNumber, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNumber__int,
|
||||
"Return true if the specified parameter is a number. ",
|
||||
"");
|
||||
I_Method0(bool, containsOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsOptions,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__int__int,
|
||||
"Remove one or more arguments from the argv argument list, and decrement the argc respectively. ",
|
||||
"");
|
||||
I_Method2(bool, match, IN, int, pos, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__match__int__C5_std_string_R1,
|
||||
"Return true if the specified argument matches the given string. ",
|
||||
"");
|
||||
I_Method1(bool, read, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1,
|
||||
"Search for an occurance of a string in the argument list. ",
|
||||
"If found, remove that occurance and return true. Otherwise, return false. ");
|
||||
I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, read, IN, int, pos, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1,
|
||||
"If the argument value at the specified position matches the given string, and subsequent parameters are also matched, then set the parameter values, remove the arguments from the list, and return true. ",
|
||||
"Otherwise, return false. ");
|
||||
I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__errors__ErrorSeverity,
|
||||
"Return the error flag, true if an error has occured when reading arguments. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reportError__C5_std_string_R1__ErrorSeverity,
|
||||
"Report an error message by adding to the ErrorMessageMap. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reportRemainingOptionsAsUnrecognized__ErrorSeverity,
|
||||
"For each remaining option, report it as unrecognized. ",
|
||||
"");
|
||||
I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
|
||||
"Write error messages to the given ostream, if at or above the given severiity. ",
|
||||
"");
|
||||
I_Constructor2(IN, int *, argc, IN, char **, argv,
|
||||
____ArgumentParser__int_P1__char_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setApplicationUsage__ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, argc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__argc,
|
||||
"Return the argument count. ",
|
||||
"");
|
||||
I_Method0(char **, argv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__char_P1P1__argv,
|
||||
"Return the argument array. ",
|
||||
"");
|
||||
I_Method0(std::string, getApplicationName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getApplicationName,
|
||||
"Return the application name, as specified by argv[0]. ",
|
||||
"");
|
||||
I_Method1(int, find, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__find__C5_std_string_R1,
|
||||
"Return the position of an occurance of a string in the argument list. ",
|
||||
"Return -1 if no string is found. ");
|
||||
I_Method1(bool, isOption, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isOption__int,
|
||||
"Return true if the specified parameter is an option in the form of -option or --option. ",
|
||||
"");
|
||||
I_Method1(bool, isString, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isString__int,
|
||||
"Return true if the specified parameter is a string not in the form of an option. ",
|
||||
"");
|
||||
I_Method1(bool, isNumber, IN, int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNumber__int,
|
||||
"Return true if the specified parameter is a number. ",
|
||||
"");
|
||||
I_Method0(bool, containsOptions,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsOptions,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__int__int,
|
||||
"Remove one or more arguments from the argv argument list, and decrement the argc respectively. ",
|
||||
"");
|
||||
I_Method2(bool, match, IN, int, pos, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__match__int__C5_std_string_R1,
|
||||
"Return true if the specified argument matches the given string. ",
|
||||
"");
|
||||
I_Method1(bool, read, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1,
|
||||
"Search for an occurance of a string in the argument list. ",
|
||||
"If found, remove that occurance and return true. Otherwise, return false. ");
|
||||
I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, read, IN, int, pos, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1,
|
||||
"If the argument value at the specified position matches the given string, and subsequent parameters are also matched, then set the parameter values, remove the arguments from the list, and return true. ",
|
||||
"Otherwise, return false. ");
|
||||
I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__errors__ErrorSeverity,
|
||||
"Return the error flag, true if an error has occured when reading arguments. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reportError__C5_std_string_R1__ErrorSeverity,
|
||||
"Report an error message by adding to the ErrorMessageMap. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reportRemainingOptionsAsUnrecognized__ErrorSeverity,
|
||||
"For each remaining option, report it as unrecognized. ",
|
||||
"");
|
||||
I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
|
||||
"Write error messages to the given ostream, if at or above the given severiity. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str,
|
||||
__bool__isString__C5_char_P1_S,
|
||||
"Return true if string is non-NULL and not an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str,
|
||||
__bool__isNumber__C5_char_P1_S,
|
||||
"Return true if specified parameter is a number. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
@@ -913,136 +290,7 @@ BEGIN_VALUE_REFLECTOR(osg::ArgumentParser::Parameter)
|
||||
__bool__assign__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, float &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__float_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, int &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, std::string &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__C5_Parameter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, valid, IN, const char *, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, assign, IN, const char *, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__assign__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::Parameter::ParameterType)
|
||||
I_EnumLabel(osg::ArgumentParser::Parameter::FLOAT_PARAMETER);
|
||||
I_EnumLabel(osg::ArgumentParser::Parameter::DOUBLE_PARAMETER);
|
||||
I_EnumLabel(osg::ArgumentParser::Parameter::INT_PARAMETER);
|
||||
I_EnumLabel(osg::ArgumentParser::Parameter::UNSIGNED_INT_PARAMETER);
|
||||
I_EnumLabel(osg::ArgumentParser::Parameter::STRING_PARAMETER);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ArgumentParser::Parameter)
|
||||
I_Constructor1(IN, float &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__float_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, int &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, std::string &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__C5_Parameter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, valid, IN, const char *, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, assign, IN, const char *, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__assign__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, float &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__float_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, int &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, std::string &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Parameter__C5_Parameter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, valid, IN, const char *, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, assign, IN, const char *, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__assign__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,10 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/BufferObject>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -20,94 +24,105 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____BufferObject,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::BufferObject &, bo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BufferObject__C5_BufferObject_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isBufferObjectSupported, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isBufferObjectSupported__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isPBOSupported, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPBOSupported__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, buffer, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__buffer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, bindBuffer, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__bindBuffer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unbindBuffer, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unbindBuffer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, needsCompile, IN, unsigned int, contextID,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__needsCompile__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileBuffer, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__compileBuffer__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, releaseBuffer, IN, osg::State *, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__releaseBuffer__State_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, flushDeletedBufferObjects, IN, unsigned int, contextID, IN, double, x, IN, double &, availableTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flushDeletedBufferObjects__unsigned_int__double__double_R1,
|
||||
"flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteBufferObject, IN, unsigned int, contextID, IN, GLuint, globj,
|
||||
__void__deleteBufferObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexBufferObject instead of glDeleteBuffers to allow OpenGL buffer objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::BufferObject::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 is only created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BufferObject::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::BufferObject::BufferEntry)
|
||||
I_Constructor0(____BufferEntry,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BufferObject::BufferEntry &, be,
|
||||
Properties::NON_EXPLICIT,
|
||||
____BufferEntry__C5_BufferEntry_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::buffered_value< unsigned int >, modifiedCount);
|
||||
I_PublicMemberProperty(unsigned int, dataSize);
|
||||
I_PublicMemberProperty(unsigned int, offset);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BufferObject::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBufferObjectSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isBufferObjectSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPBOSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPBOSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenBuffers__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindBuffer__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBufferData__GLenum__GLsizeiptrARB__C5_GLvoid_P1__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeleteBuffers__GLsizei__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glIsBuffer, IN, GLuint, buffer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLboolean__glIsBuffer__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLvoid_P1__glMapBuffer__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glUnmapBuffer, IN, GLenum, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLboolean__glUnmapBuffer__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferParameteriv__GLenum__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferPointerv__GLenum__GLenum__GLvoid_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
@@ -195,178 +210,78 @@ BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BufferObject::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
TYPE_NAME_ALIAS(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >, osg::PixelBufferObject::BufferEntryImagePair);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PixelBufferObject)
|
||||
I_BaseType(osg::BufferObject);
|
||||
I_ConstructorWithDefaults1(IN, osg::Image *, image, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
____PixelBufferObject__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PixelBufferObject &, pbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PixelBufferObject__C5_PixelBufferObject_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
__void__setImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBufferObjectSupported,
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isBufferObjectSupported,
|
||||
__Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPBOSupported,
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPBOSupported,
|
||||
__C5_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers,
|
||||
I_Method0(unsigned int, offset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenBuffers__GLsizei__GLuint_P1,
|
||||
__unsigned_int__offset,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindBuffer__GLenum__GLuint,
|
||||
I_Method1(bool, needsCompile, IN, unsigned int, contextID,
|
||||
Properties::VIRTUAL,
|
||||
__bool__needsCompile__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBufferData__GLenum__GLsizeiptrARB__C5_GLvoid_P1__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeleteBuffers__GLsizei__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glIsBuffer, IN, GLuint, buffer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLboolean__glIsBuffer__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLvoid_P1__glMapBuffer__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glUnmapBuffer, IN, GLenum, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLboolean__glUnmapBuffer__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferParameteriv__GLenum__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferPointerv__GLenum__GLenum__GLvoid_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BufferObject::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBufferObjectSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isBufferObjectSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPBOSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPBOSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenBuffers__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindBuffer__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBufferData__GLenum__GLsizeiptrARB__C5_GLvoid_P1__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeleteBuffers__GLsizei__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glIsBuffer, IN, GLuint, buffer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLboolean__glIsBuffer__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLvoid_P1__glMapBuffer__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glUnmapBuffer, IN, GLenum, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLboolean__glUnmapBuffer__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferParameteriv__GLenum__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGetBufferPointerv__GLenum__GLenum__GLvoid_P1P1,
|
||||
I_Method1(void, compileBuffer, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileBuffer__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__osg_Image_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -104,9 +104,9 @@ BEGIN_OBJECT_REFLECTOR(osg::ClipNode)
|
||||
__C5_ClipPlane_P1__getClipPlane__unsigned_int,
|
||||
"Get const ClipPlane at the given index position. ",
|
||||
"");
|
||||
I_Method1(void, getClipPlaneList, IN, const osg::ClipNode::ClipPlaneList &, cpl,
|
||||
I_Method1(void, setClipPlaneList, IN, const osg::ClipNode::ClipPlaneList &, cpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getClipPlaneList__C5_ClipPlaneList_R1,
|
||||
__void__setClipPlaneList__C5_ClipPlaneList_R1,
|
||||
"Set the ClipPlaneList. ",
|
||||
"");
|
||||
I_Method0(osg::ClipNode::ClipPlaneList &, getClipPlaneList,
|
||||
@@ -141,9 +141,9 @@ BEGIN_OBJECT_REFLECTOR(osg::ClipNode)
|
||||
__bool__addClipPlane__ClipPlane_P1,
|
||||
0,
|
||||
__bool__removeClipPlane__unsigned_int);
|
||||
I_SimpleProperty(osg::ClipNode::ClipPlaneList &, ClipPlaneList,
|
||||
__ClipPlaneList_R1__getClipPlaneList,
|
||||
0);
|
||||
I_SimpleProperty(const osg::ClipNode::ClipPlaneList &, ClipPlaneList,
|
||||
__C5_ClipPlaneList_R1__getClipPlaneList,
|
||||
__void__setClipPlaneList__C5_ClipPlaneList_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes,
|
||||
0,
|
||||
__void__setLocalStateSetModes__StateAttribute_GLModeValue);
|
||||
|
||||
@@ -10,12 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/ComputeBoundsVisitor>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Polytope>
|
||||
#include <osg/Transform>
|
||||
|
||||
@@ -29,7 +30,7 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_ConstructorWithDefaults1(IN, TraversalMode, traversalMode, TRAVERSE_ALL_CHILDREN,
|
||||
I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, traversalMode, osg::NodeVisitor::TRAVERSE_ALL_CHILDREN,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ComputeBoundsVisitor__TraversalMode,
|
||||
"",
|
||||
@@ -37,8 +38,8 @@ BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor)
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
"Method to call to reset visitor. ",
|
||||
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
|
||||
I_Method0(osg::BoundingBox &, getBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_BoundingBox_R1__getBoundingBox,
|
||||
@@ -55,17 +56,17 @@ BEGIN_OBJECT_REFLECTOR(osg::ComputeBoundsVisitor)
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, transform,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Image.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/DrawPixels>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____DrawPixels,
|
||||
"",
|
||||
@@ -39,13 +38,13 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
@@ -54,13 +53,13 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
@@ -114,302 +113,12 @@ BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"",
|
||||
"Deprecated. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____DrawPixels,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseSubImage__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseSubImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseSubImage,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__osg_Image_P1__getImage,
|
||||
__void__setImage__osg_Image_P1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(bool, UseSubImage,
|
||||
__bool__getUseSubImage,
|
||||
__void__setUseSubImage__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____DrawPixels,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseSubImage__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseSubImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseSubImage,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____DrawPixels,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseSubImage__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseSubImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseSubImage,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"",
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__osg_Image_P1__getImage,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Fog.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Fog>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Vec4>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -38,7 +37,6 @@ BEGIN_ENUM_REFLECTOR(osg::Fog::FogCoordinateSource)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Fog,
|
||||
"",
|
||||
@@ -50,32 +48,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -150,120 +148,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Fog,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Fog__C5_Fog_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Fog::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Fog::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDensity, IN, float, density,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStart, IN, float, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStart__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnd, IN, float, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnd__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordinateSource, IN, GLint, source,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFogCoordinateSource__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFogCoordinateSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getFogCoordinateSource,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
@@ -282,268 +168,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
I_SimpleProperty(float, Start,
|
||||
__float__getStart,
|
||||
__void__setStart__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Fog::Mode)
|
||||
I_EnumLabel(osg::Fog::LINEAR);
|
||||
I_EnumLabel(osg::Fog::EXP);
|
||||
I_EnumLabel(osg::Fog::EXP2);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Fog::FogCoordinateSource)
|
||||
I_EnumLabel(osg::Fog::FOG_COORDINATE);
|
||||
I_EnumLabel(osg::Fog::FRAGMENT_DEPTH);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Fog,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Fog__C5_Fog_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Fog::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Fog::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDensity, IN, float, density,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStart, IN, float, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStart__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnd, IN, float, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnd__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordinateSource, IN, GLint, source,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFogCoordinateSource__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFogCoordinateSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getFogCoordinateSource,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Fog,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Fog__C5_Fog_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Fog::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Fog::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDensity, IN, float, density,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStart, IN, float, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStart__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStart,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnd, IN, float, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEnd__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEnd,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordinateSource, IN, GLint, source,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFogCoordinateSource__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFogCoordinateSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getFogCoordinateSource,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(float, Density,
|
||||
__float__getDensity,
|
||||
__void__setDensity__float);
|
||||
I_SimpleProperty(float, End,
|
||||
__float__getEnd,
|
||||
__void__setEnd__float);
|
||||
I_SimpleProperty(GLint, FogCoordinateSource,
|
||||
__GLint__getFogCoordinateSource,
|
||||
__void__setFogCoordinateSource__GLint);
|
||||
I_SimpleProperty(osg::Fog::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(float, Start,
|
||||
__float__getStart,
|
||||
__void__setStart__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/FragmentProgram.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/FragmentProgram>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Vec4>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -32,7 +31,6 @@ TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::FragmentProgram::Local
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::FragmentProgram::MatrixList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____FragmentProgram,
|
||||
"",
|
||||
@@ -44,32 +42,32 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -149,12 +147,12 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
@@ -166,154 +164,6 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer == NULL. ",
|
||||
"");
|
||||
I_Constructor0(____FragmentProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FragmentProgram__C5_FragmentProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getFragmentProgramID__unsigned_int,
|
||||
"Get the handle to the fragment program id for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgram__C5_char_P1,
|
||||
"Set the fragment program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgram__C5_std_string_R1,
|
||||
"Set the fragment program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getFragmentProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFragmentProgram,
|
||||
"Get the fragment program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyFragmentProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyFragmentProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer == NULL. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteFragmentProgramObject__unsigned_int__GLuint_S,
|
||||
"use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFragmentProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::FragmentProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag has been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::FragmentProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteFragmentProgramObject__unsigned_int__GLuint_S,
|
||||
"use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
@@ -339,386 +189,13 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
I_SimpleProperty(const osg::FragmentProgram::MatrixList &, Matrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
__void__setMatrices__C5_MatrixList_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::FragmentProgram::LocalParamList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::FragmentProgram::MatrixList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____FragmentProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FragmentProgram__C5_FragmentProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getFragmentProgramID__unsigned_int,
|
||||
"Get the handle to the fragment program id for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgram__C5_char_P1,
|
||||
"Set the fragment program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgram__C5_std_string_R1,
|
||||
"Set the fragment program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getFragmentProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFragmentProgram,
|
||||
"Get the fragment program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyFragmentProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyFragmentProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer == NULL. ",
|
||||
"");
|
||||
I_Constructor0(____FragmentProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FragmentProgram__C5_FragmentProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getFragmentProgramID__unsigned_int,
|
||||
"Get the handle to the fragment program id for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgram__C5_char_P1,
|
||||
"Set the fragment program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgram__C5_std_string_R1,
|
||||
"Set the fragment program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getFragmentProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFragmentProgram,
|
||||
"Get the fragment program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyFragmentProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyFragmentProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer == NULL. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteFragmentProgramObject__unsigned_int__GLuint_S,
|
||||
"use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFragmentProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::FragmentProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag has been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::FragmentProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteFragmentProgramObject__unsigned_int__GLuint_S,
|
||||
"use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFragmentProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::FragmentProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag has been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::FragmentProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const std::string &, FragmentProgram,
|
||||
__C5_std_string_R1__getFragmentProgram,
|
||||
__void__setFragmentProgram__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::FragmentProgram::LocalParamList &, LocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1);
|
||||
I_SimpleProperty(const osg::FragmentProgram::MatrixList &, Matrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
__void__setMatrices__C5_MatrixList_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgramSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFragmentProgramSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFragmentProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
@@ -779,121 +256,7 @@ BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
|
||||
__void__setFragmentProgramSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgramSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFragmentProgramSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFragmentProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgramSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFragmentProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFragmentProgramSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFragmentProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, FragmentProgramSupported,
|
||||
0,
|
||||
__void__setFragmentProgramSupported__bool);
|
||||
END_REFLECTOR
|
||||
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >);
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< GLuint COMMA osg::Vec4 >);
|
||||
|
||||
|
||||
@@ -10,18 +10,17 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Camera.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/FrameBufferObject.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Texture1D.svn-base>
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osg/.svn/text-base/TextureCubeMap.svn-base>
|
||||
#include <osg/.svn/text-base/TextureRectangle.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/FrameBufferObject>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Texture1D>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/Texture3D>
|
||||
#include <osg/TextureCubeMap>
|
||||
#include <osg/TextureRectangle>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -59,12 +58,6 @@ TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenerateMipmapEXT);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Method0(bool, isSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isSupported,
|
||||
@@ -74,98 +67,6 @@ BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized,
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindRenderbufferEXT *, glBindRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenRenderbuffersEXT *, glGenRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteRenderbuffersEXT *, glDeleteRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglRenderbufferStorageEXT *, glRenderbufferStorageEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindFramebufferEXT *, glBindFramebufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteFramebuffersEXT *, glDeleteFramebuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenFramebuffersEXT *, glGenFramebuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglCheckFramebufferStatusEXT *, glCheckFramebufferStatusEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture1DEXT *, glFramebufferTexture1DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture2DEXT *, glFramebufferTexture2DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture3DEXT *, glFramebufferTexture3DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferRenderbufferEXT *, glFramebufferRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenerateMipmapEXT *, glGenerateMipmapEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindRenderbufferEXT *, glBindRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenRenderbuffersEXT *, glGenRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteRenderbuffersEXT *, glDeleteRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglRenderbufferStorageEXT *, glRenderbufferStorageEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindFramebufferEXT *, glBindFramebufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteFramebuffersEXT *, glDeleteFramebuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenFramebuffersEXT *, glGenFramebuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglCheckFramebufferStatusEXT *, glCheckFramebufferStatusEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture1DEXT *, glFramebufferTexture1DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture2DEXT *, glFramebufferTexture2DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture3DEXT *, glFramebufferTexture3DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferRenderbufferEXT *, glFramebufferRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenerateMipmapEXT *, glGenerateMipmapEXT);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglBindRenderbufferEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglDeleteRenderbuffersEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenRenderbuffersEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglRenderbufferStorageEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglBindFramebufferEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglDeleteFramebuffersEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenFramebuffersEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(GLenum , osg::FBOExtensions::TglCheckFramebufferStatusEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTexture1DEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTexture2DEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferTexture3DEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglFramebufferRenderbufferEXT);
|
||||
|
||||
TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenerateMipmapEXT);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Method0(bool, isSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isSupported,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized,
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized,
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindRenderbufferEXT *, glBindRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenRenderbuffersEXT *, glGenRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteRenderbuffersEXT *, glDeleteRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglRenderbufferStorageEXT *, glRenderbufferStorageEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindFramebufferEXT *, glBindFramebufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteFramebuffersEXT *, glDeleteFramebuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenFramebuffersEXT *, glGenFramebuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglCheckFramebufferStatusEXT *, glCheckFramebufferStatusEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture1DEXT *, glFramebufferTexture1DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture2DEXT *, glFramebufferTexture2DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferTexture3DEXT *, glFramebufferTexture3DEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglFramebufferRenderbufferEXT *, glFramebufferRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenerateMipmapEXT *, glGenerateMipmapEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindRenderbufferEXT *, glBindRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenRenderbuffersEXT *, glGenRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteRenderbuffersEXT *, glDeleteRenderbuffersEXT);
|
||||
@@ -236,177 +137,11 @@ BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
|
||||
__int__compare__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FrameBufferAttachment,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameBufferAttachment &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrameBufferAttachment__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::RenderBuffer *, target,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__RenderBuffer_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture1D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture2D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture3D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__TextureCubeMap_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TextureRectangle *, target,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__TextureRectangle_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Camera::Attachment &, attachment,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__Camera_Attachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__createRequiredTexturesAndApplyGenerateMipMap__State_R1__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attach__State_R1__GLenum__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
|
||||
I_Constructor0(____FrameBufferAttachment,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameBufferAttachment &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrameBufferAttachment__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::RenderBuffer *, target,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__RenderBuffer_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture1D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture2D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture3D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__TextureCubeMap_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TextureRectangle *, target,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__TextureRectangle_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Camera::Attachment &, attachment,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__Camera_Attachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__createRequiredTexturesAndApplyGenerateMipMap__State_R1__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attach__State_R1__GLenum__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FrameBufferAttachment,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameBufferAttachment &, copy,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrameBufferAttachment__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::RenderBuffer *, target,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__RenderBuffer_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture1D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture2D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture3D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__TextureCubeMap_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TextureRectangle *, target,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__TextureRectangle_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Camera::Attachment &, attachment,
|
||||
Properties::EXPLICIT,
|
||||
____FrameBufferAttachment__Camera_Attachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__createRequiredTexturesAndApplyGenerateMipMap__State_R1__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attach__State_R1__GLenum__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::FrameBufferAttachment >, osg::FrameBufferObject::AttachmentMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____FrameBufferObject,
|
||||
"",
|
||||
@@ -418,32 +153,32 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -466,90 +201,15 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"",
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FrameBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrameBufferObject__C5_FrameBufferObject_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, hasAttachment, IN, GLenum, attachment_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hasAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, GLenum, attachment_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_FrameBufferAttachment_R1__getAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setAttachment, IN, GLenum, attachment_point, IN, const osg::FrameBufferAttachment &, attachment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAttachment__GLenum__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
|
||||
"Mark internal FBO for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
|
||||
"Mark internal FBO for deletion. ",
|
||||
@@ -565,180 +225,12 @@ BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
I_SimpleProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
0);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::FrameBufferAttachment >, osg::FrameBufferObject::AttachmentMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____FrameBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrameBufferObject__C5_FrameBufferObject_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, hasAttachment, IN, GLenum, attachment_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hasAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, GLenum, attachment_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_FrameBufferAttachment_R1__getAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setAttachment, IN, GLenum, attachment_point, IN, const osg::FrameBufferAttachment &, attachment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAttachment__GLenum__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FrameBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrameBufferObject__C5_FrameBufferObject_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, hasAttachment, IN, GLenum, attachment_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__hasAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, GLenum, attachment_point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_FrameBufferAttachment_R1__getAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setAttachment, IN, GLenum, attachment_point, IN, const osg::FrameBufferAttachment &, attachment,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAttachment__GLenum__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
|
||||
"Mark internal FBO for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
|
||||
"Mark internal FBO for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_IndexedProperty(const osg::FrameBufferAttachment &, Attachment,
|
||||
__C5_FrameBufferAttachment_R1__getAttachment__GLenum,
|
||||
__void__setAttachment__GLenum__C5_FrameBufferAttachment_R1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
0);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
@@ -754,13 +246,13 @@ BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -769,13 +261,13 @@ BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
@@ -821,95 +313,6 @@ BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
@@ -929,195 +332,5 @@ BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
__void__setWidth__int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_SimpleProperty(int, Height,
|
||||
__int__getHeight,
|
||||
__void__setHeight__int);
|
||||
I_SimpleProperty(GLenum, InternalFormat,
|
||||
__GLenum__getInternalFormat,
|
||||
__void__setInternalFormat__GLenum);
|
||||
I_SimpleProperty(int, Width,
|
||||
__int__getWidth,
|
||||
__void__setWidth__int);
|
||||
END_REFLECTOR
|
||||
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::FrameBufferAttachment >);
|
||||
|
||||
|
||||
@@ -22,168 +22,6 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameStamp)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____FrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameStamp &, fs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrameStamp__C5_FrameStamp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumber, IN, int, fnum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameNumber__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, refTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSimulationTime, IN, double, refTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSimulationTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSimulationTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSimulationTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCalendarTime, IN, const tm &, calendarTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCalendarTime__C5_tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getCalendarTime, IN, tm &, calendarTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCalendarTime__tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameStamp &, fs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrameStamp__C5_FrameStamp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumber, IN, int, fnum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameNumber__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, refTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSimulationTime, IN, double, refTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSimulationTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSimulationTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSimulationTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCalendarTime, IN, const tm &, calendarTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCalendarTime__C5_tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getCalendarTime, IN, tm &, calendarTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCalendarTime__tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const tm &, CalendarTime,
|
||||
0,
|
||||
__void__setCalendarTime__C5_tm_R1);
|
||||
I_SimpleProperty(int, FrameNumber,
|
||||
__int__getFrameNumber,
|
||||
__void__setFrameNumber__int);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
__void__setReferenceTime__double);
|
||||
I_SimpleProperty(double, SimulationTime,
|
||||
__double__getSimulationTime,
|
||||
__void__setSimulationTime__double);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameStamp)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____FrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameStamp &, fs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrameStamp__C5_FrameStamp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumber, IN, int, fnum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameNumber__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, refTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSimulationTime, IN, double, refTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSimulationTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getSimulationTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getSimulationTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCalendarTime, IN, const tm &, calendarTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCalendarTime__C5_tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getCalendarTime, IN, tm &, calendarTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCalendarTime__tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____FrameStamp,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/FrontFace.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/FrontFace>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::FrontFace::Mode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -45,32 +43,32 @@ BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -90,205 +88,12 @@ BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrontFace__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrontFace__C5_FrontFace_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::FrontFace::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrontFace::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::FrontFace::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::FrontFace::Mode)
|
||||
I_EnumLabel(osg::FrontFace::CLOCKWISE);
|
||||
I_EnumLabel(osg::FrontFace::COUNTER_CLOCKWISE);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrontFace__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrontFace__C5_FrontFace_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::FrontFace::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrontFace::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____FrontFace__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrontFace__C5_FrontFace_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::FrontFace::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrontFace::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::FrontFace::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -7,9 +7,37 @@ CXXFILES =\
|
||||
ApplicationUsage.cpp\
|
||||
ArgumentParser.cpp\
|
||||
Array.cpp\
|
||||
AutoTransform.cpp\
|
||||
Billboard.cpp\
|
||||
BlendColor.cpp\
|
||||
BlendEquation.cpp\
|
||||
BlendFunc.cpp\
|
||||
BoundingBox.cpp\
|
||||
BoundingSphere.cpp\
|
||||
BufferObject.cpp\
|
||||
Camera.cpp\
|
||||
CameraNode.cpp\
|
||||
CameraView.cpp\
|
||||
ClampColor.cpp\
|
||||
ClearNode.cpp\
|
||||
ClipNode.cpp\
|
||||
ClipPlane.cpp\
|
||||
ClusterCullingCallback.cpp\
|
||||
CollectOccludersVisitor.cpp\
|
||||
ColorMask.cpp\
|
||||
ColorMatrix.cpp\
|
||||
ComputeBoundsVisitor.cpp\
|
||||
ConvexPlanarOccluder.cpp\
|
||||
ConvexPlanarPolygon.cpp\
|
||||
CoordinateSystemNode.cpp\
|
||||
CopyOp.cpp\
|
||||
CullFace.cpp\
|
||||
CullSettings.cpp\
|
||||
CullStack.cpp\
|
||||
CullingSet.cpp\
|
||||
DeleteHandler.cpp\
|
||||
Depth.cpp\
|
||||
DisplaySettings.cpp\
|
||||
DrawPixels.cpp\
|
||||
Drawable.cpp\
|
||||
Endian.cpp\
|
||||
@@ -18,8 +46,36 @@ CXXFILES =\
|
||||
FrameBufferObject.cpp\
|
||||
FrameStamp.cpp\
|
||||
FrontFace.cpp\
|
||||
GL2Extensions.cpp\
|
||||
Geode.cpp\
|
||||
Geometry.cpp\
|
||||
GraphicsContext.cpp\
|
||||
GraphicsThread.cpp\
|
||||
Group.cpp\
|
||||
Image.cpp\
|
||||
ImageStream.cpp\
|
||||
LOD.cpp\
|
||||
Light.cpp\
|
||||
LightModel.cpp\
|
||||
LightSource.cpp\
|
||||
LineSegment.cpp\
|
||||
LineStipple.cpp\
|
||||
LineWidth.cpp\
|
||||
LogicOp.cpp\
|
||||
Material.cpp\
|
||||
Matrix.cpp\
|
||||
MatrixTransform.cpp\
|
||||
Matrixd.cpp\
|
||||
Matrixf.cpp\
|
||||
Multisample.cpp\
|
||||
Node.cpp\
|
||||
NodeCallback.cpp\
|
||||
NodeTrackerCallback.cpp\
|
||||
NodeVisitor.cpp\
|
||||
Notify.cpp\
|
||||
Object.cpp\
|
||||
OccluderNode.cpp\
|
||||
PagedLOD.cpp\
|
||||
Plane.cpp\
|
||||
Point.cpp\
|
||||
PointSprite.cpp\
|
||||
@@ -34,31 +90,56 @@ CXXFILES =\
|
||||
ProxyNode.cpp\
|
||||
Quat.cpp\
|
||||
Referenced.cpp\
|
||||
RenderInfo.cpp\
|
||||
Scissor.cpp\
|
||||
Sequence.cpp\
|
||||
ShadeModel.cpp\
|
||||
Shader.cpp\
|
||||
ShadowVolumeOccluder.cpp\
|
||||
Shape.cpp\
|
||||
ShapeDrawable.cpp\
|
||||
State.cpp\
|
||||
StateAttribute.cpp\
|
||||
StateSet.cpp\
|
||||
Stats.cpp\
|
||||
Stencil.cpp\
|
||||
StencilTwoSided.cpp\
|
||||
Switch.cpp\
|
||||
TexEnv.cpp\
|
||||
TexEnvCombine.cpp\
|
||||
TexEnvFilter.cpp\
|
||||
TexGen.cpp\
|
||||
TexGenNode.cpp\
|
||||
TexMat.cpp\
|
||||
Texture.cpp\
|
||||
Texture1D.cpp\
|
||||
Texture2D.cpp\
|
||||
Texture3D.cpp\
|
||||
TextureCubeMap.cpp\
|
||||
TextureRectangle.cpp\
|
||||
Timer.cpp\
|
||||
Transform.cpp\
|
||||
Uniform.cpp\
|
||||
Vec2.cpp\
|
||||
Vec2b.cpp\
|
||||
Vec2d.cpp\
|
||||
Vec2f.cpp\
|
||||
Vec2s.cpp\
|
||||
Vec3.cpp\
|
||||
Vec3b.cpp\
|
||||
Vec3d.cpp\
|
||||
Vec3f.cpp\
|
||||
Vec3s.cpp\
|
||||
Vec4.cpp\
|
||||
Vec4b.cpp\
|
||||
Vec4d.cpp\
|
||||
Vec4f.cpp\
|
||||
Vec4s.cpp\
|
||||
Vec4ub.cpp\
|
||||
VertexProgram.cpp\
|
||||
View.cpp\
|
||||
Viewport.cpp\
|
||||
observer_ptr.cpp\
|
||||
|
||||
LIBS += -losg -losg -losgIntrospection $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
|
||||
@@ -10,15 +10,14 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Geode.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/RenderInfo.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Geode>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/RenderInfo>
|
||||
#include <osg/State>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -32,7 +31,6 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osg::Geode::DrawableList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____Geode,
|
||||
"",
|
||||
@@ -44,32 +42,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
@@ -139,130 +137,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_Constructor0(____Geode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Geode__C5_Geode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
"Add a Drawable to the Geode. ",
|
||||
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise.");
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeDrawable__Drawable_P1,
|
||||
"Remove a Drawable from the Geode. ",
|
||||
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeDrawables__unsigned_int__unsigned_int,
|
||||
"Remove Drawable(s) from the specified position in Geode's drawable list. ",
|
||||
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw,
|
||||
Properties::VIRTUAL,
|
||||
__bool__replaceDrawable__Drawable_P1__Drawable_P1,
|
||||
"Replace specified Drawable with another Drawable. ",
|
||||
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation.");
|
||||
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__setDrawable__unsigned_int__Drawable_P1,
|
||||
"Set Drawable at position i. ",
|
||||
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
|
||||
I_Method0(unsigned int, getNumDrawables,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumDrawables,
|
||||
"Return the number of Drawables currently attached to the Geode. ",
|
||||
"");
|
||||
I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsDrawable__C5_Drawable_P1,
|
||||
"Return true if a given Drawable is contained within Geode. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getDrawableIndex__C5_Drawable_P1,
|
||||
"Get the index number of drawable. ",
|
||||
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
|
||||
I_Method0(const osg::Geode::DrawableList &, getDrawableList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_DrawableList_R1__getDrawableList,
|
||||
"Get the list of drawables. ",
|
||||
"");
|
||||
I_Method1(void, compileDrawables, IN, osg::RenderInfo &, renderInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compileDrawables__RenderInfo_R1,
|
||||
"Compile OpenGL Display List for each drawable. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_BoundingBox_R1__getBoundingBox,
|
||||
"Return the Geode's bounding box, which is the union of all the bounding boxes of the geode's drawables. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
"Compute the bounding sphere around Node's geometry or children. ",
|
||||
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
@@ -296,270 +172,44 @@ BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osg::Geode::DrawableList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____Geode,
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Drawable >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Geode__C5_Geode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
"Add a Drawable to the Geode. ",
|
||||
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise.");
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeDrawable__Drawable_P1,
|
||||
"Remove a Drawable from the Geode. ",
|
||||
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeDrawables__unsigned_int__unsigned_int,
|
||||
"Remove Drawable(s) from the specified position in Geode's drawable list. ",
|
||||
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw,
|
||||
Properties::VIRTUAL,
|
||||
__bool__replaceDrawable__Drawable_P1__Drawable_P1,
|
||||
"Replace specified Drawable with another Drawable. ",
|
||||
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation.");
|
||||
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__setDrawable__unsigned_int__Drawable_P1,
|
||||
"Set Drawable at position i. ",
|
||||
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
|
||||
I_Method0(unsigned int, getNumDrawables,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumDrawables,
|
||||
"Return the number of Drawables currently attached to the Geode. ",
|
||||
"");
|
||||
I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsDrawable__C5_Drawable_P1,
|
||||
"Return true if a given Drawable is contained within Geode. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getDrawableIndex__C5_Drawable_P1,
|
||||
"Get the index number of drawable. ",
|
||||
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
|
||||
I_Method0(const osg::Geode::DrawableList &, getDrawableList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_DrawableList_R1__getDrawableList,
|
||||
"Get the list of drawables. ",
|
||||
"");
|
||||
I_Method1(void, compileDrawables, IN, osg::RenderInfo &, renderInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compileDrawables__RenderInfo_R1,
|
||||
"Compile OpenGL Display List for each drawable. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_BoundingBox_R1__getBoundingBox,
|
||||
"Return the Geode's bounding box, which is the union of all the bounding boxes of the geode's drawables. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_Constructor0(____Geode,
|
||||
I_Constructor1(IN, osg::Drawable *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Geode__C5_Geode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Drawable > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Drawable *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
I_Method0(osg::Drawable *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Drawable > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
"Add a Drawable to the Geode. ",
|
||||
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise.");
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeDrawable__Drawable_P1,
|
||||
"Remove a Drawable from the Geode. ",
|
||||
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeDrawables__unsigned_int__unsigned_int,
|
||||
"Remove Drawable(s) from the specified position in Geode's drawable list. ",
|
||||
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw,
|
||||
Properties::VIRTUAL,
|
||||
__bool__replaceDrawable__Drawable_P1__Drawable_P1,
|
||||
"Replace specified Drawable with another Drawable. ",
|
||||
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation.");
|
||||
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable,
|
||||
Properties::VIRTUAL,
|
||||
__bool__setDrawable__unsigned_int__Drawable_P1,
|
||||
"Set Drawable at position i. ",
|
||||
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
|
||||
I_Method0(unsigned int, getNumDrawables,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumDrawables,
|
||||
"Return the number of Drawables currently attached to the Geode. ",
|
||||
"");
|
||||
I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsDrawable__C5_Drawable_P1,
|
||||
"Return true if a given Drawable is contained within Geode. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getDrawableIndex__C5_Drawable_P1,
|
||||
"Get the index number of drawable. ",
|
||||
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
|
||||
I_Method0(const osg::Geode::DrawableList &, getDrawableList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_DrawableList_R1__getDrawableList,
|
||||
"Get the list of drawables. ",
|
||||
"");
|
||||
I_Method1(void, compileDrawables, IN, osg::RenderInfo &, renderInfo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compileDrawables__RenderInfo_R1,
|
||||
"Compile OpenGL Display List for each drawable. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getBoundingBox,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_BoundingBox_R1__getBoundingBox,
|
||||
"Return the Geode's bounding box, which is the union of all the bounding boxes of the geode's drawables. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_SimpleProperty(const osg::BoundingBox &, BoundingBox,
|
||||
__C5_BoundingBox_R1__getBoundingBox,
|
||||
I_SimpleProperty(osg::Drawable *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
I_ArrayProperty(osg::Drawable *, Drawable,
|
||||
__Drawable_P1__getDrawable__unsigned_int,
|
||||
__bool__setDrawable__unsigned_int__Drawable_P1,
|
||||
__unsigned_int__getNumDrawables,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
0,
|
||||
__bool__removeDrawables__unsigned_int__unsigned_int);
|
||||
I_SimpleProperty(const osg::Geode::DrawableList &, DrawableList,
|
||||
__C5_DrawableList_R1__getDrawableList,
|
||||
0);
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Drawable > >);
|
||||
|
||||
|
||||
@@ -389,6 +389,7 @@ BEGIN_OBJECT_REFLECTOR(osg::GraphicsContext::Traits)
|
||||
I_PublicMemberProperty(unsigned int, face);
|
||||
I_PublicMemberProperty(unsigned int, mipMapGeneration);
|
||||
I_PublicMemberProperty(bool, vsync);
|
||||
I_PublicMemberProperty(bool, useMultiThreadedOpenGLEngine);
|
||||
I_PublicMemberProperty(bool, useCursor);
|
||||
I_PublicMemberProperty(osg::GraphicsContext *, sharedContext);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Group>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/PagedLOD>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -28,7 +28,6 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osg::PagedLOD::PerRangeData >, osg::PagedLOD::PerRangeDataList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
I_BaseType(osg::LOD);
|
||||
I_BaseType(osg::LOD);
|
||||
I_Constructor0(____PagedLOD,
|
||||
"",
|
||||
@@ -40,43 +39,43 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Add Node to Group. ",
|
||||
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
|
||||
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float,
|
||||
@@ -90,165 +89,8 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPriorityOffset__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPriorityOffset__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityOffsets,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPriorityOffsets,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPriorityScale__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPriorityScale__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityScales,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPriorityScales,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTimeStamp__unsigned_int__double,
|
||||
"",
|
||||
"");
|
||||
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTimeStamp__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumTimeStamps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumTimeStamps,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameNumberOfLastTraversal__int,
|
||||
"Set the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
|
||||
I_Method0(int, getFrameNumberOfLastTraversal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFrameNumberOfLastTraversal,
|
||||
"Get the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"");
|
||||
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
|
||||
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumChildrenThatCannotBeExpired,
|
||||
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeExpiredChildren__double__NodeList_R1,
|
||||
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
|
||||
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
|
||||
I_Constructor0(____PagedLOD,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
@@ -383,361 +225,20 @@ BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::PagedLOD::PerRangeData >, osg::PagedLOD::PerRangeDataList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
I_BaseType(osg::LOD);
|
||||
I_BaseType(osg::LOD);
|
||||
I_Constructor0(____PagedLOD,
|
||||
BEGIN_VALUE_REFLECTOR(osg::PagedLOD::PerRangeData)
|
||||
I_Constructor0(____PerRangeData,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPriorityOffset__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPriorityOffset__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityOffsets,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPriorityOffsets,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPriorityScale__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPriorityScale__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityScales,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPriorityScales,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTimeStamp__unsigned_int__double,
|
||||
"",
|
||||
"");
|
||||
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTimeStamp__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumTimeStamps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumTimeStamps,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameNumberOfLastTraversal__int,
|
||||
"Set the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
|
||||
I_Method0(int, getFrameNumberOfLastTraversal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFrameNumberOfLastTraversal,
|
||||
"Get the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"");
|
||||
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
|
||||
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumChildrenThatCannotBeExpired,
|
||||
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeExpiredChildren__double__NodeList_R1,
|
||||
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
|
||||
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
|
||||
I_Constructor0(____PagedLOD,
|
||||
I_Constructor1(IN, const osg::PagedLOD::PerRangeData &, prd,
|
||||
Properties::NON_EXPLICIT,
|
||||
____PerRangeData__C5_PerRangeData_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPriorityOffset__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPriorityOffset__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityOffsets,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPriorityOffsets,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPriorityScale__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getPriorityScale__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityScales,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPriorityScales,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTimeStamp__unsigned_int__double,
|
||||
"",
|
||||
"");
|
||||
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getTimeStamp__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumTimeStamps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumTimeStamps,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameNumberOfLastTraversal__int,
|
||||
"Set the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
|
||||
I_Method0(int, getFrameNumberOfLastTraversal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFrameNumberOfLastTraversal,
|
||||
"Get the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"");
|
||||
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
|
||||
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumChildrenThatCannotBeExpired,
|
||||
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeExpiredChildren__double__NodeList_R1,
|
||||
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
|
||||
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
|
||||
I_SimpleProperty(const std::string &, DatabasePath,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
__void__setDatabasePath__C5_std_string_R1);
|
||||
I_ArrayProperty(const std::string &, FileName,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
__unsigned_int__getNumFileNames,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(int, FrameNumberOfLastTraversal,
|
||||
__int__getFrameNumberOfLastTraversal,
|
||||
__void__setFrameNumberOfLastTraversal__int);
|
||||
I_SimpleProperty(unsigned int, NumChildrenThatCannotBeExpired,
|
||||
0,
|
||||
__void__setNumChildrenThatCannotBeExpired__unsigned_int);
|
||||
I_ArrayProperty(float, PriorityOffset,
|
||||
__float__getPriorityOffset__unsigned_int,
|
||||
__void__setPriorityOffset__unsigned_int__float,
|
||||
__unsigned_int__getNumPriorityOffsets,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(float, PriorityScale,
|
||||
__float__getPriorityScale__unsigned_int,
|
||||
__void__setPriorityScale__unsigned_int__float,
|
||||
__unsigned_int__getNumPriorityScales,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(double, TimeStamp,
|
||||
__double__getTimeStamp__unsigned_int,
|
||||
__void__setTimeStamp__unsigned_int__double,
|
||||
__unsigned_int__getNumTimeStamps,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_PublicMemberProperty(std::string, _filename);
|
||||
I_PublicMemberProperty(float, _priorityOffset);
|
||||
I_PublicMemberProperty(float, _priorityScale);
|
||||
I_PublicMemberProperty(double, _timeStamp);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::PagedLOD::PerRangeData >);
|
||||
|
||||
|
||||
@@ -10,16 +10,15 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Plane.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3f.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4f.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Plane>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/Vec4d>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -199,497 +198,6 @@ BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
____Plane__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
|
||||
____Plane__C5_Vec3_type_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec4_type, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_type__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec3_type, getNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3_type__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__distance__C5_osg_Vec3f_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(double, distance, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__distance__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__dotProductNormal__C5_osg_Vec3f_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__dotProductNormal__C5_osg_Vec3d_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Plane::Vec3_type, Normal,
|
||||
__Vec3_type__getNormal,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Plane::value_type);
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec3d, osg::Plane::Vec3_type);
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Vec4d, osg::Plane::Vec4_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
____Plane__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
|
||||
____Plane__C5_Vec3_type_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec4_type, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_type__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec3_type, getNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3_type__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__distance__C5_osg_Vec3f_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(double, distance, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__distance__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__dotProductNormal__C5_osg_Vec3f_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__dotProductNormal__C5_osg_Vec3d_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
____Plane__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Plane__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, osg::Plane::value_type, d,
|
||||
____Plane__C5_Vec3_type_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
____Plane__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Plane::value_type, a, IN, osg::Plane::value_type, b, IN, osg::Plane::value_type, c, IN, osg::Plane::value_type, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, double, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Plane::Vec3_type &, v1, IN, const osg::Plane::Vec3_type &, v2, IN, const osg::Plane::Vec3_type &, v3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Plane::Vec3_type &, norm, IN, const osg::Plane::Vec3_type &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3_type_R1__C5_Vec3_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Plane::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec4_type, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_type__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Plane::Vec3_type, getNormal,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3_type__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__distance__C5_osg_Vec3f_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(double, distance, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__distance__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, dotProductNormal, IN, const osg::Vec3f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__dotProductNormal__C5_osg_Vec3f_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(double, dotProductNormal, IN, const osg::Vec3d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__dotProductNormal__C5_osg_Vec3d_R1,
|
||||
"calculate the dot product of the plane normal and a point. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Plane::Vec3_type, Normal,
|
||||
__Vec3_type__getNormal,
|
||||
0);
|
||||
|
||||
@@ -10,12 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Point>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
@@ -38,32 +37,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -128,118 +127,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
@@ -263,400 +152,13 @@ BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_SimpleProperty(float, Size,
|
||||
__float__getSize,
|
||||
__void__setSize__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const osg::Vec3 &, DistanceAttenuation,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1);
|
||||
I_SimpleProperty(float, FadeThresholdSize,
|
||||
__float__getFadeThresholdSize,
|
||||
__void__setFadeThresholdSize__float);
|
||||
I_SimpleProperty(float, MaxSize,
|
||||
__float__getMaxSize,
|
||||
__void__setMaxSize__float);
|
||||
I_SimpleProperty(float, MinSize,
|
||||
__float__getMinSize,
|
||||
__void__setMinSize__float);
|
||||
I_SimpleProperty(float, Size,
|
||||
__float__getSize,
|
||||
__void__setSize__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPointParametersSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointParametersSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointParametersSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointParametersSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameteri, IN, GLenum, pname, IN, GLint, param,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameteri__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameterf__GLenum__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPointParametersSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointParametersSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointParametersSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointParametersSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameteri, IN, GLenum, pname, IN, GLint, param,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameteri__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameterf__GLenum__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, PointParametersSupported,
|
||||
0,
|
||||
__void__setPointParametersSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPointParametersSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointParametersSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointParametersSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isPointParametersSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameteri, IN, GLenum, pname, IN, GLint, param,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameteri__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameterf__GLenum__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/PointSprite.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/PointSprite>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PointSprite,
|
||||
"",
|
||||
@@ -43,32 +41,32 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -83,18 +81,18 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
"Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
|
||||
"Return true if all associated modes are valid. ");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoordOriginMode__CoordOriginMode,
|
||||
@@ -105,82 +103,6 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
__CoordOriginMode__getCoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PointSprite,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointSprite__C5_PointSprite_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoordOriginMode__CoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CoordOriginMode__getCoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
|
||||
__bool__isPointSpriteSupported__unsigned_int_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
|
||||
__bool__isPointSpriteSupported__unsigned_int_S,
|
||||
"",
|
||||
@@ -188,175 +110,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode,
|
||||
__CoordOriginMode__getCoordOriginMode,
|
||||
__void__setCoordOriginMode__CoordOriginMode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::PointSprite::CoordOriginMode)
|
||||
I_EnumLabel(osg::PointSprite::UPPER_LEFT);
|
||||
I_EnumLabel(osg::PointSprite::LOWER_LEFT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PointSprite,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointSprite__C5_PointSprite_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoordOriginMode__CoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CoordOriginMode__getCoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PointSprite,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, ps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointSprite__C5_PointSprite_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoordOriginMode, IN, osg::PointSprite::CoordOriginMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCoordOriginMode__CoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PointSprite::CoordOriginMode, getCoordOriginMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CoordOriginMode__getCoordOriginMode,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
|
||||
__bool__isPointSpriteSupported__unsigned_int_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
|
||||
__bool__isPointSpriteSupported__unsigned_int_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::PointSprite::CoordOriginMode, CoordOriginMode,
|
||||
__CoordOriginMode__getCoordOriginMode,
|
||||
__void__setCoordOriginMode__CoordOriginMode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/PolygonMode.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/PolygonMode>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -38,7 +37,6 @@ BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PolygonMode,
|
||||
"",
|
||||
@@ -54,32 +52,32 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -104,74 +102,8 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
____PolygonMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonMode__C5_PolygonMode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getFrontAndBack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(bool, FrontAndBack,
|
||||
__bool__getFrontAndBack,
|
||||
0);
|
||||
@@ -179,166 +111,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
__Mode__getMode__Face,
|
||||
__void__setMode__Face__Mode,
|
||||
0);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Mode)
|
||||
I_EnumLabel(osg::PolygonMode::POINT);
|
||||
I_EnumLabel(osg::PolygonMode::LINE);
|
||||
I_EnumLabel(osg::PolygonMode::FILL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::PolygonMode::Face)
|
||||
I_EnumLabel(osg::PolygonMode::FRONT_AND_BACK);
|
||||
I_EnumLabel(osg::PolygonMode::FRONT);
|
||||
I_EnumLabel(osg::PolygonMode::BACK);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
____PolygonMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonMode__C5_PolygonMode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getFrontAndBack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
____PolygonMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonMode__C5_PolygonMode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getFrontAndBack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, FrontAndBack,
|
||||
__bool__getFrontAndBack,
|
||||
0);
|
||||
I_IndexedProperty(osg::PolygonMode::Mode, Mode,
|
||||
__Mode__getMode__Face,
|
||||
__void__setMode__Face__Mode,
|
||||
0);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/PolygonOffset>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PolygonOffset,
|
||||
"",
|
||||
@@ -41,32 +40,32 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -101,108 +100,8 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PolygonOffset,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, factor, IN, float, units,
|
||||
____PolygonOffset__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonOffset__C5_PolygonOffset_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFactor, IN, float, factor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFactor__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFactor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFactor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUnits, IN, float, units,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUnits__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getUnits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
|
||||
__void__setFactorMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getFactorMultiplier,
|
||||
__float__getFactorMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier,
|
||||
__void__setUnitsMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getUnitsMultiplier,
|
||||
__float__getUnitsMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet,
|
||||
__bool__areFactorAndUnitsMultipliersSet_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver,
|
||||
__void__setFactorAndUnitsMultipliersUsingBestGuessForDriver_S,
|
||||
"Checks with the OpenGL driver to try and pick multiplier approrpriate for the hardware. ",
|
||||
"note, requires a valid graphics context to be current. ");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
|
||||
__void__setFactorMultiplier__float_S,
|
||||
"",
|
||||
@@ -230,221 +129,7 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
I_SimpleProperty(float, Factor,
|
||||
__float__getFactor,
|
||||
__void__setFactor__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(float, Units,
|
||||
__float__getUnits,
|
||||
__void__setUnits__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PolygonOffset,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, factor, IN, float, units,
|
||||
____PolygonOffset__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonOffset__C5_PolygonOffset_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFactor, IN, float, factor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFactor__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFactor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFactor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUnits, IN, float, units,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUnits__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getUnits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PolygonOffset,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, factor, IN, float, units,
|
||||
____PolygonOffset__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonOffset__C5_PolygonOffset_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFactor, IN, float, factor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFactor__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFactor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getFactor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUnits, IN, float, units,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUnits__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getUnits,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
|
||||
__void__setFactorMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getFactorMultiplier,
|
||||
__float__getFactorMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier,
|
||||
__void__setUnitsMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getUnitsMultiplier,
|
||||
__float__getUnitsMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet,
|
||||
__bool__areFactorAndUnitsMultipliersSet_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver,
|
||||
__void__setFactorAndUnitsMultipliersUsingBestGuessForDriver_S,
|
||||
"Checks with the OpenGL driver to try and pick multiplier approrpriate for the hardware. ",
|
||||
"note, requires a valid graphics context to be current. ");
|
||||
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
|
||||
__void__setFactorMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getFactorMultiplier,
|
||||
__float__getFactorMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier,
|
||||
__void__setUnitsMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getUnitsMultiplier,
|
||||
__float__getUnitsMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet,
|
||||
__bool__areFactorAndUnitsMultipliersSet_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver,
|
||||
__void__setFactorAndUnitsMultipliersUsingBestGuessForDriver_S,
|
||||
"Checks with the OpenGL driver to try and pick multiplier approrpriate for the hardware. ",
|
||||
"note, requires a valid graphics context to be current. ");
|
||||
I_SimpleProperty(float, Factor,
|
||||
__float__getFactor,
|
||||
__void__setFactor__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(float, Units,
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/PolygonStipple>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PolygonStipple,
|
||||
"",
|
||||
@@ -37,32 +36,32 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -87,209 +86,12 @@ BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PolygonStipple,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonStipple__C5_PolygonStipple_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMask, IN, const GLubyte *, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMask__C5_GLubyte_P1,
|
||||
"set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask. ",
|
||||
"");
|
||||
I_Method0(const GLubyte *, getMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
"get a pointer to the mask. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const GLubyte *, Mask,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
__void__setMask__C5_GLubyte_P1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____PolygonStipple,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonStipple__C5_PolygonStipple_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMask, IN, const GLubyte *, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMask__C5_GLubyte_P1,
|
||||
"set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask. ",
|
||||
"");
|
||||
I_Method0(const GLubyte *, getMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
"get a pointer to the mask. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PolygonStipple,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonStipple__C5_PolygonStipple_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMask, IN, const GLubyte *, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMask__C5_GLubyte_P1,
|
||||
"set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask. ",
|
||||
"");
|
||||
I_Method0(const GLubyte *, getMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
"get a pointer to the mask. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const GLubyte *, Mask,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
__void__setMask__C5_GLubyte_P1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Polytope.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Plane>
|
||||
#include <osg/Polytope>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -193,164 +192,6 @@ BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by provide a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_Constructor0(____Polytope,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope &, cv,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Polytope__C5_Polytope_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope::PlaneList &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Polytope__C5_PlaneList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToUnitFrustum__bool__bool,
|
||||
"Create a Polytope which is a cube, centered at 0,0,0, with sides of 2 units. ",
|
||||
"");
|
||||
I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAndTransformProvidingInverse__C5_Polytope_R1__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Polytope::PlaneList &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_PlaneList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, add, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__add__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of all the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope::PlaneList &, getPlaneList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__PlaneList_R1__getPlaneList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::PlaneList &, getPlaneList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_PlaneList_R1__getPlaneList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceVertexList, IN, osg::Polytope::VertexList &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceVertexList__VertexList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setupMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask &, getCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask_R1__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setResultMask, IN, osg::Polytope::ClippingMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setResultMask__ClippingMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getResultMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask__getResultMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::MaskStack &, getMaskStack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::MaskStack &, getMaskStack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_Vec3_R1,
|
||||
"Check whether a vertex is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether any part of vertex list is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_BoundingSphere_R1,
|
||||
"Check whether any part of a bounding sphere is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_BoundingBox_R1,
|
||||
"Check whether any part of a bounding box is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, containsAllOf, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether all of vertex list is contained with clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_osg_BoundingSphere_R1,
|
||||
"Check whether the entire bounding sphere is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_osg_BoundingBox_R1,
|
||||
"Check whether the entire bounding box is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by matrix. ",
|
||||
"Note, this operations carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This makes this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by provide a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Polytope::ClippingMask, CurrentMask,
|
||||
__ClippingMask__getCurrentMask,
|
||||
0);
|
||||
@@ -368,26 +209,18 @@ BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
__void__setResultMask__ClippingMask);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osg::Polytope::ClippingMask);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Plane >, osg::Polytope::PlaneList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Polytope::VertexList);
|
||||
|
||||
TYPE_NAME_ALIAS(osg::fast_back_stack< osg::Polytope::ClippingMask >, osg::Polytope::MaskStack);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
I_Constructor0(____Polytope,
|
||||
BEGIN_VALUE_REFLECTOR(osg::fast_back_stack< osg::Polytope::ClippingMask >)
|
||||
I_Constructor0(____fast_back_stack,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope &, cv,
|
||||
I_Constructor1(IN, const osg::fast_back_stack< osg::Polytope::ClippingMask > &, fbs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Polytope__C5_Polytope_R1,
|
||||
____fast_back_stack__C5_fast_back_stack_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope::PlaneList &, pl,
|
||||
I_Constructor1(IN, const osg::Polytope::ClippingMask &, value,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Polytope__C5_PlaneList_R1,
|
||||
____fast_back_stack__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
@@ -395,318 +228,45 @@ BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
__void__clear,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToUnitFrustum__bool__bool,
|
||||
"Create a Polytope which is a cube, centered at 0,0,0, with sides of 2 units. ",
|
||||
"");
|
||||
I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix,
|
||||
I_Method0(bool, empty,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAndTransformProvidingInverse__C5_Polytope_R1__C5_osg_Matrix_R1,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Polytope::PlaneList &, pl,
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_PlaneList_R1,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, add, IN, const osg::Plane &, pl,
|
||||
I_Method0(osg::Polytope::ClippingMask &, back,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__add__C5_osg_Plane_R1,
|
||||
__T_R1__back,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
I_Method0(const osg::Polytope::ClippingMask &, back,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of all the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope::PlaneList &, getPlaneList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__PlaneList_R1__getPlaneList,
|
||||
__C5_T_R1__back,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::PlaneList &, getPlaneList,
|
||||
I_Method0(void, push_back,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_PlaneList_R1__getPlaneList,
|
||||
__void__push_back,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceVertexList, IN, osg::Polytope::VertexList &, vertices,
|
||||
I_Method1(void, push_back, IN, const osg::Polytope::ClippingMask &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceVertexList__VertexList_R1,
|
||||
__void__push_back__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
I_Method0(void, pop_back,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VertexList_R1__getReferenceVertexList,
|
||||
__void__pop_back,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setupMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask &, getCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask_R1__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setResultMask, IN, osg::Polytope::ClippingMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setResultMask__ClippingMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getResultMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask__getResultMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::MaskStack &, getMaskStack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::MaskStack &, getMaskStack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_Vec3_R1,
|
||||
"Check whether a vertex is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether any part of vertex list is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_BoundingSphere_R1,
|
||||
"Check whether any part of a bounding sphere is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_BoundingBox_R1,
|
||||
"Check whether any part of a bounding box is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, containsAllOf, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether all of vertex list is contained with clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_osg_BoundingSphere_R1,
|
||||
"Check whether the entire bounding sphere is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_osg_BoundingBox_R1,
|
||||
"Check whether the entire bounding box is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by matrix. ",
|
||||
"Note, this operations carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This makes this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by provide a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_Constructor0(____Polytope,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope &, cv,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Polytope__C5_Polytope_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope::PlaneList &, pl,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Polytope__C5_PlaneList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setToUnitFrustum__bool__bool,
|
||||
"Create a Polytope which is a cube, centered at 0,0,0, with sides of 2 units. ",
|
||||
"");
|
||||
I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAndTransformProvidingInverse__C5_Polytope_R1__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Polytope::PlaneList &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_PlaneList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, add, IN, const osg::Plane &, pl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__add__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of all the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope::PlaneList &, getPlaneList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__PlaneList_R1__getPlaneList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::PlaneList &, getPlaneList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_PlaneList_R1__getPlaneList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceVertexList, IN, osg::Polytope::VertexList &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceVertexList__VertexList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setupMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask &, getCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask_R1__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setResultMask, IN, osg::Polytope::ClippingMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setResultMask__ClippingMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getResultMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ClippingMask__getResultMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::MaskStack &, getMaskStack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::MaskStack &, getMaskStack,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_Vec3_R1,
|
||||
"Check whether a vertex is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether any part of vertex list is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_BoundingSphere_R1,
|
||||
"Check whether any part of a bounding sphere is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_osg_BoundingBox_R1,
|
||||
"Check whether any part of a bounding box is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, containsAllOf, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether all of vertex list is contained with clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingSphere &, bs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_osg_BoundingSphere_R1,
|
||||
"Check whether the entire bounding sphere is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingBox &, bb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsAllOf__C5_osg_BoundingBox_R1,
|
||||
"Check whether the entire bounding box is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by matrix. ",
|
||||
"Note, this operations carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This makes this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by provide a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Polytope::ClippingMask, CurrentMask,
|
||||
__ClippingMask__getCurrentMask,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope::MaskStack &, MaskStack,
|
||||
__MaskStack_R1__getMaskStack,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope::PlaneList &, PlaneList,
|
||||
__PlaneList_R1__getPlaneList,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope::VertexList &, ReferenceVertexList,
|
||||
__VertexList_R1__getReferenceVertexList,
|
||||
__void__setReferenceVertexList__VertexList_R1);
|
||||
I_SimpleProperty(osg::Polytope::ClippingMask, ResultMask,
|
||||
__ClippingMask__getResultMask,
|
||||
__void__setResultMask__ClippingMask);
|
||||
I_PublicMemberProperty(osg::Polytope::ClippingMask, _value);
|
||||
I_PublicMemberProperty(std::vector< osg::Polytope::ClippingMask >, _stack);
|
||||
I_PublicMemberProperty(unsigned int, _size);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Plane >);
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec3d>
|
||||
@@ -27,7 +27,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PositionAttitudeTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0(____PositionAttitudeTransform,
|
||||
"",
|
||||
@@ -39,340 +38,32 @@ BEGIN_OBJECT_REFLECTOR(osg::PositionAttitudeTransform)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAttitude__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getAttitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPivotPoint__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PositionAttitudeTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PositionAttitudeTransform__C5_PositionAttitudeTransform_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAttitude__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getAttitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPivotPoint__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Quat &, Attitude,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
__void__setAttitude__C5_Quat_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, PivotPoint,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
__void__setPivotPoint__C5_Vec3d_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, Position,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
__void__setPosition__C5_Vec3d_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, Scale,
|
||||
__C5_Vec3d_R1__getScale,
|
||||
__void__setScale__C5_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PositionAttitudeTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0(____PositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PositionAttitudeTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PositionAttitudeTransform__C5_PositionAttitudeTransform_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAttitude__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getAttitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPivotPoint__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____PositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PositionAttitudeTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PositionAttitudeTransform__C5_PositionAttitudeTransform_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Program.svn-base>
|
||||
#include <osg/.svn/text-base/Shader.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Program>
|
||||
#include <osg/Shader>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Uniform>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -32,7 +31,6 @@ TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::AttribBindi
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::Program::ActiveVarInfo >, osg::Program::ActiveVarInfoMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
@@ -44,32 +42,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -171,151 +169,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
__PerContextProgram_P1__getPCP__unsigned_int,
|
||||
"Get the PCP for a particular GL context. ",
|
||||
"");
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Program &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"If enabled, activate our program in the GL pipeline, performing any rebuild operations that might be pending. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__osg_State_R1,
|
||||
"Compile program and associated shaders. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyProgram,
|
||||
"Mark our PCSOs as needing relink. ",
|
||||
"");
|
||||
I_Method1(bool, addShader, IN, osg::Shader *, shader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addShader__Shader_P1,
|
||||
"Attach an osg::Shader to this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method0(unsigned int, getNumShaders,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumShaders,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Shader *, getShader, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Shader *, getShader, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeShader, IN, osg::Shader *, shader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__removeShader__Shader_P1,
|
||||
"Remove osg::Shader from this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method2(void, addBindAttribLocation, IN, const std::string &, name, IN, GLuint, index,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addBindAttribLocation__C5_std_string_R1__GLuint,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method1(void, removeBindAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeBindAttribLocation__C5_std_string_R1,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFixedFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFixedFunction,
|
||||
"Return true if this Program represents \"fixed-functionality\" rendering. ",
|
||||
"");
|
||||
I_Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getGlProgramInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glProgram. ",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Program::PerContextProgram *, getPCP, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__PerContextProgram_P1__getPCP__unsigned_int,
|
||||
"Get the PCP for a particular GL context. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteGlProgram__unsigned_int__GLuint_S,
|
||||
"Mark internal glProgram for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlPrograms, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlPrograms__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glPrograms which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteGlProgram__unsigned_int__GLuint_S,
|
||||
"Mark internal glProgram for deletion. ",
|
||||
@@ -337,354 +190,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA GLuint >, osg::Program::AttribBindingList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::Program::ActiveVarInfo >, osg::Program::ActiveVarInfoMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Program &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"If enabled, activate our program in the GL pipeline, performing any rebuild operations that might be pending. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__osg_State_R1,
|
||||
"Compile program and associated shaders. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyProgram,
|
||||
"Mark our PCSOs as needing relink. ",
|
||||
"");
|
||||
I_Method1(bool, addShader, IN, osg::Shader *, shader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addShader__Shader_P1,
|
||||
"Attach an osg::Shader to this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method0(unsigned int, getNumShaders,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumShaders,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Shader *, getShader, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Shader *, getShader, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeShader, IN, osg::Shader *, shader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__removeShader__Shader_P1,
|
||||
"Remove osg::Shader from this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method2(void, addBindAttribLocation, IN, const std::string &, name, IN, GLuint, index,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addBindAttribLocation__C5_std_string_R1__GLuint,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method1(void, removeBindAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeBindAttribLocation__C5_std_string_R1,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFixedFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFixedFunction,
|
||||
"Return true if this Program represents \"fixed-functionality\" rendering. ",
|
||||
"");
|
||||
I_Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getGlProgramInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glProgram. ",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Program::PerContextProgram *, getPCP, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__PerContextProgram_P1__getPCP__unsigned_int,
|
||||
"Get the PCP for a particular GL context. ",
|
||||
"");
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Program &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_State_R1,
|
||||
"If enabled, activate our program in the GL pipeline, performing any rebuild operations that might be pending. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__osg_State_R1,
|
||||
"Compile program and associated shaders. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyProgram,
|
||||
"Mark our PCSOs as needing relink. ",
|
||||
"");
|
||||
I_Method1(bool, addShader, IN, osg::Shader *, shader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addShader__Shader_P1,
|
||||
"Attach an osg::Shader to this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method0(unsigned int, getNumShaders,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumShaders,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Shader *, getShader, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Shader *, getShader, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeShader, IN, osg::Shader *, shader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__removeShader__Shader_P1,
|
||||
"Remove osg::Shader from this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method2(void, addBindAttribLocation, IN, const std::string &, name, IN, GLuint, index,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addBindAttribLocation__C5_std_string_R1__GLuint,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method1(void, removeBindAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeBindAttribLocation__C5_std_string_R1,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFixedFunction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isFixedFunction,
|
||||
"Return true if this Program represents \"fixed-functionality\" rendering. ",
|
||||
"");
|
||||
I_Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getGlProgramInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glProgram. ",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Program::PerContextProgram *, getPCP, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__PerContextProgram_P1__getPCP__unsigned_int,
|
||||
"Get the PCP for a particular GL context. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteGlProgram__unsigned_int__GLuint_S,
|
||||
"Mark internal glProgram for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlPrograms, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlPrograms__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glPrograms which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteGlProgram__unsigned_int__GLuint_S,
|
||||
"Mark internal glProgram for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlPrograms, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlPrograms__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glPrograms which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Program::AttribBindingList &, AttribBindingList,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
0);
|
||||
I_ArrayProperty(osg::Shader *, Shader,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumShaders,
|
||||
__bool__addShader__Shader_P1,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Program::ActiveVarInfo)
|
||||
I_Constructor0(____ActiveVarInfo,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLint, loc, IN, GLenum, type, IN, GLint, size,
|
||||
____ActiveVarInfo__GLint__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActiveVarInfo,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLint, loc, IN, GLenum, type, IN, GLint, size,
|
||||
____ActiveVarInfo__GLint__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(GLint, _location);
|
||||
I_PublicMemberProperty(GLenum, _type);
|
||||
I_PublicMemberProperty(GLint, _size);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Program::ActiveVarInfo)
|
||||
I_Constructor0(____ActiveVarInfo,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLint, loc, IN, GLenum, type, IN, GLint, size,
|
||||
____ActiveVarInfo__GLint__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ActiveVarInfo,
|
||||
"",
|
||||
"");
|
||||
@@ -699,81 +210,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID,
|
||||
____PerContextProgram__C5_Program_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLuint, getHandle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getHandle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, requestLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__requestLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, linkProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__linkProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, validateProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__validateProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needsLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needsLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLinked,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isLinked,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getInfoLog, IN, std::string &, infoLog,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getInfoLog__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, useProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__useProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, resetAppliedUniforms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__resetAppliedUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, const osg::Uniform &, uniform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__C5_Uniform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveUniforms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveAttribs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getUniformLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getAttribLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID,
|
||||
____PerContextProgram__C5_Program_P1__unsigned_int,
|
||||
"",
|
||||
@@ -859,165 +295,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID,
|
||||
____PerContextProgram__C5_Program_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLuint, getHandle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getHandle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, requestLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__requestLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, linkProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__linkProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, validateProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__validateProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needsLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needsLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLinked,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isLinked,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getInfoLog, IN, std::string &, infoLog,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getInfoLog__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, useProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__useProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, resetAppliedUniforms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__resetAppliedUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, const osg::Uniform &, uniform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__C5_Uniform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveUniforms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveAttribs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getUniformLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getAttribLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID,
|
||||
____PerContextProgram__C5_Program_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLuint, getHandle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint__getHandle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, requestLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__requestLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, linkProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__linkProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, validateProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__validateProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needsLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needsLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLinked,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isLinked,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getInfoLog, IN, std::string &, infoLog,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getInfoLog__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, useProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__useProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, resetAppliedUniforms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__resetAppliedUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, const osg::Uniform &, uniform,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__apply__C5_Uniform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveUniforms,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveAttribs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getUniformLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getAttribLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Program::ActiveVarInfoMap &, ActiveAttribs,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Program::ActiveVarInfoMap &, ActiveUniforms,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms,
|
||||
0);
|
||||
I_SimpleProperty(GLuint, Handle,
|
||||
__GLuint__getHandle,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA GLuint >);
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::Program::ActiveVarInfo >);
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Projection>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Projection)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Projection,
|
||||
"",
|
||||
@@ -42,226 +41,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Projection)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the transform's matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the transform's matrix. ",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__preMult__C5_Matrix_R1,
|
||||
"preMult transform. ",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__postMult__C5_Matrix_R1,
|
||||
"postMult transform. ",
|
||||
"");
|
||||
I_Constructor0(____Projection,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Projection &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Projection__C5_Projection_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Projection__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the transform's matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the transform's matrix. ",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__preMult__C5_Matrix_R1,
|
||||
"preMult transform. ",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__postMult__C5_Matrix_R1,
|
||||
"postMult transform. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, Matrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
__void__setMatrix__C5_Matrix_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Projection)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Projection,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Projection &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Projection__C5_Projection_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Projection__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the transform's matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the transform's matrix. ",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__preMult__C5_Matrix_R1,
|
||||
"preMult transform. ",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__postMult__C5_Matrix_R1,
|
||||
"postMult transform. ",
|
||||
"");
|
||||
I_Constructor0(____Projection,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Projection &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Projection__C5_Projection_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Projection__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/ProxyNode.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/ProxyNode>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -35,7 +34,6 @@ BEGIN_ENUM_REFLECTOR(osg::ProxyNode::CenterMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____ProxyNode,
|
||||
"",
|
||||
@@ -47,43 +45,43 @@ BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Add Node to Group. ",
|
||||
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__C5_std_string_R1,
|
||||
@@ -92,8 +90,8 @@ BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
@@ -152,390 +150,8 @@ BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ProxyNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ProxyNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ProxyNode__C5_ProxyNode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCenterMode, IN, osg::ProxyNode::CenterMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenterMode__CenterMode,
|
||||
"Set how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method0(osg::ProxyNode::CenterMode, getCenterMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CenterMode__getCenterMode,
|
||||
"Get how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__C5_Vec3_R1,
|
||||
"Sets the object-space point which defines the center of the osg::ProxyNode. ",
|
||||
"center is affected by any transforms in the hierarchy above the osg::ProxyNode. ");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
"return the ProxyNode center point. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, radius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the object-space reference radius of the volume enclosed by the ProxyNode. ",
|
||||
"Used to detmine the bounding sphere of the ProxyNode in the absense of any children. ");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the object-space radius of the volume enclosed by the ProxyNode. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Center,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
__void__setCenter__C5_Vec3_R1);
|
||||
I_SimpleProperty(osg::ProxyNode::CenterMode, CenterMode,
|
||||
__CenterMode__getCenterMode,
|
||||
__void__setCenterMode__CenterMode);
|
||||
I_SimpleProperty(const std::string &, DatabasePath,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
__void__setDatabasePath__C5_std_string_R1);
|
||||
I_ArrayProperty(const std::string &, FileName,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
__unsigned_int__getNumFileNames,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(float, Radius,
|
||||
__float__getRadius,
|
||||
__void__setRadius__float);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< std::string >, osg::ProxyNode::FileNameList);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ProxyNode::CenterMode)
|
||||
I_EnumLabel(osg::ProxyNode::USE_BOUNDING_SPHERE_CENTER);
|
||||
I_EnumLabel(osg::ProxyNode::USER_DEFINED_CENTER);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____ProxyNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ProxyNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ProxyNode__C5_ProxyNode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCenterMode, IN, osg::ProxyNode::CenterMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenterMode__CenterMode,
|
||||
"Set how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method0(osg::ProxyNode::CenterMode, getCenterMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CenterMode__getCenterMode,
|
||||
"Get how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__C5_Vec3_R1,
|
||||
"Sets the object-space point which defines the center of the osg::ProxyNode. ",
|
||||
"center is affected by any transforms in the hierarchy above the osg::ProxyNode. ");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
"return the ProxyNode center point. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, radius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the object-space reference radius of the volume enclosed by the ProxyNode. ",
|
||||
"Used to detmine the bounding sphere of the ProxyNode in the absense of any children. ");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the object-space radius of the volume enclosed by the ProxyNode. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ProxyNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ProxyNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ProxyNode__C5_ProxyNode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCenterMode, IN, osg::ProxyNode::CenterMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenterMode__CenterMode,
|
||||
"Set how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method0(osg::ProxyNode::CenterMode, getCenterMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__CenterMode__getCenterMode,
|
||||
"Get how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCenter__C5_Vec3_R1,
|
||||
"Sets the object-space point which defines the center of the osg::ProxyNode. ",
|
||||
"center is affected by any transforms in the hierarchy above the osg::ProxyNode. ");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
"return the ProxyNode center point. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, radius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the object-space reference radius of the volume enclosed by the ProxyNode. ",
|
||||
"Used to detmine the bounding sphere of the ProxyNode in the absense of any children. ");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the object-space radius of the volume enclosed by the ProxyNode. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
"Compute the bounding sphere around Node's geometry or children. ",
|
||||
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
||||
I_SimpleProperty(const osg::Vec3 &, Center,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
__void__setCenter__C5_Vec3_R1);
|
||||
|
||||
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixf.svn-base>
|
||||
#include <osg/.svn/text-base/Quat.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3f.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4f.svn-base>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Matrixf>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec3f>
|
||||
#include <osg/Vec4d>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -237,621 +236,5 @@ BEGIN_VALUE_REFLECTOR(osg::Quat)
|
||||
__void__slerp__value_type__C5_Quat_R1__C5_Quat_R1,
|
||||
"Spherical Linear Interpolation. ",
|
||||
"As t goes from 0 to 1, the Quat object goes from \"from\" to \"to\". ");
|
||||
I_Constructor0(____Quat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
____Quat__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Quat__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Quat__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
____Quat__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
____Quat__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
____Quat__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
____Quat__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4d__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, asVec3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3d__asVec3,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_osg_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_osg_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixf &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__get__Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__get__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, zeroRotation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__zeroRotation,
|
||||
"return true if the Quat represents a zero rotation, and therefore can be ignored in computations. ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the quaternion = sqrt( vec . vec ). ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length of the quaternion = vec . vec. ",
|
||||
"");
|
||||
I_Method0(osg::Quat, conj,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Quat__conj,
|
||||
"Conjugate. ",
|
||||
"");
|
||||
I_Method0(const osg::Quat, inverse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quat__inverse,
|
||||
"Multiplicative inverse method: q^(-1) = q^*/(q.q^*). ",
|
||||
"");
|
||||
I_Method4(void, makeRotate, IN, osg::Quat::value_type, angle, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, vec1, IN, const osg::Vec3f &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases of when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate_original, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate_original__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Quat::value_type &, x, IN, osg::Quat::value_type &, y, IN, osg::Quat::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__value_type_R1__value_type_R1__value_type_R1,
|
||||
"Return the angle and vector components represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__Vec3f_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__Vec3d_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method3(void, slerp, IN, osg::Quat::value_type, t, IN, const osg::Quat &, from, IN, const osg::Quat &, to,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__slerp__value_type__C5_Quat_R1__C5_Quat_R1,
|
||||
"Spherical Linear Interpolation. ",
|
||||
"As t goes from 0 to 1, the Quat object goes from \"from\" to \"to\". ");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Quat::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Quat)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Quat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
____Quat__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Quat__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Quat__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
____Quat__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
____Quat__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
____Quat__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
____Quat__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4d__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, asVec3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3d__asVec3,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_osg_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_osg_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixf &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__get__Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__get__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, zeroRotation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__zeroRotation,
|
||||
"return true if the Quat represents a zero rotation, and therefore can be ignored in computations. ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the quaternion = sqrt( vec . vec ). ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length of the quaternion = vec . vec. ",
|
||||
"");
|
||||
I_Method0(osg::Quat, conj,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Quat__conj,
|
||||
"Conjugate. ",
|
||||
"");
|
||||
I_Method0(const osg::Quat, inverse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quat__inverse,
|
||||
"Multiplicative inverse method: q^(-1) = q^*/(q.q^*). ",
|
||||
"");
|
||||
I_Method4(void, makeRotate, IN, osg::Quat::value_type, angle, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, vec1, IN, const osg::Vec3f &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases of when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate_original, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate_original__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Quat::value_type &, x, IN, osg::Quat::value_type &, y, IN, osg::Quat::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__value_type_R1__value_type_R1__value_type_R1,
|
||||
"Return the angle and vector components represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__Vec3f_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__Vec3d_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method3(void, slerp, IN, osg::Quat::value_type, t, IN, const osg::Quat &, from, IN, const osg::Quat &, to,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__slerp__value_type__C5_Quat_R1__C5_Quat_R1,
|
||||
"Spherical Linear Interpolation. ",
|
||||
"As t goes from 0 to 1, the Quat object goes from \"from\" to \"to\". ");
|
||||
I_Constructor0(____Quat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
____Quat__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Quat__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Quat__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
____Quat__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
____Quat__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
____Quat__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
____Quat__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d, asVec4,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4d__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, asVec3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3d__asVec3,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_osg_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_osg_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixf &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__get__Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixd &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__get__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, zeroRotation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__zeroRotation,
|
||||
"return true if the Quat represents a zero rotation, and therefore can be ignored in computations. ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the quaternion = sqrt( vec . vec ). ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length of the quaternion = vec . vec. ",
|
||||
"");
|
||||
I_Method0(osg::Quat, conj,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Quat__conj,
|
||||
"Conjugate. ",
|
||||
"");
|
||||
I_Method0(const osg::Quat, inverse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Quat__inverse,
|
||||
"Multiplicative inverse method: q^(-1) = q^*/(q.q^*). ",
|
||||
"");
|
||||
I_Method4(void, makeRotate, IN, osg::Quat::value_type, angle, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, vec1, IN, const osg::Vec3f &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases of when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate_original, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__makeRotate_original__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Quat::value_type &, x, IN, osg::Quat::value_type &, y, IN, osg::Quat::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__value_type_R1__value_type_R1__value_type_R1,
|
||||
"Return the angle and vector components represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3f &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__Vec3f_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3d &, vec,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getRotate__value_type_R1__Vec3d_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method3(void, slerp, IN, osg::Quat::value_type, t, IN, const osg::Quat &, from, IN, const osg::Quat &, to,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__slerp__value_type__C5_Quat_R1__C5_Quat_R1,
|
||||
"Spherical Linear Interpolation. ",
|
||||
"As t goes from 0 to 1, the Quat object goes from \"from\" to \"to\". ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/DeleteHandler.svn-base>
|
||||
#include <osg/.svn/text-base/observer_ptr.svn-base>
|
||||
#include <osg/DeleteHandler>
|
||||
#include <osg/Referenced>
|
||||
#include <osg/observer_ptr>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -76,219 +76,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Referenced)
|
||||
__void__removeObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_Constructor0(____Referenced,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref,
|
||||
Properties::EXPLICIT,
|
||||
____Referenced__bool,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Referenced &, x,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Referenced__C5_Referenced_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(bool, getThreadSafeRefUnref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getThreadSafeRefUnref,
|
||||
"Get whether a mutex is used to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(void, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__ref,
|
||||
"Increment the reference count by one, indicating that this object has another pointer which is referencing it. ",
|
||||
"");
|
||||
I_Method0(void, unref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unref,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted. ");
|
||||
I_Method0(void, unref_nodelete,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unref_nodelete,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks. ");
|
||||
I_Method0(int, referenceCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__referenceCount,
|
||||
"Return the number pointers currently referencing this object. ",
|
||||
"");
|
||||
I_Method1(void, addObserver, IN, osg::Observer *, observer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_Method1(void, removeObserver, IN, osg::Observer *, observer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting,
|
||||
__void__setThreadSafeReferenceCounting__bool_S,
|
||||
"Set whether reference counting should be use a mutex to create thread reference counting. ",
|
||||
"");
|
||||
I_StaticMethod0(bool, getThreadSafeReferenceCounting,
|
||||
__bool__getThreadSafeReferenceCounting_S,
|
||||
"Get whether reference counting is active. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setDeleteHandler, IN, osg::DeleteHandler *, handler,
|
||||
__void__setDeleteHandler__DeleteHandler_P1_S,
|
||||
"Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::DeleteHandler *, getDeleteHandler,
|
||||
__DeleteHandler_P1__getDeleteHandler_S,
|
||||
"Get a DeleteHandler. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting,
|
||||
__void__setThreadSafeReferenceCounting__bool_S,
|
||||
"Set whether reference counting should be use a mutex to create thread reference counting. ",
|
||||
"");
|
||||
I_StaticMethod0(bool, getThreadSafeReferenceCounting,
|
||||
__bool__getThreadSafeReferenceCounting_S,
|
||||
"Get whether reference counting is active. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setDeleteHandler, IN, osg::DeleteHandler *, handler,
|
||||
__void__setDeleteHandler__DeleteHandler_P1_S,
|
||||
"Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::DeleteHandler *, getDeleteHandler,
|
||||
__DeleteHandler_P1__getDeleteHandler_S,
|
||||
"Get a DeleteHandler. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
__bool__getThreadSafeRefUnref,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Referenced)
|
||||
I_Constructor0(____Referenced,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref,
|
||||
Properties::EXPLICIT,
|
||||
____Referenced__bool,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Referenced &, x,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Referenced__C5_Referenced_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(bool, getThreadSafeRefUnref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getThreadSafeRefUnref,
|
||||
"Get whether a mutex is used to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(void, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__ref,
|
||||
"Increment the reference count by one, indicating that this object has another pointer which is referencing it. ",
|
||||
"");
|
||||
I_Method0(void, unref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unref,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted. ");
|
||||
I_Method0(void, unref_nodelete,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unref_nodelete,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks. ");
|
||||
I_Method0(int, referenceCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__referenceCount,
|
||||
"Return the number pointers currently referencing this object. ",
|
||||
"");
|
||||
I_Method1(void, addObserver, IN, osg::Observer *, observer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_Method1(void, removeObserver, IN, osg::Observer *, observer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_Constructor0(____Referenced,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref,
|
||||
Properties::EXPLICIT,
|
||||
____Referenced__bool,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Referenced &, x,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Referenced__C5_Referenced_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(bool, getThreadSafeRefUnref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getThreadSafeRefUnref,
|
||||
"Get whether a mutex is used to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(void, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__ref,
|
||||
"Increment the reference count by one, indicating that this object has another pointer which is referencing it. ",
|
||||
"");
|
||||
I_Method0(void, unref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unref,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted. ");
|
||||
I_Method0(void, unref_nodelete,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__unref_nodelete,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks. ");
|
||||
I_Method0(int, referenceCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__referenceCount,
|
||||
"Return the number pointers currently referencing this object. ",
|
||||
"");
|
||||
I_Method1(void, addObserver, IN, osg::Observer *, observer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_Method1(void, removeObserver, IN, osg::Observer *, observer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting,
|
||||
__void__setThreadSafeReferenceCounting__bool_S,
|
||||
"Set whether reference counting should be use a mutex to create thread reference counting. ",
|
||||
"");
|
||||
I_StaticMethod0(bool, getThreadSafeReferenceCounting,
|
||||
__bool__getThreadSafeReferenceCounting_S,
|
||||
"Get whether reference counting is active. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setDeleteHandler, IN, osg::DeleteHandler *, handler,
|
||||
__void__setDeleteHandler__DeleteHandler_P1_S,
|
||||
"Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::DeleteHandler *, getDeleteHandler,
|
||||
__DeleteHandler_P1__getDeleteHandler_S,
|
||||
"Get a DeleteHandler. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting,
|
||||
__void__setThreadSafeReferenceCounting__bool_S,
|
||||
"Set whether reference counting should be use a mutex to create thread reference counting. ",
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Scissor>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
@@ -41,32 +40,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -131,335 +130,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(Type, Type,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,10 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Sequence.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Sequence>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -37,7 +36,6 @@ BEGIN_ENUM_REFLECTOR(osg::Sequence::SequenceMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Sequence,
|
||||
"",
|
||||
@@ -49,388 +47,37 @@ BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, int, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTime, IN, int, frame, IN, float, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__int__float,
|
||||
"Set time in seconds for child. ",
|
||||
"");
|
||||
I_Method1(float, getTime, IN, int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTime__int,
|
||||
"Get time for child. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultTime, IN, float, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultTime__float,
|
||||
"Set default time in seconds for new child. ",
|
||||
"");
|
||||
I_Method0(float, getDefaultTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDefaultTime,
|
||||
"Get default time in seconds for new child. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFrames,
|
||||
"Get number of frames. ",
|
||||
"");
|
||||
I_Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInterval__LoopMode__int__int,
|
||||
"Set sequence mode & interval (range of children to be displayed). ",
|
||||
"");
|
||||
I_Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getInterval__LoopMode_R1__int_R1__int_R1,
|
||||
"Get sequence mode & interval. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__float__int,
|
||||
"Set duration: speed-up & number of repeats. ",
|
||||
"");
|
||||
I_Method2(void, getDuration, IN, float &, speed, IN, int &, nreps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getDuration__float_R1__int_R1,
|
||||
"Get duration & number of repeats. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__SequenceMode,
|
||||
"Set sequence mode. ",
|
||||
"Start/stop & pause/resume. ");
|
||||
I_Method0(osg::Sequence::SequenceMode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SequenceMode__getMode,
|
||||
"Get sequence mode. ",
|
||||
"");
|
||||
I_Constructor0(____Sequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Sequence &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sequence__C5_Sequence_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, int, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTime, IN, int, frame, IN, float, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__int__float,
|
||||
"Set time in seconds for child. ",
|
||||
"");
|
||||
I_Method1(float, getTime, IN, int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTime__int,
|
||||
"Get time for child. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultTime, IN, float, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultTime__float,
|
||||
"Set default time in seconds for new child. ",
|
||||
"");
|
||||
I_Method0(float, getDefaultTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDefaultTime,
|
||||
"Get default time in seconds for new child. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFrames,
|
||||
"Get number of frames. ",
|
||||
"");
|
||||
I_Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInterval__LoopMode__int__int,
|
||||
"Set sequence mode & interval (range of children to be displayed). ",
|
||||
"");
|
||||
I_Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getInterval__LoopMode_R1__int_R1__int_R1,
|
||||
"Get sequence mode & interval. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__float__int,
|
||||
"Set duration: speed-up & number of repeats. ",
|
||||
"");
|
||||
I_Method2(void, getDuration, IN, float &, speed, IN, int &, nreps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getDuration__float_R1__int_R1,
|
||||
"Get duration & number of repeats. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__SequenceMode,
|
||||
"Set sequence mode. ",
|
||||
"Start/stop & pause/resume. ");
|
||||
I_Method0(osg::Sequence::SequenceMode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SequenceMode__getMode,
|
||||
"Get sequence mode. ",
|
||||
"");
|
||||
I_SimpleProperty(float, DefaultTime,
|
||||
__float__getDefaultTime,
|
||||
__void__setDefaultTime__float);
|
||||
I_SimpleProperty(osg::Sequence::SequenceMode, Mode,
|
||||
__SequenceMode__getMode,
|
||||
__void__setMode__SequenceMode);
|
||||
I_IndexedProperty(float, Time,
|
||||
__float__getTime__int,
|
||||
__void__setTime__int__float,
|
||||
0);
|
||||
I_SimpleProperty(int, Value,
|
||||
__int__getValue,
|
||||
__void__setValue__int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Sequence::LoopMode)
|
||||
I_EnumLabel(osg::Sequence::LOOP);
|
||||
I_EnumLabel(osg::Sequence::SWING);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Sequence::SequenceMode)
|
||||
I_EnumLabel(osg::Sequence::START);
|
||||
I_EnumLabel(osg::Sequence::STOP);
|
||||
I_EnumLabel(osg::Sequence::PAUSE);
|
||||
I_EnumLabel(osg::Sequence::RESUME);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Sequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Sequence &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sequence__C5_Sequence_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, int, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTime, IN, int, frame, IN, float, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__int__float,
|
||||
"Set time in seconds for child. ",
|
||||
"");
|
||||
I_Method1(float, getTime, IN, int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTime__int,
|
||||
"Get time for child. ",
|
||||
"");
|
||||
I_Method1(void, setDefaultTime, IN, float, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultTime__float,
|
||||
"Set default time in seconds for new child. ",
|
||||
"");
|
||||
I_Method0(float, getDefaultTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDefaultTime,
|
||||
"Get default time in seconds for new child. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumFrames,
|
||||
"Get number of frames. ",
|
||||
"");
|
||||
I_Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInterval__LoopMode__int__int,
|
||||
"Set sequence mode & interval (range of children to be displayed). ",
|
||||
"");
|
||||
I_Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getInterval__LoopMode_R1__int_R1__int_R1,
|
||||
"Get sequence mode & interval. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__float__int,
|
||||
"Set duration: speed-up & number of repeats. ",
|
||||
"");
|
||||
I_Method2(void, getDuration, IN, float &, speed, IN, int &, nreps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getDuration__float_R1__int_R1,
|
||||
"Get duration & number of repeats. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__SequenceMode,
|
||||
"Set sequence mode. ",
|
||||
"Start/stop & pause/resume. ");
|
||||
I_Method0(osg::Sequence::SequenceMode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SequenceMode__getMode,
|
||||
"Get sequence mode. ",
|
||||
"");
|
||||
I_Constructor0(____Sequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Sequence &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sequence__C5_Sequence_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, int, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/ShadeModel.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/ShadeModel>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::ShadeModel::Mode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____ShadeModel,
|
||||
"",
|
||||
@@ -43,32 +41,32 @@ BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -88,199 +86,12 @@ BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShadeModel,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShadeModel &, sm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadeModel__C5_ShadeModel_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::ShadeModel::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ShadeModel::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::ShadeModel::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ShadeModel::Mode)
|
||||
I_EnumLabel(osg::ShadeModel::FLAT);
|
||||
I_EnumLabel(osg::ShadeModel::SMOOTH);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____ShadeModel,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShadeModel &, sm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadeModel__C5_ShadeModel_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::ShadeModel::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ShadeModel::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShadeModel,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShadeModel &, sm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadeModel__C5_ShadeModel_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::ShadeModel::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ShadeModel::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::ShadeModel::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Shader.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Shader>
|
||||
#include <osg/State>
|
||||
|
||||
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::Shader::Type)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -49,13 +47,13 @@ BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -64,13 +62,13 @@ BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(int, compare, IN, const osg::Shader &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_Shader_R1,
|
||||
@@ -112,7 +110,7 @@ BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
@@ -136,383 +134,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
__bool__getGlShaderInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glShader. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Shader__Type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Shader::Type, type, IN, const std::string &, source,
|
||||
____Shader__Type__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Shader &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shader__C5_Shader_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::Shader &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_Shader_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setType, IN, osg::Shader::Type, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setType__Type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShaderSource, IN, const std::string &, sourceText,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShaderSource__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a string. ",
|
||||
"");
|
||||
I_Method1(bool, loadShaderSourceFromFile, IN, const std::string &, fileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__loadShaderSourceFromFile__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a file. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getShaderSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getShaderSource,
|
||||
"Query the shader's source code text. ",
|
||||
"");
|
||||
I_Method0(osg::Shader::Type, getType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Type__getType,
|
||||
"Get the Shader type as an enum. ",
|
||||
"");
|
||||
I_Method0(const char *, getTypename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_char_P1__getTypename,
|
||||
"Get the Shader type as a descriptive string. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyShader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyShader,
|
||||
"Mark our PCSs as needing recompilation. ",
|
||||
"Also mark Programs that depend on us as needing relink ");
|
||||
I_Method1(void, compileShader, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compileShader__unsigned_int,
|
||||
"If needed, compile the PCS's glShader. ",
|
||||
"");
|
||||
I_Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachShader__unsigned_int__GLuint,
|
||||
"For a given GL context, attach a glShader to a glProgram. ",
|
||||
"");
|
||||
I_Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getGlShaderInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glShader. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName,
|
||||
__Shader_P1__readShaderFile__Type__C5_std_string_R1_S,
|
||||
"Read shader source from file and then constructor shader of specified type. ",
|
||||
"Return the resulting Shader or 0 if no valid shader source code be read. ");
|
||||
I_StaticMethod2(void, deleteGlShader, IN, unsigned int, contextID, IN, GLuint, shader,
|
||||
__void__deleteGlShader__unsigned_int__GLuint_S,
|
||||
"Mark internal glShader for deletion. ",
|
||||
"Deletion requests are queued tuntil they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlShaders, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlShaders__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glShaders which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::Shader::Type, getTypeId, IN, const std::string &, tname,
|
||||
__Shader_Type__getTypeId__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName,
|
||||
__Shader_P1__readShaderFile__Type__C5_std_string_R1_S,
|
||||
"Read shader source from file and then constructor shader of specified type. ",
|
||||
"Return the resulting Shader or 0 if no valid shader source code be read. ");
|
||||
I_StaticMethod2(void, deleteGlShader, IN, unsigned int, contextID, IN, GLuint, shader,
|
||||
__void__deleteGlShader__unsigned_int__GLuint_S,
|
||||
"Mark internal glShader for deletion. ",
|
||||
"Deletion requests are queued tuntil they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlShaders, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlShaders__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glShaders which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::Shader::Type, getTypeId, IN, const std::string &, tname,
|
||||
__Shader_Type__getTypeId__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, ShaderSource,
|
||||
__C5_std_string_R1__getShaderSource,
|
||||
__void__setShaderSource__C5_std_string_R1);
|
||||
I_SimpleProperty(osg::Shader::Type, Type,
|
||||
__Type__getType,
|
||||
__bool__setType__Type);
|
||||
I_SimpleProperty(const char *, Typename,
|
||||
__C5_char_P1__getTypename,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Shader::Type)
|
||||
I_EnumLabel(osg::Shader::VERTEX);
|
||||
I_EnumLabel(osg::Shader::FRAGMENT);
|
||||
I_EnumLabel(osg::Shader::UNDEFINED);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Shader__Type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Shader::Type, type, IN, const std::string &, source,
|
||||
____Shader__Type__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Shader &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shader__C5_Shader_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::Shader &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_Shader_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setType, IN, osg::Shader::Type, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setType__Type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShaderSource, IN, const std::string &, sourceText,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShaderSource__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a string. ",
|
||||
"");
|
||||
I_Method1(bool, loadShaderSourceFromFile, IN, const std::string &, fileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__loadShaderSourceFromFile__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a file. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getShaderSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getShaderSource,
|
||||
"Query the shader's source code text. ",
|
||||
"");
|
||||
I_Method0(osg::Shader::Type, getType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Type__getType,
|
||||
"Get the Shader type as an enum. ",
|
||||
"");
|
||||
I_Method0(const char *, getTypename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_char_P1__getTypename,
|
||||
"Get the Shader type as a descriptive string. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyShader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyShader,
|
||||
"Mark our PCSs as needing recompilation. ",
|
||||
"Also mark Programs that depend on us as needing relink ");
|
||||
I_Method1(void, compileShader, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compileShader__unsigned_int,
|
||||
"If needed, compile the PCS's glShader. ",
|
||||
"");
|
||||
I_Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachShader__unsigned_int__GLuint,
|
||||
"For a given GL context, attach a glShader to a glProgram. ",
|
||||
"");
|
||||
I_Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getGlShaderInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glShader. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Shader__Type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Shader::Type, type, IN, const std::string &, source,
|
||||
____Shader__Type__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Shader &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shader__C5_Shader_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::Shader &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__compare__C5_Shader_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setType, IN, osg::Shader::Type, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setType__Type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShaderSource, IN, const std::string &, sourceText,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShaderSource__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a string. ",
|
||||
"");
|
||||
I_Method1(bool, loadShaderSourceFromFile, IN, const std::string &, fileName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__loadShaderSourceFromFile__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a file. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getShaderSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getShaderSource,
|
||||
"Query the shader's source code text. ",
|
||||
"");
|
||||
I_Method0(osg::Shader::Type, getType,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Type__getType,
|
||||
"Get the Shader type as an enum. ",
|
||||
"");
|
||||
I_Method0(const char *, getTypename,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_char_P1__getTypename,
|
||||
"Get the Shader type as a descriptive string. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyShader,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyShader,
|
||||
"Mark our PCSs as needing recompilation. ",
|
||||
"Also mark Programs that depend on us as needing relink ");
|
||||
I_Method1(void, compileShader, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compileShader__unsigned_int,
|
||||
"If needed, compile the PCS's glShader. ",
|
||||
"");
|
||||
I_Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__attachShader__unsigned_int__GLuint,
|
||||
"For a given GL context, attach a glShader to a glProgram. ",
|
||||
"");
|
||||
I_Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getGlShaderInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glShader. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName,
|
||||
__Shader_P1__readShaderFile__Type__C5_std_string_R1_S,
|
||||
"Read shader source from file and then constructor shader of specified type. ",
|
||||
"Return the resulting Shader or 0 if no valid shader source code be read. ");
|
||||
I_StaticMethod2(void, deleteGlShader, IN, unsigned int, contextID, IN, GLuint, shader,
|
||||
__void__deleteGlShader__unsigned_int__GLuint_S,
|
||||
"Mark internal glShader for deletion. ",
|
||||
"Deletion requests are queued tuntil they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlShaders, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlShaders__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glShaders which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::Shader::Type, getTypeId, IN, const std::string &, tname,
|
||||
__Shader_Type__getTypeId__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName,
|
||||
__Shader_P1__readShaderFile__Type__C5_std_string_R1_S,
|
||||
"Read shader source from file and then constructor shader of specified type. ",
|
||||
|
||||
@@ -10,16 +10,15 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/ConvexPlanarOccluder.svn-base>
|
||||
#include <osg/.svn/text-base/CullStack.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/ShadowVolumeOccluder.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/ConvexPlanarOccluder>
|
||||
#include <osg/CullStack>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Node>
|
||||
#include <osg/Polytope>
|
||||
#include <osg/ShadowVolumeOccluder>
|
||||
#include <osg/Vec3>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -32,99 +31,6 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Polytope >, osg::ShadowVolumeOccluder::HoleList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ShadowVolumeOccluder)
|
||||
I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ShadowVolumeOccluder__C5_ShadowVolumeOccluder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShadowVolumeOccluder,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(bool, computeOccluder, IN, const osg::NodePath &, nodePath, , IN, const osg::ConvexPlanarOccluder &, occluder, , IN, osg::CullStack &, cullStack, , IN, bool, createDrawables, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeOccluder__C5_NodePath_R1__C5_ConvexPlanarOccluder_R1__CullStack_R1__bool,
|
||||
"compute the shadow volume occluder. ",
|
||||
"");
|
||||
I_Method0(void, disableResultMasks,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__disableResultMasks,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, matchProjectionMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__matchProjectionMatrix__C5_osg_Matrix_R1,
|
||||
"return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is associated with. ",
|
||||
"");
|
||||
I_Method1(void, setNodePath, IN, osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNodePath__NodePath_R1,
|
||||
"Set the NodePath which describes which node in the scene graph that this occluder is attached to. ",
|
||||
"");
|
||||
I_Method0(osg::NodePath &, getNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::NodePath &, getNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getVolume,
|
||||
"get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope &, getOccluder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Polytope_R1__getOccluder,
|
||||
"return the occluder polytope. ",
|
||||
"");
|
||||
I_Method0(const osg::Polytope &, getOccluder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Polytope_R1__getOccluder,
|
||||
"return the const occluder polytope. ",
|
||||
"");
|
||||
I_Method0(osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HoleList_R1__getHoleList,
|
||||
"return the list of holes. ",
|
||||
"");
|
||||
I_Method0(const osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_HoleList_R1__getHoleList,
|
||||
"return the const list of holes. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"return true if the specified vertex list is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bound,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_BoundingSphere_R1,
|
||||
"return true if the specified bounding sphere is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bound,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_BoundingBox_R1,
|
||||
"return true if the specified bounding box is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ShadowVolumeOccluder__C5_ShadowVolumeOccluder_R1,
|
||||
@@ -232,206 +138,7 @@ BEGIN_VALUE_REFLECTOR(osg::ShadowVolumeOccluder)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Polytope >, osg::ShadowVolumeOccluder::HoleList);
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::ShadowVolumeOccluderList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ShadowVolumeOccluder)
|
||||
I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ShadowVolumeOccluder__C5_ShadowVolumeOccluder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShadowVolumeOccluder,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(bool, computeOccluder, IN, const osg::NodePath &, nodePath, , IN, const osg::ConvexPlanarOccluder &, occluder, , IN, osg::CullStack &, cullStack, , IN, bool, createDrawables, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeOccluder__C5_NodePath_R1__C5_ConvexPlanarOccluder_R1__CullStack_R1__bool,
|
||||
"compute the shadow volume occluder. ",
|
||||
"");
|
||||
I_Method0(void, disableResultMasks,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__disableResultMasks,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, matchProjectionMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__matchProjectionMatrix__C5_osg_Matrix_R1,
|
||||
"return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is associated with. ",
|
||||
"");
|
||||
I_Method1(void, setNodePath, IN, osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNodePath__NodePath_R1,
|
||||
"Set the NodePath which describes which node in the scene graph that this occluder is attached to. ",
|
||||
"");
|
||||
I_Method0(osg::NodePath &, getNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::NodePath &, getNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getVolume,
|
||||
"get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope &, getOccluder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Polytope_R1__getOccluder,
|
||||
"return the occluder polytope. ",
|
||||
"");
|
||||
I_Method0(const osg::Polytope &, getOccluder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Polytope_R1__getOccluder,
|
||||
"return the const occluder polytope. ",
|
||||
"");
|
||||
I_Method0(osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HoleList_R1__getHoleList,
|
||||
"return the list of holes. ",
|
||||
"");
|
||||
I_Method0(const osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_HoleList_R1__getHoleList,
|
||||
"return the const list of holes. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"return true if the specified vertex list is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bound,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_BoundingSphere_R1,
|
||||
"return true if the specified bounding sphere is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bound,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_BoundingBox_R1,
|
||||
"return true if the specified bounding box is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ShadowVolumeOccluder__C5_ShadowVolumeOccluder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShadowVolumeOccluder,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(bool, computeOccluder, IN, const osg::NodePath &, nodePath, , IN, const osg::ConvexPlanarOccluder &, occluder, , IN, osg::CullStack &, cullStack, , IN, bool, createDrawables, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeOccluder__C5_NodePath_R1__C5_ConvexPlanarOccluder_R1__CullStack_R1__bool,
|
||||
"compute the shadow volume occluder. ",
|
||||
"");
|
||||
I_Method0(void, disableResultMasks,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__disableResultMasks,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, matchProjectionMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__matchProjectionMatrix__C5_osg_Matrix_R1,
|
||||
"return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is associated with. ",
|
||||
"");
|
||||
I_Method1(void, setNodePath, IN, osg::NodePath &, nodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNodePath__NodePath_R1,
|
||||
"Set the NodePath which describes which node in the scene graph that this occluder is attached to. ",
|
||||
"");
|
||||
I_Method0(osg::NodePath &, getNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::NodePath &, getNodePath,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getVolume,
|
||||
"get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope &, getOccluder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Polytope_R1__getOccluder,
|
||||
"return the occluder polytope. ",
|
||||
"");
|
||||
I_Method0(const osg::Polytope &, getOccluder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Polytope_R1__getOccluder,
|
||||
"return the const occluder polytope. ",
|
||||
"");
|
||||
I_Method0(osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__HoleList_R1__getHoleList,
|
||||
"return the list of holes. ",
|
||||
"");
|
||||
I_Method0(const osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_HoleList_R1__getHoleList,
|
||||
"return the const list of holes. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"return true if the specified vertex list is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bound,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_BoundingSphere_R1,
|
||||
"return true if the specified bounding sphere is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bound,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__contains__C5_BoundingBox_R1,
|
||||
"return true if the specified bounding box is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::ShadowVolumeOccluder::HoleList &, HoleList,
|
||||
__HoleList_R1__getHoleList,
|
||||
0);
|
||||
I_SimpleProperty(osg::NodePath &, NodePath,
|
||||
__NodePath_R1__getNodePath,
|
||||
__void__setNodePath__NodePath_R1);
|
||||
I_SimpleProperty(osg::Polytope &, Occluder,
|
||||
__Polytope_R1__getOccluder,
|
||||
0);
|
||||
I_SimpleProperty(float, Volume,
|
||||
__float__getVolume,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Polytope >);
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,10 +10,15 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/ShapeDrawable.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Object>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/Shape>
|
||||
#include <osg/ShapeDrawable>
|
||||
#include <osg/State>
|
||||
#include <osg/Vec4>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -23,13 +28,118 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ShapeDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0,
|
||||
____ShapeDrawable__Shape_P1__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"Set the color of the shape. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"Get the color of the shape. ",
|
||||
"");
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationHints__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__State_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.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingBox__computeBound,
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TessellationHints *, TessellationHints,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
__void__setTessellationHints__TessellationHints_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
|
||||
I_EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS);
|
||||
I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____TessellationHints,
|
||||
"",
|
||||
@@ -41,13 +151,13 @@ BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
@@ -56,449 +166,13 @@ BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationMode__TessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationMode__getTessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDetailRatio, IN, float, ratio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDetailRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDetailRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDetailRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTargetNumFaces, IN, unsigned int, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTargetNumFaces__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTargetNumFaces,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTargetNumFaces,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateFrontFace, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateFrontFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateFrontFace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateFrontFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBackFace, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBackFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBackFace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBackFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateNormals, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateNormals__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateNormals,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateNormals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTextureCoords, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateTextureCoords__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTextureCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateTextureCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTop, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateTop__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateTop,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBody, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBody__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBody,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBody,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBottom, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBottom__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBottom,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBottom,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TessellationHints__C5_TessellationHints_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationMode__TessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationMode__getTessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDetailRatio, IN, float, ratio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDetailRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDetailRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDetailRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTargetNumFaces, IN, unsigned int, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTargetNumFaces__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTargetNumFaces,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTargetNumFaces,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateFrontFace, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateFrontFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateFrontFace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateFrontFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBackFace, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBackFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBackFace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBackFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateNormals, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateNormals__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateNormals,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateNormals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTextureCoords, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateTextureCoords__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTextureCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateTextureCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTop, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateTop__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateTop,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBody, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBody__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBody,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBody,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBottom, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBottom__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBottom,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBottom,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, CreateBackFace,
|
||||
__bool__getCreateBackFace,
|
||||
__void__setCreateBackFace__bool);
|
||||
I_SimpleProperty(bool, CreateBody,
|
||||
__bool__getCreateBody,
|
||||
__void__setCreateBody__bool);
|
||||
I_SimpleProperty(bool, CreateBottom,
|
||||
__bool__getCreateBottom,
|
||||
__void__setCreateBottom__bool);
|
||||
I_SimpleProperty(bool, CreateFrontFace,
|
||||
__bool__getCreateFrontFace,
|
||||
__void__setCreateFrontFace__bool);
|
||||
I_SimpleProperty(bool, CreateNormals,
|
||||
__bool__getCreateNormals,
|
||||
__void__setCreateNormals__bool);
|
||||
I_SimpleProperty(bool, CreateTextureCoords,
|
||||
__bool__getCreateTextureCoords,
|
||||
__void__setCreateTextureCoords__bool);
|
||||
I_SimpleProperty(bool, CreateTop,
|
||||
__bool__getCreateTop,
|
||||
__void__setCreateTop__bool);
|
||||
I_SimpleProperty(float, DetailRatio,
|
||||
__float__getDetailRatio,
|
||||
__void__setDetailRatio__float);
|
||||
I_SimpleProperty(unsigned int, TargetNumFaces,
|
||||
__unsigned_int__getTargetNumFaces,
|
||||
__void__setTargetNumFaces__unsigned_int);
|
||||
I_SimpleProperty(osg::TessellationHints::TessellationMode, TessellationMode,
|
||||
__TessellationMode__getTessellationMode,
|
||||
__void__setTessellationMode__TessellationMode);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
|
||||
I_EnumLabel(osg::TessellationHints::USE_SHAPE_DEFAULTS);
|
||||
I_EnumLabel(osg::TessellationHints::USE_TARGET_NUM_FACES);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____TessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TessellationHints__C5_TessellationHints_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationMode__TessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TessellationMode__getTessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDetailRatio, IN, float, ratio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDetailRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDetailRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDetailRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTargetNumFaces, IN, unsigned int, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTargetNumFaces__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTargetNumFaces,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTargetNumFaces,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateFrontFace, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateFrontFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateFrontFace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateFrontFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBackFace, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBackFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBackFace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBackFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateNormals, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateNormals__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateNormals,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateNormals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTextureCoords, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateTextureCoords__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTextureCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateTextureCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTop, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateTop__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateTop,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBody, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBody__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBody,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBody,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBottom, IN, bool, on,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCreateBottom__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBottom,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getCreateBottom,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TessellationHints__C5_TessellationHints_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTessellationMode__TessellationMode,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Stats.svn-base>
|
||||
#include <osg/Stats>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -29,91 +28,6 @@ TYPE_NAME_ALIAS(std::map< std::string COMMA bool >, osg::Stats::CollectMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Stats)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, const std::string &, name,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Stats__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const std::string &, name, IN, unsigned int, numberOfFrames,
|
||||
____Stats__C5_std_string_R1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, allocate, IN, unsigned int, numberOfFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__allocate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getEarliestFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getEarliestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getLatestFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLatestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, setAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAttribute__int__C5_std_string_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, getAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAttribute__int__C5_std_string_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(bool, getAveragedAttribute, IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAveragedAttribute__C5_std_string_R1__double_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(bool, getAveragedAttribute, IN, int, startFrameNumber, , IN, int, endFrameNumber, , IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAveragedAttribute__int__int__C5_std_string_R1__double_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, collectStats, IN, const std::string &, str, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__collectStats__C5_std_string_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, collectStats, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__collectStats__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, report, IN, std::ostream &, out, , IN, const char *, indent, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__report__std_ostream_R1__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, report, IN, std::ostream &, out, , IN, unsigned int, frameNumber, , IN, const char *, indent, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__report__std_ostream_R1__unsigned_int__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, name,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Stats__C5_std_string_R1,
|
||||
@@ -209,191 +123,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Stats)
|
||||
__void__setName__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA double >, osg::Stats::AttributeMap);
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA bool >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Stats::AttributeMap >, osg::Stats::AttributeMapList);
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA double >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA bool >, osg::Stats::CollectMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Stats)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, const std::string &, name,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Stats__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const std::string &, name, IN, unsigned int, numberOfFrames,
|
||||
____Stats__C5_std_string_R1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, allocate, IN, unsigned int, numberOfFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__allocate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getEarliestFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getEarliestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getLatestFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLatestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, setAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAttribute__int__C5_std_string_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, getAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAttribute__int__C5_std_string_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(bool, getAveragedAttribute, IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAveragedAttribute__C5_std_string_R1__double_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(bool, getAveragedAttribute, IN, int, startFrameNumber, , IN, int, endFrameNumber, , IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAveragedAttribute__int__int__C5_std_string_R1__double_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, collectStats, IN, const std::string &, str, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__collectStats__C5_std_string_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, collectStats, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__collectStats__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, report, IN, std::ostream &, out, , IN, const char *, indent, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__report__std_ostream_R1__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, report, IN, std::ostream &, out, , IN, unsigned int, frameNumber, , IN, const char *, indent, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__report__std_ostream_R1__unsigned_int__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, name,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Stats__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const std::string &, name, IN, unsigned int, numberOfFrames,
|
||||
____Stats__C5_std_string_R1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, allocate, IN, unsigned int, numberOfFrames,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__allocate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getEarliestFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getEarliestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getLatestFrameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLatestFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, setAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAttribute__int__C5_std_string_R1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, getAttribute, IN, int, frameNumber, IN, const std::string &, attributeName, IN, double &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAttribute__int__C5_std_string_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(bool, getAveragedAttribute, IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAveragedAttribute__C5_std_string_R1__double_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(bool, getAveragedAttribute, IN, int, startFrameNumber, , IN, int, endFrameNumber, , IN, const std::string &, attributeName, , IN, double &, value, , IN, bool, averageInInverseSpace, false,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAveragedAttribute__int__int__C5_std_string_R1__double_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Stats::AttributeMap &, getAttributeMap, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AttributeMap_R1__getAttributeMap__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, collectStats, IN, const std::string &, str, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__collectStats__C5_std_string_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, collectStats, IN, const std::string &, str,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__collectStats__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, report, IN, std::ostream &, out, , IN, const char *, indent, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__report__std_ostream_R1__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, report, IN, std::ostream &, out, , IN, unsigned int, frameNumber, , IN, const char *, indent, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__report__std_ostream_R1__unsigned_int__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(int, EarliestFrameNumber,
|
||||
__int__getEarliestFrameNumber,
|
||||
0);
|
||||
I_SimpleProperty(int, LatestFrameNumber,
|
||||
__int__getLatestFrameNumber,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, Name,
|
||||
__C5_std_string_R1__getName,
|
||||
__void__setName__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Stats::AttributeMap >);
|
||||
|
||||
|
||||
@@ -10,11 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/StencilTwoSided.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/StencilTwoSided>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -53,7 +52,6 @@ BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Operation)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____StencilTwoSided,
|
||||
"",
|
||||
@@ -65,32 +63,32 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -185,148 +183,8 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____StencilTwoSided,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::StencilTwoSided &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____StencilTwoSided__C5_StencilTwoSided_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func, IN, int, ref, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__Face__Function__int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__Face__Function,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Function, getFunction, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Function__getFunction__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionRef, IN, osg::StencilTwoSided::Face, face, IN, int, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunctionRef__Face__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getFunctionRef, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFunctionRef__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunctionMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getFunctionMask, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getFunctionMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail, IN, osg::StencilTwoSided::Operation, zfail, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperation__Face__Operation__Operation__Operation,
|
||||
"set the operations to apply when the various stencil and depth tests fail or pass. ",
|
||||
"First parameter is to control the operation when the stencil test fails. The second parameter is to control the operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). ");
|
||||
I_Method2(void, setStencilFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilFailOperation__Face,
|
||||
"get the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zfail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilPassAndDepthFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilPassAndDepthFailOperation__Face,
|
||||
"get the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
"set the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
"get the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method2(void, setWriteMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getWriteMask, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
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.");
|
||||
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.");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::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. ",
|
||||
@@ -359,7 +217,7 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
0);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_IndexedProperty(unsigned int, WriteMask,
|
||||
@@ -368,346 +226,45 @@ BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Face)
|
||||
I_EnumLabel(osg::StencilTwoSided::FRONT);
|
||||
I_EnumLabel(osg::StencilTwoSided::BACK);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Function)
|
||||
I_EnumLabel(osg::StencilTwoSided::NEVER);
|
||||
I_EnumLabel(osg::StencilTwoSided::LESS);
|
||||
I_EnumLabel(osg::StencilTwoSided::EQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::LEQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::GREATER);
|
||||
I_EnumLabel(osg::StencilTwoSided::NOTEQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::GEQUAL);
|
||||
I_EnumLabel(osg::StencilTwoSided::ALWAYS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::StencilTwoSided::Operation)
|
||||
I_EnumLabel(osg::StencilTwoSided::KEEP);
|
||||
I_EnumLabel(osg::StencilTwoSided::ZERO);
|
||||
I_EnumLabel(osg::StencilTwoSided::REPLACE);
|
||||
I_EnumLabel(osg::StencilTwoSided::INCR);
|
||||
I_EnumLabel(osg::StencilTwoSided::DECR);
|
||||
I_EnumLabel(osg::StencilTwoSided::INVERT);
|
||||
I_EnumLabel(osg::StencilTwoSided::INCR_WRAP);
|
||||
I_EnumLabel(osg::StencilTwoSided::DECR_WRAP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____StencilTwoSided,
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StencilTwoSided::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::StencilTwoSided &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____StencilTwoSided__C5_StencilTwoSided_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func, IN, int, ref, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__Face__Function__int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__Face__Function,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Function, getFunction, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Function__getFunction__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionRef, IN, osg::StencilTwoSided::Face, face, IN, int, ref,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunctionRef__Face__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getFunctionRef, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFunctionRef__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunctionMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getFunctionMask, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getFunctionMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail, IN, osg::StencilTwoSided::Operation, zfail, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperation__Face__Operation__Operation__Operation,
|
||||
"set the operations to apply when the various stencil and depth tests fail or pass. ",
|
||||
"First parameter is to control the operation when the stencil test fails. The second parameter is to control the operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). ");
|
||||
I_Method2(void, setStencilFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilFailOperation__Face,
|
||||
"get the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zfail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilPassAndDepthFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilPassAndDepthFailOperation__Face,
|
||||
"get the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
"set the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
"get the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method2(void, setWriteMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getWriteMask, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____StencilTwoSided,
|
||||
I_Constructor1(IN, const osg::StencilTwoSided::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::StencilTwoSided &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____StencilTwoSided__C5_StencilTwoSided_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func, IN, int, ref, IN, unsigned int, mask,
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::StencilTwoSided::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__Face__Function__int__unsigned_int,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Function, func,
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunction__Face__Function,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Function, getFunction, IN, osg::StencilTwoSided::Face, face,
|
||||
I_Method1(void, setStencilTwoSidedSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Function__getFunction__Face,
|
||||
__void__setStencilTwoSidedSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionRef, IN, osg::StencilTwoSided::Face, face, IN, int, ref,
|
||||
I_Method0(bool, isStencilTwoSidedSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunctionRef__Face__int,
|
||||
__bool__isStencilTwoSidedSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, getFunctionRef, IN, osg::StencilTwoSided::Face, face,
|
||||
I_Method1(void, glActiveStencilFace, IN, GLenum, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getFunctionRef__Face,
|
||||
__void__glActiveStencilFace__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunctionMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFunctionMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getFunctionMask, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getFunctionMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail, IN, osg::StencilTwoSided::Operation, zfail, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperation__Face__Operation__Operation__Operation,
|
||||
"set the operations to apply when the various stencil and depth tests fail or pass. ",
|
||||
"First parameter is to control the operation when the stencil test fails. The second parameter is to control the operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). ");
|
||||
I_Method2(void, setStencilFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, sfail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilFailOperation__Face,
|
||||
"get the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zfail,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilPassAndDepthFailOperation__Face__Operation,
|
||||
"set the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthFailOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilPassAndDepthFailOperation__Face,
|
||||
"get the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method2(void, setStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face, IN, osg::StencilTwoSided::Operation, zpass,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
"set the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method1(osg::StencilTwoSided::Operation, getStencilPassAndDepthPassOperation, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
"get the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method2(void, setWriteMask, IN, osg::StencilTwoSided::Face, face, IN, unsigned int, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWriteMask__Face__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getWriteMask, IN, osg::StencilTwoSided::Face, face,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
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.");
|
||||
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.");
|
||||
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.");
|
||||
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.");
|
||||
I_IndexedProperty(osg::StencilTwoSided::Function, Function,
|
||||
__Function__getFunction__Face,
|
||||
__void__setFunction__Face__Function,
|
||||
0);
|
||||
I_IndexedProperty(unsigned int, FunctionMask,
|
||||
__unsigned_int__getFunctionMask__Face,
|
||||
__void__setFunctionMask__Face__unsigned_int,
|
||||
0);
|
||||
I_IndexedProperty(int, FunctionRef,
|
||||
__int__getFunctionRef__Face,
|
||||
__void__setFunctionRef__Face__int,
|
||||
0);
|
||||
I_IndexedProperty(osg::StencilTwoSided::Operation, StencilFailOperation,
|
||||
__Operation__getStencilFailOperation__Face,
|
||||
__void__setStencilFailOperation__Face__Operation,
|
||||
0);
|
||||
I_IndexedProperty(osg::StencilTwoSided::Operation, StencilPassAndDepthFailOperation,
|
||||
__Operation__getStencilPassAndDepthFailOperation__Face,
|
||||
__void__setStencilPassAndDepthFailOperation__Face__Operation,
|
||||
0);
|
||||
I_IndexedProperty(osg::StencilTwoSided::Operation, StencilPassAndDepthPassOperation,
|
||||
__Operation__getStencilPassAndDepthPassOperation__Face,
|
||||
__void__setStencilPassAndDepthPassOperation__Face__Operation,
|
||||
0);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_IndexedProperty(unsigned int, WriteMask,
|
||||
__unsigned_int__getWriteMask__Face,
|
||||
__void__setWriteMask__Face__unsigned_int,
|
||||
0);
|
||||
I_SimpleProperty(bool, StencilTwoSidedSupported,
|
||||
0,
|
||||
__void__setStencilTwoSidedSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Switch.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Switch>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -29,7 +28,6 @@
|
||||
TYPE_NAME_ALIAS(std::vector< bool >, osg::Switch::ValueList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Switch,
|
||||
"",
|
||||
@@ -41,37 +39,37 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -86,8 +84,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Add Node to Group. ",
|
||||
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes.");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__bool,
|
||||
@@ -96,8 +94,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Insert Node to Group at specific location. ",
|
||||
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation.");
|
||||
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1__bool,
|
||||
@@ -106,8 +104,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
@@ -156,135 +154,8 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Switch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Switch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Switch__C5_Switch_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getValue, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getValue__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setChildValue, IN, const osg::Node *, child, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getChildValue, IN, const osg::Node *, child,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOff,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOn,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method1(bool, setSingleChildOn, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setSingleChildOn__unsigned_int,
|
||||
"Set a single child on, switch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setValueList, IN, const osg::Switch::ValueList &, values,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValueList__C5_ValueList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Switch::ValueList &, getValueList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ValueList_R1__getValueList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
"Compute the bounding sphere around Node's geometry or children. ",
|
||||
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
||||
I_IndexedProperty(bool, ChildValue,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
@@ -304,281 +175,5 @@ BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
__void__setValueList__C5_ValueList_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< bool >, osg::Switch::ValueList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Switch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Switch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Switch__C5_Switch_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getValue, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getValue__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setChildValue, IN, const osg::Node *, child, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getChildValue, IN, const osg::Node *, child,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOff,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOn,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method1(bool, setSingleChildOn, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setSingleChildOn__unsigned_int,
|
||||
"Set a single child on, switch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setValueList, IN, const osg::Switch::ValueList &, values,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValueList__C5_ValueList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Switch::ValueList &, getValueList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ValueList_R1__getValueList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Switch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Switch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Switch__C5_Switch_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getValue, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getValue__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setChildValue, IN, const osg::Node *, child, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getChildValue, IN, const osg::Node *, child,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOff,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOn,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method1(bool, setSingleChildOn, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setSingleChildOn__unsigned_int,
|
||||
"Set a single child on, switch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setValueList, IN, const osg::Switch::ValueList &, values,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValueList__C5_ValueList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Switch::ValueList &, getValueList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ValueList_R1__getValueList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_IndexedProperty(bool, ChildValue,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
0);
|
||||
I_SimpleProperty(bool, NewChildDefaultValue,
|
||||
__bool__getNewChildDefaultValue,
|
||||
__void__setNewChildDefaultValue__bool);
|
||||
I_SimpleProperty(unsigned int, SingleChildOn,
|
||||
0,
|
||||
__bool__setSingleChildOn__unsigned_int);
|
||||
I_IndexedProperty(bool, Value,
|
||||
__bool__getValue__unsigned_int,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Switch::ValueList &, ValueList,
|
||||
__C5_ValueList_R1__getValueList,
|
||||
__void__setValueList__C5_ValueList_R1);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< bool >);
|
||||
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/TexEnv.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexEnv>
|
||||
#include <osg/Vec4>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -35,7 +34,6 @@ BEGIN_ENUM_REFLECTOR(osg::TexEnv::Mode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -49,37 +47,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -114,274 +112,15 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TexEnv::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexEnv::Mode)
|
||||
I_EnumLabel(osg::TexEnv::DECAL);
|
||||
I_EnumLabel(osg::TexEnv::MODULATE);
|
||||
I_EnumLabel(osg::TexEnv::BLEND);
|
||||
I_EnumLabel(osg::TexEnv::REPLACE);
|
||||
I_EnumLabel(osg::TexEnv::ADD);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TexEnv::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexEnvCombine>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -60,7 +60,6 @@ BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::OperandParam)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexEnvCombine,
|
||||
"",
|
||||
@@ -72,37 +71,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -292,240 +291,8 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TexEnvCombine,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvCombine &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvCombine__C5_TexEnvCombine_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setCombine_RGB, IN, GLint, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCombine_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCombine_Alpha, IN, GLint, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCombine_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getCombine_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getCombine_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_RGB, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale_RGB__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_Alpha, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale_Alpha__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setConstantColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getConstantColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColorAsLightDirection, IN, const osg::Vec3 &, direction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setConstantColorAsLightDirection__C5_Vec3_R1,
|
||||
"Set the constant color attribute to the given light direction for use with DOT3 combine operation. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getConstantColorAsLightDirection,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(GLint, Combine_Alpha,
|
||||
__GLint__getCombine_Alpha,
|
||||
__void__setCombine_Alpha__GLint);
|
||||
@@ -580,566 +347,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
I_SimpleProperty(GLint, Source2_RGB,
|
||||
__GLint__getSource2_RGB,
|
||||
__void__setSource2_RGB__GLint);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::CombineParam)
|
||||
I_EnumLabel(osg::TexEnvCombine::REPLACE);
|
||||
I_EnumLabel(osg::TexEnvCombine::MODULATE);
|
||||
I_EnumLabel(osg::TexEnvCombine::ADD);
|
||||
I_EnumLabel(osg::TexEnvCombine::ADD_SIGNED);
|
||||
I_EnumLabel(osg::TexEnvCombine::INTERPOLATE);
|
||||
I_EnumLabel(osg::TexEnvCombine::SUBTRACT);
|
||||
I_EnumLabel(osg::TexEnvCombine::DOT3_RGB);
|
||||
I_EnumLabel(osg::TexEnvCombine::DOT3_RGBA);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::SourceParam)
|
||||
I_EnumLabel(osg::TexEnvCombine::CONSTANT);
|
||||
I_EnumLabel(osg::TexEnvCombine::PRIMARY_COLOR);
|
||||
I_EnumLabel(osg::TexEnvCombine::PREVIOUS);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE0);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE1);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE2);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE3);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE4);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE5);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE6);
|
||||
I_EnumLabel(osg::TexEnvCombine::TEXTURE7);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexEnvCombine::OperandParam)
|
||||
I_EnumLabel(osg::TexEnvCombine::SRC_COLOR);
|
||||
I_EnumLabel(osg::TexEnvCombine::ONE_MINUS_SRC_COLOR);
|
||||
I_EnumLabel(osg::TexEnvCombine::SRC_ALPHA);
|
||||
I_EnumLabel(osg::TexEnvCombine::ONE_MINUS_SRC_ALPHA);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexEnvCombine,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvCombine &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvCombine__C5_TexEnvCombine_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setCombine_RGB, IN, GLint, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCombine_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCombine_Alpha, IN, GLint, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCombine_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getCombine_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getCombine_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_RGB, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale_RGB__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_Alpha, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale_Alpha__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setConstantColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getConstantColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColorAsLightDirection, IN, const osg::Vec3 &, direction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setConstantColorAsLightDirection__C5_Vec3_R1,
|
||||
"Set the constant color attribute to the given light direction for use with DOT3 combine operation. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getConstantColorAsLightDirection,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TexEnvCombine,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvCombine &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvCombine__C5_TexEnvCombine_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setCombine_RGB, IN, GLint, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCombine_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCombine_Alpha, IN, GLint, cm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCombine_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getCombine_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getCombine_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_RGB, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_Alpha, IN, GLint, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSource2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getSource2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_RGB, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_Alpha, IN, GLint, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOperand2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLint__getOperand2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_RGB, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale_RGB__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_Alpha, IN, float, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale_Alpha__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_RGB,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_Alpha,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getScale_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setConstantColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getConstantColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColorAsLightDirection, IN, const osg::Vec3 &, direction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setConstantColorAsLightDirection__C5_Vec3_R1,
|
||||
"Set the constant color attribute to the given light direction for use with DOT3 combine operation. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getConstantColorAsLightDirection,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(GLint, Combine_Alpha,
|
||||
__GLint__getCombine_Alpha,
|
||||
__void__setCombine_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Combine_RGB,
|
||||
__GLint__getCombine_RGB,
|
||||
__void__setCombine_RGB__GLint);
|
||||
I_SimpleProperty(const osg::Vec4 &, ConstantColor,
|
||||
__C5_Vec4_R1__getConstantColor,
|
||||
__void__setConstantColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::Vec3, ConstantColorAsLightDirection,
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
__void__setConstantColorAsLightDirection__C5_Vec3_R1);
|
||||
I_SimpleProperty(GLint, Operand0_Alpha,
|
||||
__GLint__getOperand0_Alpha,
|
||||
__void__setOperand0_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Operand0_RGB,
|
||||
__GLint__getOperand0_RGB,
|
||||
__void__setOperand0_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Operand1_Alpha,
|
||||
__GLint__getOperand1_Alpha,
|
||||
__void__setOperand1_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Operand1_RGB,
|
||||
__GLint__getOperand1_RGB,
|
||||
__void__setOperand1_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Operand2_Alpha,
|
||||
__GLint__getOperand2_Alpha,
|
||||
__void__setOperand2_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Operand2_RGB,
|
||||
__GLint__getOperand2_RGB,
|
||||
__void__setOperand2_RGB__GLint);
|
||||
I_SimpleProperty(float, Scale_Alpha,
|
||||
__float__getScale_Alpha,
|
||||
__void__setScale_Alpha__float);
|
||||
I_SimpleProperty(float, Scale_RGB,
|
||||
__float__getScale_RGB,
|
||||
__void__setScale_RGB__float);
|
||||
I_SimpleProperty(GLint, Source0_Alpha,
|
||||
__GLint__getSource0_Alpha,
|
||||
__void__setSource0_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Source0_RGB,
|
||||
__GLint__getSource0_RGB,
|
||||
__void__setSource0_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Source1_Alpha,
|
||||
__GLint__getSource1_Alpha,
|
||||
__void__setSource1_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Source1_RGB,
|
||||
__GLint__getSource1_RGB,
|
||||
__void__setSource1_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Source2_Alpha,
|
||||
__GLint__getSource2_Alpha,
|
||||
__void__setSource2_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Source2_RGB,
|
||||
__GLint__getSource2_RGB,
|
||||
__void__setSource2_RGB__GLint);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexEnvFilter>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -39,37 +38,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -89,215 +88,12 @@ BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnvFilter__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvFilter &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvFilter__C5_TexEnvFilter_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setLodBias, IN, float, lodBias,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLodBias__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getLodBias,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getLodBias,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(float, LodBias,
|
||||
__float__getLodBias,
|
||||
__void__setLodBias__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnvFilter__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvFilter &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvFilter__C5_TexEnvFilter_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setLodBias, IN, float, lodBias,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLodBias__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getLodBias,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getLodBias,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexEnvFilter__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvFilter &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvFilter__C5_TexEnvFilter_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setLodBias, IN, float, lodBias,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLodBias__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getLodBias,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getLodBias,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, LodBias,
|
||||
__float__getLodBias,
|
||||
__void__setLodBias__float);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/TexGen.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Object>
|
||||
#include <osg/Plane>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexGen>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -43,7 +42,6 @@ BEGIN_ENUM_REFLECTOR(osg::TexGen::Coord)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
@@ -55,37 +53,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -100,95 +98,8 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
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.");
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
@@ -229,214 +140,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_SimpleProperty(const osg::Matrixd &, PlanesFromMatrix,
|
||||
0,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexGen::Mode)
|
||||
I_EnumLabel(osg::TexGen::OBJECT_LINEAR);
|
||||
I_EnumLabel(osg::TexGen::EYE_LINEAR);
|
||||
I_EnumLabel(osg::TexGen::SPHERE_MAP);
|
||||
I_EnumLabel(osg::TexGen::NORMAL_MAP);
|
||||
I_EnumLabel(osg::TexGen::REFLECTION_MAP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexGen::Coord)
|
||||
I_EnumLabel(osg::TexGen::S);
|
||||
I_EnumLabel(osg::TexGen::T);
|
||||
I_EnumLabel(osg::TexGen::R);
|
||||
I_EnumLabel(osg::TexGen::Q);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
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.");
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
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.");
|
||||
I_SimpleProperty(osg::TexGen::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_IndexedProperty(const osg::Plane &, Plane,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrixd &, PlanesFromMatrix,
|
||||
0,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,10 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/TexGenNode.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/TexGen>
|
||||
#include <osg/TexGenNode>
|
||||
|
||||
@@ -31,7 +30,6 @@ BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
@@ -48,300 +46,32 @@ BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::TexGenNode::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
I_SimpleProperty(osg::TexGen *, TexGen,
|
||||
__TexGen_P1__getTexGen,
|
||||
__void__setTexGen__TexGen_P1);
|
||||
I_SimpleProperty(unsigned int, TextureUnit,
|
||||
__unsigned_int__getTextureUnit,
|
||||
__void__setTextureUnit__unsigned_int);
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TexGenNode::ReferenceFrame)
|
||||
I_EnumLabel(osg::TexGenNode::RELATIVE_RF);
|
||||
I_EnumLabel(osg::TexGenNode::ABSOLUTE_RF);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TexMat>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
@@ -43,119 +42,37 @@ BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the texture matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Get the texture matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the const texture matrix. ",
|
||||
"");
|
||||
I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleByTextureRectangleSize__bool,
|
||||
"Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ",
|
||||
"Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. ");
|
||||
I_Method0(bool, getScaleByTextureRectangleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
"Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Apply texture matrix to OpenGL state. ",
|
||||
"");
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexMat__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexMat__C5_TexMat_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
@@ -198,185 +115,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_SimpleProperty(bool, ScaleByTextureRectangleSize,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
__void__setScaleByTextureRectangleSize__bool);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexMat)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexMat__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexMat__C5_TexMat_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the texture matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Get the texture matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the const texture matrix. ",
|
||||
"");
|
||||
I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleByTextureRectangleSize__bool,
|
||||
"Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ",
|
||||
"Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. ");
|
||||
I_Method0(bool, getScaleByTextureRectangleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
"Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Apply texture matrix to OpenGL state. ",
|
||||
"");
|
||||
I_Constructor0(____TexMat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TexMat__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexMat &, texmat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexMat__C5_TexMat_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isTextureAttribute,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the texture matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Get the texture matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the const texture matrix. ",
|
||||
"");
|
||||
I_Method1(void, setScaleByTextureRectangleSize, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScaleByTextureRectangleSize__bool,
|
||||
"Switch on/off the post scaling of the TexMat matrix by the size of the last applied texture rectangle. ",
|
||||
"Use a TexMat alongside a TextureRectangle with this scaling applied allows one to treat a TextureRectnagles texture coordinate range as if it were the usual non dimensional 0.0 to 1.0 range. Note, the TexMat matrix itself is not modified by the post scaling, its purely an operation passed to OpenGL to do the post scaling once the the TexMat matrix has been loaded. ");
|
||||
I_Method0(bool, getScaleByTextureRectangleSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
"Get whether the post scaling of the TexMat matrix, by the size of the last applied texture rectangle, is switched on/off. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Apply texture matrix to OpenGL state. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, Matrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
__void__setMatrix__C5_Matrix_R1);
|
||||
I_SimpleProperty(bool, ScaleByTextureRectangleSize,
|
||||
__bool__getScaleByTextureRectangleSize,
|
||||
__void__setScaleByTextureRectangleSize__bool);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,11 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Image.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Texture1D>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -26,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture1D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture1D,
|
||||
"",
|
||||
@@ -38,179 +37,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture1D)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"Sets the texture width. ",
|
||||
"If width is zero, calculate the value from the source image width. ");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"Gets the texture width. ",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture1D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture1D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture1D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method4(void, copyTexImage1D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage1D__State_R1__int__int__int,
|
||||
"Copies pixels into a 1D texture image, as per glCopyTexImage1D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. width must be a power of two. ");
|
||||
I_Method5(void, copyTexSubImage1D, IN, osg::State &, state, IN, int, xoffset, IN, int, x, IN, int, y, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage1D__State_R1__int__int__int__int,
|
||||
"Copies a one-dimensional texture subimage, as per glCopyTexSubImage1D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_Constructor0(____Texture1D,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture1D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture1D__C5_Texture1D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
@@ -343,336 +195,12 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture1D)
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture1D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture1D,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture1D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture1D__C5_Texture1D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"Sets the texture width. ",
|
||||
"If width is zero, calculate the value from the source image width. ");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"Gets the texture width. ",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture1D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture1D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture1D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method4(void, copyTexImage1D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage1D__State_R1__int__int__int,
|
||||
"Copies pixels into a 1D texture image, as per glCopyTexImage1D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. width must be a power of two. ");
|
||||
I_Method5(void, copyTexSubImage1D, IN, osg::State &, state, IN, int, xoffset, IN, int, x, IN, int, y, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage1D__State_R1__int__int__int__int,
|
||||
"Copies a one-dimensional texture subimage, as per glCopyTexSubImage1D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_Constructor0(____Texture1D,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture1D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture1D__C5_Texture1D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"Sets the texture width. ",
|
||||
"If width is zero, calculate the value from the source image width. ");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"Gets the texture width. ",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture1D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture1D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture1D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method4(void, copyTexImage1D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage1D__State_R1__int__int__int,
|
||||
"Copies pixels into a 1D texture image, as per glCopyTexImage1D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. width must be a power of two. ");
|
||||
I_Method5(void, copyTexSubImage1D, IN, osg::State &, state, IN, int, xoffset, IN, int, x, IN, int, y, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage1D__State_R1__int__int__int__int,
|
||||
"Copies a one-dimensional texture subimage, as per glCopyTexSubImage1D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__Image_P1);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture1D::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
0);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture1D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
@@ -687,43 +215,5 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture1D::SubloadCallback)
|
||||
__void__subload__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture1D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture1D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture1D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture1D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture1D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture1D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture1D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture1D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,8 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Texture2D>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -22,8 +25,197 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture2D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture2D,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Texture2D__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture2D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture2D__C5_Texture2D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int,
|
||||
"Sets the texture width and height. ",
|
||||
"If width or height are zero, calculate the respective value from the source image size. ");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture2D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__Image_P1);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture2D::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
@@ -38,43 +230,5 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2D::SubloadCallback)
|
||||
__void__subload__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture2D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture2D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture2D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture2D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture2D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture2D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture2D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture2D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Image.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/Texture3D.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Texture3D>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -27,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture3D,
|
||||
"",
|
||||
@@ -39,32 +37,32 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
@@ -191,176 +189,6 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_Constructor0(____Texture3D,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture3D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture3D__C5_Texture3D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int__int,
|
||||
"Sets the texture width, height, and depth. ",
|
||||
"If width, height, or depth are zero, calculate the respective value from the source image size. ");
|
||||
I_Method3(void, getTextureSize, IN, int &, width, IN, int &, height, IN, int &, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getTextureSize__int_R1__int_R1__int_R1,
|
||||
"Gets the texture subload width. ",
|
||||
"");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureDepth, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureDepth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture3D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture3D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture3D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method8(void, copyTexSubImage3D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage3D__State_R1__int__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset, yoffset, and zoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_StaticMethod2(osg::Texture3D::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Encapsulates queries of extension availability, obtains extension function pointers, and provides convinience wrappers for calling extension functions. ",
|
||||
"");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture3D::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"Overrides Extensions objects across graphics contexts. ",
|
||||
"Typically used to ensure the same lowest common denominator of extensions on sustems with different graphics pipes. ");
|
||||
I_StaticMethod2(osg::Texture3D::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Encapsulates queries of extension availability, obtains extension function pointers, and provides convinience wrappers for calling extension functions. ",
|
||||
@@ -390,382 +218,163 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture3D)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____Texture3D,
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Texture3D::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture3D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture3D__C5_Texture3D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int__int,
|
||||
"Sets the texture width, height, and depth. ",
|
||||
"If width, height, or depth are zero, calculate the respective value from the source image size. ");
|
||||
I_Method3(void, getTextureSize, IN, int &, width, IN, int &, height, IN, int &, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getTextureSize__int_R1__int_R1__int_R1,
|
||||
"Gets the texture subload width. ",
|
||||
"");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureDepth, IN, int, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureDepth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture3D::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture3D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture3D::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
"");
|
||||
I_Method8(void, copyTexSubImage3D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage3D__State_R1__int__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset, yoffset, and zoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_Constructor0(____Texture3D,
|
||||
I_Constructor1(IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Texture3D &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Texture3D__C5_Texture3D_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Texture3D::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Sets the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Gets the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Gets the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Sets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Gets the texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Gets the const texture image, ignoring face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Gets the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method3(void, setTextureSize, IN, int, width, IN, int, height, IN, int, depth,
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureSize__int__int__int,
|
||||
"Sets the texture width, height, and depth. ",
|
||||
"If width, height, or depth are zero, calculate the respective value from the source image size. ");
|
||||
I_Method3(void, getTextureSize, IN, int &, width, IN, int &, height, IN, int &, depth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getTextureSize__int_R1__int_R1__int_R1,
|
||||
"Gets the texture subload width. ",
|
||||
"");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
I_Method1(void, setTexture3DSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
__void__setTexture3DSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureDepth, IN, int, depth,
|
||||
I_Method0(bool, isTexture3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureDepth__int,
|
||||
__bool__isTexture3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
I_Method1(void, setTexture3DFast, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture3DFast__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
I_Method0(bool, isTexture3DFast,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isTexture3DFast,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
I_Method1(void, setMaxTexture3DSize, IN, GLint, maxsize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTexture3DSize__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::Texture3D::SubloadCallback *, cb,
|
||||
I_Method0(GLint, maxTexture3DSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
__GLint__maxTexture3DSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture3D::SubloadCallback *, getSubloadCallback,
|
||||
I_Method1(void, setTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture3D::SubloadCallback *, getSubloadCallback,
|
||||
I_Method10(void, glTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
I_Method11(void, glTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, pixels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCopyTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Helper function. ",
|
||||
"Sets the number of mipmap levels created for this texture. Should only be called within an osg::Texuture::apply(), or during a custom OpenGL texture load. ");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Gets the number of mipmap levels created. ",
|
||||
__void__setCopyTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method8(void, copyTexSubImage3D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, zoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
I_Method9(void, glCopyTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLint, x, IN, GLint, y, IN, GLsizei, width, IN, GLsizei, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage3D__State_R1__int__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage3D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset, yoffset, and zoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"Bind the texture object. ",
|
||||
"If the texture object hasn't already been compiled, create the texture mipmap levels. ");
|
||||
I_StaticMethod2(osg::Texture3D::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Encapsulates queries of extension availability, obtains extension function pointers, and provides convinience wrappers for calling extension functions. ",
|
||||
"");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture3D::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"Overrides Extensions objects across graphics contexts. ",
|
||||
"Typically used to ensure the same lowest common denominator of extensions on sustems with different graphics pipes. ");
|
||||
I_StaticMethod2(osg::Texture3D::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Encapsulates queries of extension availability, obtains extension function pointers, and provides convinience wrappers for calling extension functions. ",
|
||||
"");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Texture3D::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"Overrides Extensions objects across graphics contexts. ",
|
||||
"Typically used to ensure the same lowest common denominator of extensions on sustems with different graphics pipes. ");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__Image_P1);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
__void__glCopyTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLint__GLint__GLsizei__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method9(void, glCompressedTexImage3D, IN, GLenum, target, IN, GLint, level, IN, GLenum, internalformat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLint, border, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexImage3D__GLenum__GLint__GLenum__GLsizei__GLsizei__GLsizei__GLint__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCompressedTexSubImage3DSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCompressedTexSubImage3DSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCompressedTexSubImage3DProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method11(void, glCompressedTexSubImage3D, IN, GLenum, target, IN, GLint, level, IN, GLint, xoffset, IN, GLint, yoffset, IN, GLint, zoffset, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLsizei, imageSize, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glCompressedTexSubImage3D__GLenum__GLint__GLint__GLint__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBuild3DMipmapsProc, IN, void *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBuild3DMipmapsProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method8(void, gluBuild3DMipmaps, IN, GLenum, target, IN, GLint, internalFormat, IN, GLsizei, width, IN, GLsizei, height, IN, GLsizei, depth, IN, GLenum, format, IN, GLenum, type, IN, const GLvoid *, data,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__gluBuild3DMipmaps__GLenum__GLint__GLsizei__GLsizei__GLsizei__GLenum__GLenum__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, Build3DMipmapsProc,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::Texture3D::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
__void__setTextureDepth__int);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
__void__setBuild3DMipmapsProc__void_P1);
|
||||
I_SimpleProperty(void *, CompressedTexImage3DProc,
|
||||
0,
|
||||
__void__setCompressedTexImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, CompressedTexSubImage3DProc,
|
||||
0,
|
||||
__void__setCompressedTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, CopyTexSubImage3DProc,
|
||||
0,
|
||||
__void__setCopyTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(GLint, MaxTexture3DSize,
|
||||
0,
|
||||
__void__setMaxTexture3DSize__GLint);
|
||||
I_SimpleProperty(void *, TexImage3DProc,
|
||||
0,
|
||||
__void__setTexImage3DProc__void_P1);
|
||||
I_SimpleProperty(void *, TexSubImage3DProc,
|
||||
0,
|
||||
__void__setTexSubImage3DProc__void_P1);
|
||||
I_SimpleProperty(bool, Texture3DFast,
|
||||
0,
|
||||
__void__setTexture3DFast__bool);
|
||||
I_SimpleProperty(bool, Texture3DSupported,
|
||||
0,
|
||||
__void__setTexture3DSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
@@ -780,43 +389,5 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Texture3D::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::Texture3D &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_Texture3D_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,8 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/TextureCubeMap.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TextureCubeMap>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -22,8 +25,230 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)
|
||||
BEGIN_ENUM_REFLECTOR(osg::TextureCubeMap::Face)
|
||||
I_EnumLabel(osg::TextureCubeMap::POSITIVE_X);
|
||||
I_EnumLabel(osg::TextureCubeMap::NEGATIVE_X);
|
||||
I_EnumLabel(osg::TextureCubeMap::POSITIVE_Y);
|
||||
I_EnumLabel(osg::TextureCubeMap::NEGATIVE_Y);
|
||||
I_EnumLabel(osg::TextureCubeMap::POSITIVE_Z);
|
||||
I_EnumLabel(osg::TextureCubeMap::NEGATIVE_Z);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap)
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____TextureCubeMap,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TextureCubeMap &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TextureCubeMap__C5_TextureCubeMap_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned int, face, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned_int__Image_P1,
|
||||
"Set the texture image for specified face. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned int, face,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned_int,
|
||||
"Get the texture image for specified face. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned int, face,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned_int,
|
||||
"Get the const texture image for specified face. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Get the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(unsigned int &, getModifiedCount, IN, unsigned int, face, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
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.");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::TextureCubeMap::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TextureCubeMap::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TextureCubeMap::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMipmapLevels, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumMipmapLevels__unsigned_int,
|
||||
"Set the number of mip map levels the the texture has been created with. ",
|
||||
"Should only be called within an osg::Texuture::apply() and custom OpenGL texture load.");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"Get the number of mip map levels the the texture has been created with. ",
|
||||
"");
|
||||
I_Method8(void, copyTexSubImageCubeMap, IN, osg::State &, state, IN, int, face, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImageCubeMap__State_R1__int__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
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.");
|
||||
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.");
|
||||
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.");
|
||||
I_ArrayProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage__unsigned_int,
|
||||
__void__setImage__unsigned_int__Image_P1,
|
||||
__unsigned_int__getNumImages,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, NumMipmapLevels,
|
||||
0,
|
||||
__void__setNumMipmapLevels__unsigned_int);
|
||||
I_SimpleProperty(osg::TextureCubeMap::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TextureCubeMap::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::TextureCubeMap::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::TextureCubeMap::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCubeMapSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCubeMapSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isCubeMapSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isCubeMapSupported,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, CubeMapSupported,
|
||||
0,
|
||||
__void__setCubeMapSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
@@ -38,43 +263,5 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)
|
||||
__void__subload__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureCubeMap::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, load, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, subload, IN, const osg::TextureCubeMap &, texture, IN, osg::State &, state,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_TextureCubeMap_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Image.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/StateAttribute.svn-base>
|
||||
#include <osg/.svn/text-base/TextureRectangle.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Image>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/TextureRectangle>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -27,7 +26,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____TextureRectangle,
|
||||
"",
|
||||
@@ -44,184 +42,32 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Set the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Get the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Get the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Set the texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Get the texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Get the const texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Get the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
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.");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::TextureRectangle::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TextureRectangle::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TextureRectangle::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"On first apply (unless already compiled), create and bind the texture, subsequent apply will simply bind to texture. ",
|
||||
"");
|
||||
I_Constructor0(____TextureRectangle,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TextureRectangle__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TextureRectangle &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TextureRectangle__C5_TextureRectangle_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
@@ -351,338 +197,25 @@ BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TextureRectangle)
|
||||
I_BaseType(osg::Texture);
|
||||
I_BaseType(osg::Texture);
|
||||
I_Constructor0(____TextureRectangle,
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::TextureRectangle::SubloadCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____SubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TextureRectangle__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TextureRectangle &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TextureRectangle__C5_TextureRectangle_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
I_Method2(void, load, IN, const osg::TextureRectangle &, x, IN, osg::State &, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__load__C5_TextureRectangle_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
I_Method2(void, subload, IN, const osg::TextureRectangle &, x, IN, osg::State &, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__subload__C5_TextureRectangle_R1__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Set the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Get the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Get the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Set the texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Get the texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Get the const texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Get the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
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.");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::TextureRectangle::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TextureRectangle::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TextureRectangle::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"On first apply (unless already compiled), create and bind the texture, subsequent apply will simply bind to texture. ",
|
||||
"");
|
||||
I_Constructor0(____TextureRectangle,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Image *, image,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TextureRectangle__Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TextureRectangle &, text, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TextureRectangle__C5_TextureRectangle_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, rhs,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTextureTarget,
|
||||
Properties::VIRTUAL,
|
||||
__GLenum__getTextureTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImage__Image_P1,
|
||||
"Set the texture image. ",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Image_P1__getImage,
|
||||
"Get the texture image. ",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Image_P1__getImage,
|
||||
"Get the const texture image. ",
|
||||
"");
|
||||
I_Method1(unsigned int &, getModifiedCount, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int_R1__getModifiedCount__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setImage, IN, unsigned, int, IN, osg::Image *, image,
|
||||
Properties::VIRTUAL,
|
||||
__void__setImage__unsigned__Image_P1,
|
||||
"Set the texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method1(osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__Image_P1__getImage__unsigned,
|
||||
"Get the texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method1(const osg::Image *, getImage, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Image_P1__getImage__unsigned,
|
||||
"Get the const texture image, ignoring face value as there is only one image. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumImages,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getNumImages,
|
||||
"Get the number of images that can be assigned to the Texture. ",
|
||||
"");
|
||||
I_Method2(void, setTextureSize, IN, int, width, IN, int, height,
|
||||
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.");
|
||||
I_Method1(void, setTextureWidth, IN, int, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTextureHeight, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextureHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureWidth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureHeight,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getTextureDepth,
|
||||
Properties::VIRTUAL,
|
||||
__int__getTextureDepth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSubloadCallback, IN, osg::TextureRectangle::SubloadCallback *, cb,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSubloadCallback__SubloadCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TextureRectangle::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TextureRectangle::SubloadCallback *, getSubloadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SubloadCallback_P1__getSubloadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, copyTexImage2D, IN, osg::State &, state, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexImage2D__State_R1__int__int__int__int,
|
||||
"Copies pixels into a 2D texture image, as per glCopyTexImage2D. ",
|
||||
"Creates an OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. width and height must be a power of two. ");
|
||||
I_Method7(void, copyTexSubImage2D, IN, osg::State &, state, IN, int, xoffset, IN, int, yoffset, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyTexSubImage2D__State_R1__int__int__int__int__int__int,
|
||||
"Copies a two-dimensional texture subimage, as per glCopyTexSubImage2D. ",
|
||||
"Updates a portion of an existing OpenGL texture object from the current OpenGL background framebuffer contents at position x, y with width width and height height. Loads framebuffer data into the texture using offsets xoffset and yoffset. width and height must be powers of two. ");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"On first apply (unless already compiled), create and bind the texture, subsequent apply will simply bind to texture. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__Image_P1);
|
||||
I_SimpleProperty(osg::TextureRectangle::SubloadCallback *, SubloadCallback,
|
||||
__SubloadCallback_P1__getSubloadCallback,
|
||||
__void__setSubloadCallback__SubloadCallback_P1);
|
||||
I_SimpleProperty(int, TextureDepth,
|
||||
__int__getTextureDepth,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureHeight,
|
||||
__int__getTextureHeight,
|
||||
__void__setTextureHeight__int);
|
||||
I_SimpleProperty(GLenum, TextureTarget,
|
||||
__GLenum__getTextureTarget,
|
||||
0);
|
||||
I_SimpleProperty(int, TextureWidth,
|
||||
__int__getTextureWidth,
|
||||
__void__setTextureWidth__int);
|
||||
I_SimpleProperty(Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/MatrixTransform.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Transform.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/MatrixTransform>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/Transform>
|
||||
|
||||
@@ -35,7 +34,6 @@ BEGIN_ENUM_REFLECTOR(osg::Transform::ReferenceFrame)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Transform)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Transform,
|
||||
"",
|
||||
@@ -47,333 +45,43 @@ BEGIN_OBJECT_REFLECTOR(osg::Transform)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
"Convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<Transform*>(this). ");
|
||||
I_Method0(const osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::Transform::ReferenceFrame, rf,
|
||||
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.");
|
||||
I_Method0(osg::Transform::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"Overrides Group's computeBound. ",
|
||||
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required).");
|
||||
I_Constructor0(____Transform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Transform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Transform__C5_Transform_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::Transform::ReferenceFrame, rf,
|
||||
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.");
|
||||
I_Method0(osg::Transform::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"Overrides Group's computeBound. ",
|
||||
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required).");
|
||||
I_SimpleProperty(osg::Transform::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Transform::ReferenceFrame)
|
||||
I_EnumLabel(osg::Transform::RELATIVE_RF);
|
||||
I_EnumLabel(osg::Transform::ABSOLUTE_RF);
|
||||
I_EnumLabel(osg::Transform::ABSOLUTE_RF_INHERIT_VIEWPOINT);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Transform)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____Transform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Transform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Transform__C5_Transform_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::Transform::ReferenceFrame, rf,
|
||||
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.");
|
||||
I_Method0(osg::Transform::ReferenceFrame, getReferenceFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__BoundingSphere__computeBound,
|
||||
"Overrides Group's computeBound. ",
|
||||
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required).");
|
||||
I_Constructor0(____Transform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Transform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Transform__C5_Transform_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Transform *, asTransform,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Transform_P1__asTransform,
|
||||
"",
|
||||
"");
|
||||
"convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<const Transform*>(this). ");
|
||||
I_Method0(osg::MatrixTransform *, asMatrixTransform,
|
||||
Properties::VIRTUAL,
|
||||
__MatrixTransform_P1__asMatrixTransform,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,9 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2f.svn-base>
|
||||
#include <osg/Vec2d>
|
||||
#include <osg/Vec2f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -101,228 +100,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2d)
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec2d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y,
|
||||
____Vec2d__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec2f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec2d__C5_Vec2f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Vec2d::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec2d)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec2d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y,
|
||||
____Vec2d__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec2f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec2d__C5_Vec2f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec2d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y,
|
||||
____Vec2d__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec2f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec2d__C5_Vec2f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2d::value_type, x, IN, osg::Vec2d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2f.svn-base>
|
||||
#include <osg/Vec2f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -95,213 +94,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2f)
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec2f,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
____Vec2f__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2f::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2f::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(float, osg::Vec2f::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec2f)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec2f,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
____Vec2f__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2f::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2f::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec2f,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
____Vec2f__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2f::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2f::value_type, x, IN, osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2f::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec2f::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec2f::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2s.svn-base>
|
||||
#include <osg/Vec2s>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -91,211 +90,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec2s)
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec2s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
____Vec2s__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec2s &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(short, osg::Vec2s::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec2s)
|
||||
I_Constructor0(____Vec2s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
____Vec2s__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec2s &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec2s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
____Vec2s__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, osg::Vec2s::value_type, x, IN, osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec2s &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec2s_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec2s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,10 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec2d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3f.svn-base>
|
||||
#include <osg/Vec2d>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec3f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -121,285 +120,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec3d)
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec3d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec3f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec3d__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z,
|
||||
____Vec3d__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec2d &, v2, IN, osg::Vec3d::value_type, zz,
|
||||
____Vec3d__C5_Vec2d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec3d &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec3d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec3d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Vec3d::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec3d)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec3d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec3f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec3d__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z,
|
||||
____Vec3d__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec2d &, v2, IN, osg::Vec3d::value_type, zz,
|
||||
____Vec3d__C5_Vec2d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec3d &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec3d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec3d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec3d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec3f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec3d__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z,
|
||||
____Vec3d__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec2d &, v2, IN, osg::Vec3d::value_type, zz,
|
||||
____Vec3d__C5_Vec2d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, osg::Vec3d::value_type, x, IN, osg::Vec3d::value_type, y, IN, osg::Vec3d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec3d &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec3d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec3d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec4b.svn-base>
|
||||
#include <osg/Vec4b>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -130,318 +129,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4b)
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec4b,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w,
|
||||
____Vec4b__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4b::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(char, osg::Vec4b::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec4b)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec4b,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w,
|
||||
____Vec4b__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4b::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec4b,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w,
|
||||
____Vec4b__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4b::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4b::value_type, x, IN, osg::Vec4b::value_type, y, IN, osg::Vec4b::value_type, z, IN, osg::Vec4b::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4b::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,10 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec4d.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4f.svn-base>
|
||||
#include <osg/Vec3d>
|
||||
#include <osg/Vec4d>
|
||||
#include <osg/Vec4f>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -176,450 +175,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4d)
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec4d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__C5_Vec3d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec4d__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asABGR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asABGR,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asRGBA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asRGBA,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec4d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec4d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(double, osg::Vec4d::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec4d)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0(____Vec4d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__C5_Vec3d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec4d__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asABGR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asABGR,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asRGBA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asRGBA,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec4d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec4d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
I_Constructor0(____Vec4d,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, v3, IN, osg::Vec4d::value_type, w,
|
||||
____Vec4d__C5_Vec3d_R1__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, vec,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec4d__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4d::value_type, x, IN, osg::Vec4d::value_type, y, IN, osg::Vec4d::value_type, z, IN, osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asABGR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asABGR,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, asRGBA,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__asRGBA,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d::value_type, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length,
|
||||
"Length of the vector = sqrt( vec . ",
|
||||
"vec ) ");
|
||||
I_Method0(osg::Vec4d::value_type, length2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__length2,
|
||||
"Length squared of the vector = vec . ",
|
||||
"vec ");
|
||||
I_Method0(osg::Vec4d::value_type, normalize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__normalize,
|
||||
"Normalize the vector so that it has length unity. ",
|
||||
"Returns the previous length of the vector.");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec4s.svn-base>
|
||||
#include <osg/Vec4s>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -126,316 +125,5 @@ BEGIN_VALUE_REFLECTOR(osg::Vec4s)
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec4s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w,
|
||||
____Vec4s__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(short, osg::Vec4s::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Vec4s)
|
||||
I_Constructor0(____Vec4s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w,
|
||||
____Vec4s__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec4s,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w,
|
||||
____Vec4s__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4s::value_type *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Vec4s::value_type, x, IN, osg::Vec4s::value_type, y, IN, osg::Vec4s::value_type, z, IN, osg::Vec4s::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, z,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type &, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type_R1__a,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__r,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, g,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__g,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__b,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4s::value_type, a,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__a,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,6 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Vec4>
|
||||
#include <osg/VertexProgram>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -20,182 +26,176 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLuint COMMA osg::Vec4 >, osg::VertexProgram::LocalParamList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::VertexProgram::MatrixList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0(____VertexProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::VertexProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VertexProgram__C5_VertexProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
Properties::VIRTUAL,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
Properties::VIRTUAL,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getVertexProgramID, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLuint_R1__getVertexProgramID__unsigned_int,
|
||||
"Get the handle to the vertex program ID for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const char *, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_char_P1,
|
||||
"Set the vertex program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setVertexProgram, IN, const std::string &, program,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgram__C5_std_string_R1,
|
||||
"Set the vertex program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getVertexProgram,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
"Get the vertex program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::VertexProgram::LocalParamList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::LocalParamList &, getLocalParameters,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::VertexProgram::MatrixList &, matrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::VertexProgram::MatrixList &, getMatrices,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyVertexProgramObject,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyVertexProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"Default to nothing to compile - all state is applied immediately. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned_int,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"Release any OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics contexts if State object pointer is NULL. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteVertexProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteVertexProgramObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexProgramObject instead of glDeletePrograms to allow OpenGL Vertex Program objects to cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedVertexProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedVertexProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"Flush all the cached vertex programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
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.");
|
||||
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.");
|
||||
I_SimpleProperty(const osg::VertexProgram::LocalParamList &, LocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1);
|
||||
I_SimpleProperty(const osg::VertexProgram::MatrixList &, Matrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
__void__setMatrices__C5_MatrixList_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, VertexProgram,
|
||||
__C5_std_string_R1__getVertexProgram,
|
||||
__void__setVertexProgram__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VertexProgram::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::VertexProgram::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexProgramSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isVertexProgramSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isVertexProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VertexProgram::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::VertexProgram::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexProgramSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isVertexProgramSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isVertexProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, VertexProgramSupported,
|
||||
0,
|
||||
__void__setVertexProgramSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VertexProgram::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VertexProgram::Extensions &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::VertexProgram::Extensions &, rhs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexProgramSupported, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVertexProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isVertexProgramSupported,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isVertexProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Extensions__unsigned_int,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Stats>
|
||||
#include <osg/View>
|
||||
|
||||
@@ -26,259 +26,6 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStats, IN, osg::Stats *, stats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStats__osg_Stats_P1,
|
||||
"Set the Stats object used for collect various frame related timing and scene graph stats. ",
|
||||
"");
|
||||
I_Method0(osg::Stats *, getStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Stats_P1__getStats,
|
||||
"Get the Stats object. ",
|
||||
"");
|
||||
I_Method0(const osg::Stats *, getStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Stats_P1__getStats,
|
||||
"Get the const Stats object. ",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the master camera of the view. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the master camera of the view. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const master camera of the view. ",
|
||||
"");
|
||||
I_Method1(bool, addSlave, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addSlave__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addSlave, IN, osg::Camera *, camera, IN, const osg::Matrix &, projectionOffset, IN, const osg::Matrix &, viewOffse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__removeSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumSlaves,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumSlaves,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::View::Slave &, getSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Slave_R1__getSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::View::Slave &, getSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Slave_R1__getSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::View::Slave *, findSlaveForCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Slave_P1__findSlaveForCamera__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateSlaves,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateSlaves,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateSlave, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStats, IN, osg::Stats *, stats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStats__osg_Stats_P1,
|
||||
"Set the Stats object used for collect various frame related timing and scene graph stats. ",
|
||||
"");
|
||||
I_Method0(osg::Stats *, getStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Stats_P1__getStats,
|
||||
"Get the Stats object. ",
|
||||
"");
|
||||
I_Method0(const osg::Stats *, getStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Stats_P1__getStats,
|
||||
"Get the const Stats object. ",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the master camera of the view. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the master camera of the view. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const master camera of the view. ",
|
||||
"");
|
||||
I_Method1(bool, addSlave, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addSlave__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addSlave, IN, osg::Camera *, camera, IN, const osg::Matrix &, projectionOffset, IN, const osg::Matrix &, viewOffse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__removeSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumSlaves,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumSlaves,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::View::Slave &, getSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Slave_R1__getSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::View::Slave &, getSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Slave_R1__getSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::View::Slave *, findSlaveForCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Slave_P1__findSlaveForCamera__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateSlaves,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateSlaves,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateSlave, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Camera *, Camera,
|
||||
__osg_Camera_P1__getCamera,
|
||||
__void__setCamera__osg_Camera_P1);
|
||||
I_ArrayProperty(osg::View::Slave &, Slave,
|
||||
__Slave_R1__getSlave__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumSlaves,
|
||||
0,
|
||||
0,
|
||||
__bool__removeSlave__unsigned_int);
|
||||
I_SimpleProperty(osg::Stats *, Stats,
|
||||
__osg_Stats_P1__getStats,
|
||||
__void__setStats__osg_Stats_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStats, IN, osg::Stats *, stats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStats__osg_Stats_P1,
|
||||
"Set the Stats object used for collect various frame related timing and scene graph stats. ",
|
||||
"");
|
||||
I_Method0(osg::Stats *, getStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Stats_P1__getStats,
|
||||
"Get the Stats object. ",
|
||||
"");
|
||||
I_Method0(const osg::Stats *, getStats,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Stats_P1__getStats,
|
||||
"Get the const Stats object. ",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the master camera of the view. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the master camera of the view. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const master camera of the view. ",
|
||||
"");
|
||||
I_Method1(bool, addSlave, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addSlave__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, addSlave, IN, osg::Camera *, camera, IN, const osg::Matrix &, projectionOffset, IN, const osg::Matrix &, viewOffse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__removeSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumSlaves,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumSlaves,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::View::Slave &, getSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Slave_R1__getSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::View::Slave &, getSlave, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Slave_R1__getSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::View::Slave *, findSlaveForCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Slave_P1__findSlaveForCamera__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateSlaves,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateSlaves,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateSlave, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateSlave__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
@@ -373,18 +120,6 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::View::Slave)
|
||||
I_Constructor0(____Slave,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osg::Camera *, camera, IN, const osg::Matrixd &, projectionOffset, IN, const osg::Matrixd &, viewOffset,
|
||||
____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::View::Slave &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Slave__C5_Slave_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Slave,
|
||||
"",
|
||||
"");
|
||||
@@ -400,37 +135,5 @@ BEGIN_VALUE_REFLECTOR(osg::View::Slave)
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera);
|
||||
I_PublicMemberProperty(osg::Matrixd, _projectionOffset);
|
||||
I_PublicMemberProperty(osg::Matrixd, _viewOffset);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::View::Slave)
|
||||
I_Constructor0(____Slave,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osg::Camera *, camera, IN, const osg::Matrixd &, projectionOffset, IN, const osg::Matrixd &, viewOffset,
|
||||
____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::View::Slave &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Slave__C5_Slave_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Slave,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, osg::Camera *, camera, IN, const osg::Matrixd &, projectionOffset, IN, const osg::Matrixd &, viewOffset,
|
||||
____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::View::Slave &, rhs,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Slave__C5_Slave_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera);
|
||||
I_PublicMemberProperty(osg::Matrixd, _projectionOffset);
|
||||
I_PublicMemberProperty(osg::Matrixd, _viewOffset);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user