Updated wrappers

This commit is contained in:
Robert Osfield 2009-08-21 09:42:54 +00:00
parent 3f65f4f80b
commit 613c59ad3b
4 changed files with 51 additions and 10 deletions

View File

@ -206,6 +206,11 @@ BEGIN_OBJECT_REFLECTOR(osg::EllipsoidModel)
__void__computeLocalToWorldTransformFromXYZ__double__double__double__osg_Matrixd_R1,
"",
"");
I_Method3(void, computeCoordinateFrame, IN, double, latitude, IN, double, longitude, IN, osg::Matrixd &, localToWorld,
Properties::NON_VIRTUAL,
__void__computeCoordinateFrame__double__double__osg_Matrixd_R1,
"",
"");
I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z,
Properties::NON_VIRTUAL,
__osg_Vec3d__computeLocalUpVector__double__double__double,

View File

@ -42,6 +42,8 @@ BEGIN_ENUM_REFLECTOR(osg::CullSettings::VariablesMask)
I_EnumLabel(osg::CullSettings::CLEAR_COLOR);
I_EnumLabel(osg::CullSettings::LIGHTING_MODE);
I_EnumLabel(osg::CullSettings::LIGHT);
I_EnumLabel(osg::CullSettings::DRAW_BUFFER);
I_EnumLabel(osg::CullSettings::READ_BUFFER);
I_EnumLabel(osg::CullSettings::NO_VARIABLES);
I_EnumLabel(osg::CullSettings::ALL_VARIABLES);
END_REFLECTOR

View File

@ -41,6 +41,11 @@ BEGIN_OBJECT_REFLECTOR(osgDB::XmlNode)
I_Constructor0(____XmlNode,
"",
"");
I_Method0(std::string, getTrimmedContents,
Properties::NON_VIRTUAL,
__std_string__getTrimmedContents,
"",
"");
I_Method1(bool, read, IN, osgDB::XmlNode::Input &, input,
Properties::NON_VIRTUAL,
__bool__read__Input_R1,
@ -56,6 +61,9 @@ BEGIN_OBJECT_REFLECTOR(osgDB::XmlNode)
__bool__writeString__std_ostream_R1__C5_std_string_R1,
"",
"");
I_SimpleProperty(std::string, TrimmedContents,
__std_string__getTrimmedContents,
0);
I_PublicMemberProperty(osgDB::XmlNode::NodeType, type);
I_PublicMemberProperty(std::string, name);
I_PublicMemberProperty(std::string, contents);

View File

@ -77,26 +77,46 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage)
__void__reset,
"",
"");
I_Method1(void, setDrawBuffer, IN, GLenum, buffer,
Properties::NON_VIRTUAL,
__void__setDrawBuffer__GLenum,
"Set the draw buffer used at the start of each frame draw. ",
"");
I_MethodWithDefaults2(void, setDrawBuffer, IN, GLenum, buffer, , IN, bool, applyMask, true,
Properties::NON_VIRTUAL,
__void__setDrawBuffer__GLenum__bool,
"Set the draw buffer used at the start of each frame draw. ",
"");
I_Method0(GLenum, getDrawBuffer,
Properties::NON_VIRTUAL,
__GLenum__getDrawBuffer,
"Get the draw buffer used at the start of each frame draw. ",
"");
I_Method1(void, setReadBuffer, IN, GLenum, buffer,
I_Method0(bool, getDrawBufferApplyMask,
Properties::NON_VIRTUAL,
__void__setReadBuffer__GLenum,
"Set the read buffer for any required copy operations to use. ",
__bool__getDrawBufferApplyMask,
"Get the apply mask defining whether glDrawBuffer is called at each frame draw. ",
"");
I_Method1(void, setDrawBufferApplyMask, IN, bool, applyMask,
Properties::NON_VIRTUAL,
__void__setDrawBufferApplyMask__bool,
"Set the apply mask defining whether glDrawBuffer is called at each frame draw. ",
"");
I_MethodWithDefaults2(void, setReadBuffer, IN, GLenum, buffer, , IN, bool, applyMask, true,
Properties::NON_VIRTUAL,
__void__setReadBuffer__GLenum__bool,
"Set the read buffer for any required copy operations to use. ",
"");
I_Method0(GLenum, getReadBuffer,
Properties::NON_VIRTUAL,
__GLenum__getReadBuffer,
"Get the read buffer for any required copy operations to use. ",
"");
I_Method0(bool, getReadBufferApplyMask,
Properties::NON_VIRTUAL,
__bool__getReadBufferApplyMask,
"Get the apply mask defining whether glReadBuffer is called at each frame draw. ",
"");
I_Method1(void, setReadBufferApplyMask, IN, bool, applyMask,
Properties::NON_VIRTUAL,
__void__setReadBufferApplyMask__bool,
"Set the apply mask defining whether glReadBuffer is called at each frame draw. ",
"");
I_Method1(void, setViewport, IN, osg::Viewport *, viewport,
Properties::NON_VIRTUAL,
__void__setViewport__osg_Viewport_P1,
@ -446,7 +466,10 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage)
__void__setDisableFboAfterRender__bool);
I_SimpleProperty(GLenum, DrawBuffer,
__GLenum__getDrawBuffer,
__void__setDrawBuffer__GLenum);
0);
I_SimpleProperty(bool, DrawBufferApplyMask,
__bool__getDrawBufferApplyMask,
__void__setDrawBufferApplyMask__bool);
I_SimpleProperty(osg::FrameBufferObject *, FrameBufferObject,
__osg_FrameBufferObject_P1__getFrameBufferObject,
__void__setFrameBufferObject__osg_FrameBufferObject_P1);
@ -476,7 +499,10 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::RenderStage)
__void__setPositionalStateContainer__PositionalStateContainer_P1);
I_SimpleProperty(GLenum, ReadBuffer,
__GLenum__getReadBuffer,
__void__setReadBuffer__GLenum);
0);
I_SimpleProperty(bool, ReadBufferApplyMask,
__bool__getReadBufferApplyMask,
__void__setReadBufferApplyMask__bool);
I_SimpleProperty(osg::Texture *, Texture,
__osg_Texture_P1__getTexture,
0);