From Marco Jez, improvements to osgIntrospection, and new automatically generated

osgWrappers/osg set.
This commit is contained in:
Robert Osfield
2005-04-07 20:00:17 +00:00
parent 5b4482c70d
commit 7a27a0bef7
132 changed files with 8608 additions and 301 deletions

View File

@@ -0,0 +1,61 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Billboard>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Matrix>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Vec3>
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Billboard::PositionList);
BEGIN_ENUM_REFLECTOR(osg::Billboard::Mode)
EnumLabel(osg::Billboard::POINT_ROT_EYE);
EnumLabel(osg::Billboard::POINT_ROT_WORLD);
EnumLabel(osg::Billboard::AXIAL_ROT);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Billboard)
BaseType(osg::Geode);
Constructor0();
ConstructorWithDefaults2(IN, const osg::Billboard &, x, , 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 *, className);
Method0(const char *, libraryName);
Method1(void, accept, IN, osg::NodeVisitor &, nv);
Method1(void, setMode, IN, osg::Billboard::Mode, mode);
Method0(osg::Billboard::Mode, getMode);
Method1(void, setAxis, IN, const osg::Vec3 &, axis);
Method0(const osg::Vec3 &, getAxis);
Method1(void, setNormal, IN, const osg::Vec3 &, normal);
Method0(const osg::Vec3 &, getNormal);
Method2(void, setPosition, IN, unsigned int, i, IN, const osg::Vec3 &, pos);
Method1(const osg::Vec3 &, getPosition, IN, unsigned int, i);
Method1(void, setPositionList, IN, osg::Billboard::PositionList &, pl);
Method0(osg::Billboard::PositionList &, getPositionList);
Method0(const osg::Billboard::PositionList &, getPositionList);
Method1(bool, addDrawable, IN, osg::Drawable *, gset);
Method2(bool, addDrawable, IN, osg::Drawable *, gset, IN, const osg::Vec3 &, pos);
Method1(bool, removeDrawable, IN, osg::Drawable *, gset);
Method3(bool, computeMatrix, IN, osg::Matrix &, modelview, IN, const osg::Vec3 &, eye_local, IN, const osg::Vec3 &, pos_local);
Property(const osg::Vec3 &, Axis);
Property(osg::Billboard::Mode, Mode);
Property(const osg::Vec3 &, Normal);
IndexedProperty1(const osg::Vec3 &, Position, unsigned int, i);
Property(osg::Billboard::PositionList &, PositionList);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3 >);