MeshPy.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_MESHPY_H
00005 #define MESH_MESHPY_H
00006 
00007 #include <App/ComplexGeoDataPy.h>
00008 #include <Mod/Mesh/App/Mesh.h>
00009 #include <string>
00010 
00011 namespace Mesh
00012 {
00013 
00014 //===========================================================================
00015 // MeshPy - Python wrapper
00016 //===========================================================================
00017 
00020 class MeshExport MeshPy : public Data::ComplexGeoDataPy
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     MeshPy(MeshObject *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~MeshPy();
00035 
00036     typedef MeshObject* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_read (PyObject *self, PyObject *args);
00046     PyObject*  read(PyObject *args);
00048     static PyObject * staticCallback_write (PyObject *self, PyObject *args);
00050     PyObject*  write(PyObject *args);
00052     static PyObject * staticCallback_writeInventor (PyObject *self, PyObject *args);
00054     PyObject*  writeInventor(PyObject *args);
00056     static PyObject * staticCallback_copy (PyObject *self, PyObject *args);
00058     PyObject*  copy(PyObject *args);
00060     static PyObject * staticCallback_offset (PyObject *self, PyObject *args);
00062     PyObject*  offset(PyObject *args);
00064     static PyObject * staticCallback_offsetSpecial (PyObject *self, PyObject *args);
00066     PyObject*  offsetSpecial(PyObject *args);
00068     static PyObject * staticCallback_crossSections (PyObject *self, PyObject *args);
00070     PyObject*  crossSections(PyObject *args);
00072     static PyObject * staticCallback_unite (PyObject *self, PyObject *args);
00074     PyObject*  unite(PyObject *args);
00076     static PyObject * staticCallback_intersect (PyObject *self, PyObject *args);
00078     PyObject*  intersect(PyObject *args);
00080     static PyObject * staticCallback_difference (PyObject *self, PyObject *args);
00082     PyObject*  difference(PyObject *args);
00084     static PyObject * staticCallback_inner (PyObject *self, PyObject *args);
00086     PyObject*  inner(PyObject *args);
00088     static PyObject * staticCallback_outer (PyObject *self, PyObject *args);
00090     PyObject*  outer(PyObject *args);
00092     static PyObject * staticCallback_coarsen (PyObject *self, PyObject *args);
00094     PyObject*  coarsen(PyObject *args);
00096     static PyObject * staticCallback_translate (PyObject *self, PyObject *args);
00098     PyObject*  translate(PyObject *args);
00100     static PyObject * staticCallback_rotate (PyObject *self, PyObject *args);
00102     PyObject*  rotate(PyObject *args);
00104     static PyObject * staticCallback_transform (PyObject *self, PyObject *args);
00106     PyObject*  transform(PyObject *args);
00108     static PyObject * staticCallback_transformToEigen (PyObject *self, PyObject *args);
00110     PyObject*  transformToEigen(PyObject *args);
00112     static PyObject * staticCallback_addFacet (PyObject *self, PyObject *args);
00114     PyObject*  addFacet(PyObject *args);
00116     static PyObject * staticCallback_addFacets (PyObject *self, PyObject *args);
00118     PyObject*  addFacets(PyObject *args);
00120     static PyObject * staticCallback_removeFacets (PyObject *self, PyObject *args);
00122     PyObject*  removeFacets(PyObject *args);
00124     static PyObject * staticCallback_addMesh (PyObject *self, PyObject *args);
00126     PyObject*  addMesh(PyObject *args);
00128     static PyObject * staticCallback_setPoint (PyObject *self, PyObject *args);
00130     PyObject*  setPoint(PyObject *args);
00132     static PyObject * staticCallback_countSegments (PyObject *self, PyObject *args);
00134     PyObject*  countSegments(PyObject *args);
00136     static PyObject * staticCallback_getSegment (PyObject *self, PyObject *args);
00138     PyObject*  getSegment(PyObject *args);
00140     static PyObject * staticCallback_getSeparateComponents (PyObject *self, PyObject *args);
00142     PyObject*  getSeparateComponents(PyObject *args);
00144     static PyObject * staticCallback_getFacetSelection (PyObject *self, PyObject *args);
00146     PyObject*  getFacetSelection(PyObject *args);
00148     static PyObject * staticCallback_getPointSelection (PyObject *self, PyObject *args);
00150     PyObject*  getPointSelection(PyObject *args);
00152     static PyObject * staticCallback_meshFromSegment (PyObject *self, PyObject *args);
00154     PyObject*  meshFromSegment(PyObject *args);
00156     static PyObject * staticCallback_clear (PyObject *self, PyObject *args);
00158     PyObject*  clear(PyObject *args);
00160     static PyObject * staticCallback_isSolid (PyObject *self, PyObject *args);
00162     PyObject*  isSolid(PyObject *args);
00164     static PyObject * staticCallback_hasNonManifolds (PyObject *self, PyObject *args);
00166     PyObject*  hasNonManifolds(PyObject *args);
00168     static PyObject * staticCallback_removeNonManifolds (PyObject *self, PyObject *args);
00170     PyObject*  removeNonManifolds(PyObject *args);
00172     static PyObject * staticCallback_hasSelfIntersections (PyObject *self, PyObject *args);
00174     PyObject*  hasSelfIntersections(PyObject *args);
00176     static PyObject * staticCallback_fixSelfIntersections (PyObject *self, PyObject *args);
00178     PyObject*  fixSelfIntersections(PyObject *args);
00180     static PyObject * staticCallback_removeFoldsOnSurface (PyObject *self, PyObject *args);
00182     PyObject*  removeFoldsOnSurface(PyObject *args);
00184     static PyObject * staticCallback_hasNonUniformOrientedFacets (PyObject *self, PyObject *args);
00186     PyObject*  hasNonUniformOrientedFacets(PyObject *args);
00188     static PyObject * staticCallback_countNonUniformOrientedFacets (PyObject *self, PyObject *args);
00190     PyObject*  countNonUniformOrientedFacets(PyObject *args);
00192     static PyObject * staticCallback_countComponents (PyObject *self, PyObject *args);
00194     PyObject*  countComponents(PyObject *args);
00196     static PyObject * staticCallback_removeComponents (PyObject *self, PyObject *args);
00198     PyObject*  removeComponents(PyObject *args);
00200     static PyObject * staticCallback_fixIndices (PyObject *self, PyObject *args);
00202     PyObject*  fixIndices(PyObject *args);
00204     static PyObject * staticCallback_fixDeformations (PyObject *self, PyObject *args);
00206     PyObject*  fixDeformations(PyObject *args);
00208     static PyObject * staticCallback_fixDegenerations (PyObject *self, PyObject *args);
00210     PyObject*  fixDegenerations(PyObject *args);
00212     static PyObject * staticCallback_removeDuplicatedPoints (PyObject *self, PyObject *args);
00214     PyObject*  removeDuplicatedPoints(PyObject *args);
00216     static PyObject * staticCallback_removeDuplicatedFacets (PyObject *self, PyObject *args);
00218     PyObject*  removeDuplicatedFacets(PyObject *args);
00220     static PyObject * staticCallback_refine (PyObject *self, PyObject *args);
00222     PyObject*  refine(PyObject *args);
00224     static PyObject * staticCallback_splitEdges (PyObject *self, PyObject *args);
00226     PyObject*  splitEdges(PyObject *args);
00228     static PyObject * staticCallback_splitEdge (PyObject *self, PyObject *args);
00230     PyObject*  splitEdge(PyObject *args);
00232     static PyObject * staticCallback_splitFacet (PyObject *self, PyObject *args);
00234     PyObject*  splitFacet(PyObject *args);
00236     static PyObject * staticCallback_swapEdge (PyObject *self, PyObject *args);
00238     PyObject*  swapEdge(PyObject *args);
00240     static PyObject * staticCallback_collapseEdge (PyObject *self, PyObject *args);
00242     PyObject*  collapseEdge(PyObject *args);
00244     static PyObject * staticCallback_collapseFacet (PyObject *self, PyObject *args);
00246     PyObject*  collapseFacet(PyObject *args);
00248     static PyObject * staticCallback_collapseFacets (PyObject *self, PyObject *args);
00250     PyObject*  collapseFacets(PyObject *args);
00252     static PyObject * staticCallback_insertVertex (PyObject *self, PyObject *args);
00254     PyObject*  insertVertex(PyObject *args);
00256     static PyObject * staticCallback_snapVertex (PyObject *self, PyObject *args);
00258     PyObject*  snapVertex(PyObject *args);
00260     static PyObject * staticCallback_printInfo (PyObject *self, PyObject *args);
00262     PyObject*  printInfo(PyObject *args);
00264     static PyObject * staticCallback_foraminate (PyObject *self, PyObject *args);
00266     PyObject*  foraminate(PyObject *args);
00268     static PyObject * staticCallback_harmonizeNormals (PyObject *self, PyObject *args);
00270     PyObject*  harmonizeNormals(PyObject *args);
00272     static PyObject * staticCallback_flipNormals (PyObject *self, PyObject *args);
00274     PyObject*  flipNormals(PyObject *args);
00276     static PyObject * staticCallback_fillupHoles (PyObject *self, PyObject *args);
00278     PyObject*  fillupHoles(PyObject *args);
00280     static PyObject * staticCallback_smooth (PyObject *self, PyObject *args);
00282     PyObject*  smooth(PyObject *args);
00284     static PyObject * staticCallback_optimizeTopology (PyObject *self, PyObject *args);
00286     PyObject*  optimizeTopology(PyObject *args);
00288     static PyObject * staticCallback_optimizeEdges (PyObject *self, PyObject *args);
00290     PyObject*  optimizeEdges(PyObject *args);
00292     static PyObject * staticCallback_nearestFacetOnRay (PyObject *self, PyObject *args);
00294     PyObject*  nearestFacetOnRay(PyObject *args);
00296     static PyObject * staticCallback_getPlanes (PyObject *self, PyObject *args);
00298     PyObject*  getPlanes(PyObject *args);
00300 
00301 
00304 
00305     static PyObject * staticCallback_getPoints (PyObject *self, void *closure);
00307     Py::List getPoints(void) const;
00309     static int staticCallback_setPoints (PyObject *self, PyObject *value, void *closure);
00310     // no setter method,  Points is read only!
00312     static PyObject * staticCallback_getCountPoints (PyObject *self, void *closure);
00314     Py::Int getCountPoints(void) const;
00316     static int staticCallback_setCountPoints (PyObject *self, PyObject *value, void *closure);
00317     // no setter method,  CountPoints is read only!
00319     static PyObject * staticCallback_getFacets (PyObject *self, void *closure);
00321     Py::List getFacets(void) const;
00323     static int staticCallback_setFacets (PyObject *self, PyObject *value, void *closure);
00324     // no setter method,  Facets is read only!
00326     static PyObject * staticCallback_getCountFacets (PyObject *self, void *closure);
00328     Py::Int getCountFacets(void) const;
00330     static int staticCallback_setCountFacets (PyObject *self, PyObject *value, void *closure);
00331     // no setter method,  CountFacets is read only!
00333     static PyObject * staticCallback_getTopology (PyObject *self, void *closure);
00335     Py::Tuple getTopology(void) const;
00337     static int staticCallback_setTopology (PyObject *self, PyObject *value, void *closure);
00338     // no setter method,  Topology is read only!
00340     static PyObject * staticCallback_getArea (PyObject *self, void *closure);
00342     Py::Float getArea(void) const;
00344     static int staticCallback_setArea (PyObject *self, PyObject *value, void *closure);
00345     // no setter method,  Area is read only!
00347     static PyObject * staticCallback_getVolume (PyObject *self, void *closure);
00349     Py::Float getVolume(void) const;
00351     static int staticCallback_setVolume (PyObject *self, PyObject *value, void *closure);
00352     // no setter method,  Volume is read only!
00354 
00356     PyObject *getCustomAttributes(const char* attr) const;
00358     int setCustomAttributes(const char* attr, PyObject *obj);
00359     PyObject *_getattr(char *attr);              // __getattr__ function
00360     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00361 
00363     MeshObject *getMeshObjectPtr(void) const;
00364 
00367 private:
00368     friend class PropertyMeshKernel;
00369     class PropertyMeshKernel* parentProperty;
00370                 
00372 };
00373 
00374 #define PARENTSMeshMeshPy &MeshPy::Type,PARENTSDataComplexGeoDataPy
00375 
00376 }  //namespace Mesh
00377 
00378 #endif  // MESH_MESHPY_H
00379 
00380 

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