The python export class for ComplexGeoData. More...
#include <ComplexGeoDataPy.h>
Public Types | |
typedef ComplexGeoData * | PointerType |
Public Types inherited from Base::PersistencePy | |
typedef Persistence * | 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 | |
ComplexGeoDataPy (ComplexGeoData *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::PersistencePy | |
PersistencePy (Persistence *pcObject, PyTypeObject *T=&Type) | |
std::string | representation (void) const |
PyObject * | dumpContent (PyObject *args, PyObject *kwd) |
implementer for the dumpContent() method More... | |
PyObject * | restoreContent (PyObject *args) |
implementer for the restoreContent() method More... | |
Py::String | getContent (void) const |
getter for the Content attribute More... | |
Py::Int | getMemSize (void) const |
getter for the MemSize 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... | |
Persistence * | getPersistencePtr (void) const |
getter for the object handled by this class More... | |
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::PersistencePy | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
static PyObject * | staticCallback_dumpContent (PyObject *self, PyObject *args, PyObject *kwd) |
callback for the dumpContent() method More... | |
static PyObject * | staticCallback_restoreContent (PyObject *self, PyObject *args) |
callback for the restoreContent() method More... | |
static PyObject * | staticCallback_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 PyObject * | staticCallback_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 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 ComplexGeoDataPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of ComplexGeoDataPy. More... | |
static PyTypeObject | Type |
Type structure of ComplexGeoDataPy. 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... | |
Protected Member Functions | |
~ComplexGeoDataPy () | |
Protected Member Functions inherited from Base::PersistencePy | |
~PersistencePy () | |
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 * | getFacesFromSubelement (PyObject *args) |
implementer for the getFacesFromSubelement() method More... | |
static PyObject * | staticCallback_getFacesFromSubelement (PyObject *self, PyObject *args) |
callback for the getFacesFromSubelement() method More... | |
callbacks and implementers for the python object attributes | |
Py::Object | getBoundBox (void) const |
getter for the BoundBox attribute More... | |
Py::Object | getPlacement (void) const |
getter for the Placement attribute More... | |
void | setPlacement (Py::Object arg) |
setter for the Placement attribute More... | |
Py::Object | getMatrix (void) const |
getter for the Matrix attribute More... | |
void | setMatrix (Py::Object arg) |
setter for the Matrix 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... | |
ComplexGeoData * | getComplexGeoDataPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getBoundBox (PyObject *self, void *closure) |
getter callback for the BoundBox attribute More... | |
static int | staticCallback_setBoundBox (PyObject *self, PyObject *value, void *closure) |
setter callback for the BoundBox attribute More... | |
static PyObject * | staticCallback_getPlacement (PyObject *self, void *closure) |
getter callback for the Placement attribute More... | |
static int | staticCallback_setPlacement (PyObject *self, PyObject *value, void *closure) |
setter callback for the Placement attribute More... | |
static PyObject * | staticCallback_getMatrix (PyObject *self, void *closure) |
getter callback for the Matrix attribute More... | |
static int | staticCallback_setMatrix (PyObject *self, PyObject *value, void *closure) |
setter callback for the Matrix attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for ComplexGeoData.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~ComplexGeoDataPy()
|
protected |
References getComplexGeoDataPtr(), and Base::Handled::unref().
◆ ComplexGeoDataPy()
ComplexGeoDataPy::ComplexGeoDataPy | ( | ComplexGeoData * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
References Base::Handled::ref().
Member Function Documentation
◆ getBoundBox()
Py::Object ComplexGeoDataPy::getBoundBox | ( | void | ) | const |
getter for the BoundBox attribute
Referenced by staticCallback_getBoundBox().
◆ getComplexGeoDataPtr()
ComplexGeoData * ComplexGeoDataPy::getComplexGeoDataPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by ~ComplexGeoDataPy().
◆ getCustomAttributes()
PyObject * ComplexGeoDataPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getFacesFromSubelement()
implementer for the getFacesFromSubelement() method
Referenced by staticCallback_getFacesFromSubelement().
◆ getMatrix()
Py::Object ComplexGeoDataPy::getMatrix | ( | void | ) | const |
getter for the Matrix attribute
Referenced by staticCallback_getMatrix().
◆ getPlacement()
Py::Object ComplexGeoDataPy::getPlacement | ( | void | ) | const |
getter for the Placement attribute
Referenced by staticCallback_getPlacement().
◆ GetType()
|
virtual |
Reimplemented from Base::PersistencePy.
Reimplemented in Fem::FemMeshPy, Mesh::MeshPy, Part::TopoShapeCompoundPy, Part::TopoShapeCompSolidPy, Part::TopoShapeEdgePy, Part::TopoShapeFacePy, Part::TopoShapePy, Part::TopoShapeShellPy, Part::TopoShapeSolidPy, Part::TopoShapeVertexPy, Part::TopoShapeWirePy, and Points::PointsPy.
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Base::PersistencePy.
Reimplemented in Fem::FemMeshPy, Mesh::MeshPy, Part::TopoShapeCompoundPy, Part::TopoShapeCompSolidPy, Part::TopoShapeEdgePy, Part::TopoShapeFacePy, Part::TopoShapePy, Part::TopoShapeShellPy, Part::TopoShapeSolidPy, Part::TopoShapeVertexPy, Part::TopoShapeWirePy, and Points::PointsPy.
◆ PyMake()
◆ representation()
std::string ComplexGeoDataPy::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().
◆ setCustomAttributes()
int ComplexGeoDataPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setMatrix()
void ComplexGeoDataPy::setMatrix | ( | Py::Object | arg | ) |
setter for the Matrix attribute
References Base::MatrixPy::Type.
Referenced by staticCallback_setMatrix().
◆ setPlacement()
void ComplexGeoDataPy::setPlacement | ( | Py::Object | arg | ) |
setter for the Placement attribute
References Base::PlacementPy::Type.
Referenced by staticCallback_setPlacement().
◆ staticCallback_getBoundBox()
getter callback for the BoundBox attribute
References Base::BaseExceptionFreeCADError, getBoundBox(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getFacesFromSubelement()
|
static |
callback for the getFacesFromSubelement() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), getFacesFromSubelement(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getMatrix()
getter callback for the Matrix attribute
References Base::BaseExceptionFreeCADError, getMatrix(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getPlacement()
getter callback for the Placement attribute
References Base::BaseExceptionFreeCADError, getPlacement(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setBoundBox()
|
static |
setter callback for the BoundBox attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setMatrix()
|
static |
setter callback for the Matrix attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setMatrix().
◆ staticCallback_setPlacement()
|
static |
setter callback for the Placement attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setPlacement().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of ComplexGeoDataPy.
◆ Methods
|
static |
Methods structure of ComplexGeoDataPy.
◆ Type
|
static |
Type structure of ComplexGeoDataPy.
Referenced by ArchPanel.CommandPanelSheet::Activated(), ArchStructure.StructSelectionObserver::addSelection(), ArchSite.Compass::buildCoordinates(), App::LinkBaseExtension::checkGeoElementMap(), 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/App/ComplexGeoDataPy.h
- src/App/ComplexGeoDataPyImp.cpp
- build/webdoc/src/App/ComplexGeoDataPy.cpp