The python export class for ViewProvider. More...
#include <ViewProviderPy.h>
Public Types | |
typedef ViewProvider * | PointerType |
![]() | |
typedef ExtensionContainer * | PointerType |
![]() | |
typedef PropertyContainer * | PointerType |
![]() | |
typedef Persistence * | PointerType |
![]() | |
typedef BaseClass * | PointerType |
![]() | |
typedef void * | PointerType |
enum | Status { Valid = 0 , Immutable = 1 , Notify = 2 , NoTrack = 3 } |
Public Member Functions | |
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 |
ViewProviderPy (ViewProvider *pcObject, PyTypeObject *T=&Type) | |
![]() | |
ExtensionContainerPy (ExtensionContainer *pcObject, PyTypeObject *T=&Type) | |
int | finalization () |
int | initialization () |
std::string | representation (void) const |
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... | |
ExtensionContainer * | getExtensionContainerPtr (void) const |
getter for the object handled by this class More... | |
PyObject * | addExtension (PyObject *args) |
implementer for the addExtension() method More... | |
PyObject * | hasExtension (PyObject *args) |
implementer for the hasExtension() method More... | |
![]() | |
PropertyContainerPy (PropertyContainer *pcObject, PyTypeObject *T=&Type) | |
std::string | representation (void) const |
PyObject * | getPropertyByName (PyObject *args) |
implementer for the getPropertyByName() method More... | |
PyObject * | getPropertyTouchList (PyObject *args) |
implementer for the getPropertyTouchList() method More... | |
PyObject * | getTypeOfProperty (PyObject *args) |
implementer for the getTypeOfProperty() method More... | |
PyObject * | getTypeIdOfProperty (PyObject *args) |
implementer for the getTypeIdOfProperty() method More... | |
PyObject * | setEditorMode (PyObject *args) |
implementer for the setEditorMode() method More... | |
PyObject * | getEditorMode (PyObject *args) |
implementer for the getEditorMode() method More... | |
PyObject * | getGroupOfProperty (PyObject *args) |
implementer for the getGroupOfProperty() method More... | |
PyObject * | setPropertyStatus (PyObject *args) |
implementer for the setPropertyStatus() method More... | |
PyObject * | getPropertyStatus (PyObject *args) |
implementer for the getPropertyStatus() method More... | |
PyObject * | getDocumentationOfProperty (PyObject *args) |
implementer for the getDocumentationOfProperty() method More... | |
PyObject * | dumpPropertyContent (PyObject *args, PyObject *kwd) |
implementer for the dumpPropertyContent() method More... | |
PyObject * | restorePropertyContent (PyObject *args) |
implementer for the restorePropertyContent() method More... | |
Py::List | getPropertiesList (void) const |
getter for the PropertiesList 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... | |
PropertyContainer * | getPropertyContainerPtr (void) const |
getter for the object handled by this class More... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
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 PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
static PyObject * | staticCallback_addExtension (PyObject *self, PyObject *args) |
callback for the addExtension() method More... | |
static PyObject * | staticCallback_hasExtension (PyObject *self, PyObject *args) |
callback for the hasExtension() method More... | |
![]() | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
static PyObject * | staticCallback_getPropertyByName (PyObject *self, PyObject *args) |
callback for the getPropertyByName() method More... | |
static PyObject * | staticCallback_getPropertyTouchList (PyObject *self, PyObject *args) |
callback for the getPropertyTouchList() method More... | |
static PyObject * | staticCallback_getTypeOfProperty (PyObject *self, PyObject *args) |
callback for the getTypeOfProperty() method More... | |
static PyObject * | staticCallback_getTypeIdOfProperty (PyObject *self, PyObject *args) |
callback for the getTypeIdOfProperty() method More... | |
static PyObject * | staticCallback_setEditorMode (PyObject *self, PyObject *args) |
callback for the setEditorMode() method More... | |
static PyObject * | staticCallback_getEditorMode (PyObject *self, PyObject *args) |
callback for the getEditorMode() method More... | |
static PyObject * | staticCallback_getGroupOfProperty (PyObject *self, PyObject *args) |
callback for the getGroupOfProperty() method More... | |
static PyObject * | staticCallback_setPropertyStatus (PyObject *self, PyObject *args) |
callback for the setPropertyStatus() method More... | |
static PyObject * | staticCallback_getPropertyStatus (PyObject *self, PyObject *args) |
callback for the getPropertyStatus() method More... | |
static PyObject * | staticCallback_getDocumentationOfProperty (PyObject *self, PyObject *args) |
callback for the getDocumentationOfProperty() method More... | |
static PyObject * | staticCallback_dumpPropertyContent (PyObject *self, PyObject *args, PyObject *kwd) |
callback for the dumpPropertyContent() method More... | |
static PyObject * | staticCallback_restorePropertyContent (PyObject *self, PyObject *args) |
callback for the restorePropertyContent() method More... | |
static PyObject * | staticCallback_getPropertiesList (PyObject *self, void *closure) |
getter callback for the PropertiesList attribute More... | |
static int | staticCallback_setPropertiesList (PyObject *self, PyObject *value, void *closure) |
setter callback for the PropertiesList attribute More... | |
![]() | |
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 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 void | PyDestructor (PyObject *P) |
Wrapper for the Python destructor. More... | |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of ViewProviderPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of ViewProviderPy. More... | |
static PyTypeObject | Type |
Type structure of ViewProviderPy. More... | |
![]() | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of ExtensionContainerPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of ExtensionContainerPy. More... | |
static PyTypeObject | Type |
Type structure of ExtensionContainerPy. More... | |
![]() | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of PropertyContainerPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of PropertyContainerPy. More... | |
static PyTypeObject | Type |
Type structure of PropertyContainerPy. More... | |
![]() | |
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 PyGetSetDef | GetterSetter [] |
Attribute structure of BaseClassPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of BaseClassPy. More... | |
static PyTypeObject | Type |
Type structure of BaseClassPy. More... | |
![]() | |
static PyMethodDef | Methods [] |
static PyTypeObject | Type |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~ViewProviderPy () | |
![]() | |
~ExtensionContainerPy () | |
![]() | |
~PropertyContainerPy () | |
![]() | |
~PersistencePy () | |
![]() | |
~BaseClassPy () | |
![]() | |
void | setTwinPointer (void *ptr) |
Overrides the pointer to the twin object. More... | |
virtual | ~PyObjectBase () |
destructor More... | |
callbacks and implementers for the python object attributes | |
Py::Object | getAnnotation (void) const |
getter for the Annotation attribute More... | |
void | setAnnotation (Py::Object arg) |
setter for the Annotation attribute More... | |
Py::Object | getIcon (void) const |
getter for the Icon attribute More... | |
Py::Object | getRootNode (void) const |
getter for the RootNode attribute More... | |
void | setRootNode (Py::Object arg) |
setter for the RootNode attribute More... | |
Py::Object | getSwitchNode (void) const |
getter for the SwitchNode attribute More... | |
void | setSwitchNode (Py::Object arg) |
setter for the SwitchNode attribute More... | |
Py::Int | getDefaultMode (void) const |
getter for the DefaultMode attribute More... | |
void | setDefaultMode (Py::Int arg) |
setter for the DefaultMode attribute More... | |
Py::String | getIV (void) const |
getter for the IV attribute More... | |
Py::Boolean | getCanRemoveChildrenFromRoot (void) const |
getter for the CanRemoveChildrenFromRoot attribute More... | |
Py::Boolean | getLinkVisibility (void) const |
getter for the LinkVisibility attribute More... | |
void | setLinkVisibility (Py::Boolean arg) |
setter for the LinkVisibility attribute More... | |
Py::String | getDropPrefix (void) const |
getter for the DropPrefix 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... | |
ViewProvider * | getViewProviderPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getAnnotation (PyObject *self, void *closure) |
getter callback for the Annotation attribute More... | |
static int | staticCallback_setAnnotation (PyObject *self, PyObject *value, void *closure) |
setter callback for the Annotation attribute More... | |
static PyObject * | staticCallback_getIcon (PyObject *self, void *closure) |
getter callback for the Icon attribute More... | |
static int | staticCallback_setIcon (PyObject *self, PyObject *value, void *closure) |
setter callback for the Icon attribute More... | |
static PyObject * | staticCallback_getRootNode (PyObject *self, void *closure) |
getter callback for the RootNode attribute More... | |
static int | staticCallback_setRootNode (PyObject *self, PyObject *value, void *closure) |
setter callback for the RootNode attribute More... | |
static PyObject * | staticCallback_getSwitchNode (PyObject *self, void *closure) |
getter callback for the SwitchNode attribute More... | |
static int | staticCallback_setSwitchNode (PyObject *self, PyObject *value, void *closure) |
setter callback for the SwitchNode attribute More... | |
static PyObject * | staticCallback_getDefaultMode (PyObject *self, void *closure) |
getter callback for the DefaultMode attribute More... | |
static int | staticCallback_setDefaultMode (PyObject *self, PyObject *value, void *closure) |
setter callback for the DefaultMode attribute More... | |
static PyObject * | staticCallback_getIV (PyObject *self, void *closure) |
getter callback for the IV attribute More... | |
static int | staticCallback_setIV (PyObject *self, PyObject *value, void *closure) |
setter callback for the IV attribute More... | |
static PyObject * | staticCallback_getCanRemoveChildrenFromRoot (PyObject *self, void *closure) |
getter callback for the CanRemoveChildrenFromRoot attribute More... | |
static int | staticCallback_setCanRemoveChildrenFromRoot (PyObject *self, PyObject *value, void *closure) |
setter callback for the CanRemoveChildrenFromRoot attribute More... | |
static PyObject * | staticCallback_getLinkVisibility (PyObject *self, void *closure) |
getter callback for the LinkVisibility attribute More... | |
static int | staticCallback_setLinkVisibility (PyObject *self, PyObject *value, void *closure) |
setter callback for the LinkVisibility attribute More... | |
static PyObject * | staticCallback_getDropPrefix (PyObject *self, void *closure) |
getter callback for the DropPrefix attribute More... | |
static int | staticCallback_setDropPrefix (PyObject *self, PyObject *value, void *closure) |
setter callback for the DropPrefix attribute More... | |
Additional Inherited Members | |
![]() | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for ViewProvider.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~ViewProviderPy()
|
protected |
◆ ViewProviderPy()
ViewProviderPy::ViewProviderPy | ( | ViewProvider * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Member Function Documentation
◆ addDisplayMode()
implementer for the addDisplayMode() method
References Gui::ViewProvider::addDisplayMaskMode(), Base::InterpreterSingleton::convertSWIGPointerObj(), getViewProviderPtr(), and Base::Interpreter().
Referenced by staticCallback_addDisplayMode().
◆ addProperty()
implementer for the addProperty() method
References App::PropertyContainer::addDynamicProperty(), Base::BaseExceptionFreeCADError, and getViewProviderPtr().
Referenced by DocumentObject.Box::init(), DocumentObject.DocumentObject::onChanged(), and staticCallback_addProperty().
◆ canDragAndDropObject()
implementer for the canDragAndDropObject() method
References Gui::ViewProvider::canDragAndDropObject(), getViewProviderPtr(), and App::DocumentObjectPy::Type.
Referenced by staticCallback_canDragAndDropObject().
◆ canDragObject()
implementer for the canDragObject() method
References Gui::ViewProvider::canDragObject(), Gui::ViewProvider::canDragObjects(), getViewProviderPtr(), and App::DocumentObjectPy::Type.
Referenced by staticCallback_canDragObject().
◆ canDropObject()
implementer for the canDropObject() method
References Gui::ViewProvider::canDropObjectEx(), Gui::ViewProvider::canDropObjects(), App::PropertyListsT< T, ListT, ParentT >::getValues(), getViewProviderPtr(), App::PropertyListsT< T, ListT, ParentT >::setPyObject(), and App::DocumentObjectPy::Type.
Referenced by staticCallback_canDropObject().
◆ claimChildren()
implementer for the claimChildren() method
References Gui::ViewProvider::claimChildren(), and getViewProviderPtr().
Referenced by femviewprovider.view_mesh_gmsh.VPMeshGmsh::onDelete(), femviewprovider.view_result_mechanical.VPResultMechanical::onDelete(), BOPTools.JoinFeatures.ViewProviderConnect::onDelete(), BOPTools.SplitFeatures.ViewProviderBooleanFragments::onDelete(), BOPTools.SplitFeatures.ViewProviderSlice::onDelete(), BOPTools.SplitFeatures.ViewProviderXOR::onDelete(), and staticCallback_claimChildren().
◆ doubleClicked()
implementer for the doubleClicked() method
References getViewProviderPtr().
Referenced by staticCallback_doubleClicked().
◆ dragObject()
implementer for the dragObject() method
References Gui::ViewProvider::dragObject(), getViewProviderPtr(), and App::DocumentObjectPy::Type.
Referenced by staticCallback_dragObject().
◆ dropObject()
implementer for the dropObject() method
References Gui::ViewProvider::dropObjectEx(), App::PropertyListsT< T, ListT, ParentT >::getValues(), getViewProviderPtr(), App::PropertyListsT< T, ListT, ParentT >::setPyObject(), and App::DocumentObjectPy::Type.
Referenced by staticCallback_dropObject().
◆ getAnnotation()
Py::Object ViewProviderPy::getAnnotation | ( | void | ) | const |
getter for the Annotation attribute
References Base::InterpreterSingleton::createSWIGPointerObj(), Gui::ViewProvider::getAnnotation(), getViewProviderPtr(), and Base::Interpreter().
Referenced by staticCallback_getAnnotation().
◆ getBoundingBox()
implementer for the getBoundingBox() method
References Gui::ViewProvider::getBoundingBox(), and getViewProviderPtr().
Referenced by staticCallback_getBoundingBox().
◆ getCanRemoveChildrenFromRoot()
Py::Boolean ViewProviderPy::getCanRemoveChildrenFromRoot | ( | void | ) | const |
getter for the CanRemoveChildrenFromRoot attribute
References getViewProviderPtr().
Referenced by staticCallback_getCanRemoveChildrenFromRoot().
◆ getCustomAttributes()
PyObject * ViewProviderPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
References App::PropertyContainer::getDynamicPropertyByName(), Base::BaseClass::getPyObject(), and getViewProviderPtr().
◆ getDefaultMode()
Py::Int ViewProviderPy::getDefaultMode | ( | void | ) | const |
getter for the DefaultMode attribute
References getViewProviderPtr().
Referenced by staticCallback_getDefaultMode().
◆ getDetailPath()
implementer for the getDetailPath() method
References Base::InterpreterSingleton::convertSWIGPointerObj(), Base::InterpreterSingleton::createSWIGPointerObj(), getViewProviderPtr(), and Base::Interpreter().
Referenced by staticCallback_getDetailPath().
◆ getDropPrefix()
Py::String ViewProviderPy::getDropPrefix | ( | void | ) | const |
getter for the DropPrefix attribute
References getViewProviderPtr().
Referenced by staticCallback_getDropPrefix().
◆ getElementColors()
implementer for the getElementColors() method
References getViewProviderPtr().
Referenced by staticCallback_getElementColors().
◆ getElementPicked()
implementer for the getElementPicked() method
References Base::InterpreterSingleton::convertSWIGPointerObj(), getViewProviderPtr(), and Base::Interpreter().
Referenced by staticCallback_getElementPicked().
◆ getIcon()
Py::Object ViewProviderPy::getIcon | ( | void | ) | const |
getter for the Icon attribute
References Gui::PythonWrapper::fromQIcon(), Gui::ViewProvider::getIcon(), getViewProviderPtr(), Gui::PythonWrapper::loadGuiModule(), and Gui::PythonWrapper::loadWidgetsModule().
Referenced by staticCallback_getIcon(), ArchAxis.AxisSystemTaskPanel::update(), ArchComponent.ComponentTaskPanel::update(), and ArchSectionPlane.SectionPlaneTaskPanel::update().
◆ getIV()
Py::String ViewProviderPy::getIV | ( | void | ) | const |
getter for the IV attribute
References getViewProviderPtr(), and Gui::SoFCDB::writeNodesToString().
Referenced by staticCallback_getIV().
◆ getLinkVisibility()
Py::Boolean ViewProviderPy::getLinkVisibility | ( | void | ) | const |
getter for the LinkVisibility attribute
References getViewProviderPtr().
Referenced by staticCallback_getLinkVisibility().
◆ getRootNode()
Py::Object ViewProviderPy::getRootNode | ( | void | ) | const |
getter for the RootNode attribute
References Base::InterpreterSingleton::createSWIGPointerObj(), Gui::ViewProvider::getRoot(), getViewProviderPtr(), and Base::Interpreter().
Referenced by staticCallback_getRootNode().
◆ getSwitchNode()
Py::Object ViewProviderPy::getSwitchNode | ( | void | ) | const |
getter for the SwitchNode attribute
References Base::InterpreterSingleton::createSWIGPointerObj(), Gui::ViewProvider::getModeSwitch(), getViewProviderPtr(), and Base::Interpreter().
Referenced by staticCallback_getSwitchNode().
◆ GetType()
|
virtual |
Reimplemented from App::ExtensionContainerPy.
Reimplemented in PartDesignGui::ViewProviderPy, MeshGui::ViewProviderMeshPy, FemGui::ViewProviderFemMeshPy, Gui::ViewProviderLinkPy, and Gui::ViewProviderDocumentObjectPy.
◆ getViewProviderPtr()
ViewProvider * ViewProviderPy::getViewProviderPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by addDisplayMode(), addProperty(), canDragAndDropObject(), canDragObject(), canDropObject(), claimChildren(), doubleClicked(), dragObject(), dropObject(), getAnnotation(), getBoundingBox(), getCanRemoveChildrenFromRoot(), getCustomAttributes(), getDefaultMode(), getDetailPath(), getDropPrefix(), getElementColors(), getElementPicked(), getIcon(), getIV(), getLinkVisibility(), getRootNode(), getSwitchNode(), hide(), isVisible(), listDisplayModes(), partialRender(), removeProperty(), replaceObject(), setCustomAttributes(), setDefaultMode(), Gui::DocumentPy::setEdit(), setElementColors(), setLinkVisibility(), setTransformation(), show(), signalChangeIcon(), and toString().
◆ hide()
implementer for the hide() method
References getViewProviderPtr(), and Gui::ViewProvider::hide().
Referenced by ArchComponent.ArchSelectionObserver::addSelection(), Mod.Show.mTempoVis.TempoVis::hide_all_dependencies(), Mod.Show.mTempoVis.TempoVis::hide_all_dependent(), PathScripts.PathToolEdit.ToolEditorImage::setupUI(), staticCallback_hide(), and PathScripts.PathToolEdit.ToolEditorImage::updateTool().
◆ isVisible()
implementer for the isVisible() method
References getViewProviderPtr().
Referenced by ArchVRM.Renderer::removeHidden(), and staticCallback_isVisible().
◆ listDisplayModes()
implementer for the listDisplayModes() method
References Gui::ViewProvider::getDisplayModes(), and getViewProviderPtr().
Referenced by staticCallback_listDisplayModes().
◆ partialRender()
implementer for the partialRender() method
References getViewProviderPtr().
Referenced by staticCallback_partialRender().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from App::ExtensionContainerPy.
Reimplemented in PartDesignGui::ViewProviderPy, MeshGui::ViewProviderMeshPy, FemGui::ViewProviderFemMeshPy, Gui::ViewProviderLinkPy, and Gui::ViewProviderDocumentObjectPy.
◆ PyMake()
◆ removeProperty()
implementer for the removeProperty() method
References getViewProviderPtr(), and App::PropertyContainer::removeDynamicProperty().
Referenced by staticCallback_removeProperty().
◆ replaceObject()
implementer for the replaceObject() method
References getViewProviderPtr(), Gui::ViewProvider::replaceObject(), and App::DocumentObjectPy::Type.
Referenced by staticCallback_replaceObject().
◆ representation()
std::string ViewProviderPy::representation | ( | void | ) | const |
Referenced by ifc4.ifcproduct::placementforshaperepresentation(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), ifc2x3.ifcproduct::wr1(), automotive_design.pcurve::wr2(), automotive_design.degenerate_pcurve::wr2(), config_control_design.pcurve::wr2(), and config_control_design.degenerate_pcurve::wr2().
◆ setAnnotation()
void ViewProviderPy::setAnnotation | ( | Py::Object | arg | ) |
setter for the Annotation attribute
Referenced by staticCallback_setAnnotation().
◆ setCustomAttributes()
int ViewProviderPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
References App::PropertyContainer::getDynamicPropertyByName(), getViewProviderPtr(), Base::BaseClass::setPyObject(), and Base::Exception::what().
◆ setDefaultMode()
void ViewProviderPy::setDefaultMode | ( | Py::Int | arg | ) |
setter for the DefaultMode attribute
References getViewProviderPtr(), and Gui::ViewProvider::setDefaultMode().
Referenced by staticCallback_setDefaultMode().
◆ setElementColors()
implementer for the setElementColors() method
References App::PropertyColor::getValue(), getViewProviderPtr(), Gui::ViewProvider::setElementColors(), and App::PropertyColor::setPyObject().
Referenced by staticCallback_setElementColors().
◆ setLinkVisibility()
void ViewProviderPy::setLinkVisibility | ( | Py::Boolean | arg | ) |
setter for the LinkVisibility attribute
References getViewProviderPtr(), and Gui::ViewProvider::setLinkVisible().
Referenced by staticCallback_setLinkVisibility().
◆ setRootNode()
void ViewProviderPy::setRootNode | ( | Py::Object | arg | ) |
setter for the RootNode attribute
Referenced by staticCallback_setRootNode().
◆ setSwitchNode()
void ViewProviderPy::setSwitchNode | ( | Py::Object | arg | ) |
setter for the SwitchNode attribute
Referenced by staticCallback_setSwitchNode().
◆ setTransformation()
implementer for the setTransformation() method
References Base::BaseExceptionFreeCADError, Base::PlacementPy::getPlacementPtr(), getViewProviderPtr(), Gui::ViewProvider::setTransformation(), Base::Placement::toMatrix(), Base::MatrixPy::Type, and Base::PlacementPy::Type.
Referenced by staticCallback_setTransformation().
◆ show()
implementer for the show() method
References getViewProviderPtr(), and Gui::ViewProvider::show().
Referenced by Mod.Show.mTempoVis.TempoVis::show_all_dependencies(), Mod.Show.mTempoVis.TempoVis::show_all_dependent(), and staticCallback_show().
◆ signalChangeIcon()
implementer for the signalChangeIcon() method
References getViewProviderPtr(), and Gui::ViewProvider::signalChangeIcon.
Referenced by staticCallback_signalChangeIcon().
◆ staticCallback_addDisplayMode()
◆ staticCallback_addProperty()
◆ staticCallback_canDragAndDropObject()
◆ staticCallback_canDragObject()
◆ staticCallback_canDropObject()
◆ staticCallback_claimChildren()
callback for the claimChildren() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, claimChildren(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_doubleClicked()
◆ staticCallback_dragObject()
callback for the dragObject() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, dragObject(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and Base::PyObjectBase::startNotify().
◆ staticCallback_dropObject()
callback for the dropObject() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, dropObject(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and Base::PyObjectBase::startNotify().
◆ staticCallback_getAnnotation()
getter callback for the Annotation attribute
References Base::BaseExceptionFreeCADError, getAnnotation(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getBoundingBox()
◆ staticCallback_getCanRemoveChildrenFromRoot()
|
static |
getter callback for the CanRemoveChildrenFromRoot attribute
References Base::BaseExceptionFreeCADError, getCanRemoveChildrenFromRoot(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getDefaultMode()
getter callback for the DefaultMode attribute
References Base::BaseExceptionFreeCADError, getDefaultMode(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getDetailPath()
callback for the getDetailPath() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, getDetailPath(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getDropPrefix()
getter callback for the DropPrefix attribute
References Base::BaseExceptionFreeCADError, getDropPrefix(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getElementColors()
◆ staticCallback_getElementPicked()
|
static |
callback for the getElementPicked() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, getElementPicked(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getIcon()
getter callback for the Icon attribute
References Base::BaseExceptionFreeCADError, getIcon(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getIV()
getter callback for the IV attribute
References Base::BaseExceptionFreeCADError, getIV(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getLinkVisibility()
|
static |
getter callback for the LinkVisibility attribute
References Base::BaseExceptionFreeCADError, getLinkVisibility(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getRootNode()
getter callback for the RootNode attribute
References Base::BaseExceptionFreeCADError, getRootNode(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getSwitchNode()
getter callback for the SwitchNode attribute
References Base::BaseExceptionFreeCADError, getSwitchNode(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_hide()
callback for the hide() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, hide(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and Base::PyObjectBase::startNotify().
◆ staticCallback_isVisible()
callback for the isVisible() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), isVisible(), Base::PyObjectBase::PyObjectBase(), and Base::PyObjectBase::startNotify().
◆ staticCallback_listDisplayModes()
◆ staticCallback_partialRender()
◆ staticCallback_removeProperty()
◆ staticCallback_replaceObject()
◆ staticCallback_setAnnotation()
|
static |
setter callback for the Annotation attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setAnnotation().
◆ staticCallback_setCanRemoveChildrenFromRoot()
|
static |
setter callback for the CanRemoveChildrenFromRoot attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setDefaultMode()
|
static |
setter callback for the DefaultMode attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setDefaultMode().
◆ staticCallback_setDropPrefix()
|
static |
setter callback for the DropPrefix attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setElementColors()
◆ staticCallback_setIcon()
|
static |
setter callback for the Icon attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setIV()
|
static |
setter callback for the IV attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setLinkVisibility()
|
static |
setter callback for the LinkVisibility attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setLinkVisibility().
◆ staticCallback_setRootNode()
|
static |
setter callback for the RootNode attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setRootNode().
◆ staticCallback_setSwitchNode()
|
static |
setter callback for the SwitchNode attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setSwitchNode().
◆ staticCallback_setTransformation()
◆ staticCallback_show()
callback for the show() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), show(), and Base::PyObjectBase::startNotify().
◆ staticCallback_signalChangeIcon()
|
static |
callback for the signalChangeIcon() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and signalChangeIcon().
◆ staticCallback_supportedProperties()
◆ staticCallback_toString()
callback for the toString() method
References Base::BaseExceptionFreeCADAbort, Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::PyObjectBase::startNotify(), and toString().
◆ supportedProperties()
implementer for the supportedProperties() method
References Base::Type::getAllDerivedFrom(), and Base::Persistence::getClassTypeId().
Referenced by staticCallback_supportedProperties().
◆ toString()
implementer for the toString() method
References getViewProviderPtr(), and Gui::ViewProvider::toString().
Referenced by staticCallback_toString().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of ViewProviderPy.
◆ Methods
|
static |
Methods structure of ViewProviderPy.
◆ Type
|
static |
Type structure of ViewProviderPy.
Referenced by ArchPanel.CommandPanelSheet::Activated(), draftobjects.draft_annotation.DraftAnnotation::add_missing_properties_0v19(), ArchStructure.StructSelectionObserver::addSelection(), Gui::Application::Application(), ArchSite.Compass::buildCoordinates(), ArchComponent.Component::execute(), draftobjects.layer.LayerContainer::execute(), ArchAxis.CommandArchGrid::IsActive(), ArchSchedule.CommandArchSchedule::IsActive(), draftobjects.layer.Layer::set_properties(), Gui::DocumentPy::setEdit(), ArchReference.ArchReference::setProperties(), and Gui::DocumentPy::toggleInSceneGraph().
The documentation for this class was generated from the following files:
- Sources/FreeCAD-SourceDocs/src/Gui/ViewProviderPy.h
- Sources/FreeCAD/src/Gui/ViewProviderPyImp.cpp
- Sources/FreeCAD-SourceDocs/src/Gui/ViewProviderPy.cpp