The python export class for AxisOrigin. More...

#include <AxisOriginPy.h>

Public Types

typedef AxisOrigin * PointerType
 
- Public Types inherited from Base::BaseClassPy
typedef BaseClass * PointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

 AxisOriginPy (AxisOrigin *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::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObject * isDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObject * getAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::String getModule (void) const
 getter for the Module 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...
 
BaseClass * getBaseClassPtr (void) const
 getter for the object handled by this class More...
 
- 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::BaseClassPy
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObject * staticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObject * staticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObject * staticCallback_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 PyObject * staticCallback_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 AxisOriginPy. More...
 
static PyMethodDef Methods []
 Methods structure of AxisOriginPy. More...
 
static PyTypeObject Type
 Type structure of AxisOriginPy. 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...
 

Protected Member Functions

 ~AxisOriginPy ()
 
- Protected Member Functions inherited from Base::BaseClassPy
 ~BaseClassPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObject * getElementPicked (PyObject *args)
 implementer for the getElementPicked() method More...
 
PyObject * getDetailPath (PyObject *args)
 implementer for the getDetailPath() method More...
 
static PyObject * staticCallback_getElementPicked (PyObject *self, PyObject *args)
 callback for the getElementPicked() method More...
 
static PyObject * staticCallback_getDetailPath (PyObject *self, PyObject *args)
 callback for the getDetailPath() method More...
 

callbacks and implementers for the python object attributes

Py::Float getAxisLength (void) const
 getter for the AxisLength attribute More...
 
void setAxisLength (Py::Float arg)
 setter for the AxisLength attribute More...
 
Py::Float getLineWidth (void) const
 getter for the LineWidth attribute More...
 
void setLineWidth (Py::Float arg)
 setter for the LineWidth attribute More...
 
Py::Float getPointSize (void) const
 getter for the PointSize attribute More...
 
void setPointSize (Py::Float arg)
 setter for the PointSize attribute More...
 
Py::Float getScale (void) const
 getter for the Scale attribute More...
 
void setScale (Py::Float arg)
 setter for the Scale attribute More...
 
Py::Tuple getPlane (void) const
 getter for the Plane attribute More...
 
void setPlane (Py::Tuple arg)
 setter for the Plane attribute More...
 
Py::Dict getLabels (void) const
 getter for the Labels attribute More...
 
void setLabels (Py::Dict arg)
 setter for the Labels attribute More...
 
Py::Object getNode (void) const
 getter for the Node 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...
 
AxisOrigin * getAxisOriginPtr (void) const
 getter for the object handled by this class More...
 
static PyObject * staticCallback_getAxisLength (PyObject *self, void *closure)
 getter callback for the AxisLength attribute More...
 
static int staticCallback_setAxisLength (PyObject *self, PyObject *value, void *closure)
 setter callback for the AxisLength attribute More...
 
static PyObject * staticCallback_getLineWidth (PyObject *self, void *closure)
 getter callback for the LineWidth attribute More...
 
static int staticCallback_setLineWidth (PyObject *self, PyObject *value, void *closure)
 setter callback for the LineWidth attribute More...
 
static PyObject * staticCallback_getPointSize (PyObject *self, void *closure)
 getter callback for the PointSize attribute More...
 
static int staticCallback_setPointSize (PyObject *self, PyObject *value, void *closure)
 setter callback for the PointSize attribute More...
 
static PyObject * staticCallback_getScale (PyObject *self, void *closure)
 getter callback for the Scale attribute More...
 
static int staticCallback_setScale (PyObject *self, PyObject *value, void *closure)
 setter callback for the Scale attribute More...
 
static PyObject * staticCallback_getPlane (PyObject *self, void *closure)
 getter callback for the Plane attribute More...
 
static int staticCallback_setPlane (PyObject *self, PyObject *value, void *closure)
 setter callback for the Plane attribute More...
 
static PyObject * staticCallback_getLabels (PyObject *self, void *closure)
 getter callback for the Labels attribute More...
 
static int staticCallback_setLabels (PyObject *self, PyObject *value, void *closure)
 setter callback for the Labels attribute More...
 
static PyObject * staticCallback_getNode (PyObject *self, void *closure)
 getter callback for the Node attribute More...
 
static int staticCallback_setNode (PyObject *self, PyObject *value, void *closure)
 setter callback for the Node attribute More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for AxisOrigin.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~AxisOriginPy()

AxisOriginPy::~AxisOriginPy ( )
protected

◆ AxisOriginPy()

AxisOriginPy::AxisOriginPy ( AxisOrigin *  pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getAxisLength()

Py::Float AxisOriginPy::getAxisLength ( void  ) const

getter for the AxisLength attribute

References getAxisOriginPtr().

Referenced by staticCallback_getAxisLength().

◆ getAxisOriginPtr()

AxisOrigin * AxisOriginPy::getAxisOriginPtr ( void  ) const

◆ getCustomAttributes()

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

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

◆ getDetailPath()

◆ getElementPicked()

PyObject * AxisOriginPy::getElementPicked ( PyObject *  args)

◆ getLabels()

Py::Dict AxisOriginPy::getLabels ( void  ) const

getter for the Labels attribute

References getAxisOriginPtr().

Referenced by staticCallback_getLabels().

◆ getLineWidth()

Py::Float AxisOriginPy::getLineWidth ( void  ) const

getter for the LineWidth attribute

References getAxisOriginPtr().

Referenced by staticCallback_getLineWidth().

◆ getNode()

Py::Object AxisOriginPy::getNode ( void  ) const

◆ getPlane()

Py::Tuple AxisOriginPy::getPlane ( void  ) const

getter for the Plane attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::getPlane().

Referenced by staticCallback_getPlane().

◆ getPointSize()

Py::Float AxisOriginPy::getPointSize ( void  ) const

getter for the PointSize attribute

References getAxisOriginPtr().

Referenced by staticCallback_getPointSize().

◆ getScale()

Py::Float AxisOriginPy::getScale ( void  ) const

getter for the Scale attribute

References getAxisOriginPtr().

Referenced by staticCallback_getScale().

◆ GetType()

virtual PyTypeObject* Gui::AxisOriginPy::GetType ( void  )
virtual

Reimplemented from Base::BaseClassPy.

◆ PyInit()

int AxisOriginPy::PyInit ( PyObject *  ,
PyObject *   
)
virtual

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

Reimplemented from Base::BaseClassPy.

◆ PyMake()

PyObject * AxisOriginPy::PyMake ( struct _typeobject *  ,
PyObject *  ,
PyObject *   
)
static

References AxisOriginPy().

◆ representation()

◆ setAxisLength()

void AxisOriginPy::setAxisLength ( Py::Float  arg)

setter for the AxisLength attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::setAxisLength().

Referenced by staticCallback_setAxisLength().

◆ setCustomAttributes()

int AxisOriginPy::setCustomAttributes ( const char *  attr,
PyObject *  obj 
)

setter for special attributes (e.g.

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

◆ setLabels()

void AxisOriginPy::setLabels ( Py::Dict  arg)

setter for the Labels attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::setLabels().

Referenced by staticCallback_setLabels().

◆ setLineWidth()

void AxisOriginPy::setLineWidth ( Py::Float  arg)

setter for the LineWidth attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::setLineWidth().

Referenced by staticCallback_setLineWidth().

◆ setPlane()

void AxisOriginPy::setPlane ( Py::Tuple  arg)

setter for the Plane attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::setPlane().

Referenced by staticCallback_setPlane().

◆ setPointSize()

void AxisOriginPy::setPointSize ( Py::Float  arg)

setter for the PointSize attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::setPointSize().

Referenced by staticCallback_setPointSize().

◆ setScale()

void AxisOriginPy::setScale ( Py::Float  arg)

setter for the Scale attribute

References getAxisOriginPtr(), and Gui::AxisOrigin::setScale().

Referenced by staticCallback_setScale().

◆ staticCallback_getAxisLength()

PyObject * AxisOriginPy::staticCallback_getAxisLength ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getDetailPath()

PyObject * AxisOriginPy::staticCallback_getDetailPath ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getElementPicked()

PyObject * AxisOriginPy::staticCallback_getElementPicked ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getLabels()

PyObject * AxisOriginPy::staticCallback_getLabels ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getLineWidth()

PyObject * AxisOriginPy::staticCallback_getLineWidth ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getNode()

PyObject * AxisOriginPy::staticCallback_getNode ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getPlane()

PyObject * AxisOriginPy::staticCallback_getPlane ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getPointSize()

PyObject * AxisOriginPy::staticCallback_getPointSize ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getScale()

PyObject * AxisOriginPy::staticCallback_getScale ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_setAxisLength()

int AxisOriginPy::staticCallback_setAxisLength ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setLabels()

int AxisOriginPy::staticCallback_setLabels ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setLineWidth()

int AxisOriginPy::staticCallback_setLineWidth ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setNode()

int AxisOriginPy::staticCallback_setNode ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the Node attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setPlane()

int AxisOriginPy::staticCallback_setPlane ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setPointSize()

int AxisOriginPy::staticCallback_setPointSize ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

◆ staticCallback_setScale()

int AxisOriginPy::staticCallback_setScale ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

Member Data Documentation

◆ GetterSetter

PyGetSetDef AxisOriginPy::GetterSetter
static

Attribute structure of AxisOriginPy.

◆ Methods

PyMethodDef AxisOriginPy::Methods
static
Initial value:
= {
{"getElementPicked",
reinterpret_cast<PyCFunction>( staticCallback_getElementPicked ),
METH_VARARGS,
"getElementPicked(pickPoint): return the picked subelement"
},
{"getDetailPath",
reinterpret_cast<PyCFunction>( staticCallback_getDetailPath ),
METH_VARARGS,
"\ngetDetailPath(subname,path): return Coin detail and path of an subelement\n\nsubelement: dot separated string reference to the sub element\npPath: output coin path leading to the returned element detail\n "
},
{NULL, NULL, 0, NULL}
}

Methods structure of AxisOriginPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Gui/AxisOriginPy.h
  • src/Gui/AxisOriginPyImp.cpp
  • build/webdoc/src/Gui/AxisOriginPy.cpp
static PyObject * staticCallback_getElementPicked(PyObject *self, PyObject *args)
callback for the getElementPicked() method
Definition: AxisOriginPy.cpp:148
static PyObject * staticCallback_getDetailPath(PyObject *self, PyObject *args)
callback for the getDetailPath() method
Definition: AxisOriginPy.cpp:209