#include <ViewProviderDocumentObject.h>
Public Member Functions | |
virtual void | attach (App::DocumentObject *pcObject) |
virtual bool | canDelete (App::DocumentObject *obj) const override |
Asks the view provider if the given object can be deleted. More... | |
virtual bool | canDropObjectEx (App::DocumentObject *, App::DocumentObject *, const char *, const std::vector< std::string > &) const override |
Query object dropping with full quanlified name. More... | |
virtual void | forceUpdate (bool enable=true) |
virtual bool | getDetailPath (const char *subname, SoFullPath *pPath, bool append, SoDetail *&det) const override |
return the coin node detail and path to the node of the subname More... | |
Gui::Document * | getDocument () const |
Get the GUI document to this ViewProvider object. More... | |
virtual bool | getElementPicked (const SoPickedPoint *, std::string &subname) const override |
return a hit element given the picked point which contains the full node path More... | |
App::DocumentObject * | getObject (void) const |
Get the object of this ViewProvider object. More... | |
PyObject * | getPyObject () override |
Get the python wrapper for that ViewProvider. More... | |
virtual void | getTaskViewContent (std::vector< Gui::TaskView::TaskContent * > &) const override |
Get a list of TaskBoxes associated with this object. More... | |
virtual void | hide (void) override |
Hide the object in the view. More... | |
virtual bool | isUpdateForced () const |
virtual void | reattach (App::DocumentObject *) |
virtual int | replaceObject (App::DocumentObject *, App::DocumentObject *) override |
Replace an object to the view provider by drag and drop. More... | |
void | setActiveMode () |
Set the active mode, i.e. the first item of the 'Display' property. More... | |
virtual void | show (void) override |
Show the object in the view. More... | |
virtual bool | showInTree () const override |
Tell the tree view if this object should appear there. More... | |
virtual void | update (const App::Property *) override |
update the content of the ViewProvider this method have to implement the recalculation of the ViewProvider. More... | |
void | updateView () |
Run a redraw. More... | |
ViewProviderDocumentObject () | |
constructor. More... | |
virtual | ~ViewProviderDocumentObject () |
destructor. More... | |
Public Member Functions inherited from Gui::ViewProvider | |
virtual bool | canAddToSceneGraph () const |
Indicate whether to be added to scene graph or not. More... | |
virtual std::vector< App::DocumentObject * > | claimChildren3D (void) const |
deliver the children belonging to this object this method is used to deliver the objects to the 3DView which should be grouped under its scene graph. More... | |
SoSeparator * | getAnnotation (void) |
virtual SoSeparator * | getBackRoot (void) const |
virtual SoGroup * | getChildRoot (void) const |
virtual SoSeparator * | getFrontRoot (void) const |
SoSwitch * | getModeSwitch (void) const |
virtual SoSeparator * | getRoot (void) const |
SoTransform * | getTransformNode () const |
ViewProvider () | |
constructor. More... | |
virtual | ~ViewProvider () |
destructor. More... | |
virtual bool | useNewSelectionModel (void) const |
indicates if the ViewProvider use the new Selection model More... | |
virtual bool | isSelectable (void) const |
virtual std::string | getElement (const SoDetail *) const |
return a hit element to the selection path or 0 More... | |
virtual SoDetail * | getDetail (const char *) const |
return the coin node detail of the subelement More... | |
int | partialRender (const std::vector< std::string > &subelements, bool clear) |
partial rendering setup More... | |
virtual std::vector< Base::Vector3d > | getModelPoints (const SoPickedPoint *) const |
virtual std::vector< Base::Vector3d > | getSelectionShape (const char *Element) const |
return the highlight lines for a given element or the whole shape More... | |
Base::BoundBox3d | getBoundingBox (const char *subname=0, bool transform=true, MDIView *view=0) const |
Return the bound box of this view object. More... | |
virtual bool | onDelete (const std::vector< std::string > &subNames) |
Get called if the object is about to get deleted. More... | |
virtual void | beforeDelete () |
Called before deletion. More... | |
virtual bool | canDragObjects () const |
Check whether children can be removed from the view provider by drag and drop. More... | |
virtual bool | canDragObject (App::DocumentObject *) const |
Check whether the object can be removed from the view provider by drag and drop. More... | |
virtual void | dragObject (App::DocumentObject *) |
Remove a child from the view provider by drag and drop. More... | |
virtual bool | canDropObjects () const |
Check whether objects can be added to the view provider by drag and drop or drop only. More... | |
virtual bool | canDropObject (App::DocumentObject *) const |
Check whether the object can be dropped to the view provider by drag and drop or drop only. More... | |
virtual bool | canDragAndDropObject (App::DocumentObject *) const |
Return false to force drop only operation for a given object. More... | |
virtual void | dropObject (App::DocumentObject *) |
Add an object to the view provider by drag and drop. More... | |
virtual std::string | getDropPrefix () const |
return a subname referencing the sub-object holding the dropped objects More... | |
virtual std::string | dropObjectEx (App::DocumentObject *obj, App::DocumentObject *owner, const char *subname, const std::vector< std::string > &elements) |
Add an object with full quanlified name to the view provider by drag and drop. More... | |
virtual bool | canRemoveChildrenFromRoot () const |
Tell the tree view to remove children items from the tree root. More... | |
std::string | getActiveDisplayMode (void) const |
virtual void | setDisplayMode (const char *ModeName) |
set the display mode More... | |
virtual const char * | getDefaultDisplayMode () const |
get the default display mode More... | |
virtual std::vector< std::string > | getDisplayModes (void) const |
returns a list of all possible display modes More... | |
virtual bool | isShow (void) const |
checks whether the view provider is visible or not More... | |
void | setVisible (bool) |
bool | isVisible () const |
void | setLinkVisible (bool) |
bool | isLinkVisible () const |
virtual void | setOverrideMode (const std::string &mode) |
Overrides the display mode with mode. More... | |
const std::string | getOverrideMode () |
virtual bool | keyPressed (bool pressed, int key) |
is called when the provider is in edit and a key event occurs. Only ESC ends edit. More... | |
virtual bool | doubleClicked (void) |
is called by the tree if the user double click on the object More... | |
virtual bool | mouseMove (const SbVec2s &cursorPos, View3DInventorViewer *viewer) |
is called when the provider is in edit and the mouse is moved More... | |
virtual bool | mouseButtonPressed (int button, bool pressed, const SbVec2s &cursorPos, const View3DInventorViewer *viewer) |
is called when the Provider is in edit and the mouse is clicked More... | |
virtual void | setupContextMenu (QMenu *, QObject *, const char *) |
set up the context-menu with the supported edit modes More... | |
virtual QIcon | getIcon (void) const |
deliver the icon shown in the tree view More... | |
virtual std::vector< App::DocumentObject * > | claimChildren (void) const |
deliver the children belonging to this object this method is used to deliver the objects to the tree framework which should be grouped under its label. More... | |
virtual void | updateData (const App::Property *) |
bool | isUpdatesEnabled () const |
void | setUpdatesEnabled (bool enable) |
unsigned long | getStatus () const |
return the status bits More... | |
bool | testStatus (ViewStatus pos) const |
void | setStatus (ViewStatus pos, bool on) |
std::string | toString () const |
virtual std::map< std::string, App::Color > | getElementColors (const char *element=0) const |
virtual void | setElementColors (const std::map< std::string, App::Color > &colors) |
virtual ViewProvider * | startEditing (int ModNum=0) |
bool | isEditing () const |
void | finishEditing () |
virtual void | setEditViewer (View3DInventorViewer *, int ModNum) |
adjust viewer settings when editing a view provider More... | |
virtual void | unsetEditViewer (View3DInventorViewer *) |
restores viewer settings when leaving editing mode More... | |
virtual void | setTransformation (const Base::Matrix4D &rcMatrix) |
set the viewing transformation of the provider More... | |
virtual void | setTransformation (const SbMatrix &rcMatrix) |
virtual MDIView * | getMDIView () const |
virtual void | Restore (Base::XMLReader &reader) |
This method is used to restore properties from an XML document. More... | |
bool | isRestoring () |
void | addDisplayMaskMode (SoNode *node, const char *type) |
Adds a new display mask mode. More... | |
void | setDisplayMaskMode (const char *type) |
Activates the display mask mode type. More... | |
SoNode * | getDisplayMaskMode (const char *type) const |
Get the node to the display mask mode type. More... | |
std::vector< std::string > | getDisplayMaskModes () const |
Returns a list of added display mask modes. More... | |
void | setDefaultMode (int) |
int | getDefaultMode () const |
virtual void | setRenderCacheMode (int) |
Public Member Functions inherited from App::TransactionalObject | |
TransactionalObject (void) | |
Constructor. More... | |
virtual | ~TransactionalObject () |
Public Member Functions inherited from App::ExtensionContainer | |
ExtensionIterator | extensionBegin () |
ExtensionContainer () | |
ExtensionIterator | extensionEnd () |
App::Extension * | getExtension (Base::Type, bool derived=true, bool no_except=false) const |
App::Extension * | getExtension (const std::string &name) const |
template<typename ExtensionT > | |
ExtensionT * | getExtensionByType (bool no_except=false, bool derived=true) const |
std::vector< Extension * > | getExtensionsDerivedFrom (Base::Type type) const |
template<typename ExtensionT > | |
std::vector< ExtensionT * > | getExtensionsDerivedFromType () const |
bool | hasExtension (Base::Type, bool derived=true) const |
bool | hasExtension (const std::string &name) const |
bool | hasExtensions () const |
void | registerExtension (Base::Type extension, App::Extension *ext) |
virtual | ~ExtensionContainer () |
virtual Property * | getPropertyByName (const char *name) const override |
find a property by its name More... | |
virtual const char * | getPropertyName (const Property *prop) const override |
get the name of a property More... | |
virtual void | getPropertyMap (std::map< std::string, Property * > &Map) const override |
get all properties of the class (including properties of the parent) More... | |
virtual void | getPropertyList (std::vector< Property * > &List) const override |
get all properties of the class (including properties of the parent) More... | |
virtual short | getPropertyType (const Property *prop) const override |
get the Type of a Property More... | |
virtual short | getPropertyType (const char *name) const override |
get the Type of a named Property More... | |
virtual const char * | getPropertyGroup (const Property *prop) const override |
get the Group of a Property More... | |
virtual const char * | getPropertyGroup (const char *name) const override |
get the Group of a named Property More... | |
virtual const char * | getPropertyDocumentation (const Property *prop) const override |
get the Group of a Property More... | |
virtual const char * | getPropertyDocumentation (const char *name) const override |
get the Group of a named Property More... | |
virtual void | Save (Base::Writer &writer) const override |
This method is used to save properties to an XML document. More... | |
void | saveExtensions (Base::Writer &writer) const |
void | restoreExtensions (Base::XMLReader &reader) |
Public Member Functions inherited from App::PropertyContainer | |
virtual App::Property * | getDynamicPropertyByName (const char *name) const |
DynamicProperty::PropData | getDynamicPropertyData (const Property *prop) const |
virtual std::vector< std::string > | getDynamicPropertyNames () const |
virtual unsigned int | getMemSize (void) const |
This method is used to get the size of objects It is not meant to have the exact size, it is more or less an estimation which runs fast! Is it two bytes or a GB? More... | |
const char * | getPropertyPrefix () const |
bool | isHidden (const char *name) const |
check if the named property is hidden More... | |
bool | isHidden (const Property *prop) const |
check if the property is hidden More... | |
bool | isReadOnly (const char *name) const |
check if the named property is read-only More... | |
bool | isReadOnly (const Property *prop) const |
check if the property is read-only More... | |
PropertyContainer () | |
A constructor. More... | |
void | setPropertyPrefix (const char *prefix) |
void | setPropertyStatus (unsigned char bit, bool value) |
set the Status bit of all properties at once More... | |
virtual | ~PropertyContainer () |
A destructor. More... | |
Public Member Functions inherited from Base::Persistence | |
void | dumpToStream (std::ostream &stream, int compression) |
virtual Base::Type | getTypeId (void) const |
virtual void | RestoreDocFile (Reader &) |
This method is used to restore large amounts of data from a file In this method you simply stream in your SaveDocFile() saved data. More... | |
void | restoreFromStream (std::istream &stream) |
virtual void | SaveDocFile (Writer &) const |
This method is used to save large amounts of data to a binary file. More... | |
Public Member Functions inherited from Base::BaseClass | |
BaseClass () | |
Construction. More... | |
bool | isDerivedFrom (const Type type) const |
virtual void | setPyObject (PyObject *) |
virtual | ~BaseClass () |
Destruction. More... | |
Public Attributes | |
App::PropertyEnumeration | DisplayMode |
App::PropertyEnumeration | OnTopWhenSelected |
App::PropertyEnumeration | SelectionStyle |
App::PropertyBool | ShowInTree |
App::PropertyBool | Visibility |
Public Attributes inherited from Gui::ViewProvider | |
boost::signals2::signal< void()> | signalChangeIcon |
signal on icon change More... | |
boost::signals2::signal< void(const QString &)> | signalChangeToolTip |
signal on tooltip change More... | |
boost::signals2::signal< void(const QString &)> | signalChangeStatusTip |
signal on status tip change More... | |
Restoring view provider from document load | |
virtual void | startRestoring () |
virtual void | finishRestoring () |
virtual bool | removeDynamicProperty (const char *prop) override |
virtual App::Property * | addDynamicProperty (const char *type, const char *name=0, const char *group=0, const char *doc=0, short attr=0, bool ro=false, bool hidden=false) override |
virtual ViewProviderDocumentObject * | getLinkedViewProvider (std::string *subname=0, bool recursive=false) const |
Return the linked view object. More... | |
virtual std::string | getFullName () const override |
virtual bool | allowOverride (const App::DocumentObject &) const |
Allow this class to be used as an override for the original view provider of the given object. More... | |
Gui::MDIView * | getActiveView () const |
Gui::MDIView * | getEditingView () const |
Gui::MDIView * | getInventorView () const |
Gui::MDIView * | getViewOfNode (SoNode *node) const |
virtual void | onBeforeChange (const App::Property *prop) override |
get called before the value is changed More... | |
virtual void | onChanged (const App::Property *prop) override |
Gets called by the container whenever a property has been changed. More... | |
SoNode * | findFrontRootOfType (const SoType &type) const |
Searches in all view providers that are attached to an object that is part of the same document as the object this view provider is attached to for an front root of type. More... | |
Transaction handling | |
App::DocumentObject * | pcObject |
Gui::Document * | pcDocument |
class | Document |
virtual bool | isAttachedToDocument () const override |
virtual const char * | detachFromDocument () override |
virtual void | onPropertyStatusChanged (const App::Property &prop, unsigned long oldStatus) override |
get called when a property status has changed More... | |
Additional Inherited Members | |
Public Types inherited from Gui::ViewProvider | |
enum | EditMode { Default = 0, Transform, Cutting, Color } |
Public Types inherited from App::ExtensionContainer | |
typedef std::map< Base::Type, App::Extension * >::iterator | ExtensionIterator |
Static Public Member Functions inherited from Gui::ViewProvider | |
static const std::string & | hiddenMarker () |
static const char * | hasHiddenMarker (const char *subname) |
static SbMatrix | convert (const Base::Matrix4D &rcMatrix) |
static Base::Matrix4D | convert (const SbMatrix &sbMat) |
static void | eventCallback (void *ud, SoEventCallback *node) |
Static Public Member Functions inherited from Base::Persistence | |
static void * | create (void) |
static std::string | encodeAttribute (const std::string &) |
Encodes an attribute upon saving. More... | |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Static Public Member Functions inherited from Base::BaseClass | |
static void * | create (void) |
static Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions inherited from Gui::ViewProvider | |
virtual QIcon | mergeOverlayIcons (const QIcon &orig) const |
virtual bool | setEdit (int ModNum) |
is called by the document when the provider goes in edit mode More... | |
virtual void | unsetEdit (int ModNum) |
is called when you lose the edit mode More... | |
int | getEditingMode () const |
return the edit mode or -1 if nothing is being edited More... | |
bool | checkRecursion (SoNode *) |
Helper method to check that the node is valid, i.e. More... | |
SoPickedPoint * | getPointOnRay (const SbVec2s &pos, const View3DInventorViewer *viewer) const |
Helper method to get picked entities while editing. More... | |
SoPickedPoint * | getPointOnRay (const SbVec3f &pos, const SbVec3f &dir, const View3DInventorViewer *viewer) const |
Helper method to get picked entities while editing. More... | |
Protected Member Functions inherited from App::TransactionalObject | |
void | onBeforeChangeProperty (Document *doc, const Property *prop) |
Protected Member Functions inherited from App::PropertyContainer | |
virtual const PropertyData & | getPropertyData (void) const |
virtual void | handleChangedPropertyName (Base::XMLReader &reader, const char *TypeName, const char *PropName) |
PropertyContainer::handleChangedPropertyName is called during restore to possibly fix reading of older versions of this property container. More... | |
virtual void | handleChangedPropertyType (Base::XMLReader &reader, const char *TypeName, Property *prop) |
PropertyContainer::handleChangedPropertyType is called during restore to possibly fix reading of older versions of the property container. More... | |
Static Protected Member Functions inherited from App::PropertyContainer | |
static const PropertyData * | getPropertyDataPtr (void) |
Static Protected Member Functions inherited from Base::BaseClass | |
static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
Protected Attributes inherited from Gui::ViewProvider | |
SoSeparator * | pcRoot |
The root Separator of the ViewProvider. More... | |
SoTransform * | pcTransform |
this is transformation for the provider More... | |
const char * | sPixmap |
SoSwitch * | pcModeSwitch |
this is the mode switch, all the different viewing modes are collected here More... | |
SoSeparator * | pcAnnotation |
The root separator for annotations. More... | |
ViewProviderPy * | pyViewObject |
std::string | overrideMode |
std::bitset< 32 > | StatusBits |
Protected Attributes inherited from App::PropertyContainer | |
DynamicProperty | dynamicProps |
Constructor & Destructor Documentation
◆ ViewProviderDocumentObject()
ViewProviderDocumentObject::ViewProviderDocumentObject | ( | ) |
constructor.
References App::Prop_None.
◆ ~ViewProviderDocumentObject()
|
virtual |
destructor.
References DisplayMode, and App::PropertyEnumeration::setEnums().
Member Function Documentation
◆ addDynamicProperty()
|
overridevirtual |
Reimplemented from App::PropertyContainer.
References App::PropertyContainer::addDynamicProperty(), App::Document::addOrRemovePropertyOfObject(), App::DocumentObject::getDocument(), and getObject().
◆ allowOverride()
|
virtual |
Allow this class to be used as an override for the original view provider of the given object.
Reimplemented in Gui::ViewProviderLink, and PartGui::ViewProviderPartExt.
Referenced by Gui::ViewProviderLink::onChanged(), and Gui::Document::slotNewObject().
◆ attach()
|
virtual |
Reimplemented in FemGui::ViewProviderFemPostFunction, FemGui::ViewProviderFemPostObject, Gui::ViewProviderInventorObject, FemGui::ViewProviderFemMesh, Gui::ViewProviderOrigin, PathGui::ViewProviderPath, Gui::ViewProviderGeometryObject, RobotGui::ViewProviderRobotObject, RobotGui::ViewProviderTrajectory, ImageGui::ViewProviderImagePlane, Gui::ViewProviderVRMLObject, Gui::ViewProviderLink, Gui::ViewProviderFeature, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshFolds, MeshGui::ViewProviderMeshSelfIntersections, MeshGui::ViewProviderMeshIndices, MeshGui::ViewProviderMeshDuplicatedPoints, MeshGui::ViewProviderMeshDegenerations, MeshGui::ViewProviderMeshDuplicatedFaces, MeshGui::ViewProviderMeshNonManifoldPoints, MeshGui::ViewProviderMeshNonManifolds, MeshGui::ViewProviderMeshOrientation, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMeshObject, MeshGui::ViewProviderMeshFaceSet, InspectionGui::ViewProviderInspection, MeshGui::ViewProviderMeshNode, PartDesignGui::ViewProviderDatumPlane, PartDesignGui::ViewProviderDatumPoint, MeshGui::ViewProviderFace, PartDesignGui::ViewProviderDatumCoordinateSystem, PartDesignGui::ViewProviderDatumLine, PartGui::ViewProviderPartExt, PartDesignGui::ViewProviderBoolean, PartDesignGui::ViewProviderBody, TechDrawGui::ViewProviderDrawingView, TechDrawGui::ViewProviderGeomHatch, TechDrawGui::ViewProviderPage, Gui::ViewProviderPlacement, PartDesignGui::ViewProviderDatum, TechDrawGui::ViewProviderHatch, TechDrawGui::ViewProviderTemplate, MeshGui::ViewProviderIndexedFaceSet, SketcherGui::ViewProviderSketch, PointsGui::ViewProviderStructured, PointsGui::ViewProviderScattered, MeshGui::ViewProviderMesh, TechDrawGui::ViewProviderDimension, Gui::ViewProviderAnnotationLabel, TechDrawGui::ViewProviderViewPart, DrawingGui::ViewProviderDrawingClip, TechDrawGui::ViewProviderBalloon, TechDrawGui::ViewProviderViewSection, TechDrawGui::ViewProviderWeld, Gui::ViewProviderMeasureDistance, TechDrawGui::ViewProviderAnnotation, TechDrawGui::ViewProviderSymbol, TechDrawGui::ViewProviderSpreadsheet, TechDrawGui::ViewProviderImage, TechDrawGui::ViewProviderViewClip, DrawingGui::ViewProviderDrawingView, TechDrawGui::ViewProviderProjGroup, TechDrawGui::ViewProviderTile, Gui::ViewProviderPlane, PartDesignGui::ViewProviderPrimitive, TechDrawGui::ViewProviderProjGroupItem, Gui::ViewProviderLine, PartDesignGui::ViewProviderAddSub, PartGui::ViewProviderPartReference, MeshGui::ViewProviderMeshTransformDemolding, FemGui::ViewProviderFemConstraint, Gui::ViewProviderAnnotation, MeshGui::ViewProviderMeshTransform, PartGui::ViewProvider2DObject, TechDrawGui::ViewProviderLeader, DrawingGui::ViewProviderDrawingPage, PartGui::ViewProviderCurveNet, TechDrawGui::ViewProviderRichAnno, and Gui::ViewProviderOriginFeature.
References DisplayMode, Gui::ViewProvider::getDefaultDisplayMode(), Gui::ViewProvider::getDisplayModes(), App::DocumentObject::getNameInDocument(), App::PropertyBool::getValue(), Gui::ViewProvider::isRestoring(), pcObject, App::PropertyEnumeration::setEnums(), App::PropertyEnumeration::setValue(), App::PropertyBool::setValue(), Visibility, and App::DocumentObject::Visibility.
Referenced by Gui::ViewProviderVRMLObject::attach(), ImageGui::ViewProviderImagePlane::attach(), RobotGui::ViewProviderTrajectory::attach(), Gui::ViewProviderFeature::attach(), Gui::ViewProviderAnnotation::attach(), Gui::ViewProviderGeometryObject::attach(), Gui::ViewProviderOrigin::attach(), Gui::ViewProviderInventorObject::attach(), Gui::ViewProviderMeasureDistance::attach(), Gui::ViewProviderAnnotationLabel::attach(), Gui::ViewProviderLink::attach(), Gui::FreeCADGui_subgraphFromObject(), Gui::ViewProviderLink::onChanged(), and Gui::Document::slotNewObject().
◆ canDelete()
|
overridevirtual |
Asks the view provider if the given object can be deleted.
Reimplemented from Gui::ViewProvider.
Reimplemented in Gui::ViewProviderLink, TechDrawGui::ViewProviderPage, TechDrawGui::ViewProviderGeomHatch, TechDrawGui::ViewProviderHatch, TechDrawGui::ViewProviderDimension, TechDrawGui::ViewProviderViewSection, TechDrawGui::ViewProviderWeld, TechDrawGui::ViewProviderViewPart, TechDrawGui::ViewProviderBalloon, TechDrawGui::ViewProviderProjGroup, TechDrawGui::ViewProviderViewClip, TechDrawGui::ViewProviderProjGroupItem, TechDrawGui::ViewProviderTile, FemGui::ViewProviderFemAnalysis, TechDrawGui::ViewProviderLeader, and TechDrawGui::ViewProviderRichAnno.
References Base::Persistence::getClassTypeId(), getObject(), App::ExtensionContainer::hasExtension(), and Base::BaseClass::isDerivedFrom().
◆ canDropObjectEx()
|
overridevirtual |
Query object dropping with full quanlified name.
Tree view now calls this function instead of canDropObject(), and may query for objects from other document. The default implementation (actually in ViewProviderDocumentObject) inhibites cross document dropping, and calls canDropObject(obj) for the rest. Override this function to enable cross document linking.
- Parameters
-
obj the object being dropped owner the (grand)parent object of the dropping object. Maybe null. This may not be the top parent object, as tree view will try to find a parent of the dropping object relative to this object to avoid cyclic dependency subname subname reference to the dropping object elements non-object sub-elements, e.g. Faces, Edges, selected when the object is being dropped
- Returns
- Return whether the dropping action is allowed.
Reimplemented from Gui::ViewProvider.
Reimplemented in Gui::ViewProviderLink, and PartDesignGui::ViewProviderSubShapeBinder.
References Gui::ViewProvider::canDropObject(), getDocument(), and getObject().
Referenced by Gui::TreeWidget::dragMoveEvent(), and Gui::TreeWidget::dropEvent().
◆ detachFromDocument()
|
overrideprotectedvirtual |
Reimplemented from App::TransactionalObject.
References Gui::Detach, and Gui::ViewProvider::setStatus().
◆ findFrontRootOfType()
|
protected |
Searches in all view providers that are attached to an object that is part of the same document as the object this view provider is attached to for an front root of type.
Before calling this function this view provider has to be attached to an object. The method returns after the first front root node matches. If no front root node matches, 0 is returned.
References App::DocumentObject::getDocument(), Gui::Application::getDocument(), Gui::ViewProvider::getFrontRoot(), App::Document::getObjects(), Gui::Document::getViewProvider(), Gui::Application::Instance, and pcObject.
Referenced by InspectionGui::ViewProviderInspection::attach(), and FemGui::ViewProviderFemPostObject::attach().
◆ finishRestoring()
|
virtual |
Reimplemented in Gui::ViewProviderLink, TechDrawGui::ViewProviderDrawingView, TechDrawGui::ViewProviderPage, DrawingGui::ViewProviderDrawingClip, and DrawingGui::ViewProviderDrawingView.
Referenced by TechDrawGui::ViewProviderPage::finishRestoring(), TechDrawGui::ViewProviderDrawingView::finishRestoring(), and Gui::ViewProviderLink::finishRestoring().
◆ forceUpdate()
|
virtual |
Reimplemented in PartGui::ViewProviderPartExt.
Referenced by Gui::LinkInfo::LinkInfo(), and Gui::LinkInfo::release().
◆ getActiveView()
|
protected |
Get the active mdi view of the document this view provider is part of.
- Note
- The returned mdi view doesn't need to be a 3d view but can be e.g. an image view, an SVG view or something else.
References Gui::Document::getActiveView(), App::DocumentObject::getDocument(), Gui::Application::getDocument(), Gui::Application::Instance, and pcObject.
Referenced by PartDesignGui::ViewProviderDatum::getRelevantBoundBox().
◆ getDetailPath()
|
overridevirtual |
return the coin node detail and path to the node of the subname
Reimplemented from Gui::ViewProvider.
Reimplemented in Gui::ViewProviderLink, and Gui::ViewProviderPlacement.
References Gui::ViewProvider::getChildRoot(), Gui::ViewProvider::getDetailPath(), getObject(), Gui::Application::getViewProvider(), Gui::Application::Instance, and Gui::ViewProvider::pcModeSwitch.
Referenced by Gui::LinkInfo::getDetail().
◆ getDocument()
Gui::Document * ViewProviderDocumentObject::getDocument | ( | ) | const |
Get the GUI document to this ViewProvider object.
References App::DocumentObject::getDocument(), Gui::Application::getDocument(), Gui::Application::Instance, and pcObject.
Referenced by canDropObjectEx(), Gui::ViewProviderLink::canDropObjectEx(), MeshGui::MeshSplit::cutMesh(), PartDesignGui::ViewProviderDatum::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), Gui::ViewProviderLink::doubleClicked(), Gui::ViewProviderGroupExtension::extensionDragObject(), Gui::ViewProviderLink::finishRestoring(), PartDesignGui::ViewProvider::getBodyViewProvider(), Gui::LinkInfo::getDocName(), Gui::ViewProviderDocumentObjectPy::getDocument(), getElementPicked(), Gui::ViewProviderTextDocument::getMDIView(), TechDrawGui::ViewProviderDrawingView::getMDIViewPage(), TechDrawGui::ViewProviderDrawingView::getQView(), MeshGui::MeshSplit::makeCopy(), PartDesignGui::TaskSketchBasedParameters::onSelectReference(), Gui::DocumentItem::populateItem(), Gui::ElementColors::Private::Private(), PartDesignGui::TaskPipeParameters::referenceSelected(), Gui::Document::setEdit(), PartDesignGui::TaskBoxPrimitives::TaskBoxPrimitives(), PartDesignGui::TaskFeatureParameters::TaskFeatureParameters(), PartDesignGui::TaskPipeParameters::TaskPipeParameters(), Gui::DocumentObjectItem::testStatus(), MeshGui::MeshSplit::trimMesh(), Gui::ViewProviderLink::updateDataPrivate(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), PartDesignGui::TaskPipeOrientation::~TaskPipeOrientation(), and PartDesignGui::TaskPipeParameters::~TaskPipeParameters().
◆ getEditingView()
|
protected |
Get the mdi view of the document this view provider is part of and that is in editing mode.
- Note
- In case there is no mdi view in editing mode 0 is returned. If a value different to 0 is returned it is guaranteed to be a 3d view.
References App::DocumentObject::getDocument(), Gui::Application::getDocument(), Gui::Document::getEditingViewOfViewProvider(), Gui::Application::Instance, and pcObject.
◆ getElementPicked()
|
overridevirtual |
return a hit element given the picked point which contains the full node path
Reimplemented from Gui::ViewProvider.
Reimplemented in Gui::ViewProviderPlacement, and Gui::ViewProviderLink.
References Gui::ViewProvider::getChildRoot(), getDocument(), Gui::ViewProvider::getElementPicked(), Gui::Document::getViewProvider(), Gui::ViewProvider::isSelectable(), and Gui::ViewProvider::pcModeSwitch.
Referenced by Gui::ViewProviderLink::getElementPicked(), and Gui::LinkInfo::getElementPicked().
◆ getFullName()
|
overridevirtual |
Reimplemented from App::PropertyContainer.
References App::DocumentObject::getFullName(), and pcObject.
Referenced by Gui::ViewProviderLink::onChanged().
◆ getInventorView()
|
protected |
Get any mdi view of the document this view provider is part of. In case there is an mdi view in editing mode that contains this view provider that mdi view is returned. Otherwise any other 3d view that contains this view provider is returned. If a value different to 0 is returned it is guaranteed to be a 3d view.
References App::DocumentObject::getDocument(), Gui::Application::getDocument(), Gui::Document::getEditingViewOfViewProvider(), Gui::Document::getViewOfViewProvider(), Gui::Application::Instance, and pcObject.
◆ getLinkedViewProvider()
|
virtual |
Return the linked view object.
This function is mainly used for GUI navigation (e.g. StdCmdLinkSelectLinked).
- Parameters
-
subname output as the subname referencing the linked object recursive whether to follow the link recursively
- Returns
- Returns the linked view provider. If none, it shall return itself.
Reimplemented in Gui::ViewProviderLink.
References App::DocumentObject::getLinkedObject(), App::DocumentObject::getNameInDocument(), Gui::Application::Instance, and pcObject.
◆ getObject()
App::DocumentObject* Gui::ViewProviderDocumentObject::getObject | ( | void | ) | const |
Get the object of this ViewProvider object.
Referenced by PartGui::FaceColors::accept(), PartDesignGui::TaskDlgDatumParameters::accept(), FemGui::TaskDlgFemConstraintInitialTemperature::accept(), PathGui::TaskDlgPathCompound::accept(), FemGui::TaskDlgFemConstraintFixed::accept(), PartDesignGui::TaskDlgSketchBasedParameters::accept(), FemGui::TaskDlgFemConstraintPlaneRotation::accept(), PartDesignGui::TaskDlgDraftParameters::accept(), PartDesignGui::TaskDlgThicknessParameters::accept(), FemGui::TaskDlgFemConstraintPressure::accept(), FemGui::TaskDlgFemConstraintContact::accept(), FemGui::TaskDlgFemConstraintTemperature::accept(), FemGui::TaskDlgFemConstraintHeatflux::accept(), FemGui::TaskDlgFemConstraintTransform::accept(), FemGui::TaskDlgFemConstraintBearing::accept(), FemGui::TaskDlgFemConstraintPulley::accept(), FemGui::TaskDlgFemConstraintForce::accept(), FemGui::TaskDlgFemConstraintGear::accept(), PartDesignGui::TaskDlgShapeBinder::accept(), PartDesignGui::TaskDlgLoftParameters::accept(), PartDesignGui::TaskDlgMirroredParameters::accept(), FemGui::TaskDlgFemConstraint::accept(), PartDesignGui::TaskDlgFeatureParameters::accept(), PartDesignGui::TaskDlgBooleanParameters::accept(), PartDesignGui::TaskDlgDressUpParameters::accept(), FemGui::TaskDlgFemConstraintDisplacement::accept(), FemGui::TaskDlgFemConstraintFluidBoundary::accept(), PartDesignGui::TaskPrimitiveParameters::accept(), PartDesignGui::TaskDlgMultiTransformParameters::accept(), PartDesignGui::TaskDlgPipeParameters::accept(), Gui::ElementColors::Private::accept(), StdCmdDelete::activated(), DrawSketchHandlerCopy::activated(), DrawSketchHandlerRectangularArray::activated(), DrawSketchHandlerCoincident::activated(), DrawSketchHandlerFillet::activated(), DrawSketchHandlerTrimming::activated(), DrawSketchHandlerExtend::activated(), DrawSketchHandlerExternal::activated(), DrawSketchHandlerCarbonCopy::activated(), addDynamicProperty(), Gui::Document::addViewProvider(), PartDesignGui::TaskFilletParameters::apply(), PartDesignGui::TaskChamferParameters::apply(), PartDesignGui::TaskPadParameters::apply(), PartDesignGui::TaskPocketParameters::apply(), PartDesignGui::TaskRevolutionParameters::apply(), PartDesignGui::TaskScaledParameters::apply(), PartDesignGui::TaskLinearPatternParameters::apply(), PartDesignGui::TaskPolarPatternParameters::apply(), PartDesignGui::TaskHoleParameters::apply(), Gui::ViewProviderLink::applyColors(), CmdSketcherConstrainHorizontal::applyConstraint(), CmdSketcherConstrainVertical::applyConstraint(), CmdSketcherConstrainLock::applyConstraint(), CmdSketcherConstrainBlock::applyConstraint(), CmdSketcherConstrainCoincident::applyConstraint(), CmdSketcherConstrainPointOnObject::applyConstraint(), CmdSketcherConstrainParallel::applyConstraint(), PartDesignGui::ViewProviderDatum::attach(), Gui::ViewProviderOriginFeature::attach(), canDelete(), Gui::ViewProviderLink::canDragAndDropObject(), canDropObjectEx(), Gui::ViewProviderLink::canDropObjectEx(), PartDesignGui::ViewProviderBody::canDropObjects(), PartDesignGui::TaskHoleParameters::changedObject(), Gui::ViewProviderLink::checkIcon(), PartGui::ViewProviderFace::claimChildren(), Gui::ViewProviderOrigin::claimChildren(), PartDesignGui::ViewProviderMultiTransform::claimChildren(), FemGui::ViewProviderFemPostPipeline::claimChildren(), PartGui::ViewProviderMultiFuse::claimChildren(), PartGui::ViewProviderCompound::claimChildren(), PartDesignGui::ViewProviderLoft::claimChildren(), PartDesignGui::ViewProviderPipe::claimChildren(), PathGui::ViewProviderArea::claimChildren(), PartGui::ViewProviderMirror::claimChildren(), PartDesignGui::ViewProviderHole::claimChildren(), PartDesignGui::ViewProviderMainPart::claimChildren(), PartGui::ViewProviderBoolean::claimChildren(), PartGui::ViewProviderExtrusion::claimChildren(), PartDesignGui::ViewProviderSketchBased::claimChildren(), PathGui::ViewProviderAreaView::claimChildren(), FemGui::ViewProviderFemPostFunctionProvider::claimChildren(), PartDesignGui::ViewProviderSubShapeBinder::claimChildren(), PartGui::ViewProviderFillet::claimChildren(), PartGui::ViewProviderMultiCommon::claimChildren(), PartGui::ViewProviderChamfer::claimChildren(), PartGui::ViewProviderRevolution::claimChildren(), PartGui::ViewProviderLoft::claimChildren(), PartGui::ViewProviderSweep::claimChildren(), PartGui::ViewProviderOffset::claimChildren(), PartGui::ViewProviderThickness::claimChildren(), FemGui::TaskDlgPost::clicked(), Gui::TreeWidget::contextMenuEvent(), SketcherGui::DrawSketchHandler::createAutoConstraints(), Gui::TreeWidgetEditDelegate::createEditor(), MeshPartGui::CurveOnMeshHandler::Private::createGrid(), Gui::DocumentObjectItem::displayStatusInfo(), Gui::SoFCUnifiedSelection::doAction(), Gui::DocumentObjectData::DocumentObjectData(), Gui::ViewProviderTextDocument::doubleClicked(), PartDesignGui::ViewProviderDatum::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), PartDesignGui::ViewProvider::doubleClicked(), PartDesignGui::ViewProviderBase::doubleClicked(), FemGui::ViewProviderFemAnalysis::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), FemGui::ViewProviderFemPostPlaneFunction::draggerUpdate(), FemGui::ViewProviderFemPostSphereFunction::draggerUpdate(), Gui::TreeWidget::dragMoveEvent(), PartGui::ViewProviderFace::dragObject(), PartGui::ViewProviderCompound::dragObject(), PartGui::ViewProviderMultiFuse::dragObject(), PathGui::ViewProviderArea::dragObject(), PathGui::ViewProviderAreaView::dragObject(), PartGui::ViewProviderMultiCommon::dragObject(), Gui::TreeWidget::dropEvent(), PartGui::ViewProviderFace::dropObject(), PartDesignGui::ViewProviderBody::dropObject(), PartGui::ViewProviderCompound::dropObject(), PathGui::ViewProviderArea::dropObject(), PartGui::ViewProviderMultiFuse::dropObject(), PathGui::ViewProviderAreaView::dropObject(), PartGui::ViewProviderMultiCommon::dropObject(), PartDesignGui::ViewProviderSubShapeBinder::dropObjectEx(), Gui::ElementColors::ElementColors(), PartDesignGui::TaskBooleanParameters::exitSelectionMode(), MeshGui::ViewProviderMesh::exportMesh(), Gui::ViewProviderGroupExtension::extensionCanDropObject(), Gui::ViewProviderGroupExtension::extensionClaimChildren(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren3D(), Gui::ViewProviderGroupExtension::extensionDropObject(), Gui::ViewProviderGroupExtension::extensionHide(), PartGui::ViewProviderAttachExtension::extensionMergeOverlayIcons(), Gui::ViewProviderGroupExtension::extensionOnDelete(), Gui::ViewProviderGroupExtension::extensionShow(), PartGui::ViewProviderAttachExtension::extensionUpdateData(), Gui::ViewProviderOriginGroupExtension::extensionUpdateData(), Gui::ViewProviderGeoFeatureGroupExtension::extensionUpdateData(), PartGui::FaceColors::FaceColors(), MeshGui::ViewProviderMesh::faceInfo(), PartDesignGui::TaskRevolutionParameters::fillAxisCombo(), MeshGui::ViewProviderMesh::fillHole(), Gui::DocumentItem::findItem(), PartDesignGui::TaskDressUpParameters::getBase(), PartDesignGui::ViewProvider::getBodyViewProvider(), Gui::LinkInfo::getDetail(), getDetailPath(), Gui::ViewProviderLink::getElementColors(), Gui::DocumentObjectItem::getFullSubName(), PartGui::ViewProviderBoolean::getIcon(), PartDesignGui::ViewProviderPrimitive::getIcon(), PartDesignGui::ViewProviderPipe::getIcon(), PartDesignGui::ViewProviderLoft::getIcon(), Gui::ViewProviderLink::getIcon(), PartDesignGui::TaskDraftParameters::getLine(), Gui::LinkInfo::getLinkedName(), Gui::ViewProviderLink::getLinkedView(), Gui::ViewProviderTextDocument::getMDIView(), PartGui::ViewProviderPartExt::getModelPoints(), Gui::DocumentObjectItem::getName(), Gui::ViewProviderDocumentObjectPy::getObject(), PartDesignGui::TaskTransformedParameters::getObject(), Gui::View3DInventorPy::getObjectInfo(), Gui::View3DInventorPy::getObjectsInfo(), PartDesignGui::TaskDraftParameters::getPlane(), PartDesignGui::TaskRevolutionParameters::getReferenceAxis(), PartDesignGui::TaskDressUpParameters::getReferences(), PartDesignGui::ViewProviderDatum::getRelevantBoundBox(), FemGui::TaskFemConstraint::getScale(), Gui::TreeWidget::getSelection(), Gui::LinkInfo::getSnapshot(), PartDesignGui::TaskTransformedParameters::getTopTransformedObject(), PartDesignGui::TaskMultiTransformParameters::getTransformFeatures(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), DrawingGui::ViewProviderDrawingView::hide(), DrawingGui::ViewProviderDrawingClip::hide(), PartDesignGui::TaskDressUpParameters::hideObject(), SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), PartDesignGui::ViewProviderDressUp::highlightReferences(), PartDesignGui::ViewProviderShapeBinder::highlightReferences(), PartDesignGui::ViewProviderPipe::highlightReferences(), Gui::DocumentObjectItem::isGroup(), Gui::DocumentObjectItem::isLink(), Gui::LinkInfo::isLinked(), Gui::DocumentObjectItem::isLinkFinal(), Gui::LinkInfo::LinkInfo(), MeshGui::MeshSplit::makeCopy(), Gui::TreeWidget::mimeData(), Gui::TreeWidget::mouseDoubleClickEvent(), Gui::ActiveObjectList::objectDeleted(), PartDesignGui::TaskSketchBasedParameters::objectNameByLabel(), PartDesignGui::TaskSketchBasedParameters::onAddSelection(), onBeforeChange(), PartDesignGui::TaskBoxPrimitives::onBoxHeightChanged(), PartDesignGui::TaskBoxPrimitives::onBoxLengthChanged(), PartDesignGui::TaskBoxPrimitives::onBoxWidthChanged(), FemGui::TaskFemConstraint::onButtonWizCancel(), TechDrawGui::ViewProviderTemplate::onChanged(), PartDesignGui::ViewProviderDatumCoordinateSystem::onChanged(), TechDrawGui::ViewProviderDrawingView::onChanged(), PartDesignGui::ViewProviderBody::onChanged(), PartDesignGui::ViewProvider::onChanged(), TechDrawGui::ViewProviderImage::onChanged(), Gui::ViewProviderOrigin::onChanged(), Gui::ViewProviderAnnotationLabel::onChanged(), onChanged(), Gui::ViewProviderLink::onChanged(), PartDesignGui::TaskBoxPrimitives::onConeAngleChanged(), PartDesignGui::TaskBoxPrimitives::onConeHeightChanged(), PartDesignGui::TaskBoxPrimitives::onConeRadius1Changed(), PartDesignGui::TaskBoxPrimitives::onConeRadius2Changed(), Gui::TreeWidget::onCreateGroup(), PartDesignGui::TaskBoxPrimitives::onCylinderAngleChanged(), PartDesignGui::TaskBoxPrimitives::onCylinderHeightChanged(), PartDesignGui::TaskBoxPrimitives::onCylinderRadiusChanged(), PartDesignGui::ViewProviderBody::onDelete(), Gui::ViewProviderOriginFeature::onDelete(), PartDesignGui::ViewProviderMultiTransform::onDelete(), PartGui::ViewProviderCompound::onDelete(), PartGui::ViewProviderMirror::onDelete(), PartGui::ViewProviderMultiFuse::onDelete(), PathGui::ViewProviderArea::onDelete(), PartDesignGui::ViewProviderHole::onDelete(), PartGui::ViewProviderBoolean::onDelete(), PartDesignGui::ViewProviderSketchBased::onDelete(), PathGui::ViewProviderAreaView::onDelete(), PartGui::ViewProviderFillet::onDelete(), PartDesignGui::ViewProviderBoolean::onDelete(), PartDesignGui::ViewProvider::onDelete(), Gui::ViewProviderOrigin::onDelete(), PartGui::ViewProviderMultiCommon::onDelete(), PartGui::ViewProviderChamfer::onDelete(), PartGui::ViewProviderRevolution::onDelete(), PartGui::ViewProviderOffset::onDelete(), PartGui::ViewProviderThickness::onDelete(), Gui::ViewProviderLink::onDelete(), PartDesignGui::TaskBoxPrimitives::onEllipsoidAngle1Changed(), PartDesignGui::TaskBoxPrimitives::onEllipsoidAngle2Changed(), PartDesignGui::TaskBoxPrimitives::onEllipsoidAngle3Changed(), PartDesignGui::TaskBoxPrimitives::onEllipsoidRadius1Changed(), PartDesignGui::TaskBoxPrimitives::onEllipsoidRadius2Changed(), PartDesignGui::TaskBoxPrimitives::onEllipsoidRadius3Changed(), Gui::TreeWidget::onFinishEditing(), Gui::TreeWidget::onMarkRecompute(), PartDesignGui::TaskBoxPrimitives::onPrismCircumradiusChanged(), PartDesignGui::TaskBoxPrimitives::onPrismHeightChanged(), PartDesignGui::TaskBoxPrimitives::onPrismPolygonChanged(), Gui::TreeWidget::onRecomputeObject(), FemGui::TaskFemConstraint::onReferenceDeleted(), PartDesignGui::TaskDraftParameters::onSelectionChanged(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), FemGui::TaskFemConstraintBearing::onSelectionChanged(), PartDesignGui::TaskRevolutionParameters::onSelectionChanged(), FemGui::TaskFemConstraintGear::onSelectionChanged(), DrawSketchHandlerExternal::onSelectionChanged(), DrawSketchHandlerCarbonCopy::onSelectionChanged(), PartDesignGui::TaskSketchBasedParameters::onSelectReference(), PartDesignGui::TaskBoxPrimitives::onSphereAngle1Changed(), PartDesignGui::TaskBoxPrimitives::onSphereAngle2Changed(), PartDesignGui::TaskBoxPrimitives::onSphereAngle3Changed(), PartDesignGui::TaskBoxPrimitives::onSphereRadiusChanged(), Gui::TreeWidget::onStartEditing(), Gui::PropertyView::onTimer(), PartDesignGui::TaskBoxPrimitives::onTorusAngle1Changed(), PartDesignGui::TaskBoxPrimitives::onTorusAngle2Changed(), PartDesignGui::TaskBoxPrimitives::onTorusAngle3Changed(), PartDesignGui::TaskBoxPrimitives::onTorusRadius1Changed(), PartDesignGui::TaskBoxPrimitives::onTorusRadius2Changed(), PartDesignGui::TaskBoxPrimitives::onWedgeX2maxChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeX2minChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeXmaxChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeXminChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeYmaxChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeYminChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeZ2maxChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeZ2minChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeZmaxChanged(), PartDesignGui::TaskBoxPrimitives::onWedgeZminChanged(), PartGui::FaceColors::open(), FemGui::TaskDlgFemConstraintInitialTemperature::open(), FemGui::TaskDlgFemConstraintFixed::open(), FemGui::TaskDlgFemConstraintPlaneRotation::open(), FemGui::TaskDlgFemConstraintPressure::open(), FemGui::TaskDlgFemConstraintContact::open(), FemGui::TaskDlgFemConstraintTemperature::open(), FemGui::TaskDlgFemConstraintHeatflux::open(), FemGui::TaskDlgFemConstraintTransform::open(), FemGui::TaskDlgFemConstraintForce::open(), FemGui::TaskDlgFemConstraintPulley::open(), FemGui::TaskDlgFemConstraint::open(), FemGui::TaskDlgFemConstraintDisplacement::open(), MeshGui::ViewProviderMesh::partMeshCallback(), Gui::DocumentItem::populateItem(), DrawSketchHandlerBSpline::pressButton(), Gui::ElementColors::Private::Private(), PartGui::FaceColors::Private::Private(), DrawSketchHandlerBSpline::quit(), TechDrawGui::TaskBalloon::recomputeFeature(), PartDesignGui::ViewProviderTransformed::recomputeFeature(), PartDesignGui::TaskFeatureParameters::recomputeFeature(), TechDrawGui::TaskLeaderLine::recomputeFeature(), PartDesignGui::TaskShapeBinder::referenceSelected(), PartDesignGui::TaskPipeParameters::referenceSelected(), PartDesignGui::TaskDressUpParameters::referenceSelected(), PartDesignGui::TaskPipeOrientation::referenceSelected(), PartDesignGui::TaskPipeScaling::referenceSelected(), PartGui::FaceColors::reject(), PartDesignGui::TaskDlgSketchBasedParameters::reject(), PartDesignGui::TaskDlgFeatureParameters::reject(), PartDesignGui::TaskDlgBooleanParameters::reject(), DrawSketchHandlerBox::releaseButton(), DrawSketchHandlerLineSet::releaseButton(), DrawSketchHandlerCopy::releaseButton(), DrawSketchHandlerArc::releaseButton(), DrawSketchHandlerRectangularArray::releaseButton(), DrawSketchHandler3PointArc::releaseButton(), DrawSketchHandlerCoincident::releaseButton(), DrawSketchHandlerCircle::releaseButton(), DrawSketchHandlerArcOfEllipse::releaseButton(), DrawSketchHandlerArcOfHyperbola::releaseButton(), DrawSketchHandlerArcOfParabola::releaseButton(), DrawSketchHandlerBSpline::releaseButton(), DrawSketchHandler3PointCircle::releaseButton(), DrawSketchHandlerPoint::releaseButton(), DrawSketchHandlerFillet::releaseButton(), DrawSketchHandlerTrimming::releaseButton(), DrawSketchHandlerExtend::releaseButton(), DrawSketchHandlerSlot::releaseButton(), DrawSketchHandlerRegularPolygon::releaseButton(), removeDynamicProperty(), replaceObject(), MeshGui::ViewProviderMesh::segmMeshCallback(), Gui::View3DInventorViewer::selectAll(), Gui::DocumentItem::selectAllInstances(), Gui::SelectionObserver::SelectionObserver(), Gui::Document::setActiveView(), Gui::DocumentObjectItem::setData(), SurfaceGui::ViewProviderGeomFillSurface::setEdit(), SurfaceGui::ViewProviderFilling::setEdit(), Gui::ViewProviderDragger::setEdit(), FemGui::ViewProviderSetNodes::setEdit(), PartDesignGui::ViewProviderDressUp::setEdit(), RaytracingGui::ViewProviderPovray::setEdit(), PartDesignGui::ViewProviderBase::setEdit(), RaytracingGui::ViewProviderLux::setEdit(), PartGui::ViewProviderMirror::setEdit(), PartDesignGui::ViewProviderSubShapeBinder::setEdit(), PartGui::ViewProviderFillet::setEdit(), PartGui::ViewProviderChamfer::setEdit(), PartGui::ViewProviderOffset::setEdit(), PartGui::ViewProviderThickness::setEdit(), Gui::Document::setEdit(), Gui::ViewProviderDragger::setEditViewer(), Gui::ViewProviderLink::setElementColors(), Gui::DocumentObjectItem::setExpandedStatus(), PartDesignGui::ViewProviderDatumLine::setExtents(), PartDesignGui::ViewProviderDatumPlane::setExtents(), FemGui::ViewProviderFemMeshPy::setHighlightedNodes(), Gui::Dialog::DlgInspector::setNodeNames(), Gui::ViewProviderLink::setOverrideMode(), PartDesignGui::ViewProviderAddSub::setPreviewDisplayMode(), FemGui::TaskFemConstraint::setSelection(), PartDesignGui::TaskDressUpParameters::setSelection(), Gui::ViewProviderOrigin::setTemporaryVisibility(), PartDesignGui::ViewProviderBase::setupContextMenu(), FemGui::ViewProviderFemPostObject::setupPipeline(), FemGui::ViewProviderFemPostClip::setupTaskDialog(), FemGui::ViewProviderFemPostCut::setupTaskDialog(), PartDesignGui::TaskSketchBasedParameters::setUpToFace(), PartDesignGui::TaskDressUpParameters::setupTransaction(), PartDesignGui::ViewProviderBody::setVisualBodyMode(), show(), DrawingGui::ViewProviderDrawingView::show(), DrawingGui::ViewProviderDrawingClip::show(), PartDesignGui::TaskDressUpParameters::showObject(), PartDesignGui::ViewProviderBody::slotChangedObjectApp(), Gui::ViewProviderOriginGroupExtension::slotChangedObjectApp(), PartDesignGui::ViewProviderBody::slotChangedObjectGui(), Gui::ViewProviderOriginGroupExtension::slotChangedObjectGui(), Gui::DocumentItem::slotInEdit(), SketcherGui::TaskDlgEditSketch::slotRedoDocument(), Gui::Document::slotSkipRecompute(), SketcherGui::TaskDlgEditSketch::slotUndoDocument(), PartDesignGui::ViewProviderTransformed::startEditing(), MeshGui::MeshFaceAddition::startEditing(), MeshGui::MeshFillHole::startEditing(), Gui::ViewProviderLink::startEditing(), PartDesignGui::TaskBooleanParameters::TaskBooleanParameters(), PartDesignGui::TaskBoxPrimitives::TaskBoxPrimitives(), PartDesignGui::TaskChamferParameters::TaskChamferParameters(), Gui::TaskCSysDragger::TaskCSysDragger(), PartDesignGui::TaskDatumParameters::TaskDatumParameters(), SketcherGui::TaskDlgEditSketch::TaskDlgEditSketch(), PartDesignGui::TaskDraftParameters::TaskDraftParameters(), FemGui::TaskFemConstraintBearing::TaskFemConstraintBearing(), FemGui::TaskFemConstraintContact::TaskFemConstraintContact(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintGear::TaskFemConstraintGear(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintInitialTemperature::TaskFemConstraintInitialTemperature(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintPulley::TaskFemConstraintPulley(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform(), PartDesignGui::TaskFilletParameters::TaskFilletParameters(), PartDesignGui::TaskHoleParameters::TaskHoleParameters(), PartDesignGui::TaskLoftParameters::TaskLoftParameters(), PartDesignGui::TaskMultiTransformParameters::TaskMultiTransformParameters(), PartDesignGui::TaskPadParameters::TaskPadParameters(), PartDesignGui::TaskPipeOrientation::TaskPipeOrientation(), PartDesignGui::TaskPipeParameters::TaskPipeParameters(), PartDesignGui::TaskPipeScaling::TaskPipeScaling(), PartDesignGui::TaskPocketParameters::TaskPocketParameters(), PartDesignGui::TaskRevolutionParameters::TaskRevolutionParameters(), PartDesignGui::TaskShapeBinder::TaskShapeBinder(), PartDesignGui::TaskThicknessParameters::TaskThicknessParameters(), PathGui::TaskWidgetPathCompound::TaskWidgetPathCompound(), Gui::DocumentObjectItem::testStatus(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), PartGui::ViewProviderMirror::unsetEdit(), update(), PartDesignGui::ViewProviderAddSub::updateAddSubShapeIndicator(), Gui::DocumentObjectData::updateChildren(), PartDesignGui::ViewProviderDatumLine::updateData(), Gui::ViewProviderOriginFeature::updateData(), Gui::ViewProviderGeometryObject::updateData(), PartDesignGui::ViewProviderBody::updateData(), FemGui::ViewProviderFemConstraintPressure::updateData(), SketcherGui::ViewProviderCustom::updateData(), PartGui::ViewProviderCustom::updateData(), PartGui::ViewProviderMultiFuse::updateData(), FemGui::ViewProviderFemConstraintFluidBoundary::updateData(), FemGui::ViewProviderFemConstraintBearing::updateData(), FemGui::ViewProviderFemConstraintGear::updateData(), FemGui::ViewProviderFemConstraintPulley::updateData(), FemGui::ViewProviderFemConstraintFixed::updateData(), FemGui::ViewProviderFemConstraintForce::updateData(), PartDesignGui::ViewProviderDatumPlane::updateData(), PartGui::ViewProviderBoolean::updateData(), FemGui::ViewProviderFemConstraintContact::updateData(), FemGui::ViewProviderFemConstraintDisplacement::updateData(), FemGui::ViewProviderFemConstraintHeatflux::updateData(), FemGui::ViewProviderFemConstraintTemperature::updateData(), FemGui::ViewProviderFemConstraintPlaneRotation::updateData(), FemGui::ViewProviderFemConstraintTransform::updateData(), PartGui::ViewProviderCompound::updateData(), PartGui::ViewProviderFillet::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderChamfer::updateData(), FemGui::ViewProviderFemPostPlaneFunction::updateData(), FemGui::ViewProviderFemPostSphereFunction::updateData(), FemGui::ViewProviderFemPostPipeline::updateFunctionSize(), Gui::DocumentItem::updateItemSelection(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), PartGui::ViewProviderPartExt::updateVisual(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), PartDesignGui::TaskPipeOrientation::~TaskPipeOrientation(), PartDesignGui::TaskPipeParameters::~TaskPipeParameters(), and PartDesignGui::TaskRevolutionParameters::~TaskRevolutionParameters().
◆ getPyObject()
|
overridevirtual |
Get the python wrapper for that ViewProvider.
Reimplemented from Gui::ViewProvider.
Reimplemented in PartDesignGui::ViewProvider, Gui::ViewProviderLink, MeshGui::ViewProviderMesh, and FemGui::ViewProviderFemMesh.
References Base::PyObjectBase::IncRef(), and Gui::ViewProvider::pyViewObject.
◆ getTaskViewContent()
|
overridevirtual |
Get a list of TaskBoxes associated with this object.
Reimplemented from Gui::ViewProvider.
◆ getViewOfNode()
|
protected |
Get the mdi view of the document that contains the given node.
References App::DocumentObject::getDocument(), Gui::Application::getDocument(), Gui::Document::getViewOfNode(), Gui::Application::Instance, and pcObject.
◆ hide()
|
overridevirtual |
Hide the object in the view.
Reimplemented from Gui::ViewProvider.
Reimplemented in TechDrawGui::ViewProviderDrawingView, TechDrawGui::ViewProviderPage, TechDrawGui::ViewProviderTemplate, DrawingGui::ViewProviderDrawingClip, FemGui::ViewProviderFemAnalysis, TechDrawGui::ViewProviderViewClip, FemGui::ViewProviderFemPostObject, DrawingGui::ViewProviderDrawingView, MeshGui::ViewProviderMeshCurvature, InspectionGui::ViewProviderInspection, and DrawingGui::ViewProviderDrawingPage.
References Gui::ViewProvider::hide(), App::Property::setStatus(), App::PropertyBool::setValue(), App::Property::testStatus(), App::Property::User2, and Visibility.
Referenced by Gui::ViewProviderLink::attach(), Gui::ViewProviderAnnotationLabel::drawImage(), FemGui::ViewProviderFemPostObject::hide(), FemGui::ViewProviderFemAnalysis::hide(), Mod.Show.mTempoVis.TempoVis::hide_all_dependencies(), Mod.Show.mTempoVis.TempoVis::hide_all_dependent(), onChanged(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), and startRestoring().
◆ isAttachedToDocument()
|
overrideprotectedvirtual |
Reimplemented from App::TransactionalObject.
References Gui::Detach, and Gui::ViewProvider::testStatus().
Referenced by onBeforeChange().
◆ isUpdateForced()
|
virtual |
Reimplemented in PartGui::ViewProviderPartExt.
◆ onBeforeChange()
|
overrideprotectedvirtual |
get called before the value is changed
Reimplemented from Gui::ViewProvider.
Reimplemented in Gui::ViewProviderLink.
References getObject(), isAttachedToDocument(), Gui::ViewProvider::onBeforeChange(), and App::TransactionalObject::onBeforeChangeProperty().
Referenced by Gui::ViewProviderLink::onBeforeChange().
◆ onChanged()
|
overrideprotectedvirtual |
Gets called by the container whenever a property has been changed.
Reimplemented from Gui::ViewProvider.
Reimplemented in Gui::ViewProviderLink, PartGui::ViewProviderPartExt, PartDesignGui::ViewProviderBoolean, Gui::ViewProviderPart, PartDesignGui::ViewProvider, TechDrawGui::ViewProviderPage, PartDesignGui::ViewProviderBody, Gui::ViewProviderPlacement, TechDrawGui::ViewProviderDrawingView, TechDrawGui::ViewProviderGeomHatch, TechDrawGui::ViewProviderHatch, TechDrawGui::ViewProviderTemplate, SketcherGui::ViewProviderSketch, MeshGui::ViewProviderMesh, FemGui::ViewProviderFemMesh, FemGui::ViewProviderFemPostFunction, Gui::ViewProviderAnnotationLabel, TechDrawGui::ViewProviderViewPart, TechDrawGui::ViewProviderProjGroup, TechDrawGui::ViewProviderViewSection, Gui::ViewProviderOrigin, Gui::ViewProviderMeasureDistance, PointsGui::ViewProviderPoints, MeshGui::ViewProviderMeshCurvature, Gui::ViewProviderGeometryObject, PathGui::ViewProviderPath, TechDrawGui::ViewProviderImage, FemGui::ViewProviderFemPostFunctionProvider, PartGui::ViewProviderSpline, FemGui::ViewProviderFemPostObject, PartDesignGui::ViewProviderDatumPoint, PartGui::ViewProviderCustom, PartGui::ViewProviderPartReference, SketcherGui::ViewProviderCustom, InspectionGui::ViewProviderInspection, MeshGui::ViewProviderMeshNode, FemGui::ViewProviderFemConstraint, PartGui::ViewProvider2DObject, Gui::ViewProviderAnnotation, Gui::ViewProviderOriginFeature, MeshGui::ViewProviderMeshDefects, RobotGui::ViewProviderRobotObject, Gui::ViewProviderTextDocument, TechDrawGui::ViewProviderDimension, TechDrawGui::ViewProviderBalloon, TechDrawGui::ViewProviderWeld, TechDrawGui::ViewProviderLeader, TechDrawGui::ViewProviderRichAnno, and PartDesignGui::ViewProviderDatumCoordinateSystem.
References Gui::SoFCSelectionRoot::Box, DisplayMode, Gui::SoFCSelectionRoot::Full, App::Property::getFullName(), getObject(), Gui::ViewProvider::getRoot(), App::PropertyEnumeration::getValue(), App::PropertyBool::getValue(), hide(), Gui::Document::isModified(), Gui::ViewProvider::onChanged(), pcDocument, SelectionStyle, setActiveMode(), Gui::Document::setModified(), App::Property::setStatus(), App::PropertyBool::setValue(), show(), App::Property::testStatus(), Gui::ViewProvider::testStatus(), App::Property::User1, App::Property::User2, Visibility, and App::DocumentObject::Visibility.
Referenced by draftviewproviders.view_base.ViewProviderDraft::attach(), ArchSite.Compass::buildCoordinates(), draftobjects.wire.Wire::execute(), ArchAxis.CommandArchGrid::IsActive(), Gui::ViewProviderTextDocument::onChanged(), TechDrawGui::ViewProviderTemplate::onChanged(), TechDrawGui::ViewProviderGeomHatch::onChanged(), Gui::ViewProviderAnnotation::onChanged(), TechDrawGui::ViewProviderDrawingView::onChanged(), TechDrawGui::ViewProviderPage::onChanged(), FemGui::ViewProviderFemPostFunctionProvider::onChanged(), Gui::ViewProviderPart::onChanged(), TechDrawGui::ViewProviderImage::onChanged(), Gui::ViewProviderGeometryObject::onChanged(), Gui::ViewProviderMeasureDistance::onChanged(), Gui::ViewProviderOrigin::onChanged(), TechDrawGui::ViewProviderBalloon::onChanged(), Gui::ViewProviderAnnotationLabel::onChanged(), FemGui::ViewProviderFemPostFunction::onChanged(), Gui::ViewProviderLink::onChanged(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy::updateData(), draftviewproviders.view_label.ViewProviderLabel::updateData(), DraftLayer.ViewProviderLayer::updateData(), ArchBuildingPart.ViewProviderBuildingPart::updateData(), ArchPanel.ViewProviderPanelCut::updateData(), and ArchPanel.ViewProviderPanelSheet::updateData().
◆ onPropertyStatusChanged()
|
overrideprotectedvirtual |
get called when a property status has changed
Reimplemented from App::PropertyContainer.
References App::DocumentObject::getDocument(), App::Document::isAnyRestoring(), pcObject, and App::Document::signalChangePropertyEditor.
◆ reattach()
|
virtual |
Reimplemented in Gui::ViewProviderLink.
Referenced by Gui::ViewProviderLink::reattach(), and Gui::Document::slotNewObject().
◆ removeDynamicProperty()
|
overridevirtual |
Reimplemented from App::PropertyContainer.
References App::Document::addOrRemovePropertyOfObject(), App::DocumentObject::getDocument(), App::PropertyContainer::getDynamicPropertyByName(), getObject(), App::Property::LockDynamic, App::PropertyContainer::removeDynamicProperty(), and App::Property::testStatus().
◆ replaceObject()
|
overridevirtual |
Replace an object to the view provider by drag and drop.
- Parameters
-
oldObj object to be replaced newObj object to replace with
- Returns
- Returns 0 if not found, 1 if succeeded, -1 if not supported
Reimplemented from Gui::ViewProvider.
References App::GetApplication(), App::DocumentObject::getNameInDocument(), getObject(), and Gui::ViewProvider::replaceObject().
◆ setActiveMode()
void ViewProviderDocumentObject::setActiveMode | ( | ) |
Set the active mode, i.e. the first item of the 'Display' property.
References DisplayMode, App::PropertyBool::getValue(), App::PropertyEnumeration::getValueAsString(), Gui::ViewProvider::hide(), App::PropertyEnumeration::isValid(), Gui::ViewProvider::setDisplayMode(), and Visibility.
Referenced by InspectionGui::ViewProviderInspection::OnChange(), onChanged(), Gui::ViewProviderLink::onChanged(), and Gui::Document::slotNewObject().
◆ show()
|
overridevirtual |
Show the object in the view.
Reimplemented from Gui::ViewProvider.
Reimplemented in TechDrawGui::ViewProviderDrawingView, TechDrawGui::ViewProviderPage, TechDrawGui::ViewProviderTemplate, DrawingGui::ViewProviderDrawingClip, FemGui::ViewProviderFemAnalysis, TechDrawGui::ViewProviderViewClip, FemGui::ViewProviderFemPostObject, DrawingGui::ViewProviderDrawingView, MeshGui::ViewProviderMeshCurvature, InspectionGui::ViewProviderInspection, and DrawingGui::ViewProviderDrawingPage.
References getObject(), Gui::TreeWidget::isObjectShowable(), App::Property::setStatus(), App::PropertyBool::setValue(), Gui::ViewProvider::show(), App::Property::testStatus(), App::Property::User2, Visibility, and App::DocumentObject::Visibility.
Referenced by Gui::DAG::Model::mousePressEvent(), onChanged(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), FemGui::ViewProviderFemPostObject::show(), FemGui::ViewProviderFemAnalysis::show(), Mod.Show.mTempoVis.TempoVis::show_all_dependencies(), Mod.Show.mTempoVis.TempoVis::show_all_dependent(), Gui::ViewProviderGeometryObject::showBoundingBox(), PartGui::ViewProviderSpline::showControlPoints(), MeshGui::ViewProviderMeshNode::showOpenEdges(), MeshGui::ViewProviderMeshFaceSet::showOpenEdges(), MeshGui::ViewProviderMesh::showOpenEdges(), MeshGui::ViewProviderIndexedFaceSet::showOpenEdges(), MeshGui::ViewProviderMeshObject::showOpenEdges(), and PartDesignGui::TaskHoleParameters::TaskHoleParameters().
◆ showInTree()
|
overridevirtual |
Tell the tree view if this object should appear there.
Reimplemented from Gui::ViewProvider.
References App::PropertyBool::getValue(), and ShowInTree.
Referenced by Gui::TreeWidget::contextMenuEvent(), Gui::DocumentObjectData::DocumentObjectData(), and Gui::DocumentObjectItem::testStatus().
◆ startRestoring()
|
virtual |
Reimplemented in TechDrawGui::ViewProviderDrawingView, TechDrawGui::ViewProviderPage, DrawingGui::ViewProviderDrawingClip, and DrawingGui::ViewProviderDrawingView.
References hide().
Referenced by TechDrawGui::ViewProviderPage::startRestoring(), and TechDrawGui::ViewProviderDrawingView::startRestoring().
◆ update()
|
overridevirtual |
update the content of the ViewProvider this method have to implement the recalculation of the ViewProvider.
There are different reasons to update. E.g. only the view attribute has changed, or the data has manipulated.
Reimplemented from Gui::ViewProvider.
References getObject(), App::PropertyBool::getValue(), Gui::ViewProvider::isRestoring(), App::PropertyBool::setValue(), Gui::ViewProvider::update(), App::Property::User1, and Visibility.
Referenced by ArchAxis.AxisSystemTaskPanel::addElement(), ArchSectionPlane.SectionPlaneTaskPanel::addElement(), ArchComponent.ComponentTaskPanel::addElement(), DraftGui.FacebinderTaskPanel::addElement(), femtaskpanels.task_result_mechanical._TaskPanel::calculate(), Gui::ViewProviderLink::callDraggerProxy(), Spreadsheet_legacy.SpreadsheetView::changeCell(), draftguitools.gui_edit.Edit::endEditing(), draftguitools.gui_trackers.boxTracker::height(), ArchAxis.CommandArchGrid::IsActive(), draftguitools.gui_trackers.rectangleTracker::p3(), Plot.Plot::plot(), Spreadsheet_legacy.SpreadsheetView::recompute(), ArchAxis.AxisSystemTaskPanel::removeElement(), ArchSectionPlane.SectionPlaneTaskPanel::removeElement(), ArchComponent.ComponentTaskPanel::removeElement(), DraftGui.FacebinderTaskPanel::removeElement(), draftguitools.gui_trackers.gridTracker::reset(), ArchNesting.Nester::run(), and draftguitools.gui_edit.Edit::update_object().
◆ updateView()
void ViewProviderDocumentObject::updateView | ( | ) |
Run a redraw.
References App::ExtensionContainer::getPropertyMap(), App::PropertyBool::getValue(), Gui::ViewProvider::hide(), Gui::ViewProvider::isShow(), pcObject, Gui::ViewProvider::show(), Gui::ViewProvider::testStatus(), Gui::ViewProvider::updateData(), App::Property::User1, and Visibility.
Referenced by Gui::ViewProviderLink::onChanged(), Gui::Document::slotNewObject(), and Gui::ViewProviderDocumentObjectPy::update().
Friends And Related Function Documentation
◆ Document
Member Data Documentation
◆ DisplayMode
App::PropertyEnumeration Gui::ViewProviderDocumentObject::DisplayMode |
◆ OnTopWhenSelected
App::PropertyEnumeration Gui::ViewProviderDocumentObject::OnTopWhenSelected |
Referenced by Gui::View3DInventorViewer::checkGroupOnTop(), Gui::ElementColors::ElementColors(), Gui::ElementColors::Private::Private(), PartDesignGui::ViewProviderDatumCoordinateSystem::ViewProviderDatumCoordinateSystem(), Gui::ViewProviderTextDocument::ViewProviderTextDocument(), and Gui::ElementColors::Private::~Private().
◆ pcDocument
|
protected |
Referenced by onChanged(), and Gui::Document::slotNewObject().
◆ pcObject
|
protected |
Referenced by MeshGui::ViewProviderMesh::addSelection(), Gui::ViewProviderOriginFeature::attach(), Gui::ViewProviderPlacement::attach(), PartDesignGui::ViewProviderBody::attach(), Gui::ViewProviderAnnotation::attach(), FemGui::ViewProviderFemConstraint::attach(), MeshGui::ViewProviderMeshTransformDemolding::attach(), attach(), Gui::ViewProviderOrigin::attach(), Gui::ViewProviderMeasureDistance::attach(), MeshGui::ViewProviderMeshTransformDemolding::calcNormalVector(), Gui::ViewProviderLink::canDropObjectEx(), MeshGui::ViewProviderMesh::clearSelection(), MeshGui::ViewProviderMesh::deleteSelection(), MeshGui::ViewProviderMesh::deselectComponent(), MeshGui::ViewProviderMesh::deselectFacet(), PartDesignGui::ViewProviderDatum::doubleClicked(), PartGui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProvider::doubleClicked(), PartDesignGui::ViewProviderLoft::doubleClicked(), PartDesignGui::ViewProviderPipe::doubleClicked(), MeshGui::ViewProviderMesh::exportToVrml(), findFrontRootOfType(), getActiveView(), MeshGui::ViewProviderMesh::getColorProperty(), getDocument(), getEditingView(), MeshGui::ViewProviderMesh::getFacetsFromPolygon(), TechDrawGui::ViewProviderTile::getFeature(), getFullName(), InspectionGui::ViewProviderInspection::getIcon(), getInventorView(), getLinkedViewProvider(), Gui::ViewProviderLink::getLinkExtension(), DrawingGui::ViewProviderDrawingPage::getPageObject(), Gui::ViewProviderLink::getPropertyByName(), TechDrawGui::ViewProviderTemplate::getTemplate(), TechDrawGui::ViewProviderHatch::getViewObject(), TechDrawGui::ViewProviderDrawingView::getViewObject(), TechDrawGui::ViewProviderViewClip::getViewObject(), TechDrawGui::ViewProviderProjGroupItem::getViewObject(), TechDrawGui::ViewProviderSpreadsheet::getViewObject(), TechDrawGui::ViewProviderImage::getViewObject(), TechDrawGui::ViewProviderSymbol::getViewObject(), TechDrawGui::ViewProviderAnnotation::getViewObject(), TechDrawGui::ViewProviderProjGroup::getViewObject(), TechDrawGui::ViewProviderViewSection::getViewObject(), getViewOfNode(), MeshGui::ViewProviderMesh::getVisibleFacets(), MeshGui::ViewProviderMeshNode::handleEvent(), MeshGui::ViewProviderMesh::hasSelection(), MeshGui::ViewProviderMesh::highlightComponents(), MeshGui::ViewProviderMesh::highlightSegments(), MeshGui::ViewProviderMesh::highlightSelection(), InspectionGui::ViewProviderInspection::inspectDistance(), MeshGui::ViewProviderMesh::invertSelection(), MeshGui::ViewProviderMesh::isFacetSelected(), PartGui::ViewProviderSpline::onChanged(), FemGui::ViewProviderFemMesh::onChanged(), onPropertyStatusChanged(), MeshGui::ViewProviderMesh::removeFacets(), MeshGui::ViewProviderMesh::removeSelection(), MeshGui::ViewProviderMesh::segmentMesh(), MeshGui::ViewProviderMesh::selectArea(), MeshGui::ViewProviderMesh::selectComponent(), MeshGui::ViewProviderMesh::selectFacet(), InspectionGui::ViewProviderInspection::setDistances(), FemGui::ViewProviderFemMesh::setHighlightNodes(), MeshGui::ViewProviderMesh::setSelection(), PartDesignGui::ViewProviderBody::setVisualBodyMode(), DrawingGui::ViewProviderDrawingPage::showDrawingView(), MeshGui::ViewProviderMeshNode::showOpenEdges(), MeshGui::ViewProviderMeshFaceSet::showOpenEdges(), MeshGui::ViewProviderIndexedFaceSet::showOpenEdges(), MeshGui::ViewProviderMesh::splitMesh(), MeshGui::ViewProviderMesh::trimMesh(), MeshGui::ViewProviderMesh::tryColorPerVertexOrFace(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), PartDesignGui::ViewProviderAddSub::updateAddSubShapeIndicator(), Gui::ViewProviderVRMLObject::updateData(), InspectionGui::ViewProviderInspection::updateData(), DrawingGui::ViewProviderDrawingPage::updateData(), Gui::ViewProviderInventorObject::updateData(), Gui::ViewProviderLink::updateData(), updateView(), and PartGui::ViewProviderPartExt::updateVisual().
◆ SelectionStyle
App::PropertyEnumeration Gui::ViewProviderDocumentObject::SelectionStyle |
◆ ShowInTree
App::PropertyBool Gui::ViewProviderDocumentObject::ShowInTree |
Referenced by showInTree().
◆ Visibility
App::PropertyBool Gui::ViewProviderDocumentObject::Visibility |
Referenced by PartDesignGui::TaskDlgBooleanParameters::accept(), attach(), TechDrawGui::ViewProviderDrawingView::finishRestoring(), PartGui::ViewProviderPartExt::forceUpdate(), hide(), TechDrawGui::ViewProviderTemplate::isShow(), TechDrawGui::ViewProviderDrawingView::isShow(), Gui::ViewProviderDocumentObjectGroup::isShow(), DrawingGui::ViewProviderDrawingView::isShow(), TechDrawGui::ViewProviderViewClip::isShow(), DrawingGui::ViewProviderDrawingClip::isShow(), TechDrawGui::QGIView::isVisible(), TechDrawGui::ViewProviderTemplate::onChanged(), TechDrawGui::ViewProviderDrawingView::onChanged(), PartDesignGui::ViewProviderBody::onChanged(), PartDesignGui::ViewProvider::onChanged(), PartGui::ViewProviderPartExt::onChanged(), onChanged(), Gui::ViewProviderLink::onChanged(), setActiveMode(), PartDesignGui::ViewProvider::setBodyMode(), show(), PartDesignGui::ViewProviderBody::slotChangedObjectGui(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), update(), PartGui::ViewProviderPartExt::updateData(), updateView(), and Gui::ViewProviderTextDocument::ViewProviderTextDocument().
The documentation for this class was generated from the following files:
- src/Gui/ViewProviderDocumentObject.h
- src/Gui/ViewProviderDocumentObject.cpp