diff --git a/src/osgWrappers/osg/OperationThread.cpp b/src/osgWrappers/osg/OperationThread.cpp index 02bdc5c93..0369747f1 100644 --- a/src/osgWrappers/osg/OperationThread.cpp +++ b/src/osgWrappers/osg/OperationThread.cpp @@ -53,6 +53,14 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Operation) __void__release, "if this operation is a barrier then release it. ", ""); + I_ProtectedConstructor0(____Operation, + "", + ""); + I_ProtectedConstructor1(IN, const osg::Operation &, op, + Properties::NON_EXPLICIT, + ____Operation__C5_Operation_R1, + "", + ""); I_SimpleProperty(bool, Keep, __bool__getKeep, __void__setKeep__bool); diff --git a/src/osgWrappers/osgViewer/View.cpp b/src/osgWrappers/osgViewer/View.cpp index 16dfb5f8c..98575a34a 100644 --- a/src/osgWrappers/osgViewer/View.cpp +++ b/src/osgWrappers/osgViewer/View.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -247,6 +248,16 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View) __void__setUpViewOnSingleScreen__unsigned_int, "Convinience method for a single Camara associated with a single full screen GraphicsWindow. ", ""); + I_MethodWithDefaults4(void, setUpViewFor3DSphericalDisplay, IN, double, radius, 1.0, IN, double, collar, 0.45, IN, unsigned int, screenNum, 0, IN, osg::Image *, intensityMap, 0, + Properties::NON_VIRTUAL, + __void__setUpViewFor3DSphericalDisplay__double__double__unsigned_int__osg_Image_P1, + "Convinience method for spherical display using 6 slave cameras rendering the 6 sides of a cube map, and 7th camera doing distortion correction to present on a spherical display. ", + ""); + I_MethodWithDefaults4(void, setUpViewForPanoramicSphericalDisplay, IN, double, radius, 1.0, IN, double, collar, 0.45, IN, unsigned int, screenNum, 0, IN, osg::Image *, intensityMap, 0, + Properties::NON_VIRTUAL, + __void__setUpViewForPanoramicSphericalDisplay__double__double__unsigned_int__osg_Image_P1, + "Convinience 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_Method1(bool, containsCamera, IN, const osg::Camera *, camera, Properties::NON_VIRTUAL, __bool__containsCamera__C5_osg_Camera_P1,