00001
00002
00003
00004 #ifndef FEM_FEMMESHPY_H
00005 #define FEM_FEMMESHPY_H
00006
00007 #include <App/ComplexGeoDataPy.h>
00008 #include <Mod/Fem/App/FemMesh.h>
00009 #include <string>
00010
00011 namespace Fem
00012 {
00013
00014
00015
00016
00017
00020 class FemExport FemMeshPy : 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 FemMeshPy(FemMesh *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~FemMeshPy();
00035
00036 typedef FemMesh* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_setShape (PyObject *self, PyObject *args);
00046 PyObject* setShape(PyObject *args);
00048 static PyObject * staticCallback_compute (PyObject *self, PyObject *args);
00050 PyObject* compute(PyObject *args);
00052 static PyObject * staticCallback_addHypothesis (PyObject *self, PyObject *args);
00054 PyObject* addHypothesis(PyObject *args);
00056 static PyObject * staticCallback_setStanardHypotheses (PyObject *self, PyObject *args);
00058 PyObject* setStanardHypotheses(PyObject *args);
00060 static PyObject * staticCallback_addNode (PyObject *self, PyObject *args);
00062 PyObject* addNode(PyObject *args);
00064 static PyObject * staticCallback_addEdge (PyObject *self, PyObject *args);
00066 PyObject* addEdge(PyObject *args);
00068 static PyObject * staticCallback_addFace (PyObject *self, PyObject *args);
00070 PyObject* addFace(PyObject *args);
00072 static PyObject * staticCallback_addQuad (PyObject *self, PyObject *args);
00074 PyObject* addQuad(PyObject *args);
00076 static PyObject * staticCallback_addVolume (PyObject *self, PyObject *args);
00078 PyObject* addVolume(PyObject *args);
00080 static PyObject * staticCallback_read (PyObject *self, PyObject *args);
00082 PyObject* read(PyObject *args);
00084 static PyObject * staticCallback_write (PyObject *self, PyObject *args);
00086 PyObject* write(PyObject *args);
00088 static PyObject * staticCallback_writeABAQUS (PyObject *self, PyObject *args);
00090 PyObject* writeABAQUS(PyObject *args);
00092 static PyObject * staticCallback_setTransform (PyObject *self, PyObject *args);
00094 PyObject* setTransform(PyObject *args);
00096 static PyObject * staticCallback_copy (PyObject *self, PyObject *args);
00098 PyObject* copy(PyObject *args);
00100
00101
00104
00105 static PyObject * staticCallback_getNodeCount (PyObject *self, void *closure);
00107 Py::Int getNodeCount(void) const;
00109 static int staticCallback_setNodeCount (PyObject *self, PyObject *value, void *closure);
00110
00112 static PyObject * staticCallback_getEdgeCount (PyObject *self, void *closure);
00114 Py::Int getEdgeCount(void) const;
00116 static int staticCallback_setEdgeCount (PyObject *self, PyObject *value, void *closure);
00117
00119 static PyObject * staticCallback_getFacesCount (PyObject *self, void *closure);
00121 Py::Int getFacesCount(void) const;
00123 static int staticCallback_setFacesCount (PyObject *self, PyObject *value, void *closure);
00124
00126 static PyObject * staticCallback_getTriangleCount (PyObject *self, void *closure);
00128 Py::Int getTriangleCount(void) const;
00130 static int staticCallback_setTriangleCount (PyObject *self, PyObject *value, void *closure);
00131
00133 static PyObject * staticCallback_getQuadrangleCount (PyObject *self, void *closure);
00135 Py::Int getQuadrangleCount(void) const;
00137 static int staticCallback_setQuadrangleCount (PyObject *self, PyObject *value, void *closure);
00138
00140 static PyObject * staticCallback_getPolygonCount (PyObject *self, void *closure);
00142 Py::Int getPolygonCount(void) const;
00144 static int staticCallback_setPolygonCount (PyObject *self, PyObject *value, void *closure);
00145
00147 static PyObject * staticCallback_getVolumeCount (PyObject *self, void *closure);
00149 Py::Int getVolumeCount(void) const;
00151 static int staticCallback_setVolumeCount (PyObject *self, PyObject *value, void *closure);
00152
00154 static PyObject * staticCallback_getTetraCount (PyObject *self, void *closure);
00156 Py::Int getTetraCount(void) const;
00158 static int staticCallback_setTetraCount (PyObject *self, PyObject *value, void *closure);
00159
00161 static PyObject * staticCallback_getHexaCount (PyObject *self, void *closure);
00163 Py::Int getHexaCount(void) const;
00165 static int staticCallback_setHexaCount (PyObject *self, PyObject *value, void *closure);
00166
00168 static PyObject * staticCallback_getPyramidCount (PyObject *self, void *closure);
00170 Py::Int getPyramidCount(void) const;
00172 static int staticCallback_setPyramidCount (PyObject *self, PyObject *value, void *closure);
00173
00175 static PyObject * staticCallback_getPrismCount (PyObject *self, void *closure);
00177 Py::Int getPrismCount(void) const;
00179 static int staticCallback_setPrismCount (PyObject *self, PyObject *value, void *closure);
00180
00182 static PyObject * staticCallback_getPolyhedronCount (PyObject *self, void *closure);
00184 Py::Int getPolyhedronCount(void) const;
00186 static int staticCallback_setPolyhedronCount (PyObject *self, PyObject *value, void *closure);
00187
00189 static PyObject * staticCallback_getSubMeshCount (PyObject *self, void *closure);
00191 Py::Int getSubMeshCount(void) const;
00193 static int staticCallback_setSubMeshCount (PyObject *self, PyObject *value, void *closure);
00194
00196 static PyObject * staticCallback_getGroupCount (PyObject *self, void *closure);
00198 Py::Int getGroupCount(void) const;
00200 static int staticCallback_setGroupCount (PyObject *self, PyObject *value, void *closure);
00201
00203
00205 PyObject *getCustomAttributes(const char* attr) const;
00207 int setCustomAttributes(const char* attr, PyObject *obj);
00208 PyObject *_getattr(char *attr);
00209 int _setattr(char *attr, PyObject *value);
00210
00212 FemMesh *getFemMeshPtr(void) const;
00213
00216
00218 };
00219
00220 #define PARENTSFemFemMeshPy &FemMeshPy::Type,PARENTSDataComplexGeoDataPy
00221
00222 }
00223
00224 #endif // FEM_FEMMESHPY_H
00225
00226