[GRASS-SVN] r30451 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Mar 3 13:53:05 EST 2008


Author: martinl
Date: 2008-03-03 13:53:05 -0500 (Mon, 03 Mar 2008)
New Revision: 30451

Modified:
   grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit.py
   grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit_wrap.cpp
Log:
wxGUI (vdigit) swigged files updated for GetMapBoundingBox()

Modified: grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit.py	2008-03-03 18:00:43 UTC (rev 30450)
+++ grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit.py	2008-03-03 18:53:05 UTC (rev 30451)
@@ -237,6 +237,7 @@
     def OpenMap(*args): return _grass6_wxvdigit.DisplayDriver_OpenMap(*args)
     def ReloadMap(*args): return _grass6_wxvdigit.DisplayDriver_ReloadMap(*args)
     def SetDevice(*args): return _grass6_wxvdigit.DisplayDriver_SetDevice(*args)
+    def GetMapBoundingBox(*args): return _grass6_wxvdigit.DisplayDriver_GetMapBoundingBox(*args)
     def SetRegion(*args): return _grass6_wxvdigit.DisplayDriver_SetRegion(*args)
     def UpdateSettings(*args): return _grass6_wxvdigit.DisplayDriver_UpdateSettings(*args)
 DisplayDriver_swigregister = _grass6_wxvdigit.DisplayDriver_swigregister

Modified: grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit_wrap.cpp
===================================================================
--- grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit_wrap.cpp	2008-03-03 18:00:43 UTC (rev 30450)
+++ grass/trunk/gui/wxpython/vdigit/grass6_wxvdigit_wrap.cpp	2008-03-03 18:53:05 UTC (rev 30451)
@@ -10384,6 +10384,28 @@
 }
 
 
+SWIGINTERN PyObject *_wrap_DisplayDriver_GetMapBoundingBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
+  PyObject *resultobj = 0;
+  DisplayDriver *arg1 = (DisplayDriver *) 0 ;
+  std::vector<double,std::allocator<double > > result;
+  void *argp1 = 0 ;
+  int res1 = 0 ;
+  PyObject * obj0 = 0 ;
+  
+  if (!PyArg_ParseTuple(args,(char *)"O:DisplayDriver_GetMapBoundingBox",&obj0)) SWIG_fail;
+  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DisplayDriver, 0 |  0 );
+  if (!SWIG_IsOK(res1)) {
+    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DisplayDriver_GetMapBoundingBox" "', argument " "1"" of type '" "DisplayDriver *""'"); 
+  }
+  arg1 = reinterpret_cast< DisplayDriver * >(argp1);
+  result = (arg1)->GetMapBoundingBox();
+  resultobj = swig::from(static_cast< std::vector<double,std::allocator<double > > >(result));
+  return resultobj;
+fail:
+  return NULL;
+}
+
+
 SWIGINTERN PyObject *_wrap_DisplayDriver_SetRegion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
   PyObject *resultobj = 0;
   DisplayDriver *arg1 = (DisplayDriver *) 0 ;
@@ -12061,6 +12083,7 @@
 	 { (char *)"DisplayDriver_OpenMap", _wrap_DisplayDriver_OpenMap, METH_VARARGS, NULL},
 	 { (char *)"DisplayDriver_ReloadMap", _wrap_DisplayDriver_ReloadMap, METH_VARARGS, NULL},
 	 { (char *)"DisplayDriver_SetDevice", _wrap_DisplayDriver_SetDevice, METH_VARARGS, NULL},
+	 { (char *)"DisplayDriver_GetMapBoundingBox", _wrap_DisplayDriver_GetMapBoundingBox, METH_VARARGS, NULL},
 	 { (char *)"DisplayDriver_SetRegion", _wrap_DisplayDriver_SetRegion, METH_VARARGS, NULL},
 	 { (char *)"DisplayDriver_UpdateSettings", _wrap_DisplayDriver_UpdateSettings, METH_VARARGS, NULL},
 	 { (char *)"DisplayDriver_swigregister", DisplayDriver_swigregister, METH_VARARGS, NULL},



More information about the grass-commit mailing list