The python export class for CoordinateSystem. More...
#include <CoordinateSystemPy.h>
Public Types | |
typedef CoordinateSystem * | PointerType |
Public Types inherited from Base::PyObjectBase | |
typedef void * | PointerType |
enum | Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } |
Public Member Functions | |
CoordinateSystemPy (CoordinateSystem *pcObject, PyTypeObject *T=&Type) | |
virtual PyTypeObject * | GetType (void) |
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 CoordinateSystemPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of CoordinateSystemPy. More... | |
static PyTypeObject | Type |
Type structure of CoordinateSystemPy. More... | |
Static Public Attributes inherited from Base::PyObjectBase | |
static PyMethodDef | Methods [] |
static PyTypeObject | Type |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~CoordinateSystemPy () | |
Protected Member Functions inherited from Base::PyObjectBase | |
virtual | ~PyObjectBase () |
destructor More... | |
callbacks and implementers for the python object attributes | |
Py::Object | getAxis (void) const |
getter for the Axis attribute More... | |
void | setAxis (Py::Object arg) |
setter for the Axis attribute More... | |
Py::Object | getXDirection (void) const |
getter for the XDirection attribute More... | |
void | setXDirection (Py::Object arg) |
setter for the XDirection attribute More... | |
Py::Object | getYDirection (void) const |
getter for the YDirection attribute More... | |
void | setYDirection (Py::Object arg) |
setter for the YDirection attribute More... | |
Py::Object | getZDirection (void) const |
getter for the ZDirection attribute More... | |
void | setZDirection (Py::Object arg) |
setter for the ZDirection attribute More... | |
Py::Object | getPosition (void) const |
getter for the Position attribute More... | |
void | setPosition (Py::Object arg) |
setter for the Position 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... | |
CoordinateSystem * | getCoordinateSystemPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getAxis (PyObject *self, void *closure) |
getter callback for the Axis attribute More... | |
static int | staticCallback_setAxis (PyObject *self, PyObject *value, void *closure) |
setter callback for the Axis attribute More... | |
static PyObject * | staticCallback_getXDirection (PyObject *self, void *closure) |
getter callback for the XDirection attribute More... | |
static int | staticCallback_setXDirection (PyObject *self, PyObject *value, void *closure) |
setter callback for the XDirection attribute More... | |
static PyObject * | staticCallback_getYDirection (PyObject *self, void *closure) |
getter callback for the YDirection attribute More... | |
static int | staticCallback_setYDirection (PyObject *self, PyObject *value, void *closure) |
setter callback for the YDirection attribute More... | |
static PyObject * | staticCallback_getZDirection (PyObject *self, void *closure) |
getter callback for the ZDirection attribute More... | |
static int | staticCallback_setZDirection (PyObject *self, PyObject *value, void *closure) |
setter callback for the ZDirection attribute More... | |
static PyObject * | staticCallback_getPosition (PyObject *self, void *closure) |
getter callback for the Position attribute More... | |
static int | staticCallback_setPosition (PyObject *self, PyObject *value, void *closure) |
setter callback for the Position attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for CoordinateSystem.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~CoordinateSystemPy()
|
protected |
◆ CoordinateSystemPy()
CoordinateSystemPy::CoordinateSystemPy | ( | CoordinateSystem * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Referenced by PyMake().
Member Function Documentation
◆ displacement()
implementer for the displacement() method
References Base::CoordinateSystem::displacement(), getCoordinateSystemPtr(), and Type.
Referenced by staticCallback_displacement().
◆ getAxis()
Py::Object CoordinateSystemPy::getAxis | ( | void | ) | const |
getter for the Axis attribute
References Base::CoordinateSystem::getAxis(), and getCoordinateSystemPtr().
Referenced by staticCallback_getAxis().
◆ getCoordinateSystemPtr()
CoordinateSystem * CoordinateSystemPy::getCoordinateSystemPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by displacement(), getAxis(), getPosition(), getXDirection(), getYDirection(), getZDirection(), setAxes(), setAxis(), setPlacement(), setPosition(), setXDirection(), setYDirection(), setZDirection(), transform(), and transformTo().
◆ getCustomAttributes()
PyObject * CoordinateSystemPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getPosition()
Py::Object CoordinateSystemPy::getPosition | ( | void | ) | const |
getter for the Position attribute
References getCoordinateSystemPtr().
Referenced by staticCallback_getPosition().
◆ GetType()
|
virtual |
Reimplemented from Base::PyObjectBase.
◆ getXDirection()
Py::Object CoordinateSystemPy::getXDirection | ( | void | ) | const |
getter for the XDirection attribute
References getCoordinateSystemPtr().
Referenced by staticCallback_getXDirection().
◆ getYDirection()
Py::Object CoordinateSystemPy::getYDirection | ( | void | ) | const |
getter for the YDirection attribute
References getCoordinateSystemPtr().
Referenced by staticCallback_getYDirection().
◆ getZDirection()
Py::Object CoordinateSystemPy::getZDirection | ( | void | ) | const |
getter for the ZDirection attribute
References getCoordinateSystemPtr().
Referenced by staticCallback_getZDirection().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::PyObjectBase.
◆ PyMake()
References CoordinateSystemPy().
◆ representation()
std::string CoordinateSystemPy::representation | ( | void | ) | const |
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().
◆ setAxes()
implementer for the setAxes() method
References getCoordinateSystemPtr(), Base::CoordinateSystem::setAxes(), Base::AxisPy::Type, and Base::VectorPy::Type.
Referenced by staticCallback_setAxes().
◆ setAxis()
void CoordinateSystemPy::setAxis | ( | Py::Object | arg | ) |
setter for the Axis attribute
References Base::AxisPy::getAxisPtr(), getCoordinateSystemPtr(), Base::CoordinateSystem::setAxis(), and Base::AxisPy::Type.
Referenced by staticCallback_setAxis().
◆ setCustomAttributes()
int CoordinateSystemPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setPlacement()
implementer for the setPlacement() method
References getCoordinateSystemPtr(), Base::CoordinateSystem::setPlacement(), and Base::PlacementPy::Type.
Referenced by staticCallback_setPlacement().
◆ setPosition()
void CoordinateSystemPy::setPosition | ( | Py::Object | arg | ) |
setter for the Position attribute
References getCoordinateSystemPtr(), Base::CoordinateSystem::setPosition(), and Base::toVector().
Referenced by staticCallback_setPosition().
◆ setXDirection()
void CoordinateSystemPy::setXDirection | ( | Py::Object | arg | ) |
setter for the XDirection attribute
References getCoordinateSystemPtr(), Base::CoordinateSystem::setXDirection(), and Base::toVector().
Referenced by staticCallback_setXDirection().
◆ setYDirection()
void CoordinateSystemPy::setYDirection | ( | Py::Object | arg | ) |
setter for the YDirection attribute
References getCoordinateSystemPtr(), Base::CoordinateSystem::setYDirection(), and Base::toVector().
Referenced by staticCallback_setYDirection().
◆ setZDirection()
void CoordinateSystemPy::setZDirection | ( | Py::Object | arg | ) |
setter for the ZDirection attribute
References getCoordinateSystemPtr(), Base::CoordinateSystem::setZDirection(), and Base::toVector().
Referenced by staticCallback_setZDirection().
◆ staticCallback_displacement()
|
static |
callback for the displacement() method
References Base::BaseExceptionFreeCADError, Base::Console(), displacement(), Base::ConsoleSingleton::Error(), and Base::PyObjectBase::isValid().
◆ staticCallback_getAxis()
getter callback for the Axis attribute
References Base::BaseExceptionFreeCADError, getAxis(), and Base::PyObjectBase::isValid().
◆ staticCallback_getPosition()
|
static |
getter callback for the Position attribute
References Base::BaseExceptionFreeCADError, getPosition(), and Base::PyObjectBase::isValid().
◆ staticCallback_getXDirection()
|
static |
getter callback for the XDirection attribute
References Base::BaseExceptionFreeCADError, getXDirection(), and Base::PyObjectBase::isValid().
◆ staticCallback_getYDirection()
|
static |
getter callback for the YDirection attribute
References Base::BaseExceptionFreeCADError, getYDirection(), and Base::PyObjectBase::isValid().
◆ staticCallback_getZDirection()
|
static |
getter callback for the ZDirection attribute
References Base::BaseExceptionFreeCADError, getZDirection(), and Base::PyObjectBase::isValid().
◆ staticCallback_setAxes()
callback for the setAxes() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), setAxes(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setAxis()
|
static |
setter callback for the Axis attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), and setAxis().
◆ staticCallback_setPlacement()
|
static |
callback for the setPlacement() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), setPlacement(), and Base::PyObjectBase::startNotify().
◆ staticCallback_setPosition()
|
static |
setter callback for the Position attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), and setPosition().
◆ staticCallback_setXDirection()
|
static |
setter callback for the XDirection attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), and setXDirection().
◆ staticCallback_setYDirection()
|
static |
setter callback for the YDirection attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), and setYDirection().
◆ staticCallback_setZDirection()
|
static |
setter callback for the ZDirection attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), and setZDirection().
◆ staticCallback_transform()
callback for the transform() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::startNotify(), and transform().
◆ staticCallback_transformTo()
|
static |
callback for the transformTo() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::startNotify(), and transformTo().
◆ transform()
implementer for the transform() method
References getCoordinateSystemPtr(), Base::CoordinateSystem::transform(), Base::RotationPy::Type, and Base::PlacementPy::Type.
Referenced by staticCallback_transform().
◆ transformTo()
implementer for the transformTo() method
References getCoordinateSystemPtr(), Base::CoordinateSystem::transformTo(), and Base::VectorPy::Type.
Referenced by staticCallback_transformTo().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of CoordinateSystemPy.
◆ Methods
|
static |
Methods structure of CoordinateSystemPy.
◆ Type
|
static |
Type structure of CoordinateSystemPy.
Referenced by ArchPanel.CommandPanelSheet::Activated(), ArchStructure.StructSelectionObserver::addSelection(), ArchSite.Compass::buildCoordinates(), displacement(), ArchComponent.Component::execute(), DraftLayer.LayerContainer::execute(), ArchSchedule.CommandArchSchedule::IsActive(), ArchAxis.CommandArchGrid::IsActive(), draftobjects.draft_annotation.DraftAnnotation::onDocumentRestored(), ArchReference.ArchReference::setProperties(), and DraftLayer.Layer::setProperties().
The documentation for this class was generated from the following files:
- build/webdoc/src/Base/CoordinateSystemPy.h
- src/Base/CoordinateSystemPyImp.cpp
- build/webdoc/src/Base/CoordinateSystemPy.cpp