EllipsePy.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 PART_ELLIPSEPY_H
00005 #define PART_ELLIPSEPY_H
00006 
00007 #include <Mod/Part/App/GeometryCurvePy.h>
00008 #include <Mod/Part/App/Geometry.h>
00009 #include <string>
00010 
00011 namespace Part
00012 {
00013 
00014 //===========================================================================
00015 // EllipsePy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport EllipsePy : public Part::GeometryCurvePy
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     EllipsePy(GeomEllipse *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~EllipsePy();
00035 
00036     typedef GeomEllipse* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044 
00045 
00048 
00049     static PyObject * staticCallback_getMajorRadius (PyObject *self, void *closure);
00051     Py::Float getMajorRadius(void) const;
00053     static int staticCallback_setMajorRadius (PyObject *self, PyObject *value, void *closure);
00055     void setMajorRadius(Py::Float arg);
00057     static PyObject * staticCallback_getMinorRadius (PyObject *self, void *closure);
00059     Py::Float getMinorRadius(void) const;
00061     static int staticCallback_setMinorRadius (PyObject *self, PyObject *value, void *closure);
00063     void setMinorRadius(Py::Float arg);
00065     static PyObject * staticCallback_getEccentricity (PyObject *self, void *closure);
00067     Py::Float getEccentricity(void) const;
00069     static int staticCallback_setEccentricity (PyObject *self, PyObject *value, void *closure);
00070     // no setter method,  Eccentricity is read only!
00072     static PyObject * staticCallback_getFocal (PyObject *self, void *closure);
00074     Py::Float getFocal(void) const;
00076     static int staticCallback_setFocal (PyObject *self, PyObject *value, void *closure);
00077     // no setter method,  Focal is read only!
00079     static PyObject * staticCallback_getFocus1 (PyObject *self, void *closure);
00081     Py::Object getFocus1(void) const;
00083     static int staticCallback_setFocus1 (PyObject *self, PyObject *value, void *closure);
00084     // no setter method,  Focus1 is read only!
00086     static PyObject * staticCallback_getFocus2 (PyObject *self, void *closure);
00088     Py::Object getFocus2(void) const;
00090     static int staticCallback_setFocus2 (PyObject *self, PyObject *value, void *closure);
00091     // no setter method,  Focus2 is read only!
00093     static PyObject * staticCallback_getCenter (PyObject *self, void *closure);
00095     Py::Object getCenter(void) const;
00097     static int staticCallback_setCenter (PyObject *self, PyObject *value, void *closure);
00099     void setCenter(Py::Object arg);
00101     static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00103     Py::Object getAxis(void) const;
00105     static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00107     void setAxis(Py::Object arg);
00109 
00111     PyObject *getCustomAttributes(const char* attr) const;
00113     int setCustomAttributes(const char* attr, PyObject *obj);
00114     PyObject *_getattr(char *attr);              // __getattr__ function
00115     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00116 
00118     GeomEllipse *getGeomEllipsePtr(void) const;
00119 
00122 
00124 };
00125 
00126 #define PARENTSPartEllipsePy &EllipsePy::Type,PARENTSPartGeometryCurvePy
00127 
00128 }  //namespace Part
00129 
00130 #endif  // PART_ELLIPSEPY_H
00131 
00132 

Generated on Wed Nov 23 19:00:10 2011 for FreeCAD by  doxygen 1.6.1