141 lines
6.4 KiB
C++
141 lines
6.4 KiB
C++
// ***************************************************************************
|
|
//
|
|
// Generated automatically by genwrapper.
|
|
// Please DO NOT EDIT this file!
|
|
//
|
|
// ***************************************************************************
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
#include <osgIntrospection/StaticMethodInfo>
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
#include <osg/CollectOccludersVisitor>
|
|
#include <osg/LOD>
|
|
#include <osg/Node>
|
|
#include <osg/OccluderNode>
|
|
#include <osg/Projection>
|
|
#include <osg/Switch>
|
|
#include <osg/Transform>
|
|
#include <osg/Vec3>
|
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
#ifdef IN
|
|
#undef IN
|
|
#endif
|
|
#ifdef OUT
|
|
#undef OUT
|
|
#endif
|
|
|
|
TYPE_NAME_ALIAS(std::set< osg::ShadowVolumeOccluder >, osg::CollectOccludersVisitor::ShadowVolumeOccluderSet);
|
|
|
|
BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
|
|
I_BaseType(osg::NodeVisitor);
|
|
I_BaseType(osg::CullStack);
|
|
I_Constructor0(____CollectOccludersVisitor,
|
|
"",
|
|
"");
|
|
I_Method0(osg::CollectOccludersVisitor *, cloneType,
|
|
__CollectOccludersVisitor_P1__cloneType,
|
|
"",
|
|
"");
|
|
I_Method0(void, reset,
|
|
__void__reset,
|
|
"",
|
|
"");
|
|
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
|
__float__getDistanceToEyePoint__C5_Vec3_R1__bool,
|
|
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
|
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. ");
|
|
I_Method2(float, getDistanceToViewPoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
|
__float__getDistanceToViewPoint__C5_Vec3_R1__bool,
|
|
"Get the distance from a point to the view point, distance value in local coordinate system. ",
|
|
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceToViewPoint(pos) is not implemented then a default value of 0.0 is returned. ");
|
|
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
|
__float__getDistanceFromEyePoint__C5_Vec3_R1__bool,
|
|
"Get the distance of a point from the eye point, distance value in the eye coordinate system. ",
|
|
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
|
|
I_Method1(void, apply, IN, osg::Node &, x,
|
|
__void__apply__osg_Node_R1,
|
|
"",
|
|
"");
|
|
I_Method1(void, apply, IN, osg::Transform &, node,
|
|
__void__apply__osg_Transform_R1,
|
|
"",
|
|
"");
|
|
I_Method1(void, apply, IN, osg::Projection &, node,
|
|
__void__apply__osg_Projection_R1,
|
|
"",
|
|
"");
|
|
I_Method1(void, apply, IN, osg::Switch &, node,
|
|
__void__apply__osg_Switch_R1,
|
|
"",
|
|
"");
|
|
I_Method1(void, apply, IN, osg::LOD &, node,
|
|
__void__apply__osg_LOD_R1,
|
|
"",
|
|
"");
|
|
I_Method1(void, apply, IN, osg::OccluderNode &, node,
|
|
__void__apply__osg_OccluderNode_R1,
|
|
"",
|
|
"");
|
|
I_Method1(void, setMinimumShadowOccluderVolume, IN, float, vol,
|
|
__void__setMinimumShadowOccluderVolume__float,
|
|
"Sets the minimum shadow occluder volume that an active occluder must have. ",
|
|
"vol is units relative the clip space volume where 1.0 is the whole clip space. ");
|
|
I_Method0(float, getMinimumShadowOccluderVolume,
|
|
__float__getMinimumShadowOccluderVolume,
|
|
"",
|
|
"");
|
|
I_Method1(void, setMaximumNumberOfActiveOccluders, IN, unsigned int, num,
|
|
__void__setMaximumNumberOfActiveOccluders__unsigned_int,
|
|
"Sets the maximum number of occluders to have active for culling purposes. ",
|
|
"");
|
|
I_Method0(unsigned int, getMaximumNumberOfActiveOccluders,
|
|
__unsigned_int__getMaximumNumberOfActiveOccluders,
|
|
"",
|
|
"");
|
|
I_Method1(void, setCreateDrawablesOnOccludeNodes, IN, bool, flag,
|
|
__void__setCreateDrawablesOnOccludeNodes__bool,
|
|
"",
|
|
"");
|
|
I_Method0(bool, getCreateDrawablesOnOccludeNodes,
|
|
__bool__getCreateDrawablesOnOccludeNodes,
|
|
"",
|
|
"");
|
|
I_Method1(void, setCollectedOcculderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol,
|
|
__void__setCollectedOcculderSet__C5_ShadowVolumeOccluderSet_R1,
|
|
"",
|
|
"");
|
|
I_Method0(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
|
|
__ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
|
"",
|
|
"");
|
|
I_Method0(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
|
|
__C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
|
"",
|
|
"");
|
|
I_Method0(void, removeOccludedOccluders,
|
|
__void__removeOccludedOccluders,
|
|
"Removes occluded occluders for the collected occluders list, then discards all but MaximumNumberOfActiveOccluders of occluders, discarding the occluders with the lowests shadow occluder volume. ",
|
|
"");
|
|
I_SimpleProperty(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet,
|
|
__ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
|
0);
|
|
I_SimpleProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOcculderSet,
|
|
0,
|
|
__void__setCollectedOcculderSet__C5_ShadowVolumeOccluderSet_R1);
|
|
I_SimpleProperty(bool, CreateDrawablesOnOccludeNodes,
|
|
__bool__getCreateDrawablesOnOccludeNodes,
|
|
__void__setCreateDrawablesOnOccludeNodes__bool);
|
|
I_SimpleProperty(unsigned int, MaximumNumberOfActiveOccluders,
|
|
__unsigned_int__getMaximumNumberOfActiveOccluders,
|
|
__void__setMaximumNumberOfActiveOccluders__unsigned_int);
|
|
I_SimpleProperty(float, MinimumShadowOccluderVolume,
|
|
__float__getMinimumShadowOccluderVolume,
|
|
__void__setMinimumShadowOccluderVolume__float);
|
|
END_REFLECTOR
|
|
|
|
STD_SET_REFLECTOR(std::set< osg::ShadowVolumeOccluder >);
|
|
|