The python export class for MeshPoint. More...
#include <MeshPointPy.h>
Public Types | |
typedef MeshPoint * | PointerType |
Public Types inherited from Base::PyObjectBase | |
typedef void * | PointerType |
enum | Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } |
Public Member Functions | |
virtual PyTypeObject * | GetType (void) |
MeshPointPy (MeshPoint *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 (Constructor) More... | |
std::string | representation (void) const |
Public Member Functions inherited from Base::PyObjectBase | |
PyObjectBase * | DecRef (void) |
decref method wrapper (see python extending manual) More... | |
PyObjectBase * | IncRef (void) |
incref method wrapper (see python extending manual) More... | |
bool | isConst () |
bool | isNotTracking () const |
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 | setConst () |
void | setInvalid () |
void | setNotTracking (bool on=true) |
void | setShouldNotify (bool on) |
bool | shouldNotify () const |
void | startNotify () |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
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 MeshPointPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of MeshPointPy. More... | |
static PyTypeObject | Type |
Type structure of MeshPointPy. More... | |
Static Public Attributes inherited from Base::PyObjectBase | |
static PyMethodDef | Methods [] |
static PyTypeObject | Type |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~MeshPointPy () | |
Protected Member Functions inherited from Base::PyObjectBase | |
virtual | ~PyObjectBase () |
destructor More... | |
callbacks and implementers for the python object methods | |
PyObject * | unbound (PyObject *args) |
implementer for the unbound() method More... | |
PyObject * | move (PyObject *args) |
implementer for the move() method More... | |
static PyObject * | staticCallback_unbound (PyObject *self, PyObject *args) |
callback for the unbound() method More... | |
static PyObject * | staticCallback_move (PyObject *self, PyObject *args) |
callback for the move() method More... | |
callbacks and implementers for the python object attributes | |
Py::Long | getIndex (void) const |
getter for the Index attribute More... | |
Py::Boolean | getBound (void) const |
getter for the Bound attribute More... | |
Py::Object | getNormal (void) const |
getter for the Normal attribute More... | |
Py::Object | getVector (void) const |
getter for the Vector attribute More... | |
Py::Float | getx (void) const |
getter for the x attribute More... | |
void | setx (Py::Float arg) |
setter for the x attribute More... | |
Py::Float | gety (void) const |
getter for the y attribute More... | |
void | sety (Py::Float arg) |
setter for the y attribute More... | |
Py::Float | getz (void) const |
getter for the z attribute More... | |
void | setz (Py::Float arg) |
setter for the z attribute More... | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) More... | |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. More... | |
MeshPoint * | getMeshPointPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getIndex (PyObject *self, void *closure) |
getter callback for the Index attribute More... | |
static int | staticCallback_setIndex (PyObject *self, PyObject *value, void *closure) |
setter callback for the Index attribute More... | |
static PyObject * | staticCallback_getBound (PyObject *self, void *closure) |
getter callback for the Bound attribute More... | |
static int | staticCallback_setBound (PyObject *self, PyObject *value, void *closure) |
setter callback for the Bound attribute More... | |
static PyObject * | staticCallback_getNormal (PyObject *self, void *closure) |
getter callback for the Normal attribute More... | |
static int | staticCallback_setNormal (PyObject *self, PyObject *value, void *closure) |
setter callback for the Normal attribute More... | |
static PyObject * | staticCallback_getVector (PyObject *self, void *closure) |
getter callback for the Vector attribute More... | |
static int | staticCallback_setVector (PyObject *self, PyObject *value, void *closure) |
setter callback for the Vector attribute More... | |
static PyObject * | staticCallback_getx (PyObject *self, void *closure) |
getter callback for the x attribute More... | |
static int | staticCallback_setx (PyObject *self, PyObject *value, void *closure) |
setter callback for the x attribute More... | |
static PyObject * | staticCallback_gety (PyObject *self, void *closure) |
getter callback for the y attribute More... | |
static int | staticCallback_sety (PyObject *self, PyObject *value, void *closure) |
setter callback for the y attribute More... | |
static PyObject * | staticCallback_getz (PyObject *self, void *closure) |
getter callback for the z attribute More... | |
static int | staticCallback_setz (PyObject *self, PyObject *value, void *closure) |
setter callback for the z attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for MeshPoint.
Member Typedef Documentation
◆ PointerType
typedef MeshPoint* Mesh::MeshPointPy::PointerType |
Constructor & Destructor Documentation
◆ ~MeshPointPy()
|
protected |
◆ MeshPointPy()
Member Function Documentation
◆ getBound()
Py::Boolean MeshPointPy::getBound | ( | void | ) | const |
getter for the Bound attribute
References getMeshPointPtr().
Referenced by staticCallback_getBound().
◆ getCustomAttributes()
PyObject * MeshPointPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getIndex()
Py::Long MeshPointPy::getIndex | ( | void | ) | const |
getter for the Index attribute
References getMeshPointPtr().
Referenced by staticCallback_getIndex().
◆ getMeshPointPtr()
MeshPoint * MeshPointPy::getMeshPointPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getBound(), getIndex(), getNormal(), getx(), gety(), getz(), move(), PyInit(), representation(), setx(), sety(), setz(), and unbound().
◆ getNormal()
Py::Object MeshPointPy::getNormal | ( | void | ) | const |
getter for the Normal attribute
References getMeshPointPtr(), and Base::PyObjectBase::setConst().
Referenced by staticCallback_getNormal().
◆ GetType()
|
virtual |
Reimplemented from Base::PyObjectBase.
◆ getVector()
Py::Object MeshPointPy::getVector | ( | void | ) | const |
getter for the Vector attribute
Referenced by staticCallback_getVector().
◆ getx()
Py::Float MeshPointPy::getx | ( | void | ) | const |
getter for the x attribute
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_getx().
◆ gety()
Py::Float MeshPointPy::gety | ( | void | ) | const |
getter for the y attribute
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_gety().
◆ getz()
Py::Float MeshPointPy::getz | ( | void | ) | const |
getter for the z attribute
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_getz().
◆ move()
implementer for the move() method
References getMeshPointPtr(), Mesh::MeshPoint::Mesh, and Base::VectorPy::Type.
Referenced by staticCallback_move().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::PyObjectBase.
References getMeshPointPtr().
◆ PyMake()
References MeshPointPy().
◆ representation()
std::string MeshPointPy::representation | ( | void | ) | const |
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr2(), config_control_design.degenerate_pcurve::wr2(), automotive_design.pcurve::wr2(), and automotive_design.degenerate_pcurve::wr2().
◆ setCustomAttributes()
int MeshPointPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setx()
void MeshPointPy::setx | ( | Py::Float | arg | ) |
setter for the x attribute
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_setx().
◆ sety()
void MeshPointPy::sety | ( | Py::Float | arg | ) |
setter for the y attribute
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_sety().
◆ setz()
void MeshPointPy::setz | ( | Py::Float | arg | ) |
setter for the z attribute
References getMeshPointPtr(), Mesh::MeshPoint::Index, Mesh::MeshPoint::isBound(), and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_setz().
◆ staticCallback_getBound()
getter callback for the Bound attribute
References Base::BaseExceptionFreeCADError, getBound(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getIndex()
getter callback for the Index attribute
References Base::BaseExceptionFreeCADError, getIndex(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getNormal()
getter callback for the Normal attribute
References Base::BaseExceptionFreeCADError, getNormal(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getVector()
getter callback for the Vector attribute
References Base::BaseExceptionFreeCADError, getVector(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getx()
getter callback for the x attribute
References Base::BaseExceptionFreeCADError, getx(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_gety()
getter callback for the y attribute
References Base::BaseExceptionFreeCADError, gety(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getz()
getter callback for the z attribute
References Base::BaseExceptionFreeCADError, getz(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_move()
callback for the move() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), move(), Base::PyObjectBase::PyObjectBase(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setBound()
|
static |
setter callback for the Bound attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setIndex()
|
static |
setter callback for the Index attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setNormal()
|
static |
setter callback for the Normal attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setVector()
|
static |
setter callback for the Vector attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setx()
setter callback for the x attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setx().
◆ staticCallback_sety()
setter callback for the y attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and sety().
◆ staticCallback_setz()
setter callback for the z attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setz().
◆ staticCallback_unbound()
callback for the unbound() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::PyObjectBase::startNotify(), and unbound().
◆ unbound()
implementer for the unbound() method
References getMeshPointPtr(), Mesh::MeshPoint::Index, and Mesh::MeshPoint::Mesh.
Referenced by staticCallback_unbound().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of MeshPointPy.
◆ Methods
|
static |
Methods structure of MeshPointPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Mesh/App/MeshPointPy.h
- src/Mod/Mesh/App/MeshPointPyImp.cpp
- build/webdoc/src/Mod/Mesh/App/MeshPointPy.cpp