From fd6a812dd0ce2033aa8f6164aca1b00eeb39719b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 7 May 2008 14:32:39 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osg/Camera.cpp | 10 +++++----- src/osgWrappers/osgUtil/LineSegmentIntersector.cpp | 6 +++--- src/osgWrappers/osgViewer/View.cpp | 5 +++++ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/osgWrappers/osg/Camera.cpp b/src/osgWrappers/osg/Camera.cpp index 93dec2066..8f5637fef 100644 --- a/src/osgWrappers/osg/Camera.cpp +++ b/src/osgWrappers/osg/Camera.cpp @@ -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, diff --git a/src/osgWrappers/osgUtil/LineSegmentIntersector.cpp b/src/osgWrappers/osgUtil/LineSegmentIntersector.cpp index e9b2bb561..ff14ad4aa 100644 --- a/src/osgWrappers/osgUtil/LineSegmentIntersector.cpp +++ b/src/osgWrappers/osgUtil/LineSegmentIntersector.cpp @@ -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, diff --git a/src/osgWrappers/osgViewer/View.cpp b/src/osgWrappers/osgViewer/View.cpp index 5d8fb6fe9..eb9b11850 100644 --- a/src/osgWrappers/osgViewer/View.cpp +++ b/src/osgWrappers/osgViewer/View.cpp @@ -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,