Changeset 6265

Show
Ignore:
Timestamp:
02/23/07 13:14:52
Author:
robert
Message:

Updated wrappers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/src/osgWrappers/osg/Camera.cpp

    r6227 r6265  
    143143                  "Get the const Stats object. ", 
    144144                  ""); 
     145        I_Method1(void, setAllowEventFocus, IN, bool, focus, 
     146                  Properties::NON_VIRTUAL, 
     147                  __void__setAllowEventFocus__bool, 
     148                  "Set whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", 
     149                  ""); 
     150        I_Method0(bool, getAllowEventFocus, 
     151                  Properties::NON_VIRTUAL, 
     152                  __bool__getAllowEventFocus, 
     153                  "Get whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", 
     154                  ""); 
    145155        I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, 
    146156                  Properties::NON_VIRTUAL, 
     
    483493                  "Transform method that must be defined to provide generic interface for scene graph traversals. ", 
    484494                  ""); 
     495        I_SimpleProperty(bool, AllowEventFocus,  
     496                         __bool__getAllowEventFocus,  
     497                         __void__setAllowEventFocus__bool); 
    485498        I_SimpleProperty(osg::Camera::BufferAttachmentMap &, BufferAttachmentMap,  
    486499                         __BufferAttachmentMap_R1__getBufferAttachmentMap,  
  • OpenSceneGraph/trunk/src/osgWrappers/osg/View.cpp

    r6227 r6265  
    6060                  "Get the const master camera of the view. ", 
    6161                  ""); 
    62         I_Method1(bool, addSlave, IN, osg::Camera *, camera
    63                   Properties::NON_VIRTUAL, 
    64                   __bool__addSlave__osg_Camera_P1
    65                   "", 
    66                   ""); 
    67         I_Method3(bool, addSlave, IN, osg::Camera *, camera, IN, const osg::Matrix &, projectionOffset, IN, const osg::Matrix &, viewOffse, 
    68                   Properties::NON_VIRTUAL, 
    69                   __bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1
    70                   "", 
    71                   ""); 
     62        I_MethodWithDefaults2(bool, addSlave, IN, osg::Camera *, camera, , IN, bool, useMastersSceneData, true
     63                              Properties::NON_VIRTUAL, 
     64                              __bool__addSlave__osg_Camera_P1__bool
     65                              "", 
     66                              ""); 
     67        I_MethodWithDefaults4(bool, addSlave, IN, osg::Camera *, camera, , IN, const osg::Matrix &, projectionOffset, , IN, const osg::Matrix &, viewOffse, , IN, bool, useMastersSceneData, true, 
     68                              Properties::NON_VIRTUAL, 
     69                              __bool__addSlave__osg_Camera_P1__C5_osg_Matrix_R1__C5_osg_Matrix_R1__bool
     70                              "", 
     71                              ""); 
    7272        I_Method1(bool, removeSlave, IN, unsigned int, pos, 
    7373                  Properties::NON_VIRTUAL, 
     
    121121 
    122122BEGIN_VALUE_REFLECTOR(osg::View::Slave) 
    123         I_Constructor0(____Slave, 
    124                        "", 
    125                        ""); 
    126         I_Constructor3(IN, osg::Camera *, camera, IN, const osg::Matrixd &, projectionOffset, IN, const osg::Matrixd &, viewOffset, 
    127                        ____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1, 
    128                        "", 
    129                        ""); 
     123        I_ConstructorWithDefaults1(IN, bool, useMastersSceneData, true, 
     124                                   Properties::NON_EXPLICIT, 
     125                                   ____Slave__bool, 
     126                                   "", 
     127                                   ""); 
     128        I_ConstructorWithDefaults4(IN, osg::Camera *, camera, , IN, const osg::Matrixd &, projectionOffset, , IN, const osg::Matrixd &, viewOffset, , IN, bool, useMastersSceneData, true, 
     129                                   ____Slave__osg_Camera_P1__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__bool, 
     130                                   "", 
     131                                   ""); 
    130132        I_Constructor1(IN, const osg::View::Slave &, rhs, 
    131133                       Properties::NON_EXPLICIT, 
     
    136138        I_PublicMemberProperty(osg::Matrixd, _projectionOffset); 
    137139        I_PublicMemberProperty(osg::Matrixd, _viewOffset); 
     140        I_PublicMemberProperty(bool, _useMastersSceneData); 
    138141END_REFLECTOR 
    139142