MaterialPy.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 APP_MATERIALPY_H
00005 #define APP_MATERIALPY_H
00006 
00007 #include <Base/PyObjectBase.h>
00008 #include <App/Material.h>
00009 #include <string>
00010 
00011 namespace App
00012 {
00013 
00014 //===========================================================================
00015 // MaterialPy - Python wrapper
00016 //===========================================================================
00017 
00020 class AppExport MaterialPy : public Base::PyObjectBase
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     MaterialPy(Material *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~MaterialPy();
00035 
00036     typedef Material* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
00039     std::string representation(void) const;
00040 
00043 
00044     static PyObject * staticCallback_set (PyObject *self, PyObject *args);
00046     PyObject*  set(PyObject *args);
00048 
00049 
00052 
00053     static PyObject * staticCallback_getAmbientColor (PyObject *self, void *closure);
00055     Py::Tuple getAmbientColor(void) const;
00057     static int staticCallback_setAmbientColor (PyObject *self, PyObject *value, void *closure);
00059     void setAmbientColor(Py::Tuple arg);
00061     static PyObject * staticCallback_getDiffuseColor (PyObject *self, void *closure);
00063     Py::Tuple getDiffuseColor(void) const;
00065     static int staticCallback_setDiffuseColor (PyObject *self, PyObject *value, void *closure);
00067     void setDiffuseColor(Py::Tuple arg);
00069     static PyObject * staticCallback_getEmissiveColor (PyObject *self, void *closure);
00071     Py::Tuple getEmissiveColor(void) const;
00073     static int staticCallback_setEmissiveColor (PyObject *self, PyObject *value, void *closure);
00075     void setEmissiveColor(Py::Tuple arg);
00077     static PyObject * staticCallback_getSpecularColor (PyObject *self, void *closure);
00079     Py::Tuple getSpecularColor(void) const;
00081     static int staticCallback_setSpecularColor (PyObject *self, PyObject *value, void *closure);
00083     void setSpecularColor(Py::Tuple arg);
00085     static PyObject * staticCallback_getShininess (PyObject *self, void *closure);
00087     Py::Float getShininess(void) const;
00089     static int staticCallback_setShininess (PyObject *self, PyObject *value, void *closure);
00091     void setShininess(Py::Float arg);
00093     static PyObject * staticCallback_getTransparency (PyObject *self, void *closure);
00095     Py::Float getTransparency(void) const;
00097     static int staticCallback_setTransparency (PyObject *self, PyObject *value, void *closure);
00099     void setTransparency(Py::Float arg);
00101 
00103     PyObject *getCustomAttributes(const char* attr) const;
00105     int setCustomAttributes(const char* attr, PyObject *obj);
00106     PyObject *_getattr(char *attr);              // __getattr__ function
00107     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00108 
00110     Material *getMaterialPtr(void) const;
00111 
00114 
00116 };
00117 
00118 #define PARENTSAppMaterialPy &MaterialPy::Type,PARENTSBasePyObjectBase
00119 
00120 }  //namespace App
00121 
00122 #endif  // APP_MATERIALPY_H
00123 
00124 

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