Updated wrappers

This commit is contained in:
Robert Osfield 2008-05-07 14:32:39 +00:00
parent 22c7699fa1
commit fd6a812dd0
3 changed files with 13 additions and 8 deletions

View File

@ -460,22 +460,22 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera)
I_Method2(void, attach, IN, osg::Camera::BufferComponent, buffer, IN, GLenum, internalFormat,
Properties::NON_VIRTUAL,
__void__attach__BufferComponent__GLenum,
"",
"Attach a buffer with specified OpenGL internal format. ",
"");
I_MethodWithDefaults5(void, attach, IN, osg::Camera::BufferComponent, buffer, , IN, osg::Texture *, texture, , IN, unsigned int, level, 0, IN, unsigned int, face, 0, IN, bool, mipMapGeneration, false,
Properties::NON_VIRTUAL,
__void__attach__BufferComponent__osg_Texture_P1__unsigned_int__unsigned_int__bool,
"",
"");
"Attach a Texture to specified buffer component. ",
"The level parameter controls the mip map level of the texture that is attached. The face parameter controls the face of texture cube map or z level of 3d texture. The mipMapGeneration flag controls whether mipmap generation should be done for texture. ");
I_Method2(void, attach, IN, osg::Camera::BufferComponent, buffer, IN, osg::Image *, image,
Properties::NON_VIRTUAL,
__void__attach__BufferComponent__osg_Image_P1,
"",
"Attach a Image to specified buffer component. ",
"");
I_Method1(void, detach, IN, osg::Camera::BufferComponent, buffer,
Properties::NON_VIRTUAL,
__void__detach__BufferComponent,
"",
"Detach specified buffer component. ",
"");
I_Method0(osg::Camera::BufferAttachmentMap &, getBufferAttachmentMap,
Properties::NON_VIRTUAL,

View File

@ -72,9 +72,9 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector)
__void__setEnd__C5_osg_Vec3d_R1,
"",
"");
I_Method0(const osg::Vec3d &, setEnd,
I_Method0(const osg::Vec3d &, getEnd,
Properties::NON_VIRTUAL,
__C5_osg_Vec3d_R1__setEnd,
__C5_osg_Vec3d_R1__getEnd,
"",
"");
I_Method1(osgUtil::Intersector *, clone, IN, osgUtil::IntersectionVisitor &, iv,
@ -120,7 +120,7 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::LineSegmentIntersector)
"",
"");
I_SimpleProperty(const osg::Vec3d &, End,
0,
__C5_osg_Vec3d_R1__getEnd,
__void__setEnd__C5_osg_Vec3d_R1);
I_SimpleProperty(osgUtil::LineSegmentIntersector::Intersection, FirstIntersection,
__Intersection__getFirstIntersection,

View File

@ -265,6 +265,11 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
__void__setUpViewForPanoramicSphericalDisplay__double__double__unsigned_int__osg_Image_P1__C5_osg_Matrixd_R1,
"Convenience method for spherical display by rendering main scene to as panoramic 2:1 texture and then doing distortion correction to present onto a spherical display. ",
"");
I_Method8(void, setUpViewForWoWVxDisplay, IN, unsigned int, screenNum, IN, unsigned char, wow_content, IN, unsigned char, wow_factor, IN, unsigned char, wow_offset, IN, float, wow_disparity_Zd, IN, float, wow_disparity_vz, IN, float, wow_disparity_M, IN, float, wow_disparity_C,
Properties::NON_VIRTUAL,
__void__setUpViewForWoWVxDisplay__unsigned_int__unsigned_char__unsigned_char__unsigned_char__float__float__float__float,
"Convenience method for autostereoscopic Philips WoWvx display. ",
"");
I_Method1(bool, containsCamera, IN, const osg::Camera *, camera,
Properties::NON_VIRTUAL,
__bool__containsCamera__C5_osg_Camera_P1,