ToroidPy.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_TOROIDPY_H
00005 #define PART_TOROIDPY_H
00006 
00007 #include <Mod/Part/App/GeometrySurfacePy.h>
00008 #include <Mod/Part/App/Geometry.h>
00009 #include <string>
00010 
00011 namespace Part
00012 {
00013 
00014 //===========================================================================
00015 // ToroidPy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport ToroidPy : public Part::GeometrySurfacePy
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     ToroidPy(GeomToroid *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~ToroidPy();
00035 
00036     typedef GeomToroid* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_uIso (PyObject *self, PyObject *args);
00046     PyObject*  uIso(PyObject *args);
00048     static PyObject * staticCallback_vIso (PyObject *self, PyObject *args);
00050     PyObject*  vIso(PyObject *args);
00052 
00053 
00056 
00057     static PyObject * staticCallback_getMajorRadius (PyObject *self, void *closure);
00059     Py::Float getMajorRadius(void) const;
00061     static int staticCallback_setMajorRadius (PyObject *self, PyObject *value, void *closure);
00063     void setMajorRadius(Py::Float arg);
00065     static PyObject * staticCallback_getMinorRadius (PyObject *self, void *closure);
00067     Py::Float getMinorRadius(void) const;
00069     static int staticCallback_setMinorRadius (PyObject *self, PyObject *value, void *closure);
00071     void setMinorRadius(Py::Float arg);
00073     static PyObject * staticCallback_getCenter (PyObject *self, void *closure);
00075     Py::Object getCenter(void) const;
00077     static int staticCallback_setCenter (PyObject *self, PyObject *value, void *closure);
00079     void setCenter(Py::Object arg);
00081     static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00083     Py::Object getAxis(void) const;
00085     static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00087     void setAxis(Py::Object arg);
00089     static PyObject * staticCallback_getArea (PyObject *self, void *closure);
00091     Py::Float getArea(void) const;
00093     static int staticCallback_setArea (PyObject *self, PyObject *value, void *closure);
00094     // no setter method,  Area is read only!
00096     static PyObject * staticCallback_getVolume (PyObject *self, void *closure);
00098     Py::Float getVolume(void) const;
00100     static int staticCallback_setVolume (PyObject *self, PyObject *value, void *closure);
00101     // no setter method,  Volume is read only!
00103 
00105     PyObject *getCustomAttributes(const char* attr) const;
00107     int setCustomAttributes(const char* attr, PyObject *obj);
00108     PyObject *_getattr(char *attr);              // __getattr__ function
00109     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00110 
00112     GeomToroid *getGeomToroidPtr(void) const;
00113 
00116 
00118 };
00119 
00120 #define PARENTSPartToroidPy &ToroidPy::Type,PARENTSPartGeometrySurfacePy
00121 
00122 }  //namespace Part
00123 
00124 #endif  // PART_TOROIDPY_H
00125 
00126 

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