TopoShapeSolidPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_TOPOSHAPESOLIDPY_H
00005 #define PART_TOPOSHAPESOLIDPY_H
00006
00007 #include <Mod/Part/App/TopoShapePy.h>
00008 #include <Mod/Part/App/TopoShape.h>
00009 #include <string>
00010
00011 namespace Part
00012 {
00013
00014
00015
00016
00017
00020 class PartExport TopoShapeSolidPy : public Part::TopoShapePy
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 TopoShapeSolidPy(TopoShape *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~TopoShapeSolidPy();
00035
00036 typedef TopoShape* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044
00045
00048
00049 static PyObject * staticCallback_getCenterOfMass (PyObject *self, void *closure);
00051 Py::Object getCenterOfMass(void) const;
00053 static int staticCallback_setCenterOfMass (PyObject *self, PyObject *value, void *closure);
00054
00056 static PyObject * staticCallback_getOuterShell (PyObject *self, void *closure);
00058 Py::Object getOuterShell(void) const;
00060 static int staticCallback_setOuterShell (PyObject *self, PyObject *value, void *closure);
00061
00063
00065 PyObject *getCustomAttributes(const char* attr) const;
00067 int setCustomAttributes(const char* attr, PyObject *obj);
00068 PyObject *_getattr(char *attr);
00069 int _setattr(char *attr, PyObject *value);
00070
00072 TopoShape *getTopoShapePtr(void) const;
00073
00076
00078 };
00079
00080 #define PARENTSPartTopoShapeSolidPy &TopoShapeSolidPy::Type,PARENTSPartTopoShapePy
00081
00082 }
00083
00084 #endif // PART_TOPOSHAPESOLIDPY_H
00085
00086