Updated wrappers

This commit is contained in:
Robert Osfield 2007-02-23 12:14:52 +00:00
parent 96f567eff3
commit 968a8d1118
2 changed files with 33 additions and 17 deletions

View File

@ -142,6 +142,16 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera)
__C5_osg_Stats_P1__getStats, __C5_osg_Stats_P1__getStats,
"Get the const Stats object. ", "Get the const Stats object. ",
""); "");
I_Method1(void, setAllowEventFocus, IN, bool, focus,
Properties::NON_VIRTUAL,
__void__setAllowEventFocus__bool,
"Set whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ",
"");
I_Method0(bool, getAllowEventFocus,
Properties::NON_VIRTUAL,
__bool__getAllowEventFocus,
"Get whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ",
"");
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
Properties::NON_VIRTUAL, Properties::NON_VIRTUAL,
__void__setClearColor__C5_Vec4_R1, __void__setClearColor__C5_Vec4_R1,
@ -482,6 +492,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera)
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1, __bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
"Transform method that must be defined to provide generic interface for scene graph traversals. ", "Transform method that must be defined to provide generic interface for scene graph traversals. ",
""); "");
I_SimpleProperty(bool, AllowEventFocus,
__bool__getAllowEventFocus,
__void__setAllowEventFocus__bool);
I_SimpleProperty(osg::Camera::BufferAttachmentMap &, BufferAttachmentMap, I_SimpleProperty(osg::Camera::BufferAttachmentMap &, BufferAttachmentMap,
__BufferAttachmentMap_R1__getBufferAttachmentMap, __BufferAttachmentMap_R1__getBufferAttachmentMap,
0); 0);

View File

@ -59,16 +59,16 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
__C5_osg_Camera_P1__getCamera, __C5_osg_Camera_P1__getCamera,
"Get the const master camera of the view. ", "Get the const master camera of the view. ",
""); "");
I_Method1(bool, addSlave, IN, osg::Camera *, camera, I_MethodWithDefaults2(bool, addSlave, IN, osg::Camera *, camera, , IN, bool, useMastersSceneData, true,
Properties::NON_VIRTUAL, Properties::NON_VIRTUAL,
__bool__addSlave__osg_Camera_P1, __bool__addSlave__osg_Camera_P1__bool,
"", "",
""); "");
I_Method3(bool, addSlave, IN, osg::Camera *, camera, IN, const osg::Matrix &, projectionOffset, IN, const osg::Matrix &, viewOffse, I_MethodWithDefaults4(bool, addSlave, IN, osg::Camera *, camera, , IN, const osg::Matrix &, projectionOffset, , IN, const osg::Matrix &, viewOffse, , IN, bool, useMastersSceneData, true,
Properties::NON_VIRTUAL, Properties::NON_VIRTUAL,
__bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1, __bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__bool,
"", "",
""); "");
I_Method1(bool, removeSlave, IN, unsigned int, pos, I_Method1(bool, removeSlave, IN, unsigned int, pos,
Properties::NON_VIRTUAL, Properties::NON_VIRTUAL,
__bool__removeSlave__unsigned_int, __bool__removeSlave__unsigned_int,
@ -120,13 +120,15 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
END_REFLECTOR END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::View::Slave) BEGIN_VALUE_REFLECTOR(osg::View::Slave)
I_Constructor0(____Slave, I_ConstructorWithDefaults1(IN, bool, useMastersSceneData, true,
"", Properties::NON_EXPLICIT,
""); ____Slave__bool,
I_Constructor3(IN, osg::Camera *, camera, IN, const osg::Matrixd &, projectionOffset, IN, const osg::Matrixd &, viewOffset, "",
____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1, "");
"", I_ConstructorWithDefaults4(IN, osg::Camera *, camera, , IN, const osg::Matrixd &, projectionOffset, , IN, const osg::Matrixd &, viewOffset, , IN, bool, useMastersSceneData, true,
""); ____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__bool,
"",
"");
I_Constructor1(IN, const osg::View::Slave &, rhs, I_Constructor1(IN, const osg::View::Slave &, rhs,
Properties::NON_EXPLICIT, Properties::NON_EXPLICIT,
____Slave__C5_Slave_R1, ____Slave__C5_Slave_R1,
@ -135,5 +137,6 @@ BEGIN_VALUE_REFLECTOR(osg::View::Slave)
I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera); I_PublicMemberProperty(osg::ref_ptr< osg::Camera >, _camera);
I_PublicMemberProperty(osg::Matrixd, _projectionOffset); I_PublicMemberProperty(osg::Matrixd, _projectionOffset);
I_PublicMemberProperty(osg::Matrixd, _viewOffset); I_PublicMemberProperty(osg::Matrixd, _viewOffset);
I_PublicMemberProperty(bool, _useMastersSceneData);
END_REFLECTOR END_REFLECTOR