Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection

example
This commit is contained in:
Robert Osfield
2004-12-09 05:28:20 +00:00
parent dd0fac434a
commit 28d31c96b6
40 changed files with 6766 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/StateAttribute>
using namespace osgIntrospection;
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
BaseType(osg::Object);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Values)
EnumLabel(osg::StateAttribute::OFF);
EnumLabel(osg::StateAttribute::ON);
EnumLabel(osg::StateAttribute::OVERRIDE);
EnumLabel(osg::StateAttribute::PROTECTED);
EnumLabel(osg::StateAttribute::INHERIT);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Type)
EnumLabel(osg::StateAttribute::TEXTURE);
EnumLabel(osg::StateAttribute::POLYGONMODE);
EnumLabel(osg::StateAttribute::POLYGONOFFSET);
EnumLabel(osg::StateAttribute::MATERIAL);
EnumLabel(osg::StateAttribute::ALPHAFUNC);
EnumLabel(osg::StateAttribute::ANTIALIAS);
EnumLabel(osg::StateAttribute::COLORTABLE);
EnumLabel(osg::StateAttribute::CULLFACE);
EnumLabel(osg::StateAttribute::FOG);
EnumLabel(osg::StateAttribute::FRONTFACE);
EnumLabel(osg::StateAttribute::LIGHT);
EnumLabel(osg::StateAttribute::POINT);
EnumLabel(osg::StateAttribute::LINEWIDTH);
EnumLabel(osg::StateAttribute::LINESTIPPLE);
EnumLabel(osg::StateAttribute::POLYGONSTIPPLE);
EnumLabel(osg::StateAttribute::SHADEMODEL);
EnumLabel(osg::StateAttribute::TEXENV);
EnumLabel(osg::StateAttribute::TEXENVFILTER);
EnumLabel(osg::StateAttribute::TEXGEN);
EnumLabel(osg::StateAttribute::TEXMAT);
EnumLabel(osg::StateAttribute::LIGHTMODEL);
EnumLabel(osg::StateAttribute::BLENDFUNC);
EnumLabel(osg::StateAttribute::STENCIL);
EnumLabel(osg::StateAttribute::COLORMASK);
EnumLabel(osg::StateAttribute::DEPTH);
EnumLabel(osg::StateAttribute::VIEWPORT);
EnumLabel(osg::StateAttribute::BLENDCOLOR);
EnumLabel(osg::StateAttribute::MULTISAMPLE);
EnumLabel(osg::StateAttribute::CLIPPLANE);
EnumLabel(osg::StateAttribute::COLORMATRIX);
EnumLabel(osg::StateAttribute::VERTEXPROGRAM);
EnumLabel(osg::StateAttribute::FRAGMENTPROGRAM);
EnumLabel(osg::StateAttribute::POINTSPRITE);
EnumLabel(osg::StateAttribute::PROGRAMOBJECT);
EnumLabel(osg::StateAttribute::VALIDATOR);
EnumLabel(osg::StateAttribute::VIEWMATRIXEXTRACTOR);
EnumLabel(osg::StateAttribute::PARAMETER_BLOCK);
EnumLabel(osg::StateAttribute::TEXTURE_SHADER);
EnumLabel(osg::StateAttribute::VERTEX_PROGRAM);
EnumLabel(osg::StateAttribute::REGISTER_COMBINERS);
EnumLabel(osg::StateAttribute::PROGRAM);
EnumLabel(osg::StateAttribute::PROGRAM_PARSER);
END_REFLECTOR