The python export class for Matrix. More...
#include <MatrixPy.h>
Public Types | |
typedef Matrix4D * | PointerType |
Public Member Functions | |
PyObject * | _getattr (char *attr) |
GetAttribute implementation This method implements the retriavel of object attributes. | |
virtual PyObject * | _repr (void) |
_repr method Overide this method to return a string object with some invormation about the object. | |
int | _setattr (char *attr, PyObject *value) |
SetAttribute implementation This method implements the seting of object attributes. | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) | |
Matrix4D * | getMatrixPtr (void) const |
getter for the object handled by this class | |
virtual PyParentObject * | GetParents (void) |
virtual PyTypeObject * | GetType (void) |
MatrixPy (Matrix4D *pcObject, PyTypeObject *T=&Type) | |
virtual int | PyInit (PyObject *args, PyObject *k) |
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor). | |
std::string | representation (void) const |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. dynamic ones) | |
~MatrixPy () | |
additional declarations and methods for the wrapper class | |
MatrixPy (const Matrix4D &mat, PyTypeObject *T=&Type) | |
Matrix4D | value () const |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
callbacks and implementers for the python object number protocol | |
static PyObject * | number_add_handler (PyObject *self, PyObject *other) |
callback for the number_add_handler | |
static PyObject * | number_multiply_handler (PyObject *self, PyObject *other) |
callback for the number_multiply_handler | |
static PyObject * | number_subtract_handler (PyObject *self, PyObject *other) |
callback for the number_subtract_handler | |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of MatrixPy. | |
static PyMethodDef | Methods [] |
Methods structure of MatrixPy. | |
static PyNumberMethods | Number [] |
static PyParentObject | Parents [] = { PARENTSBaseMatrixPy } |
static PyTypeObject | Type |
Type structure of MatrixPy. | |
callbacks and implementers for the python object methods | |
| |
PyObject * | determinant (PyObject *args) |
implementer for the determinant() method | |
PyObject * | inverse (PyObject *args) |
implementer for the inverse() method | |
PyObject * | invert (PyObject *args) |
implementer for the invert() method | |
PyObject * | move (PyObject *args) |
implementer for the move() method | |
PyObject * | multiply (PyObject *args) |
implementer for the multiply() method | |
PyObject * | rotateX (PyObject *args) |
implementer for the rotateX() method | |
PyObject * | rotateY (PyObject *args) |
implementer for the rotateY() method | |
PyObject * | rotateZ (PyObject *args) |
implementer for the rotateZ() method | |
PyObject * | scale (PyObject *args) |
implementer for the scale() method | |
PyObject * | transform (PyObject *args) |
implementer for the transform() method | |
PyObject * | unity (PyObject *args) |
implementer for the unity() method | |
static PyObject * | staticCallback_determinant (PyObject *self, PyObject *args) |
callback for the determinant() method | |
static PyObject * | staticCallback_inverse (PyObject *self, PyObject *args) |
callback for the inverse() method | |
static PyObject * | staticCallback_invert (PyObject *self, PyObject *args) |
callback for the invert() method | |
static PyObject * | staticCallback_move (PyObject *self, PyObject *args) |
callback for the move() method | |
static PyObject * | staticCallback_multiply (PyObject *self, PyObject *args) |
callback for the multiply() method | |
static PyObject * | staticCallback_rotateX (PyObject *self, PyObject *args) |
callback for the rotateX() method | |
static PyObject * | staticCallback_rotateY (PyObject *self, PyObject *args) |
callback for the rotateY() method | |
static PyObject * | staticCallback_rotateZ (PyObject *self, PyObject *args) |
callback for the rotateZ() method | |
static PyObject * | staticCallback_scale (PyObject *self, PyObject *args) |
callback for the scale() method | |
static PyObject * | staticCallback_transform (PyObject *self, PyObject *args) |
callback for the transform() method | |
static PyObject * | staticCallback_unity (PyObject *self, PyObject *args) |
callback for the unity() method | |
callbacks and implementers for the python object attributes | |
| |
Py::List | getA (void) const |
getter for the A attribute | |
Py::Float | getA11 (void) const |
getter for the A11 attribute | |
Py::Float | getA12 (void) const |
getter for the A12 attribute | |
Py::Float | getA13 (void) const |
getter for the A13 attribute | |
Py::Float | getA14 (void) const |
getter for the A14 attribute | |
Py::Float | getA21 (void) const |
getter for the A21 attribute | |
Py::Float | getA22 (void) const |
getter for the A22 attribute | |
Py::Float | getA23 (void) const |
getter for the A23 attribute | |
Py::Float | getA24 (void) const |
getter for the A24 attribute | |
Py::Float | getA31 (void) const |
getter for the A31 attribute | |
Py::Float | getA32 (void) const |
getter for the A32 attribute | |
Py::Float | getA33 (void) const |
getter for the A33 attribute | |
Py::Float | getA34 (void) const |
getter for the A34 attribute | |
Py::Float | getA41 (void) const |
getter for the A41 attribute | |
Py::Float | getA42 (void) const |
getter for the A42 attribute | |
Py::Float | getA43 (void) const |
getter for the A43 attribute | |
Py::Float | getA44 (void) const |
getter for the A44 attribute | |
void | setA (Py::List arg) |
setter for the A attribute | |
void | setA11 (Py::Float arg) |
setter for the A11 attribute | |
void | setA12 (Py::Float arg) |
setter for the A12 attribute | |
void | setA13 (Py::Float arg) |
setter for the A13 attribute | |
void | setA14 (Py::Float arg) |
setter for the A14 attribute | |
void | setA21 (Py::Float arg) |
setter for the A21 attribute | |
void | setA22 (Py::Float arg) |
setter for the A22 attribute | |
void | setA23 (Py::Float arg) |
setter for the A23 attribute | |
void | setA24 (Py::Float arg) |
setter for the A24 attribute | |
void | setA31 (Py::Float arg) |
setter for the A31 attribute | |
void | setA32 (Py::Float arg) |
setter for the A32 attribute | |
void | setA33 (Py::Float arg) |
setter for the A33 attribute | |
void | setA34 (Py::Float arg) |
setter for the A34 attribute | |
void | setA41 (Py::Float arg) |
setter for the A41 attribute | |
void | setA42 (Py::Float arg) |
setter for the A42 attribute | |
void | setA43 (Py::Float arg) |
setter for the A43 attribute | |
void | setA44 (Py::Float arg) |
setter for the A44 attribute | |
static PyObject * | staticCallback_getA (PyObject *self, void *closure) |
getter callback for the A attribute | |
static PyObject * | staticCallback_getA11 (PyObject *self, void *closure) |
getter callback for the A11 attribute | |
static PyObject * | staticCallback_getA12 (PyObject *self, void *closure) |
getter callback for the A12 attribute | |
static PyObject * | staticCallback_getA13 (PyObject *self, void *closure) |
getter callback for the A13 attribute | |
static PyObject * | staticCallback_getA14 (PyObject *self, void *closure) |
getter callback for the A14 attribute | |
static PyObject * | staticCallback_getA21 (PyObject *self, void *closure) |
getter callback for the A21 attribute | |
static PyObject * | staticCallback_getA22 (PyObject *self, void *closure) |
getter callback for the A22 attribute | |
static PyObject * | staticCallback_getA23 (PyObject *self, void *closure) |
getter callback for the A23 attribute | |
static PyObject * | staticCallback_getA24 (PyObject *self, void *closure) |
getter callback for the A24 attribute | |
static PyObject * | staticCallback_getA31 (PyObject *self, void *closure) |
getter callback for the A31 attribute | |
static PyObject * | staticCallback_getA32 (PyObject *self, void *closure) |
getter callback for the A32 attribute | |
static PyObject * | staticCallback_getA33 (PyObject *self, void *closure) |
getter callback for the A33 attribute | |
static PyObject * | staticCallback_getA34 (PyObject *self, void *closure) |
getter callback for the A34 attribute | |
static PyObject * | staticCallback_getA41 (PyObject *self, void *closure) |
getter callback for the A41 attribute | |
static PyObject * | staticCallback_getA42 (PyObject *self, void *closure) |
getter callback for the A42 attribute | |
static PyObject * | staticCallback_getA43 (PyObject *self, void *closure) |
getter callback for the A43 attribute | |
static PyObject * | staticCallback_getA44 (PyObject *self, void *closure) |
getter callback for the A44 attribute | |
static int | staticCallback_setA (PyObject *self, PyObject *value, void *closure) |
setter callback for the A attribute | |
static int | staticCallback_setA11 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A11 attribute | |
static int | staticCallback_setA12 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A12 attribute | |
static int | staticCallback_setA13 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A13 attribute | |
static int | staticCallback_setA14 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A14 attribute | |
static int | staticCallback_setA21 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A21 attribute | |
static int | staticCallback_setA22 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A22 attribute | |
static int | staticCallback_setA23 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A23 attribute | |
static int | staticCallback_setA24 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A24 attribute | |
static int | staticCallback_setA31 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A31 attribute | |
static int | staticCallback_setA32 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A32 attribute | |
static int | staticCallback_setA33 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A33 attribute | |
static int | staticCallback_setA34 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A34 attribute | |
static int | staticCallback_setA41 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A41 attribute | |
static int | staticCallback_setA42 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A42 attribute | |
static int | staticCallback_setA43 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A43 attribute | |
static int | staticCallback_setA44 (PyObject *self, PyObject *value, void *closure) |
setter callback for the A44 attribute |
The python export class for Matrix.
Definition at line 20 of file MatrixPy.h.
typedef Matrix4D* Base::MatrixPy::PointerType |
Reimplemented from Base::PyObjectBase.
Definition at line 37 of file MatrixPy.h.
Definition at line 1842 of file MatrixPy.cpp.
Referenced by inverse(), multiply(), number_add_handler(), number_multiply_handler(), number_subtract_handler(), and PyMake().
MatrixPy::~MatrixPy | ( | ) |
Definition at line 1851 of file MatrixPy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Definition at line 253 of file MatrixPy.h.
PyObject * MatrixPy::_getattr | ( | char * | attr | ) | [virtual] |
GetAttribute implementation This method implements the retriavel of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class. Note: if you reimplement _gettattr() in a inheriting class you need to call the method of the base class! Otherwise even the methods of the object will disapiear!
Reimplemented from Base::PyObjectBase.
Definition at line 1869 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), getCustomAttributes(), Methods, Base::Exception::ReportException(), and Base::Exception::what().
PyObject * MatrixPy::_repr | ( | void | ) | [virtual] |
_repr method Overide this method to return a string object with some invormation about the object.
PyObject *MeshFeaturePy::_repr(void) { std::stringstream a; a << "MeshFeature: [ "; a << "some realy important info about the object!"; a << "]" << std::endl; return Py_BuildValue("s", a.str().c_str()); }
Reimplemented from Base::PyObjectBase.
Definition at line 1861 of file MatrixPy.cpp.
References representation().
int MatrixPy::_setattr | ( | char * | attr, | |
PyObject * | value | |||
) | [virtual] |
SetAttribute implementation This method implements the seting of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class.
Reimplemented from Base::PyObjectBase.
Definition at line 1937 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::Exception::ReportException(), setCustomAttributes(), and Base::Exception::what().
implementer for the determinant() method
Definition at line 345 of file MatrixPyImp.cpp.
References getMatrixPtr().
Py::List MatrixPy::getA | ( | void | ) | const |
getter for the A attribute
Definition at line 528 of file MatrixPyImp.cpp.
Referenced by staticCallback_getA().
Py::Float MatrixPy::getA11 | ( | void | ) | const |
getter for the A11 attribute
Definition at line 352 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA11().
Py::Float MatrixPy::getA12 | ( | void | ) | const |
getter for the A12 attribute
Definition at line 363 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA12().
Py::Float MatrixPy::getA13 | ( | void | ) | const |
getter for the A13 attribute
Definition at line 374 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA13().
Py::Float MatrixPy::getA14 | ( | void | ) | const |
getter for the A14 attribute
Definition at line 385 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA14().
Py::Float MatrixPy::getA21 | ( | void | ) | const |
getter for the A21 attribute
Definition at line 396 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA21().
Py::Float MatrixPy::getA22 | ( | void | ) | const |
getter for the A22 attribute
Definition at line 407 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA22().
Py::Float MatrixPy::getA23 | ( | void | ) | const |
getter for the A23 attribute
Definition at line 418 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA23().
Py::Float MatrixPy::getA24 | ( | void | ) | const |
getter for the A24 attribute
Definition at line 429 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA24().
Py::Float MatrixPy::getA31 | ( | void | ) | const |
getter for the A31 attribute
Definition at line 440 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA31().
Py::Float MatrixPy::getA32 | ( | void | ) | const |
getter for the A32 attribute
Definition at line 451 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA32().
Py::Float MatrixPy::getA33 | ( | void | ) | const |
getter for the A33 attribute
Definition at line 462 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA33().
Py::Float MatrixPy::getA34 | ( | void | ) | const |
getter for the A34 attribute
Definition at line 473 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA34().
Py::Float MatrixPy::getA41 | ( | void | ) | const |
getter for the A41 attribute
Definition at line 484 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA41().
Py::Float MatrixPy::getA42 | ( | void | ) | const |
getter for the A42 attribute
Definition at line 495 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA42().
Py::Float MatrixPy::getA43 | ( | void | ) | const |
getter for the A43 attribute
Definition at line 506 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA43().
Py::Float MatrixPy::getA44 | ( | void | ) | const |
getter for the A44 attribute
Definition at line 517 of file MatrixPyImp.cpp.
References getMatrixPtr().
Referenced by staticCallback_getA44().
PyObject * MatrixPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
Definition at line 538 of file MatrixPyImp.cpp.
Referenced by _getattr().
Matrix4D * MatrixPy::getMatrixPtr | ( | void | ) | const |
getter for the object handled by this class
Definition at line 1996 of file MatrixPy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Referenced by determinant(), getA11(), getA12(), getA13(), getA14(), getA21(), getA22(), getA23(), getA24(), getA31(), getA32(), getA33(), getA34(), getA41(), getA42(), getA43(), getA44(), inverse(), invert(), move(), multiply(), representation(), rotateX(), rotateY(), rotateZ(), scale(), setA11(), setA12(), setA13(), setA14(), setA21(), setA22(), setA23(), setA24(), setA31(), setA32(), setA33(), setA34(), setA41(), setA42(), setA43(), setA44(), transform(), and unity().
virtual PyParentObject* Base::MatrixPy::GetParents | ( | void | ) | [inline, virtual] |
Reimplemented from Base::PyObjectBase.
Definition at line 29 of file MatrixPy.h.
virtual PyTypeObject* Base::MatrixPy::GetType | ( | void | ) | [inline, virtual] |
Reimplemented from Base::PyObjectBase.
Definition at line 28 of file MatrixPy.h.
implementer for the inverse() method
Definition at line 324 of file MatrixPyImp.cpp.
References determinant(), getMatrixPtr(), Base::Matrix4D::inverse(), FemExample::m, MatrixPy(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the invert() method
Definition at line 306 of file MatrixPyImp.cpp.
References determinant(), getMatrixPtr(), Base::Matrix4D::inverse(), PY_CATCH, Py_Return, and PY_TRY.
implementer for the move() method
Definition at line 136 of file MatrixPyImp.cpp.
References getMatrixPtr(), Base::VectorPy::getVectorPtr(), Base::Matrix4D::move(), PY_CATCH, Py_Return, PY_TRY, Base::Vector3< _Precision >::Set(), Base::VectorPy::Type, draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, MovieTool::x, Base::Vector3< _Precision >::y, MovieTool::y, and Base::Vector3< _Precision >::z.
implementer for the multiply() method
Definition at line 288 of file MatrixPyImp.cpp.
References getMatrixPtr(), MatrixPy(), Base::VectorPy::Type, Type, and draftlibs::fcgeo::vec().
callback for the number_add_handler
Definition at line 91 of file MatrixPyImp.cpp.
References FemExample::b, MatrixPy(), Type, and value().
callback for the number_multiply_handler
Definition at line 121 of file MatrixPyImp.cpp.
References FemExample::b, MatrixPy(), Type, and value().
callback for the number_subtract_handler
Definition at line 106 of file MatrixPyImp.cpp.
References FemExample::b, MatrixPy(), Type, and value().
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
Reimplemented from Base::PyObjectBase.
Definition at line 59 of file MatrixPyImp.cpp.
References Base::PyObjectBase::_pcTwinPointer, Type, and value().
Definition at line 52 of file MatrixPyImp.cpp.
References MatrixPy().
std::string MatrixPy::representation | ( | void | ) | const |
Definition at line 38 of file MatrixPyImp.cpp.
References getMatrixPtr(), and FemExample::m.
Referenced by _repr().
implementer for the rotateX() method
Definition at line 246 of file MatrixPyImp.cpp.
References getMatrixPtr(), PY_CATCH, Py_Return, PY_TRY, and Base::Matrix4D::rotX().
implementer for the rotateY() method
Definition at line 260 of file MatrixPyImp.cpp.
References getMatrixPtr(), PY_CATCH, Py_Return, PY_TRY, and Base::Matrix4D::rotY().
implementer for the rotateZ() method
Definition at line 274 of file MatrixPyImp.cpp.
References getMatrixPtr(), PY_CATCH, Py_Return, PY_TRY, and Base::Matrix4D::rotZ().
implementer for the scale() method
Definition at line 172 of file MatrixPyImp.cpp.
References getMatrixPtr(), Base::VectorPy::getVectorPtr(), PY_CATCH, Py_Return, PY_TRY, Base::Matrix4D::scale(), Base::Vector3< _Precision >::Set(), Base::VectorPy::Type, draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, MovieTool::x, Base::Vector3< _Precision >::y, MovieTool::y, and Base::Vector3< _Precision >::z.
void MatrixPy::setA | ( | Py::List | arg | ) |
setter for the A attribute
Definition at line 533 of file MatrixPyImp.cpp.
void MatrixPy::setA11 | ( | Py::Float | arg | ) |
setter for the A11 attribute
Definition at line 358 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA12 | ( | Py::Float | arg | ) |
setter for the A12 attribute
Definition at line 369 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA13 | ( | Py::Float | arg | ) |
setter for the A13 attribute
Definition at line 380 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA14 | ( | Py::Float | arg | ) |
setter for the A14 attribute
Definition at line 391 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA21 | ( | Py::Float | arg | ) |
setter for the A21 attribute
Definition at line 402 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA22 | ( | Py::Float | arg | ) |
setter for the A22 attribute
Definition at line 413 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA23 | ( | Py::Float | arg | ) |
setter for the A23 attribute
Definition at line 424 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA24 | ( | Py::Float | arg | ) |
setter for the A24 attribute
Definition at line 435 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA31 | ( | Py::Float | arg | ) |
setter for the A31 attribute
Definition at line 446 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA32 | ( | Py::Float | arg | ) |
setter for the A32 attribute
Definition at line 457 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA33 | ( | Py::Float | arg | ) |
setter for the A33 attribute
Definition at line 468 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA34 | ( | Py::Float | arg | ) |
setter for the A34 attribute
Definition at line 479 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA41 | ( | Py::Float | arg | ) |
setter for the A41 attribute
Definition at line 490 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA42 | ( | Py::Float | arg | ) |
setter for the A42 attribute
Definition at line 501 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA43 | ( | Py::Float | arg | ) |
setter for the A43 attribute
Definition at line 512 of file MatrixPyImp.cpp.
References getMatrixPtr().
void MatrixPy::setA44 | ( | Py::Float | arg | ) |
setter for the A44 attribute
Definition at line 523 of file MatrixPyImp.cpp.
References getMatrixPtr().
int MatrixPy::setCustomAttributes | ( | const char * | attr, | |
PyObject * | obj | |||
) |
setter for special attributes (e.g. dynamic ones)
Definition at line 543 of file MatrixPyImp.cpp.
Referenced by _setattr().
callback for the determinant() method
Definition at line 1011 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the A attribute
Definition at line 1791 of file MatrixPy.cpp.
References getA(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A11 attribute
Definition at line 1087 of file MatrixPy.cpp.
References getA11(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A12 attribute
Definition at line 1131 of file MatrixPy.cpp.
References getA12(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A13 attribute
Definition at line 1175 of file MatrixPy.cpp.
References getA13(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A14 attribute
Definition at line 1219 of file MatrixPy.cpp.
References getA14(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A21 attribute
Definition at line 1263 of file MatrixPy.cpp.
References getA21(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A22 attribute
Definition at line 1307 of file MatrixPy.cpp.
References getA22(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A23 attribute
Definition at line 1351 of file MatrixPy.cpp.
References getA23(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A24 attribute
Definition at line 1395 of file MatrixPy.cpp.
References getA24(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A31 attribute
Definition at line 1439 of file MatrixPy.cpp.
References getA31(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A32 attribute
Definition at line 1483 of file MatrixPy.cpp.
References getA32(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A33 attribute
Definition at line 1527 of file MatrixPy.cpp.
References getA33(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A34 attribute
Definition at line 1571 of file MatrixPy.cpp.
References getA34(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A41 attribute
Definition at line 1615 of file MatrixPy.cpp.
References getA41(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A42 attribute
Definition at line 1659 of file MatrixPy.cpp.
References getA42(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A43 attribute
Definition at line 1703 of file MatrixPy.cpp.
References getA43(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
getter callback for the A44 attribute
Definition at line 1747 of file MatrixPy.cpp.
References getA44(), Base::PyObjectBase::isValid(), and Py::new_reference_to().
callback for the inverse() method
Definition at line 935 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the invert() method
Definition at line 859 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the move() method
Definition at line 251 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the multiply() method
Definition at line 783 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the rotateX() method
Definition at line 555 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the rotateY() method
Definition at line 631 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the rotateZ() method
Definition at line 707 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the scale() method
Definition at line 327 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
setter callback for the A attribute
Definition at line 1809 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A11 attribute
Definition at line 1105 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A12 attribute
Definition at line 1149 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A13 attribute
Definition at line 1193 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A14 attribute
Definition at line 1237 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A21 attribute
Definition at line 1281 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A22 attribute
Definition at line 1325 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A23 attribute
Definition at line 1369 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A24 attribute
Definition at line 1413 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A31 attribute
Definition at line 1457 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A32 attribute
Definition at line 1501 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A33 attribute
Definition at line 1545 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A34 attribute
Definition at line 1589 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A41 attribute
Definition at line 1633 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A42 attribute
Definition at line 1677 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A43 attribute
Definition at line 1721 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
setter callback for the A44 attribute
Definition at line 1765 of file MatrixPy.cpp.
References Base::PyObjectBase::isConst(), and Base::PyObjectBase::isValid().
callback for the transform() method
Definition at line 479 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the unity() method
Definition at line 403 of file MatrixPy.cpp.
References Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::Exception::ReportException(), and Base::Exception::what().
implementer for the transform() method
Definition at line 220 of file MatrixPyImp.cpp.
References getMatrixPtr(), Base::VectorPy::getVectorPtr(), PY_CATCH, Py_Return, PY_TRY, Base::Vector3< _Precision >::Set(), Base::Matrix4D::transform(), Type, Base::VectorPy::Type, draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the unity() method
Definition at line 208 of file MatrixPyImp.cpp.
References getMatrixPtr(), PY_CATCH, Py_Return, PY_TRY, and Base::Matrix4D::setToUnity().
Matrix4D Base::MatrixPy::value | ( | ) | const [inline] |
Definition at line 255 of file MatrixPy.h.
Referenced by number_add_handler(), number_multiply_handler(), number_subtract_handler(), PyInit(), App::PropertyPlacement::setPyObject(), App::PropertyMatrix::setPyObject(), and Robot::Robot6AxisPy::setTcp().
PyGetSetDef MatrixPy::GetterSetter [static] |
Attribute structure of MatrixPy.
Definition at line 26 of file MatrixPy.h.
PyMethodDef MatrixPy::Methods [static] |
Methods structure of MatrixPy.
Reimplemented from Base::PyObjectBase.
Definition at line 24 of file MatrixPy.h.
Referenced by _getattr().
PyNumberMethods MatrixPy::Number [static] |
{ { number_add_handler, number_subtract_handler, number_multiply_handler, NULL } }
Definition at line 25 of file MatrixPy.h.
PyParentObject MatrixPy::Parents = { PARENTSBaseMatrixPy } [static] |
Reimplemented from Base::PyObjectBase.
Definition at line 27 of file MatrixPy.h.
PyTypeObject MatrixPy::Type [static] |
Reimplemented from Base::PyObjectBase.
Definition at line 23 of file MatrixPy.h.
Referenced by multiply(), number_add_handler(), number_multiply_handler(), number_subtract_handler(), Base::PlacementPy::PyInit(), PyInit(), Data::ComplexGeoDataPy::setMatrix(), Gui::DocumentPy::setPos(), App::PropertyPlacement::setPyObject(), App::PropertyMatrix::setPyObject(), Robot::Robot6AxisPy::setTcp(), Gui::ViewProviderPy::setTransformation(), Mesh::MeshPy::transform(), transform(), Part::GeometryPy::transform(), Part::TopoShapePy::transformGeometry(), and Part::TopoShapePy::transformShape().