BoundBoxPy.h

Go to the documentation of this file.
00001 
00002 // This file is generated by src/Tools/generateTemaplates/templateClassPyExport.py out of the XML file
00003 // Every change you make here get lost at the next full rebuild!
00004 #ifndef BASE_BOUNDBOXPY_H
00005 #define BASE_BOUNDBOXPY_H
00006 
00007 #include <Base/PyObjectBase.h>
00008 #include <Base/BoundBox.h>
00009 #include <string>
00010 
00011 namespace Base
00012 {
00013 
00014 //===========================================================================
00015 // BoundBoxPy - Python wrapper
00016 //===========================================================================
00017 
00020 class BaseExport BoundBoxPy : public Base::PyObjectBase
00021 {
00022 public:
00023     static PyTypeObject   Type;
00024     static PyMethodDef    Methods[];
00025     static PyGetSetDef    GetterSetter[];
00026     static PyParentObject Parents[];
00027     virtual PyTypeObject *GetType(void) {return &Type;};
00028     virtual PyParentObject *GetParents(void) {return Parents;}
00029 
00030 public:
00031     BoundBoxPy(BoundBox3d *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~BoundBoxPy();
00035 
00036     typedef BoundBox3d* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_add (PyObject *self, PyObject *args);
00046     PyObject*  add(PyObject *args);
00048     static PyObject * staticCallback_isIntersection (PyObject *self, PyObject *args);
00050     PyObject*  isIntersection(PyObject *args);
00052     static PyObject * staticCallback_enlarge (PyObject *self, PyObject *args);
00054     PyObject*  enlarge(PyObject *args);
00056     static PyObject * staticCallback_getIntersectionPoint (PyObject *self, PyObject *args);
00058     PyObject*  getIntersectionPoint(PyObject *args);
00060     static PyObject * staticCallback_move (PyObject *self, PyObject *args);
00062     PyObject*  move(PyObject *args);
00064     static PyObject * staticCallback_isCutPlane (PyObject *self, PyObject *args);
00066     PyObject*  isCutPlane(PyObject *args);
00068     static PyObject * staticCallback_isInside (PyObject *self, PyObject *args);
00070     PyObject*  isInside(PyObject *args);
00072 
00073 
00076 
00077     static PyObject * staticCallback_getCenter (PyObject *self, void *closure);
00079     Py::Object getCenter(void) const;
00081     static int staticCallback_setCenter (PyObject *self, PyObject *value, void *closure);
00082     // no setter method,  Center is read only!
00084     static PyObject * staticCallback_getXMax (PyObject *self, void *closure);
00086     Py::Float getXMax(void) const;
00088     static int staticCallback_setXMax (PyObject *self, PyObject *value, void *closure);
00090     void setXMax(Py::Float arg);
00092     static PyObject * staticCallback_getYMax (PyObject *self, void *closure);
00094     Py::Float getYMax(void) const;
00096     static int staticCallback_setYMax (PyObject *self, PyObject *value, void *closure);
00098     void setYMax(Py::Float arg);
00100     static PyObject * staticCallback_getZMax (PyObject *self, void *closure);
00102     Py::Float getZMax(void) const;
00104     static int staticCallback_setZMax (PyObject *self, PyObject *value, void *closure);
00106     void setZMax(Py::Float arg);
00108     static PyObject * staticCallback_getXMin (PyObject *self, void *closure);
00110     Py::Float getXMin(void) const;
00112     static int staticCallback_setXMin (PyObject *self, PyObject *value, void *closure);
00114     void setXMin(Py::Float arg);
00116     static PyObject * staticCallback_getYMin (PyObject *self, void *closure);
00118     Py::Float getYMin(void) const;
00120     static int staticCallback_setYMin (PyObject *self, PyObject *value, void *closure);
00122     void setYMin(Py::Float arg);
00124     static PyObject * staticCallback_getZMin (PyObject *self, void *closure);
00126     Py::Float getZMin(void) const;
00128     static int staticCallback_setZMin (PyObject *self, PyObject *value, void *closure);
00130     void setZMin(Py::Float arg);
00132     static PyObject * staticCallback_getXLength (PyObject *self, void *closure);
00134     Py::Float getXLength(void) const;
00136     static int staticCallback_setXLength (PyObject *self, PyObject *value, void *closure);
00137     // no setter method,  XLength is read only!
00139     static PyObject * staticCallback_getYLength (PyObject *self, void *closure);
00141     Py::Float getYLength(void) const;
00143     static int staticCallback_setYLength (PyObject *self, PyObject *value, void *closure);
00144     // no setter method,  YLength is read only!
00146     static PyObject * staticCallback_getZLength (PyObject *self, void *closure);
00148     Py::Float getZLength(void) const;
00150     static int staticCallback_setZLength (PyObject *self, PyObject *value, void *closure);
00151     // no setter method,  ZLength is read only!
00153     static PyObject * staticCallback_getDiagonalLength (PyObject *self, void *closure);
00155     Py::Float getDiagonalLength(void) const;
00157     static int staticCallback_setDiagonalLength (PyObject *self, PyObject *value, void *closure);
00158     // no setter method,  DiagonalLength is read only!
00160 
00162     PyObject *getCustomAttributes(const char* attr) const;
00164     int setCustomAttributes(const char* attr, PyObject *obj);
00165     PyObject *_getattr(char *attr);              // __getattr__ function
00166     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00167 
00169     BoundBox3d *getBoundBoxPtr(void) const;
00170 
00173 
00175 };
00176 
00177 #define PARENTSBaseBoundBoxPy &BoundBoxPy::Type,PARENTSBasePyObjectBase
00178 
00179 }  //namespace Base
00180 
00181 #endif  // BASE_BOUNDBOXPY_H
00182 
00183 

Generated on Wed Nov 23 18:59:58 2011 for FreeCAD by  doxygen 1.6.1