Updated wrappers

This commit is contained in:
Robert Osfield
2005-05-16 09:41:10 +00:00
parent 668aada787
commit 74bce0e410
244 changed files with 11323 additions and 9410 deletions

View File

@@ -15,105 +15,113 @@
#include <osg/Matrixf>
#include <osg/Node>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(unsigned int, osg::CullSettings::CullingMode);
BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask)
EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE);
EnumLabel(osg::CullSettings::CULLING_MODE);
EnumLabel(osg::CullSettings::LOD_SCALE);
EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING_PIXEL_SIZE);
EnumLabel(osg::CullSettings::CLAMP_PROJECTION_MATRIX_CALLBACK);
EnumLabel(osg::CullSettings::NEAR_FAR_RATIO);
EnumLabel(osg::CullSettings::IMPOSTOR_ACTIVE);
EnumLabel(osg::CullSettings::DEPTH_SORT_IMPOSTOR_SPRITES);
EnumLabel(osg::CullSettings::IMPOSTOR_PIXEL_ERROR_THRESHOLD);
EnumLabel(osg::CullSettings::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES);
EnumLabel(osg::CullSettings::CULL_MASK);
EnumLabel(osg::CullSettings::CULL_MASK_LEFT);
EnumLabel(osg::CullSettings::CULL_MASK_RIGHT);
EnumLabel(osg::CullSettings::NO_VARIABLES);
EnumLabel(osg::CullSettings::ALL_VARIABLES);
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_MODE);
I_EnumLabel(osg::CullSettings::CULLING_MODE);
I_EnumLabel(osg::CullSettings::LOD_SCALE);
I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING_PIXEL_SIZE);
I_EnumLabel(osg::CullSettings::CLAMP_PROJECTION_MATRIX_CALLBACK);
I_EnumLabel(osg::CullSettings::NEAR_FAR_RATIO);
I_EnumLabel(osg::CullSettings::IMPOSTOR_ACTIVE);
I_EnumLabel(osg::CullSettings::DEPTH_SORT_IMPOSTOR_SPRITES);
I_EnumLabel(osg::CullSettings::IMPOSTOR_PIXEL_ERROR_THRESHOLD);
I_EnumLabel(osg::CullSettings::NUM_FRAMES_TO_KEEP_IMPOSTORS_SPRITES);
I_EnumLabel(osg::CullSettings::CULL_MASK);
I_EnumLabel(osg::CullSettings::CULL_MASK_LEFT);
I_EnumLabel(osg::CullSettings::CULL_MASK_RIGHT);
I_EnumLabel(osg::CullSettings::NO_VARIABLES);
I_EnumLabel(osg::CullSettings::ALL_VARIABLES);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::CullSettings::ComputeNearFarMode)
EnumLabel(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES);
EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);
I_EnumLabel(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR);
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES);
I_EnumLabel(osg::CullSettings::COMPUTE_NEAR_FAR_USING_PRIMITIVES);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues)
EnumLabel(osg::CullSettings::NO_CULLING);
EnumLabel(osg::CullSettings::VIEW_FRUSTUM_SIDES_CULLING);
EnumLabel(osg::CullSettings::NEAR_PLANE_CULLING);
EnumLabel(osg::CullSettings::FAR_PLANE_CULLING);
EnumLabel(osg::CullSettings::VIEW_FRUSTUM_CULLING);
EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING);
EnumLabel(osg::CullSettings::SHADOW_OCCLUSION_CULLING);
EnumLabel(osg::CullSettings::CLUSTER_CULLING);
EnumLabel(osg::CullSettings::DEFAULT_CULLING);
EnumLabel(osg::CullSettings::ENABLE_ALL_CULLING);
I_EnumLabel(osg::CullSettings::NO_CULLING);
I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_SIDES_CULLING);
I_EnumLabel(osg::CullSettings::NEAR_PLANE_CULLING);
I_EnumLabel(osg::CullSettings::FAR_PLANE_CULLING);
I_EnumLabel(osg::CullSettings::VIEW_FRUSTUM_CULLING);
I_EnumLabel(osg::CullSettings::SMALL_FEATURE_CULLING);
I_EnumLabel(osg::CullSettings::SHADOW_OCCLUSION_CULLING);
I_EnumLabel(osg::CullSettings::CLUSTER_CULLING);
I_EnumLabel(osg::CullSettings::DEFAULT_CULLING);
I_EnumLabel(osg::CullSettings::ENABLE_ALL_CULLING);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::CullSettings)
Constructor0();
Constructor1(IN, osg::ArgumentParser &, arguments);
Constructor1(IN, const osg::CullSettings &, cs);
Method0(void, setDefaults);
Method1(void, setInheritanceMask, IN, unsigned int, mask);
Method0(unsigned int, getInheritanceMask);
Method1(void, setCullSettings, IN, const osg::CullSettings &, settings);
Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings);
Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask);
Method0(void, readEnvironmentalVariables);
Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments);
Method1(void, setImpostorsActive, IN, bool, active);
Method0(bool, getImpostorsActive);
Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels);
Method0(float, getImpostorPixelErrorThreshold);
Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort);
Method0(bool, getDepthSortImpostorSprites);
Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames);
Method0(int, getNumberOfFrameToKeepImpostorSprites);
Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm);
Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode);
Method1(void, setNearFarRatio, IN, double, ratio);
Method0(double, getNearFarRatio);
Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode);
Method0(osg::CullSettings::CullingMode, getCullingMode);
Method1(void, setCullMask, IN, osg::Node::NodeMask, nm);
Method0(osg::Node::NodeMask, getCullMask);
Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm);
Method0(osg::Node::NodeMask, getCullMaskLeft);
Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm);
Method0(osg::Node::NodeMask, getCullMaskRight);
Method1(void, setLODScale, IN, float, bias);
Method0(float, getLODScale);
Method1(void, setSmallFeatureCullingPixelSize, IN, float, value);
Method0(float, getSmallFeatureCullingPixelSize);
Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc);
Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback);
Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback);
Property(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback);
Property(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode);
Property(osg::Node::NodeMask, CullMask);
Property(osg::Node::NodeMask, CullMaskLeft);
Property(osg::Node::NodeMask, CullMaskRight);
WriteOnlyProperty(const osg::CullSettings &, CullSettings);
Property(osg::CullSettings::CullingMode, CullingMode);
Property(bool, DepthSortImpostorSprites);
Property(float, ImpostorPixelErrorThreshold);
Property(bool, ImpostorsActive);
Property(unsigned int, InheritanceMask);
Property(float, LODScale);
Property(double, NearFarRatio);
Property(int, NumberOfFrameToKeepImpostorSprites);
Property(float, SmallFeatureCullingPixelSize);
I_Constructor0();
I_Constructor1(IN, osg::ArgumentParser &, arguments);
I_Constructor1(IN, const osg::CullSettings &, cs);
I_Method0(void, setDefaults);
I_Method1(void, setInheritanceMask, IN, unsigned int, mask);
I_Method0(unsigned int, getInheritanceMask);
I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings);
I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings);
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask);
I_Method0(void, readEnvironmentalVariables);
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments);
I_Method1(void, setImpostorsActive, IN, bool, active);
I_Method0(bool, getImpostorsActive);
I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels);
I_Method0(float, getImpostorPixelErrorThreshold);
I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort);
I_Method0(bool, getDepthSortImpostorSprites);
I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames);
I_Method0(int, getNumberOfFrameToKeepImpostorSprites);
I_Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm);
I_Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode);
I_Method1(void, setNearFarRatio, IN, double, ratio);
I_Method0(double, getNearFarRatio);
I_Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode);
I_Method0(osg::CullSettings::CullingMode, getCullingMode);
I_Method1(void, setCullMask, IN, osg::Node::NodeMask, nm);
I_Method0(osg::Node::NodeMask, getCullMask);
I_Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm);
I_Method0(osg::Node::NodeMask, getCullMaskLeft);
I_Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm);
I_Method0(osg::Node::NodeMask, getCullMaskRight);
I_Method1(void, setLODScale, IN, float, bias);
I_Method0(float, getLODScale);
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value);
I_Method0(float, getSmallFeatureCullingPixelSize);
I_Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc);
I_Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback);
I_Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback);
I_Property(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback);
I_Property(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode);
I_Property(osg::Node::NodeMask, CullMask);
I_Property(osg::Node::NodeMask, CullMaskLeft);
I_Property(osg::Node::NodeMask, CullMaskRight);
I_WriteOnlyProperty(const osg::CullSettings &, CullSettings);
I_Property(osg::CullSettings::CullingMode, CullingMode);
I_Property(bool, DepthSortImpostorSprites);
I_Property(float, ImpostorPixelErrorThreshold);
I_Property(bool, ImpostorsActive);
I_Property(unsigned int, InheritanceMask);
I_Property(float, LODScale);
I_Property(double, NearFarRatio);
I_Property(int, NumberOfFrameToKeepImpostorSprites);
I_Property(float, SmallFeatureCullingPixelSize);
END_REFLECTOR
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::CullSettings::ClampProjectionMatrixCallback)
BaseType(osg::Referenced);
Constructor0();
Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar);
Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar);
I_BaseType(osg::Referenced);
I_Constructor0();
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar);
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar);
END_REFLECTOR