ConePy.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_CONEPY_H
00005 #define PART_CONEPY_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 // ConePy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport ConePy : 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     ConePy(GeomCone *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~ConePy();
00035 
00036     typedef GeomCone* 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_getApex (PyObject *self, void *closure);
00059     Py::Object getApex(void) const;
00061     static int staticCallback_setApex (PyObject *self, PyObject *value, void *closure);
00062     // no setter method,  Apex is read only!
00064     static PyObject * staticCallback_getRadius (PyObject *self, void *closure);
00066     Py::Float getRadius(void) const;
00068     static int staticCallback_setRadius (PyObject *self, PyObject *value, void *closure);
00070     void setRadius(Py::Float arg);
00072     static PyObject * staticCallback_getSemiAngle (PyObject *self, void *closure);
00074     Py::Float getSemiAngle(void) const;
00076     static int staticCallback_setSemiAngle (PyObject *self, PyObject *value, void *closure);
00078     void setSemiAngle(Py::Float arg);
00080     static PyObject * staticCallback_getCenter (PyObject *self, void *closure);
00082     Py::Object getCenter(void) const;
00084     static int staticCallback_setCenter (PyObject *self, PyObject *value, void *closure);
00086     void setCenter(Py::Object arg);
00088     static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00090     Py::Object getAxis(void) const;
00092     static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00094     void setAxis(Py::Object arg);
00096 
00098     PyObject *getCustomAttributes(const char* attr) const;
00100     int setCustomAttributes(const char* attr, PyObject *obj);
00101     PyObject *_getattr(char *attr);              // __getattr__ function
00102     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00103 
00105     GeomCone *getGeomConePtr(void) const;
00106 
00109 
00111 };
00112 
00113 #define PARENTSPartConePy &ConePy::Type,PARENTSPartGeometrySurfacePy
00114 
00115 }  //namespace Part
00116 
00117 #endif  // PART_CONEPY_H
00118 
00119 

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