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,72 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/BoundingBox>
#include <osg/BoundingSphere>
#include <osg/CullingSet>
#include <osg/Matrix>
#include <osg/Node>
#include <osg/Polytope>
#include <osg/ShadowVolumeOccluder>
#include <osg/Vec3>
#include <osg/Vec4>
TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::CullingSet::OccluderList);
TYPE_NAME_ALIAS(unsigned int, osg::CullingSet::Mask);
BEGIN_ENUM_REFLECTOR(osg::CullingSet::MaskValues)
EnumLabel(osg::CullingSet::NO_CULLING);
EnumLabel(osg::CullingSet::VIEW_FRUSTUM_SIDES_CULLING);
EnumLabel(osg::CullingSet::NEAR_PLANE_CULLING);
EnumLabel(osg::CullingSet::FAR_PLANE_CULLING);
EnumLabel(osg::CullingSet::VIEW_FRUSTUM_CULLING);
EnumLabel(osg::CullingSet::SMALL_FEATURE_CULLING);
EnumLabel(osg::CullingSet::SHADOW_OCCLUSION_CULLING);
EnumLabel(osg::CullingSet::DEFAULT_CULLING);
EnumLabel(osg::CullingSet::ENABLE_ALL_CULLING);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::CullingSet)
BaseType(osg::Referenced);
Constructor0();
Constructor1(IN, const osg::CullingSet &, cs);
Constructor3(IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector);
Method1(void, set, IN, const osg::CullingSet &, cs);
Method3(void, set, IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector);
Method1(void, setCullingMask, IN, osg::CullingSet::Mask, mask);
Method0(osg::CullingSet::Mask, getCullingMask);
Method1(void, setFrustum, IN, osg::Polytope &, cv);
Method0(osg::Polytope &, getFrustum);
Method0(const osg::Polytope &, getFrustum);
Method1(void, addOccluder, IN, osg::ShadowVolumeOccluder &, cv);
Method1(void, setPixelSizeVector, IN, const osg::Vec4 &, v);
Method0(osg::Vec4 &, getPixelSizeVector);
Method0(const osg::Vec4 &, getPixelSizeVector);
Method1(void, setSmallFeatureCullingPixelSize, IN, float, value);
Method0(float &, getSmallFeatureCullingPixelSize);
Method0(float, getSmallFeatureCullingPixelSize);
Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius);
Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs);
Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices);
Method1(bool, isCulled, IN, const osg::BoundingBox &, bb);
Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs);
Method0(void, pushCurrentMask);
Method0(void, popCurrentMask);
Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath);
Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath);
WriteOnlyProperty(const osg::CullingSet &, );
Property(osg::CullingSet::Mask, CullingMask);
Property(osg::Polytope &, Frustum);
Property(const osg::Vec4 &, PixelSizeVector);
Property(float, SmallFeatureCullingPixelSize);
END_REFLECTOR