TopologyPy.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef __TOPOLOGY_H__
00027 #define __TOPOLOGY_H__
00028 #if 0
00029
00030
00031 #include <Base/PyObjectBase.h>
00032
00033
00034 #include <TopoDS_Shape.hxx>
00035
00036 namespace Part
00037 {
00038
00044 class AppPartExport TopoShapePyOld :public Base::PyObjectBase
00045 {
00047 Py_Header;
00048
00049 protected:
00051 ~TopoShapePyOld();
00052
00053 public:
00054
00056 TopoShapePyOld(PyTypeObject *T = &Type);
00057 TopoShapePyOld(const TopoDS_Shape &cShape, PyTypeObject *T = &TopoShapePyOld::Type);
00059 static PyObject *PyMake(PyTypeObject*, PyObject*, PyObject*);
00060 static int PyInit(PyObject*, PyObject*, PyObject*);
00061
00062
00063
00064
00065
00066
00068 TopoDS_Shape getTopoShape(void){return _cTopoShape;}
00069
00070
00071
00072
00073
00074 virtual PyObject *_repr(void);
00075 PyObject *_getattr(char *attr);
00076
00077 int _setattr(char *attr, PyObject *value);
00078
00079
00080 PYFUNCDEF_D (TopoShapePyOld,hasChild);
00081 PYFUNCDEF_D (TopoShapePyOld,isNull);
00082 PYFUNCDEF_D (TopoShapePyOld,isValid);
00083 PYFUNCDEF_D (TopoShapePyOld,analyze);
00084 PYFUNCDEF_D (TopoShapePyOld,importIGES);
00085 PYFUNCDEF_D (TopoShapePyOld,exportIGES);
00086 PYFUNCDEF_D (TopoShapePyOld,importSTEP);
00087 PYFUNCDEF_D (TopoShapePyOld,exportSTEP);
00088 PYFUNCDEF_D (TopoShapePyOld,importBREP);
00089 PYFUNCDEF_D (TopoShapePyOld,exportBREP);
00090 PYFUNCDEF_D (TopoShapePyOld,exportSTL);
00091
00092
00093 TopoDS_Shape &getShape(void){return _cTopoShape;}
00094
00095
00096 protected:
00098 TopoDS_Shape _cTopoShape;
00099
00100 };
00101
00102
00103 }
00104 #endif
00105 #endif // __TOPOLOGY_H__