BSplineCurvePy.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_BSPLINECURVEPY_H
00005 #define PART_BSPLINECURVEPY_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 // BSplineCurvePy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport BSplineCurvePy : 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     BSplineCurvePy(GeomBSplineCurve *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~BSplineCurvePy();
00035 
00036     typedef GeomBSplineCurve* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_isRational (PyObject *self, PyObject *args);
00046     PyObject*  isRational(PyObject *args);
00048     static PyObject * staticCallback_isPeriodic (PyObject *self, PyObject *args);
00050     PyObject*  isPeriodic(PyObject *args);
00052     static PyObject * staticCallback_isClosed (PyObject *self, PyObject *args);
00054     PyObject*  isClosed(PyObject *args);
00056     static PyObject * staticCallback_increaseDegree (PyObject *self, PyObject *args);
00058     PyObject*  increaseDegree(PyObject *args);
00060     static PyObject * staticCallback_increaseMultiplicity (PyObject *self, PyObject *args);
00062     PyObject*  increaseMultiplicity(PyObject *args);
00064     static PyObject * staticCallback_incrementMultiplicity (PyObject *self, PyObject *args);
00066     PyObject*  incrementMultiplicity(PyObject *args);
00068     static PyObject * staticCallback_insertKnot (PyObject *self, PyObject *args);
00070     PyObject*  insertKnot(PyObject *args);
00072     static PyObject * staticCallback_insertKnots (PyObject *self, PyObject *args);
00074     PyObject*  insertKnots(PyObject *args);
00076     static PyObject * staticCallback_removeKnot (PyObject *self, PyObject *args);
00078     PyObject*  removeKnot(PyObject *args);
00080     static PyObject * staticCallback_segment (PyObject *self, PyObject *args);
00082     PyObject*  segment(PyObject *args);
00084     static PyObject * staticCallback_setKnot (PyObject *self, PyObject *args);
00086     PyObject*  setKnot(PyObject *args);
00088     static PyObject * staticCallback_getKnot (PyObject *self, PyObject *args);
00090     PyObject*  getKnot(PyObject *args);
00092     static PyObject * staticCallback_setKnots (PyObject *self, PyObject *args);
00094     PyObject*  setKnots(PyObject *args);
00096     static PyObject * staticCallback_getKnots (PyObject *self, PyObject *args);
00098     PyObject*  getKnots(PyObject *args);
00100     static PyObject * staticCallback_setPole (PyObject *self, PyObject *args);
00102     PyObject*  setPole(PyObject *args);
00104     static PyObject * staticCallback_getPole (PyObject *self, PyObject *args);
00106     PyObject*  getPole(PyObject *args);
00108     static PyObject * staticCallback_getPoles (PyObject *self, PyObject *args);
00110     PyObject*  getPoles(PyObject *args);
00112     static PyObject * staticCallback_setWeight (PyObject *self, PyObject *args);
00114     PyObject*  setWeight(PyObject *args);
00116     static PyObject * staticCallback_getWeight (PyObject *self, PyObject *args);
00118     PyObject*  getWeight(PyObject *args);
00120     static PyObject * staticCallback_getWeights (PyObject *self, PyObject *args);
00122     PyObject*  getWeights(PyObject *args);
00124     static PyObject * staticCallback_getResolution (PyObject *self, PyObject *args);
00126     PyObject*  getResolution(PyObject *args);
00128     static PyObject * staticCallback_movePoint (PyObject *self, PyObject *args);
00130     PyObject*  movePoint(PyObject *args);
00132     static PyObject * staticCallback_setNotPeriodic (PyObject *self, PyObject *args);
00134     PyObject*  setNotPeriodic(PyObject *args);
00136     static PyObject * staticCallback_setPeriodic (PyObject *self, PyObject *args);
00138     PyObject*  setPeriodic(PyObject *args);
00140     static PyObject * staticCallback_setOrigin (PyObject *self, PyObject *args);
00142     PyObject*  setOrigin(PyObject *args);
00144     static PyObject * staticCallback_getMultiplicity (PyObject *self, PyObject *args);
00146     PyObject*  getMultiplicity(PyObject *args);
00148     static PyObject * staticCallback_getMultiplicities (PyObject *self, PyObject *args);
00150     PyObject*  getMultiplicities(PyObject *args);
00152     static PyObject * staticCallback_approximate (PyObject *self, PyObject *args);
00154     PyObject*  approximate(PyObject *args);
00156     static PyObject * staticCallback_interpolate (PyObject *self, PyObject *args);
00158     PyObject*  interpolate(PyObject *args);
00160     static PyObject * staticCallback_buildFromPoles (PyObject *self, PyObject *args);
00162     PyObject*  buildFromPoles(PyObject *args);
00164     static PyObject * staticCallback_toBezier (PyObject *self, PyObject *args);
00166     PyObject*  toBezier(PyObject *args);
00168     static PyObject * staticCallback_join (PyObject *self, PyObject *args);
00170     PyObject*  join(PyObject *args);
00172     static PyObject * staticCallback_makeC1Continuous (PyObject *self, PyObject *args);
00174     PyObject*  makeC1Continuous(PyObject *args);
00176 
00177 
00180 
00181     static PyObject * staticCallback_getDegree (PyObject *self, void *closure);
00183     Py::Int getDegree(void) const;
00185     static int staticCallback_setDegree (PyObject *self, PyObject *value, void *closure);
00186     // no setter method,  Degree is read only!
00188     static PyObject * staticCallback_getMaxDegree (PyObject *self, void *closure);
00190     Py::Int getMaxDegree(void) const;
00192     static int staticCallback_setMaxDegree (PyObject *self, PyObject *value, void *closure);
00193     // no setter method,  MaxDegree is read only!
00195     static PyObject * staticCallback_getNbPoles (PyObject *self, void *closure);
00197     Py::Int getNbPoles(void) const;
00199     static int staticCallback_setNbPoles (PyObject *self, PyObject *value, void *closure);
00200     // no setter method,  NbPoles is read only!
00202     static PyObject * staticCallback_getNbKnots (PyObject *self, void *closure);
00204     Py::Int getNbKnots(void) const;
00206     static int staticCallback_setNbKnots (PyObject *self, PyObject *value, void *closure);
00207     // no setter method,  NbKnots is read only!
00209     static PyObject * staticCallback_getStartPoint (PyObject *self, void *closure);
00211     Py::Object getStartPoint(void) const;
00213     static int staticCallback_setStartPoint (PyObject *self, PyObject *value, void *closure);
00214     // no setter method,  StartPoint is read only!
00216     static PyObject * staticCallback_getEndPoint (PyObject *self, void *closure);
00218     Py::Object getEndPoint(void) const;
00220     static int staticCallback_setEndPoint (PyObject *self, PyObject *value, void *closure);
00221     // no setter method,  EndPoint is read only!
00223     static PyObject * staticCallback_getFirstUKnotIndex (PyObject *self, void *closure);
00225     Py::Object getFirstUKnotIndex(void) const;
00227     static int staticCallback_setFirstUKnotIndex (PyObject *self, PyObject *value, void *closure);
00228     // no setter method,  FirstUKnotIndex is read only!
00230     static PyObject * staticCallback_getLastUKnotIndex (PyObject *self, void *closure);
00232     Py::Object getLastUKnotIndex(void) const;
00234     static int staticCallback_setLastUKnotIndex (PyObject *self, PyObject *value, void *closure);
00235     // no setter method,  LastUKnotIndex is read only!
00237     static PyObject * staticCallback_getKnotSequence (PyObject *self, void *closure);
00239     Py::List getKnotSequence(void) const;
00241     static int staticCallback_setKnotSequence (PyObject *self, PyObject *value, void *closure);
00242     // no setter method,  KnotSequence is read only!
00244 
00246     PyObject *getCustomAttributes(const char* attr) const;
00248     int setCustomAttributes(const char* attr, PyObject *obj);
00249     PyObject *_getattr(char *attr);              // __getattr__ function
00250     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00251 
00253     GeomBSplineCurve *getGeomBSplineCurvePtr(void) const;
00254 
00257 
00259 };
00260 
00261 #define PARENTSPartBSplineCurvePy &BSplineCurvePy::Type,PARENTSPartGeometryCurvePy
00262 
00263 }  //namespace Part
00264 
00265 #endif  // PART_BSPLINECURVEPY_H
00266 
00267 

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