The python export class for Feature. More...

#include <MeshFeaturePy.h>

Public Types

typedef FeaturePointerType
 
- Public Types inherited from App::DocumentObjectPy
typedef DocumentObjectPointerType
 
- Public Types inherited from App::ExtensionContainerPy
typedef ExtensionContainerPointerType
 
- Public Types inherited from App::PropertyContainerPy
typedef PropertyContainerPointerType
 
- Public Types inherited from Base::PersistencePy
typedef PersistencePointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClassPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 

Public Member Functions

PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
FeaturegetFeaturePtr (void) const
 getter for the object handled by this class More...
 
virtual PyTypeObject * GetType (void)
 
 MeshFeaturePy (Feature *pcObject, PyTypeObject *T=&Type)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constuctor) More...
 
std::string representation (void) const
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
 ~MeshFeaturePy ()
 
- Public Member Functions inherited from App::DocumentObjectPy
 DocumentObjectPy (DocumentObject *pcObject, PyTypeObject *T=&Type)
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
DocumentObjectgetDocumentObjectPtr (void) const
 getter for the object handled by this class More...
 
std::string representation (void) const
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
 ~DocumentObjectPy ()
 
PyObjectaddProperty (PyObject *args)
 implementer for the addProperty() method More...
 
PyObjectremoveProperty (PyObject *args)
 implementer for the removeProperty() method More...
 
PyObjectsupportedProperties (PyObject *args)
 implementer for the supportedProperties() method More...
 
PyObjecttouch (PyObject *args)
 implementer for the touch() method More...
 
PyObjectpurgeTouched (PyObject *args)
 implementer for the purgeTouched() method More...
 
PyObjectsetExpression (PyObject *args)
 implementer for the setExpression() method More...
 
PyObjectrecompute (PyObject *args)
 implementer for the recompute() method More...
 
Py::List getOutList (void) const
 getter for the OutList attribute More...
 
Py::List getOutListRecursive (void) const
 getter for the OutListRecursive attribute More...
 
Py::List getInList (void) const
 getter for the InList attribute More...
 
Py::List getInListRecursive (void) const
 getter for the InListRecursive attribute More...
 
Py::String getName (void) const
 getter for the Name attribute More...
 
Py::Object getDocument (void) const
 getter for the Document attribute More...
 
Py::List getState (void) const
 getter for the State attribute More...
 
Py::Object getViewObject (void) const
 getter for the ViewObject attribute More...
 
- Public Member Functions inherited from App::ExtensionContainerPy
 ExtensionContainerPy (ExtensionContainer *pcObject, PyTypeObject *T=&Type)
 
int finalization ()
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
ExtensionContainergetExtensionContainerPtr (void) const
 getter for the object handled by this class More...
 
int initialization ()
 
std::string representation (void) const
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
 ~ExtensionContainerPy ()
 
PyObjectaddExtension (PyObject *args)
 implementer for the addExtension() method More...
 
PyObjecthasExtension (PyObject *args)
 implementer for the hasExtension() method More...
 
- Public Member Functions inherited from App::PropertyContainerPy
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
PropertyContainergetPropertyContainerPtr (void) const
 getter for the object handled by this class More...
 
 PropertyContainerPy (PropertyContainer *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
 ~PropertyContainerPy ()
 
PyObjectgetPropertyByName (PyObject *args)
 implementer for the getPropertyByName() method More...
 
PyObjectgetTypeOfProperty (PyObject *args)
 implementer for the getTypeOfProperty() method More...
 
PyObjectgetTypeIdOfProperty (PyObject *args)
 implementer for the getTypeIdOfProperty() method More...
 
PyObjectsetEditorMode (PyObject *args)
 implementer for the setEditorMode() method More...
 
PyObjectgetEditorMode (PyObject *args)
 implementer for the getEditorMode() method More...
 
PyObjectgetGroupOfProperty (PyObject *args)
 implementer for the getGroupOfProperty() method More...
 
PyObjectgetDocumentationOfProperty (PyObject *args)
 implementer for the getDocumentationOfProperty() method More...
 
Py::List getPropertiesList (void) const
 getter for the PropertiesList attribute More...
 
- Public Member Functions inherited from Base::PersistencePy
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
PersistencegetPersistencePtr (void) const
 getter for the object handled by this class More...
 
 PersistencePy (Persistence *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
 ~PersistencePy ()
 
Py::String getContent (void) const
 getter for the Content attribute More...
 
void setContent (Py::String arg)
 setter for the Content attribute More...
 
Py::Int getMemSize (void) const
 getter for the MemSize attribute More...
 
- Public Member Functions inherited from Base::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
BaseClassgetBaseClassPtr (void) const
 getter for the object handled by this class More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
std::string representation (void) const
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
 ~BaseClassPy ()
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::Int getModule (void) const
 getter for the Module attribute More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual) More...
 
PyObjectBaseIncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setAttributeOf (const char *attr, const PyObjectBase *par)
 
void setConst ()
 
void setInvalid ()
 
void startNotify ()
 

Static Public Member Functions

static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from App::DocumentObjectPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_addProperty (PyObject *self, PyObject *args)
 callback for the addProperty() method More...
 
static PyObjectstaticCallback_removeProperty (PyObject *self, PyObject *args)
 callback for the removeProperty() method More...
 
static PyObjectstaticCallback_supportedProperties (PyObject *self, PyObject *args)
 callback for the supportedProperties() method More...
 
static PyObjectstaticCallback_touch (PyObject *self, PyObject *args)
 callback for the touch() method More...
 
static PyObjectstaticCallback_purgeTouched (PyObject *self, PyObject *args)
 callback for the purgeTouched() method More...
 
static PyObjectstaticCallback_setExpression (PyObject *self, PyObject *args)
 callback for the setExpression() method More...
 
static PyObjectstaticCallback_recompute (PyObject *self, PyObject *args)
 callback for the recompute() method More...
 
static PyObjectstaticCallback_getOutList (PyObject *self, void *closure)
 getter callback for the OutList attribute More...
 
static int staticCallback_setOutList (PyObject *self, PyObject *value, void *closure)
 setter callback for the OutList attribute More...
 
static PyObjectstaticCallback_getOutListRecursive (PyObject *self, void *closure)
 getter callback for the OutListRecursive attribute More...
 
static int staticCallback_setOutListRecursive (PyObject *self, PyObject *value, void *closure)
 setter callback for the OutListRecursive attribute More...
 
static PyObjectstaticCallback_getInList (PyObject *self, void *closure)
 getter callback for the InList attribute More...
 
static int staticCallback_setInList (PyObject *self, PyObject *value, void *closure)
 setter callback for the InList attribute More...
 
static PyObjectstaticCallback_getInListRecursive (PyObject *self, void *closure)
 getter callback for the InListRecursive attribute More...
 
static int staticCallback_setInListRecursive (PyObject *self, PyObject *value, void *closure)
 setter callback for the InListRecursive attribute More...
 
static PyObjectstaticCallback_getName (PyObject *self, void *closure)
 getter callback for the Name attribute More...
 
static int staticCallback_setName (PyObject *self, PyObject *value, void *closure)
 setter callback for the Name attribute More...
 
static PyObjectstaticCallback_getDocument (PyObject *self, void *closure)
 getter callback for the Document attribute More...
 
static int staticCallback_setDocument (PyObject *self, PyObject *value, void *closure)
 setter callback for the Document attribute More...
 
static PyObjectstaticCallback_getState (PyObject *self, void *closure)
 getter callback for the State attribute More...
 
static int staticCallback_setState (PyObject *self, PyObject *value, void *closure)
 setter callback for the State attribute More...
 
static PyObjectstaticCallback_getViewObject (PyObject *self, void *closure)
 getter callback for the ViewObject attribute More...
 
static int staticCallback_setViewObject (PyObject *self, PyObject *value, void *closure)
 setter callback for the ViewObject attribute More...
 
- Static Public Member Functions inherited from App::ExtensionContainerPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_addExtension (PyObject *self, PyObject *args)
 callback for the addExtension() method More...
 
static PyObjectstaticCallback_hasExtension (PyObject *self, PyObject *args)
 callback for the hasExtension() method More...
 
- Static Public Member Functions inherited from App::PropertyContainerPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_getPropertyByName (PyObject *self, PyObject *args)
 callback for the getPropertyByName() method More...
 
static PyObjectstaticCallback_getTypeOfProperty (PyObject *self, PyObject *args)
 callback for the getTypeOfProperty() method More...
 
static PyObjectstaticCallback_getTypeIdOfProperty (PyObject *self, PyObject *args)
 callback for the getTypeIdOfProperty() method More...
 
static PyObjectstaticCallback_setEditorMode (PyObject *self, PyObject *args)
 callback for the setEditorMode() method More...
 
static PyObjectstaticCallback_getEditorMode (PyObject *self, PyObject *args)
 callback for the getEditorMode() method More...
 
static PyObjectstaticCallback_getGroupOfProperty (PyObject *self, PyObject *args)
 callback for the getGroupOfProperty() method More...
 
static PyObjectstaticCallback_getDocumentationOfProperty (PyObject *self, PyObject *args)
 callback for the getDocumentationOfProperty() method More...
 
static PyObjectstaticCallback_getPropertiesList (PyObject *self, void *closure)
 getter callback for the PropertiesList attribute More...
 
static int staticCallback_setPropertiesList (PyObject *self, PyObject *value, void *closure)
 setter callback for the PropertiesList attribute More...
 
- Static Public Member Functions inherited from Base::PersistencePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_getContent (PyObject *self, void *closure)
 getter callback for the Content attribute More...
 
static int staticCallback_setContent (PyObject *self, PyObject *value, void *closure)
 setter callback for the Content attribute More...
 
static PyObjectstaticCallback_getMemSize (PyObject *self, void *closure)
 getter callback for the MemSize attribute More...
 
static int staticCallback_setMemSize (PyObject *self, PyObject *value, void *closure)
 setter callback for the MemSize attribute More...
 
- Static Public Member Functions inherited from Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_getTypeId (PyObject *self, void *closure)
 getter callback for the TypeId attribute More...
 
static int staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure)
 setter callback for the TypeId attribute More...
 
static PyObjectstaticCallback_getModule (PyObject *self, void *closure)
 getter callback for the Module attribute More...
 
static int staticCallback_setModule (PyObject *self, PyObject *value, void *closure)
 setter callback for the Module attribute More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of MeshFeaturePy. More...
 
static PyMethodDef Methods []
 Methods structure of MeshFeaturePy. More...
 
static PyTypeObject Type
 Type structure of MeshFeaturePy. More...
 
- Static Public Attributes inherited from App::DocumentObjectPy
static PyGetSetDef GetterSetter []
 Attribute structure of DocumentObjectPy. More...
 
static PyMethodDef Methods []
 Methods structure of DocumentObjectPy. More...
 
static PyTypeObject Type
 Type structure of DocumentObjectPy. More...
 
- Static Public Attributes inherited from App::ExtensionContainerPy
static PyGetSetDef GetterSetter []
 Attribute structure of ExtensionContainerPy. More...
 
static PyMethodDef Methods []
 Methods structure of ExtensionContainerPy. More...
 
static PyTypeObject Type
 Type structure of ExtensionContainerPy. More...
 
- Static Public Attributes inherited from App::PropertyContainerPy
static PyGetSetDef GetterSetter []
 Attribute structure of PropertyContainerPy. More...
 
static PyMethodDef Methods []
 Methods structure of PropertyContainerPy. More...
 
static PyTypeObject Type
 Type structure of PropertyContainerPy. More...
 
- Static Public Attributes inherited from Base::PersistencePy
static PyGetSetDef GetterSetter []
 Attribute structure of PersistencePy. More...
 
static PyMethodDef Methods []
 Methods structure of PersistencePy. More...
 
static PyTypeObject Type
 Type structure of PersistencePy. More...
 
- Static Public Attributes inherited from Base::BaseClassPy
static PyGetSetDef GetterSetter []
 Attribute structure of BaseClassPy. More...
 
static PyMethodDef Methods []
 Methods structure of BaseClassPy. More...
 
static PyTypeObject Type
 Type structure of BaseClassPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

callbacks and implementers for the python object methods

PyObjectcountPoints (PyObject *args)
 implementer for the countPoints() method More...
 
PyObjectcountFacets (PyObject *args)
 implementer for the countFacets() method More...
 
PyObjectharmonizeNormals (PyObject *args)
 implementer for the harmonizeNormals() method More...
 
PyObjectsmooth (PyObject *args)
 implementer for the smooth() method More...
 
PyObjectremoveNonManifolds (PyObject *args)
 implementer for the removeNonManifolds() method More...
 
PyObjectremoveNonManifoldPoints (PyObject *args)
 implementer for the removeNonManifoldPoints() method More...
 
PyObjectfixIndices (PyObject *args)
 implementer for the fixIndices() method More...
 
PyObjectfixDegenerations (PyObject *args)
 implementer for the fixDegenerations() method More...
 
PyObjectremoveDuplicatedFacets (PyObject *args)
 implementer for the removeDuplicatedFacets() method More...
 
PyObjectremoveDuplicatedPoints (PyObject *args)
 implementer for the removeDuplicatedPoints() method More...
 
PyObjectfixSelfIntersections (PyObject *args)
 implementer for the fixSelfIntersections() method More...
 
PyObjectremoveFoldsOnSurface (PyObject *args)
 implementer for the removeFoldsOnSurface() method More...
 
PyObjectremoveInvalidPoints (PyObject *args)
 implementer for the removeInvalidPoints() method More...
 
static PyObjectstaticCallback_countPoints (PyObject *self, PyObject *args)
 callback for the countPoints() method More...
 
static PyObjectstaticCallback_countFacets (PyObject *self, PyObject *args)
 callback for the countFacets() method More...
 
static PyObjectstaticCallback_harmonizeNormals (PyObject *self, PyObject *args)
 callback for the harmonizeNormals() method More...
 
static PyObjectstaticCallback_smooth (PyObject *self, PyObject *args)
 callback for the smooth() method More...
 
static PyObjectstaticCallback_removeNonManifolds (PyObject *self, PyObject *args)
 callback for the removeNonManifolds() method More...
 
static PyObjectstaticCallback_removeNonManifoldPoints (PyObject *self, PyObject *args)
 callback for the removeNonManifoldPoints() method More...
 
static PyObjectstaticCallback_fixIndices (PyObject *self, PyObject *args)
 callback for the fixIndices() method More...
 
static PyObjectstaticCallback_fixDegenerations (PyObject *self, PyObject *args)
 callback for the fixDegenerations() method More...
 
static PyObjectstaticCallback_removeDuplicatedFacets (PyObject *self, PyObject *args)
 callback for the removeDuplicatedFacets() method More...
 
static PyObjectstaticCallback_removeDuplicatedPoints (PyObject *self, PyObject *args)
 callback for the removeDuplicatedPoints() method More...
 
static PyObjectstaticCallback_fixSelfIntersections (PyObject *self, PyObject *args)
 callback for the fixSelfIntersections() method More...
 
static PyObjectstaticCallback_removeFoldsOnSurface (PyObject *self, PyObject *args)
 callback for the removeFoldsOnSurface() method More...
 
static PyObjectstaticCallback_removeInvalidPoints (PyObject *self, PyObject *args)
 callback for the removeInvalidPoints() method More...
 

Additional Inherited Members

- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 
- Protected Attributes inherited from Base::PyObjectBase
char * attribute
 
PyObjectBaseparent
 
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for Feature.

Member Typedef Documentation

Constructor & Destructor Documentation

MeshFeaturePy::MeshFeaturePy ( Feature pcObject,
PyTypeObject *  T = &Type 
)

Member Function Documentation

PyObject * MeshFeaturePy::countFacets ( PyObject args)

implementer for the countFacets() method

References getFeaturePtr().

Referenced by getFeaturePtr(), and staticCallback_countFacets().

PyObject * MeshFeaturePy::countPoints ( PyObject args)

implementer for the countPoints() method

References getFeaturePtr().

Referenced by getFeaturePtr(), and staticCallback_countPoints().

PyObject * MeshFeaturePy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

Referenced by getFeaturePtr(), and ~MeshFeaturePy().

virtual PyTypeObject* Mesh::MeshFeaturePy::GetType ( void  )
inlinevirtual

Reimplemented from App::DocumentObjectPy.

int MeshFeaturePy::PyInit ( PyObject ,
PyObject  
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constuctor)

Reimplemented from App::DocumentObjectPy.

PyObject * MeshFeaturePy::PyMake ( struct _typeobject *  ,
PyObject ,
PyObject  
)
static
std::string MeshFeaturePy::representation ( void  ) const
int MeshFeaturePy::setCustomAttributes ( const char *  attr,
PyObject obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

Referenced by getFeaturePtr(), and ~MeshFeaturePy().

Member Data Documentation

PyGetSetDef MeshFeaturePy::GetterSetter
static
Initial value:
= {
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of MeshFeaturePy.

PyMethodDef MeshFeaturePy::Methods
static

Methods structure of MeshFeaturePy.

Referenced by ~MeshFeaturePy().

PyTypeObject MeshFeaturePy::Type
static

The documentation for this class was generated from the following files:
  • builds/webdocs/src/Mod/Mesh/App/MeshFeaturePy.h
  • src/src/Mod/Mesh/App/MeshFeaturePyImp.cpp
  • builds/webdocs/src/Mod/Mesh/App/MeshFeaturePy.cpp