72 lines
2.7 KiB
C++
72 lines
2.7 KiB
C++
// ***************************************************************************
|
|
//
|
|
// Generated automatically by genwrapper.
|
|
// Please DO NOT EDIT this file!
|
|
//
|
|
// ***************************************************************************
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
#include <osg/CopyOp>
|
|
#include <osg/LOD>
|
|
#include <osg/Node>
|
|
#include <osg/NodeVisitor>
|
|
#include <osg/Object>
|
|
#include <osg/Vec3>
|
|
|
|
TYPE_NAME_ALIAS(std::pair< float COMMA float >, osg::LOD::MinMaxPair);
|
|
|
|
TYPE_NAME_ALIAS(std::vector< osg::LOD::MinMaxPair >, osg::LOD::RangeList);
|
|
|
|
BEGIN_ENUM_REFLECTOR(osg::LOD::CenterMode)
|
|
EnumLabel(osg::LOD::USE_BOUNDING_SPHERE_CENTER);
|
|
EnumLabel(osg::LOD::USER_DEFINED_CENTER);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_ENUM_REFLECTOR(osg::LOD::RangeMode)
|
|
EnumLabel(osg::LOD::DISTANCE_FROM_EYE_POINT);
|
|
EnumLabel(osg::LOD::PIXEL_SIZE_ON_SCREEN);
|
|
END_REFLECTOR
|
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::LOD)
|
|
BaseType(osg::Group);
|
|
Constructor0();
|
|
ConstructorWithDefaults2(IN, const osg::LOD &, 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, traverse, IN, osg::NodeVisitor &, nv);
|
|
Method1(bool, addChild, IN, osg::Node *, child);
|
|
Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max);
|
|
Method1(bool, removeChild, IN, osg::Node *, child);
|
|
Method1(void, setCenterMode, IN, osg::LOD::CenterMode, mode);
|
|
Method0(osg::LOD::CenterMode, getCenterMode);
|
|
Method1(void, setCenter, IN, const osg::Vec3 &, center);
|
|
Method0(const osg::Vec3 &, getCenter);
|
|
Method1(void, setRadius, IN, float, radius);
|
|
Method0(float, getRadius);
|
|
Method1(void, setRangeMode, IN, osg::LOD::RangeMode, mode);
|
|
Method0(osg::LOD::RangeMode, getRangeMode);
|
|
Method3(void, setRange, IN, unsigned int, childNo, IN, float, min, IN, float, max);
|
|
Method1(float, getMinRange, IN, unsigned int, childNo);
|
|
Method1(float, getMaxRange, IN, unsigned int, childNo);
|
|
Method0(unsigned int, getNumRanges);
|
|
Method1(void, setRangeList, IN, const osg::LOD::RangeList &, rangeList);
|
|
Method0(const osg::LOD::RangeList &, getRangeList);
|
|
Property(const osg::Vec3 &, Center);
|
|
Property(osg::LOD::CenterMode, CenterMode);
|
|
Property(float, Radius);
|
|
Property(const osg::LOD::RangeList &, RangeList);
|
|
Property(osg::LOD::RangeMode, RangeMode);
|
|
END_REFLECTOR
|
|
|
|
STD_PAIR_REFLECTOR(std::pair< float COMMA float >);
|
|
|
|
STD_VECTOR_REFLECTOR(std::vector< osg::LOD::MinMaxPair >);
|
|
|