MeshFeaturePy.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 MESH_MESHFEATUREPY_H
00005 #define MESH_MESHFEATUREPY_H
00006 
00007 #include <App/DocumentObjectPy.h>
00008 #include <Mod/Mesh/App/MeshFeature.h>
00009 #include <string>
00010 
00011 namespace Mesh
00012 {
00013 
00014 //===========================================================================
00015 // MeshFeaturePy - Python wrapper
00016 //===========================================================================
00017 
00020 class MeshExport MeshFeaturePy : public App::DocumentObjectPy
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     MeshFeaturePy(Feature *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~MeshFeaturePy();
00035 
00036     typedef Feature* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_countPoints (PyObject *self, PyObject *args);
00046     PyObject*  countPoints(PyObject *args);
00048     static PyObject * staticCallback_countFacets (PyObject *self, PyObject *args);
00050     PyObject*  countFacets(PyObject *args);
00052     static PyObject * staticCallback_harmonizeNormals (PyObject *self, PyObject *args);
00054     PyObject*  harmonizeNormals(PyObject *args);
00056     static PyObject * staticCallback_smooth (PyObject *self, PyObject *args);
00058     PyObject*  smooth(PyObject *args);
00060     static PyObject * staticCallback_removeNonManifolds (PyObject *self, PyObject *args);
00062     PyObject*  removeNonManifolds(PyObject *args);
00064     static PyObject * staticCallback_fixIndices (PyObject *self, PyObject *args);
00066     PyObject*  fixIndices(PyObject *args);
00068     static PyObject * staticCallback_fixDegenerations (PyObject *self, PyObject *args);
00070     PyObject*  fixDegenerations(PyObject *args);
00072     static PyObject * staticCallback_removeDuplicatedFacets (PyObject *self, PyObject *args);
00074     PyObject*  removeDuplicatedFacets(PyObject *args);
00076     static PyObject * staticCallback_removeDuplicatedPoints (PyObject *self, PyObject *args);
00078     PyObject*  removeDuplicatedPoints(PyObject *args);
00080     static PyObject * staticCallback_fixSelfIntersections (PyObject *self, PyObject *args);
00082     PyObject*  fixSelfIntersections(PyObject *args);
00084     static PyObject * staticCallback_removeFoldsOnSurface (PyObject *self, PyObject *args);
00086     PyObject*  removeFoldsOnSurface(PyObject *args);
00088 
00089 
00092 
00093 
00095     PyObject *getCustomAttributes(const char* attr) const;
00097     int setCustomAttributes(const char* attr, PyObject *obj);
00098     PyObject *_getattr(char *attr);              // __getattr__ function
00099     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00100 
00102     Feature *getFeaturePtr(void) const;
00103 
00106 
00108 };
00109 
00110 #define PARENTSMeshMeshFeaturePy &MeshFeaturePy::Type,PARENTSAppDocumentObjectPy
00111 
00112 }  //namespace Mesh
00113 
00114 #endif  // MESH_MESHFEATUREPY_H
00115 
00116 

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