From Marco Jez, improvements to osgIntrospection, and new automatically generated
osgWrappers/osg set.
This commit is contained in:
@@ -1,10 +1,20 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Material>
|
||||
|
||||
using namespace osgIntrospection;
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osg/Vec4>
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Material::Face)
|
||||
EnumLabel(osg::Material::FRONT);
|
||||
@@ -14,8 +24,8 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::Material::ColorMode)
|
||||
EnumLabel(osg::Material::AMBIENT);
|
||||
EnumLabel(osg::Material::SPECULAR);
|
||||
EnumLabel(osg::Material::DIFFUSE);
|
||||
EnumLabel(osg::Material::SPECULAR);
|
||||
EnumLabel(osg::Material::EMISSION);
|
||||
EnumLabel(osg::Material::AMBIENT_AND_DIFFUSE);
|
||||
EnumLabel(osg::Material::OFF);
|
||||
@@ -23,9 +33,47 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
BaseType(osg::StateAttribute);
|
||||
Constructor0();
|
||||
ConstructorWithDefaults2(IN, const osg::Material &, mat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
Method0(osg::Object *, cloneType);
|
||||
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
Method0(const char *, libraryName);
|
||||
Method0(const char *, className);
|
||||
Method0(osg::StateAttribute::Type, getType);
|
||||
Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
Method1(void, apply, IN, osg::State &, state);
|
||||
Method1(void, setColorMode, IN, osg::Material::ColorMode, mode);
|
||||
Method0(osg::Material::ColorMode, getColorMode);
|
||||
Method2(void, setAmbient, IN, osg::Material::Face, face, IN, const osg::Vec4 &, ambient);
|
||||
Method1(const osg::Vec4 &, getAmbient, IN, osg::Material::Face, face);
|
||||
Method0(bool, getAmbientFrontAndBack);
|
||||
Method2(void, setDiffuse, IN, osg::Material::Face, face, IN, const osg::Vec4 &, diffuse);
|
||||
Method1(const osg::Vec4 &, getDiffuse, IN, osg::Material::Face, face);
|
||||
Method0(bool, getDiffuseFrontAndBack);
|
||||
Method2(void, setSpecular, IN, osg::Material::Face, face, IN, const osg::Vec4 &, specular);
|
||||
Method1(const osg::Vec4 &, getSpecular, IN, osg::Material::Face, face);
|
||||
Method0(bool, getSpecularFrontAndBack);
|
||||
Method2(void, setEmission, IN, osg::Material::Face, face, IN, const osg::Vec4 &, emission);
|
||||
Method1(const osg::Vec4 &, getEmission, IN, osg::Material::Face, face);
|
||||
Method0(bool, getEmissionFrontAndBack);
|
||||
Method2(void, setShininess, IN, osg::Material::Face, face, IN, float, shininess);
|
||||
Method1(float, getShininess, IN, osg::Material::Face, face);
|
||||
Method0(bool, getShininessFrontAndBack);
|
||||
Method2(void, setTransparency, IN, osg::Material::Face, face, IN, float, trans);
|
||||
Method2(void, setAlpha, IN, osg::Material::Face, face, IN, float, alpha);
|
||||
IndexedProperty1(const osg::Vec4 &, Ambient, osg::Material::Face, face);
|
||||
ReadOnlyProperty(bool, AmbientFrontAndBack);
|
||||
Property(osg::Material::ColorMode, ColorMode);
|
||||
IndexedProperty(const osg::Vec4 &, Ambient, osg::Material::Face, face);
|
||||
IndexedProperty(const osg::Vec4 &, Diffuse, osg::Material::Face, face);
|
||||
IndexedProperty(const osg::Vec4 &, Specular, osg::Material::Face, face);
|
||||
IndexedProperty1(const osg::Vec4 &, Diffuse, osg::Material::Face, face);
|
||||
ReadOnlyProperty(bool, DiffuseFrontAndBack);
|
||||
IndexedProperty1(const osg::Vec4 &, Emission, osg::Material::Face, face);
|
||||
ReadOnlyProperty(bool, EmissionFrontAndBack);
|
||||
IndexedProperty1(float, Shininess, osg::Material::Face, face);
|
||||
ReadOnlyProperty(bool, ShininessFrontAndBack);
|
||||
IndexedProperty1(const osg::Vec4 &, Specular, osg::Material::Face, face);
|
||||
ReadOnlyProperty(bool, SpecularFrontAndBack);
|
||||
ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user