Gui::ViewProviderDocumentObject Class Reference

#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 qualified 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::DocumentgetDocument () 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::DocumentObjectgetObject (void) const
 Get the object of this ViewProvider object. More...
 
PyObjectgetPyObject () 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 const char * getTransactionText () const override
 Is called by the tree if the user double clicks on the 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...
 
SoSeparatorgetAnnotation (void)
 
virtual SoSeparatorgetBackRoot (void) const
 
virtual SoGroupgetChildRoot (void) const
 
virtual SoSeparatorgetFrontRoot (void) const
 
SoSwitch * getModeSwitch (void) const
 
virtual SoSeparatorgetRoot (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::Vector3dgetModelPoints (const SoPickedPoint *) const
 
virtual std::vector< Base::Vector3dgetSelectionShape (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 qualified 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 clicks 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 ViewProviderstartEditing (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 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 QIcon getIcon (void) const
 deliver the icon shown in the tree view More...
 
virtual QIcon mergeColorfulOverlayIcons (const QIcon &orig) const
 
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 std::map< std::string, App::ColorgetElementColors (const char *element=0) const
 
virtual void setElementColors (const std::map< std::string, App::Color > &colors)
 
virtual void setTransformation (const Base::Matrix4D &rcMatrix)
 set the viewing transformation of the provider More...
 
virtual void setTransformation (const SbMatrix &rcMatrix)
 
virtual MDIViewgetMDIView () 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...
 
SoNodegetDisplayMaskMode (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::ExtensiongetExtension (Base::Type, bool derived=true, bool no_except=false) const
 
App::ExtensiongetExtension (const std::string &name) const
 
template<typename ExtensionT >
ExtensionTgetExtensionByType (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 PropertygetPropertyByName (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::PropertygetDynamicPropertyByName (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...
 

Transaction handling

App::DocumentObjectpcObject
 
Gui::DocumentpcDocument
 
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...
 
virtual void setModeSwitch () override
 Turn on mode switch. More...
 

Restoring view provider from document load

virtual void startRestoring ()
 
virtual void finishRestoring ()
 
virtual bool removeDynamicProperty (const char *prop) override
 
virtual App::PropertyaddDynamicProperty (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 ViewProviderDocumentObjectgetLinkedViewProvider (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...
 
void setShowable (bool enable)
 
bool isShowable () const
 
Gui::MDIViewgetActiveView () const
 
Gui::MDIViewgetEditingView () const
 
Gui::MDIViewgetInventorView () const
 
Gui::MDIViewgetViewOfNode (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...
 
SoNodefindFrontRootOfType (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...
 

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 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...
 
virtual QIcon mergeGreyableOverlayIcons (const QIcon &orig) const
 
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 PropertyDatagetPropertyData (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 PropertyDatagetPropertyDataPtr (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
SoSeparatorpcRoot
 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...
 
SoSeparatorpcAnnotation
 The root separator for annotations. More...
 
ViewProviderPypyViewObject
 
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()

ViewProviderDocumentObject::~ViewProviderDocumentObject ( )
virtual

destructor.

References DisplayMode, and App::PropertyEnumeration::setEnums().

Member Function Documentation

◆ addDynamicProperty()

App::Property * ViewProviderDocumentObject::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 
)
overridevirtual

◆ allowOverride()

virtual bool Gui::ViewProviderDocumentObject::allowOverride ( const App::DocumentObject ) const
virtual

Allow this class to be used as an override for the original view provider of the given object.

See also
App::DocumentObject::getViewProviderNameOverride()

Reimplemented in PartGui::ViewProviderPartExt, and Gui::ViewProviderLink.

Referenced by Gui::ViewProviderLink::onChanged(), and Gui::Document::slotNewObject().

◆ attach()

void ViewProviderDocumentObject::attach ( App::DocumentObject pcObject)
virtual

Reimplemented in RobotGui::ViewProviderTrajectory, RobotGui::ViewProviderRobotObject, PathGui::ViewProviderPath, ImageGui::ViewProviderImagePlane, FemGui::ViewProviderFemPostObject, FemGui::ViewProviderFemPostFunction, FemGui::ViewProviderFemMesh, Gui::ViewProviderVRMLObject, Gui::ViewProviderOrigin, Gui::ViewProviderInventorObject, Gui::ViewProviderGeometryObject, 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::ViewProviderMeshNode, MeshGui::ViewProviderMeshFaceSet, MeshGui::ViewProviderMeshObject, InspectionGui::ViewProviderInspection, PartDesignGui::ViewProviderDatumPoint, PartDesignGui::ViewProviderDatumPlane, PartDesignGui::ViewProviderDatumLine, PartDesignGui::ViewProviderDatumCoordinateSystem, MeshGui::ViewProviderFace, TechDrawGui::ViewProviderTemplate, TechDrawGui::ViewProviderPage, TechDrawGui::ViewProviderHatch, TechDrawGui::ViewProviderGeomHatch, TechDrawGui::ViewProviderDrawingView, SketcherGui::ViewProviderSketch, PartDesignGui::ViewProviderDatum, PartDesignGui::ViewProviderBoolean, PartDesignGui::ViewProviderBody, PartGui::ViewProviderPartExt, Gui::ViewProviderPlacement, TechDrawGui::ViewProviderWeld, TechDrawGui::ViewProviderViewSection, TechDrawGui::ViewProviderViewPart, TechDrawGui::ViewProviderViewClip, TechDrawGui::ViewProviderTile, TechDrawGui::ViewProviderSymbol, TechDrawGui::ViewProviderSpreadsheet, TechDrawGui::ViewProviderRichAnno, TechDrawGui::ViewProviderProjGroupItem, TechDrawGui::ViewProviderProjGroup, TechDrawGui::ViewProviderLeader, TechDrawGui::ViewProviderImage, TechDrawGui::ViewProviderDimension, TechDrawGui::ViewProviderBalloon, TechDrawGui::ViewProviderAnnotation, PointsGui::ViewProviderStructured, PointsGui::ViewProviderScattered, PartDesignGui::ViewProviderPrimitive, PartDesignGui::ViewProviderAddSub, PartGui::ViewProviderPartReference, PartGui::ViewProviderCurveNet, PartGui::ViewProvider2DObjectGrid, MeshGui::ViewProviderMeshTransformDemolding, MeshGui::ViewProviderMeshTransform, MeshGui::ViewProviderIndexedFaceSet, MeshGui::ViewProviderMesh, FemGui::ViewProviderFemConstraint, DrawingGui::ViewProviderDrawingClip, DrawingGui::ViewProviderDrawingView, DrawingGui::ViewProviderDrawingPage, Gui::ViewProviderPlane, Gui::ViewProviderOriginFeature, Gui::ViewProviderMeasureDistance, Gui::ViewProviderLine, Gui::ViewProviderAnnotationLabel, and Gui::ViewProviderAnnotation.

References DisplayMode, Gui::ViewProvider::getDefaultDisplayMode(), Gui::ViewProvider::getDisplayModes(), App::DocumentObject::getNameInDocument(), App::PropertyBool::getValue(), Gui::ViewProvider::isRestoring(), pcObject, App::PropertyEnumeration::setEnums(), App::PropertyBool::setValue(), App::PropertyEnumeration::setValue(), App::DocumentObject::Visibility, and Visibility.

Referenced by Gui::ViewProviderAnnotation::attach(), Gui::ViewProviderAnnotationLabel::attach(), Gui::ViewProviderMeasureDistance::attach(), Gui::ViewProviderFeature::attach(), Gui::ViewProviderLink::attach(), Gui::ViewProviderGeometryObject::attach(), Gui::ViewProviderInventorObject::attach(), Gui::ViewProviderOrigin::attach(), Gui::ViewProviderVRMLObject::attach(), ImageGui::ViewProviderImagePlane::attach(), RobotGui::ViewProviderTrajectory::attach(), Gui::ViewProviderLink::onChanged(), Gui::ViewProviderDocumentObjectPy::setObject(), and Gui::Document::slotNewObject().

◆ canDelete()

◆ canDropObjectEx()

bool ViewProviderDocumentObject::canDropObjectEx ( App::DocumentObject obj,
App::DocumentObject owner,
const char *  subname,
const std::vector< std::string > &  elements 
) const
overridevirtual

Query object dropping with full qualified 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
objthe object being dropped
ownerthe (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
subnamesubname reference to the dropping object
elementsnon-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()

const char * ViewProviderDocumentObject::detachFromDocument ( )
overrideprotectedvirtual

◆ findFrontRootOfType()

SoNode * ViewProviderDocumentObject::findFrontRootOfType ( const SoType &  type) const
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 Gui::Application::getDocument(), App::DocumentObject::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()

◆ forceUpdate()

virtual void Gui::ViewProviderDocumentObject::forceUpdate ( bool  enable = true)
virtual

◆ getActiveView()

Gui::MDIView * ViewProviderDocumentObject::getActiveView ( void  ) const
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(), Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Application::Instance, and pcObject.

Referenced by PartDesignGui::ViewProviderDatum::getRelevantBoundBox().

◆ getDetailPath()

bool ViewProviderDocumentObject::getDetailPath ( const char *  subname,
SoFullPath *  pPath,
bool  append,
SoDetail *&  det 
) const
overridevirtual

◆ getDocument()

Gui::Document * ViewProviderDocumentObject::getDocument ( void  ) const

Get the GUI document to this ViewProvider object.

References Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Application::Instance, pcDocument, and pcObject.

Referenced by TechDrawGui::TaskBalloon::accept(), TechDrawGui::TaskDimension::accept(), canDropObjectEx(), Gui::ViewProviderLink::canDropObjectEx(), MeshGui::MeshSplit::cutMesh(), Gui::ViewProviderLink::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), PartDesignGui::ViewProviderDatum::doubleClicked(), Gui::ViewProviderGroupExtension::extensionDragObject(), PartDesignGui::TaskSketchBasedParameters::finishReferenceSelection(), PartDesignGui::TaskHelixParameters::finishReferenceSelection(), 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(), Gui::DocumentItem::populateItem(), Gui::ElementColors::Private::Private(), PartDesignGui::TaskPipeParameters::referenceSelected(), TechDrawGui::TaskBalloon::reject(), TechDrawGui::TaskDimension::reject(), Gui::Document::setEdit(), PartDesignGui::TaskSketchBasedParameters::startReferenceSelection(), PartDesignGui::TaskHelixParameters::startReferenceSelection(), 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()

Gui::MDIView * ViewProviderDocumentObject::getEditingView ( ) const
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 Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Document::getEditingViewOfViewProvider(), Gui::Application::Instance, and pcObject.

◆ getElementPicked()

bool ViewProviderDocumentObject::getElementPicked ( const SoPickedPoint *  pp,
std::string &  subname 
) const
overridevirtual

◆ getFullName()

std::string ViewProviderDocumentObject::getFullName ( void  ) const
overridevirtual

◆ getInventorView()

Gui::MDIView * ViewProviderDocumentObject::getInventorView ( ) const
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 Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Document::getEditingViewOfViewProvider(), Gui::Document::getViewOfViewProvider(), Gui::Application::Instance, and pcObject.

◆ getLinkedViewProvider()

ViewProviderDocumentObject * ViewProviderDocumentObject::getLinkedViewProvider ( std::string *  subname = 0,
bool  recursive = false 
) const
virtual

Return the linked view object.

This function is mainly used for GUI navigation (e.g. StdCmdLinkSelectLinked).

Parameters
subnameoutput as the subname referencing the linked object
recursivewhether 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 Gui::ElementColors::Private::accept(), FemGui::TaskDlgFemConstraint::accept(), FemGui::TaskDlgFemConstraintBearing::accept(), FemGui::TaskDlgFemConstraintContact::accept(), FemGui::TaskDlgFemConstraintDisplacement::accept(), FemGui::TaskDlgFemConstraintFixed::accept(), FemGui::TaskDlgFemConstraintFluidBoundary::accept(), FemGui::TaskDlgFemConstraintForce::accept(), FemGui::TaskDlgFemConstraintGear::accept(), FemGui::TaskDlgFemConstraintHeatflux::accept(), FemGui::TaskDlgFemConstraintInitialTemperature::accept(), FemGui::TaskDlgFemConstraintPlaneRotation::accept(), FemGui::TaskDlgFemConstraintPressure::accept(), FemGui::TaskDlgFemConstraintPulley::accept(), FemGui::TaskDlgFemConstraintTemperature::accept(), FemGui::TaskDlgFemConstraintTransform::accept(), PartGui::FaceColors::accept(), PartDesignGui::TaskDlgBooleanParameters::accept(), PartDesignGui::TaskDlgChamferParameters::accept(), PartDesignGui::TaskDlgDatumParameters::accept(), PartDesignGui::TaskDlgDraftParameters::accept(), PartDesignGui::TaskDlgDressUpParameters::accept(), PartDesignGui::TaskDlgFeatureParameters::accept(), PartDesignGui::TaskDlgFilletParameters::accept(), PartDesignGui::TaskDlgLoftParameters::accept(), PartDesignGui::TaskDlgMirroredParameters::accept(), PartDesignGui::TaskDlgMultiTransformParameters::accept(), PartDesignGui::TaskPipeParameters::accept(), PartDesignGui::TaskPrimitiveParameters::accept(), PartDesignGui::TaskDlgShapeBinder::accept(), PartDesignGui::TaskDlgSketchBasedParameters::accept(), PartDesignGui::TaskDlgThicknessParameters::accept(), PathGui::TaskDlgPathCompound::accept(), TechDrawGui::TaskBalloon::accept(), TechDrawGui::TaskDimension::accept(), StdCmdDelete::activated(), DrawSketchHandlerCoincident::activated(), DrawSketchHandlerFillet::activated(), DrawSketchHandlerTrimming::activated(), DrawSketchHandlerExtend::activated(), DrawSketchHandlerExternal::activated(), DrawSketchHandlerCarbonCopy::activated(), DrawSketchHandlerCopy::activated(), DrawSketchHandlerRectangularArray::activated(), addDynamicProperty(), Gui::Document::addViewProvider(), PartDesignGui::TaskChamferParameters::apply(), PartDesignGui::TaskFilletParameters::apply(), PartDesignGui::TaskLinearPatternParameters::apply(), PartDesignGui::TaskPolarPatternParameters::apply(), PartDesignGui::TaskScaledParameters::apply(), PartDesignGui::TaskHelixParameters::apply(), PartDesignGui::TaskHoleParameters::apply(), PartDesignGui::TaskPadParameters::apply(), PartDesignGui::TaskPocketParameters::apply(), PartDesignGui::TaskRevolutionParameters::apply(), Gui::ViewProviderLink::applyColors(), CmdSketcherConstrainHorizontal::applyConstraint(), CmdSketcherConstrainVertical::applyConstraint(), CmdSketcherConstrainLock::applyConstraint(), CmdSketcherConstrainBlock::applyConstraint(), CmdSketcherConstrainCoincident::applyConstraint(), CmdSketcherConstrainPointOnObject::applyConstraint(), CmdSketcherConstrainParallel::applyConstraint(), Gui::ViewProviderOriginFeature::attach(), PartDesignGui::ViewProviderDatum::attach(), canDelete(), Gui::ViewProviderLink::canDragAndDropObject(), canDropObjectEx(), Gui::ViewProviderLink::canDropObjectEx(), PartDesignGui::ViewProviderBody::canDropObjects(), PartDesignGui::TaskHoleParameters::changedObject(), Gui::ViewProviderLink::checkIcon(), PartGui::ViewProviderCompound::claimChildren(), PartGui::ViewProviderMirror::claimChildren(), PartGui::ViewProviderFillet::claimChildren(), PartGui::ViewProviderChamfer::claimChildren(), Gui::ViewProviderOrigin::claimChildren(), FemGui::ViewProviderFemPostFunctionProvider::claimChildren(), FemGui::ViewProviderFemPostPipeline::claimChildren(), PartGui::ViewProviderBoolean::claimChildren(), PartGui::ViewProviderMultiFuse::claimChildren(), PartGui::ViewProviderMultiCommon::claimChildren(), PartGui::ViewProviderExtrusion::claimChildren(), PartGui::ViewProviderRevolution::claimChildren(), PartGui::ViewProviderLoft::claimChildren(), PartGui::ViewProviderSweep::claimChildren(), PartGui::ViewProviderOffset::claimChildren(), PartGui::ViewProviderThickness::claimChildren(), PartGui::ViewProviderFace::claimChildren(), PartDesignGui::ViewProviderHelix::claimChildren(), PartDesignGui::ViewProviderHole::claimChildren(), PartDesignGui::ViewProviderLoft::claimChildren(), PartDesignGui::ViewProviderMainPart::claimChildren(), PartDesignGui::ViewProviderMultiTransform::claimChildren(), PartDesignGui::ViewProviderPipe::claimChildren(), PartDesignGui::ViewProviderSketchBased::claimChildren(), PathGui::ViewProviderArea::claimChildren(), PathGui::ViewProviderAreaView::claimChildren(), PartDesignGui::ViewProviderSubShapeBinder::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(), FemGui::ViewProviderFemAnalysis::doubleClicked(), PartGui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProviderBase::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProvider::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), PartDesignGui::ViewProviderDatum::doubleClicked(), FemGui::ViewProviderFemPostPlaneFunction::draggerUpdate(), FemGui::ViewProviderFemPostSphereFunction::draggerUpdate(), Gui::TreeWidget::dragMoveEvent(), PartGui::ViewProviderMultiFuse::dragObject(), PartGui::ViewProviderMultiCommon::dragObject(), PartGui::ViewProviderCompound::dragObject(), PartGui::ViewProviderFace::dragObject(), PathGui::ViewProviderArea::dragObject(), PathGui::ViewProviderAreaView::dragObject(), Gui::TreeWidget::dropEvent(), PartGui::ViewProviderMultiFuse::dropObject(), PartGui::ViewProviderMultiCommon::dropObject(), PartGui::ViewProviderCompound::dropObject(), PartGui::ViewProviderFace::dropObject(), PathGui::ViewProviderArea::dropObject(), PathGui::ViewProviderAreaView::dropObject(), PartDesignGui::ViewProviderBody::dropObject(), PartDesignGui::ViewProviderSubShapeBinder::dropObjectEx(), Gui::ElementColors::ElementColors(), PartDesignGui::TaskBooleanParameters::exitSelectionMode(), MeshGui::ViewProviderMesh::exportMesh(), Gui::ViewProviderGroupExtension::extensionCanDropObject(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren(), Gui::ViewProviderGroupExtension::extensionClaimChildren(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren3D(), Gui::ViewProviderGroupExtension::extensionDropObject(), Gui::ViewProviderGroupExtension::extensionHide(), PartGui::ViewProviderAttachExtension::extensionMergeColorfullOverlayIcons(), PartGui::ViewProviderSplineExtension::extensionOnChanged(), Gui::ViewProviderGroupExtension::extensionOnDelete(), Gui::ViewProviderGroupExtension::extensionShow(), Gui::ViewProviderGeoFeatureGroupExtension::extensionUpdateData(), PartGui::ViewProviderAttachExtension::extensionUpdateData(), Gui::ViewProviderOriginGroupExtension::extensionUpdateData(), PartGui::FaceColors::FaceColors(), MeshGui::ViewProviderMesh::faceInfo(), PartDesignGui::TaskHelixParameters::fillAxisCombo(), PartDesignGui::TaskRevolutionParameters::fillAxisCombo(), MeshGui::ViewProviderMesh::fillHole(), Gui::DocumentItem::findItem(), PartDesignGui::TaskHelixParameters::finishReferenceSelection(), PartDesignGui::TaskDressUpParameters::getBase(), PartDesignGui::ViewProvider::getBodyViewProvider(), Gui::LinkInfo::getDetail(), getDetailPath(), Gui::ViewProviderLink::getElementColors(), PartDesignGui::TaskSketchBasedParameters::getFaceReference(), Gui::DocumentObjectItem::getFullSubName(), PartGui::ViewProviderBoolean::getIcon(), PartDesignGui::ViewProviderHelix::getIcon(), PartDesignGui::ViewProviderLoft::getIcon(), PartDesignGui::ViewProviderPipe::getIcon(), PartDesignGui::ViewProviderPrimitive::getIcon(), Gui::ViewProviderLink::getIcon(), Gui::DocumentPy::getInEditInfo(), PartDesignGui::TaskDraftParameters::getLine(), Gui::LinkInfo::getLinkedName(), Gui::ViewProviderLink::getLinkedView(), Gui::ViewProviderTextDocument::getMDIView(), PartGui::ViewProviderPartExt::getModelPoints(), Gui::DocumentObjectItem::getName(), PartDesignGui::TaskTransformedParameters::getObject(), Gui::ViewProviderDocumentObjectPy::getObject(), Gui::View3DInventorPy::getObjectInfo(), Gui::View3DInventorPy::getObjectsInfo(), PartDesignGui::TaskDraftParameters::getPlane(), PartDesignGui::TaskHelixParameters::getReferenceAxis(), 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(), PartDesignGui::TaskDressUpParameters::hideOnError(), 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(), PartDesignGui::ViewProviderDatumCoordinateSystem::onChanged(), Gui::ViewProviderAnnotationLabel::onChanged(), Gui::ViewProviderOrigin::onChanged(), TechDrawGui::ViewProviderImage::onChanged(), onChanged(), Gui::ViewProviderLink::onChanged(), PartDesignGui::ViewProvider::onChanged(), PartDesignGui::ViewProviderBody::onChanged(), TechDrawGui::ViewProviderDrawingView::onChanged(), TechDrawGui::ViewProviderTemplate::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(), Gui::ViewProviderOrigin::onDelete(), Gui::ViewProviderOriginFeature::onDelete(), PartGui::ViewProviderBoolean::onDelete(), PartGui::ViewProviderMultiFuse::onDelete(), PartGui::ViewProviderMultiCommon::onDelete(), PartGui::ViewProviderCompound::onDelete(), PartGui::ViewProviderMirror::onDelete(), PartGui::ViewProviderFillet::onDelete(), PartGui::ViewProviderChamfer::onDelete(), PartGui::ViewProviderRevolution::onDelete(), PartGui::ViewProviderOffset::onDelete(), PartGui::ViewProviderThickness::onDelete(), PartDesignGui::ViewProviderHelix::onDelete(), PartDesignGui::ViewProviderMultiTransform::onDelete(), PartDesignGui::ViewProviderSketchBased::onDelete(), PathGui::ViewProviderArea::onDelete(), PathGui::ViewProviderAreaView::onDelete(), Gui::ViewProviderLink::onDelete(), PartDesignGui::ViewProvider::onDelete(), PartDesignGui::ViewProviderBody::onDelete(), PartDesignGui::ViewProviderBoolean::onDelete(), PartDesignGui::ViewProviderHole::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(), PartDesignGui::TaskBoxPrimitives::onPrismXSkewChanged(), PartDesignGui::TaskBoxPrimitives::onPrismYSkewChanged(), Gui::TreeWidget::onRecomputeObject(), FemGui::TaskFemConstraint::onReferenceDeleted(), FemGui::TaskFemConstraintBearing::onSelectionChanged(), FemGui::TaskFemConstraintGear::onSelectionChanged(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), PartDesignGui::TaskDraftParameters::onSelectionChanged(), DrawSketchHandlerExternal::onSelectionChanged(), DrawSketchHandlerCarbonCopy::onSelectionChanged(), PartDesignGui::TaskHelixParameters::onSelectionChanged(), PartDesignGui::TaskRevolutionParameters::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(), FemGui::TaskDlgFemConstraint::open(), FemGui::TaskDlgFemConstraintContact::open(), FemGui::TaskDlgFemConstraintDisplacement::open(), FemGui::TaskDlgFemConstraintFixed::open(), FemGui::TaskDlgFemConstraintForce::open(), FemGui::TaskDlgFemConstraintHeatflux::open(), FemGui::TaskDlgFemConstraintInitialTemperature::open(), FemGui::TaskDlgFemConstraintPlaneRotation::open(), FemGui::TaskDlgFemConstraintPressure::open(), FemGui::TaskDlgFemConstraintPulley::open(), FemGui::TaskDlgFemConstraintTemperature::open(), FemGui::TaskDlgFemConstraintTransform::open(), PartGui::FaceColors::open(), MeshGui::ViewProviderMesh::partMeshCallback(), Gui::DocumentItem::populateItem(), DrawSketchHandlerBSpline::pressButton(), Gui::ElementColors::Private::Private(), PartGui::FaceColors::Private::Private(), DrawSketchHandlerBSpline::quit(), PartDesignGui::TaskFeatureParameters::recomputeFeature(), TechDrawGui::TaskBalloon::recomputeFeature(), TechDrawGui::TaskDimension::recomputeFeature(), TechDrawGui::TaskLeaderLine::recomputeFeature(), PartDesignGui::ViewProviderTransformed::recomputeFeature(), PartDesignGui::TaskDressUpParameters::referenceSelected(), PartDesignGui::TaskPipeParameters::referenceSelected(), PartDesignGui::TaskPipeOrientation::referenceSelected(), PartDesignGui::TaskPipeScaling::referenceSelected(), PartDesignGui::TaskShapeBinder::referenceSelected(), PartGui::FaceColors::reject(), PartDesignGui::TaskDlgBooleanParameters::reject(), PartDesignGui::TaskDlgFeatureParameters::reject(), PartDesignGui::TaskDlgSketchBasedParameters::reject(), TechDrawGui::TaskBalloon::reject(), TechDrawGui::TaskDimension::reject(), DrawSketchHandlerCoincident::releaseButton(), DrawSketchHandlerBox::releaseButton(), DrawSketchHandlerLineSet::releaseButton(), DrawSketchHandlerArc::releaseButton(), DrawSketchHandler3PointArc::releaseButton(), DrawSketchHandlerCircle::releaseButton(), DrawSketchHandlerArcOfEllipse::releaseButton(), DrawSketchHandler3PointCircle::releaseButton(), DrawSketchHandlerPoint::releaseButton(), DrawSketchHandlerFillet::releaseButton(), DrawSketchHandlerTrimming::releaseButton(), DrawSketchHandlerExtend::releaseButton(), DrawSketchHandlerSlot::releaseButton(), DrawSketchHandlerRegularPolygon::releaseButton(), DrawSketchHandlerCopy::releaseButton(), DrawSketchHandlerRectangularArray::releaseButton(), DrawSketchHandlerArcOfHyperbola::releaseButton(), DrawSketchHandlerArcOfParabola::releaseButton(), DrawSketchHandlerBSpline::releaseButton(), removeDynamicProperty(), replaceObject(), MeshGui::ViewProviderMesh::segmMeshCallback(), Gui::View3DInventorViewer::selectAll(), Gui::DocumentItem::selectAllInstances(), Gui::SelectionObserver::SelectionObserver(), Gui::Document::setActiveView(), Gui::DocumentObjectItem::setData(), Gui::Document::setEdit(), FemGui::ViewProviderSetNodes::setEdit(), PartGui::ViewProviderMirror::setEdit(), PartGui::ViewProviderFillet::setEdit(), PartGui::ViewProviderChamfer::setEdit(), PartGui::ViewProviderOffset::setEdit(), PartGui::ViewProviderThickness::setEdit(), PartGui::ViewProviderPrimitive::setEdit(), PartDesignGui::ViewProviderBase::setEdit(), PartDesignGui::ViewProviderDressUp::setEdit(), PartDesignGui::ViewProviderHelix::setEdit(), RaytracingGui::ViewProviderLux::setEdit(), RaytracingGui::ViewProviderPovray::setEdit(), SurfaceGui::ViewProviderFilling::setEdit(), SurfaceGui::ViewProviderGeomFillSurface::setEdit(), SurfaceGui::ViewProviderSections::setEdit(), Gui::ViewProviderDragger::setEdit(), PartDesignGui::ViewProviderSubShapeBinder::setEdit(), Gui::ViewProviderDragger::setEditViewer(), Gui::ViewProviderLink::setElementColors(), Gui::DocumentObjectItem::setExpandedStatus(), PartDesignGui::ViewProviderDatumLine::setExtents(), PartDesignGui::ViewProviderDatumPlane::setExtents(), FemGui::ViewProviderFemMeshPy::setHighlightedNodes(), Gui::Dialog::DlgInspector::setNodeNames(), Gui::ViewProviderDocumentObjectPy::setObject(), Gui::ViewProviderLink::setOverrideMode(), PartDesignGui::ViewProviderAddSub::setPreviewDisplayMode(), PartDesignGui::TaskDressUpParameters::setSelection(), FemGui::TaskFemConstraint::setSelection(), Gui::ViewProviderOrigin::setTemporaryVisibility(), PartGui::ViewProviderPrimitive::setupContextMenu(), PartDesignGui::ViewProviderBase::setupContextMenu(), FemGui::ViewProviderFemPostObject::setupPipeline(), FemGui::ViewProviderFemPostClip::setupTaskDialog(), FemGui::ViewProviderFemPostCut::setupTaskDialog(), PartDesignGui::TaskSketchBasedParameters::setUpToFace(), PartDesignGui::TaskDressUpParameters::setupTransaction(), PartDesignGui::ViewProviderBody::setVisualBodyMode(), DrawingGui::ViewProviderDrawingView::show(), DrawingGui::ViewProviderDrawingClip::show(), show(), PartDesignGui::TaskDressUpParameters::showObject(), Gui::ViewProviderOriginGroupExtension::slotChangedObjectApp(), PartDesignGui::ViewProviderBody::slotChangedObjectApp(), Gui::ViewProviderOriginGroupExtension::slotChangedObjectGui(), PartDesignGui::ViewProviderBody::slotChangedObjectGui(), Gui::DocumentItem::slotInEdit(), Gui::Document::slotSkipRecompute(), Gui::ViewProviderLink::startEditing(), PartDesignGui::ViewProviderTransformed::startEditing(), MeshGui::MeshFaceAddition::startEditing(), MeshGui::MeshFillHole::startEditing(), PartDesignGui::TaskHelixParameters::startReferenceSelection(), PartDesignGui::TaskBooleanParameters::TaskBooleanParameters(), PartDesignGui::TaskBoxPrimitives::TaskBoxPrimitives(), PartDesignGui::TaskChamferParameters::TaskChamferParameters(), Gui::TaskCSysDragger::TaskCSysDragger(), PartDesignGui::TaskDatumParameters::TaskDatumParameters(), 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::TaskHelixParameters::TaskHelixParameters(), 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(), Gui::ViewProviderGeometryObject::updateData(), Gui::ViewProviderOriginFeature::updateData(), FemGui::ViewProviderFemConstraintBearing::updateData(), FemGui::ViewProviderFemConstraintContact::updateData(), FemGui::ViewProviderFemConstraintDisplacement::updateData(), FemGui::ViewProviderFemConstraintFixed::updateData(), FemGui::ViewProviderFemConstraintFluidBoundary::updateData(), FemGui::ViewProviderFemConstraintForce::updateData(), FemGui::ViewProviderFemConstraintGear::updateData(), FemGui::ViewProviderFemConstraintHeatflux::updateData(), FemGui::ViewProviderFemConstraintPlaneRotation::updateData(), FemGui::ViewProviderFemConstraintPressure::updateData(), FemGui::ViewProviderFemConstraintPulley::updateData(), FemGui::ViewProviderFemConstraintTemperature::updateData(), FemGui::ViewProviderFemConstraintTransform::updateData(), FemGui::ViewProviderFemPostPlaneFunction::updateData(), FemGui::ViewProviderFemPostSphereFunction::updateData(), PartGui::ViewProviderBoolean::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderCompound::updateData(), PartGui::ViewProviderFillet::updateData(), PartGui::ViewProviderChamfer::updateData(), PartGui::ViewProviderCustom::updateData(), PartDesignGui::ViewProviderDatumLine::updateData(), PartDesignGui::ViewProviderDatumPlane::updateData(), SketcherGui::ViewProviderCustom::updateData(), PartDesignGui::ViewProviderBody::updateData(), FemGui::ViewProviderFemPostPipeline::updateFunctionSize(), Gui::DocumentItem::updateItemSelection(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), PartGui::ViewProviderPartExt::updateVisual(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), PartDesignGui::TaskHelixParameters::~TaskHelixParameters(), PartDesignGui::TaskPipeOrientation::~TaskPipeOrientation(), PartDesignGui::TaskPipeParameters::~TaskPipeParameters(), and PartDesignGui::TaskRevolutionParameters::~TaskRevolutionParameters().

◆ getPyObject()

PyObject * ViewProviderDocumentObject::getPyObject ( void  )
overridevirtual

◆ getTaskViewContent()

void ViewProviderDocumentObject::getTaskViewContent ( std::vector< Gui::TaskView::TaskContent * > &  vec) const
overridevirtual

Get a list of TaskBoxes associated with this object.

Reimplemented from Gui::ViewProvider.

References draftgeoutils.general::vec().

◆ getTransactionText()

const char * ViewProviderDocumentObject::getTransactionText ( ) const
overridevirtual

Is called by the tree if the user double clicks on the object.

It returns the string for the transaction that will be shown in the undo/redo dialog. If null is returned then no transaction will be opened.

Reimplemented from Gui::ViewProvider.

Reimplemented in SketcherGui::ViewProviderSketch.

References draftutils.translate::QT_TRANSLATE_NOOP.

Referenced by Gui::TreeWidget::mouseDoubleClickEvent().

◆ getViewOfNode()

Gui::MDIView * ViewProviderDocumentObject::getViewOfNode ( SoNode node) const
protected

Get the mdi view of the document that contains the given node.

References Gui::Application::getDocument(), App::DocumentObject::getDocument(), Gui::Document::getViewOfNode(), Gui::Application::Instance, and pcObject.

◆ hide()

◆ isAttachedToDocument()

bool ViewProviderDocumentObject::isAttachedToDocument ( ) const
overrideprotectedvirtual

Reimplemented from App::TransactionalObject.

References Gui::Detach, and Gui::ViewProvider::testStatus().

Referenced by onBeforeChange().

◆ isShowable()

bool ViewProviderDocumentObject::isShowable ( ) const

Referenced by setModeSwitch().

◆ isUpdateForced()

virtual bool Gui::ViewProviderDocumentObject::isUpdateForced ( ) const
virtual

Reimplemented in PartGui::ViewProviderPartExt.

◆ onBeforeChange()

void ViewProviderDocumentObject::onBeforeChange ( const App::Property prop)
overrideprotectedvirtual

◆ onChanged()

void ViewProviderDocumentObject::onChanged ( const App::Property prop)
overrideprotectedvirtual

Gets called by the container whenever a property has been changed.

Reimplemented from Gui::ViewProvider.

Reimplemented in TechDrawGui::ViewProviderTemplate, TechDrawGui::ViewProviderPage, TechDrawGui::ViewProviderHatch, TechDrawGui::ViewProviderGeomHatch, TechDrawGui::ViewProviderDrawingView, SketcherGui::ViewProviderSketch, PartDesignGui::ViewProviderBoolean, PartDesignGui::ViewProviderBody, PartDesignGui::ViewProvider, PartGui::ViewProviderPartExt, Gui::ViewProviderPlacement, Gui::ViewProviderPart, Gui::ViewProviderLink, TechDrawGui::ViewProviderViewSection, TechDrawGui::ViewProviderViewPart, TechDrawGui::ViewProviderProjGroup, TechDrawGui::ViewProviderImage, SketcherGui::ViewProviderCustom, RobotGui::ViewProviderRobotObject, PointsGui::ViewProviderPoints, PathGui::ViewProviderPath, PartDesignGui::ViewProviderDatumPoint, PartGui::ViewProviderSpline, PartGui::ViewProviderPartReference, PartGui::ViewProviderCustom, PartGui::ViewProvider2DObjectGrid, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMesh, InspectionGui::ViewProviderInspection, FemGui::ViewProviderFemPostObject, FemGui::ViewProviderFemPostFunction, FemGui::ViewProviderFemPostFunctionProvider, FemGui::ViewProviderFemMesh, FemGui::ViewProviderFemConstraint, Gui::ViewProviderTextDocument, Gui::ViewProviderOriginFeature, Gui::ViewProviderOrigin, Gui::ViewProviderMeasureDistance, Gui::ViewProviderGeometryObject, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderAnnotation, TechDrawGui::ViewProviderWeld, TechDrawGui::ViewProviderRichAnno, TechDrawGui::ViewProviderLeader, TechDrawGui::ViewProviderDimension, TechDrawGui::ViewProviderBalloon, 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, App::DocumentObject::Visibility, and Visibility.

Referenced by draftviewproviders.view_base.ViewProviderDraft::attach(), ArchSite.Compass::buildCoordinates(), draftobjects.wire.Wire::execute(), ArchAxis.CommandArchGrid::IsActive(), TechDrawGui::ViewProviderBalloon::onChanged(), Gui::ViewProviderAnnotation::onChanged(), Gui::ViewProviderAnnotationLabel::onChanged(), Gui::ViewProviderGeometryObject::onChanged(), Gui::ViewProviderMeasureDistance::onChanged(), Gui::ViewProviderOrigin::onChanged(), Gui::ViewProviderTextDocument::onChanged(), FemGui::ViewProviderFemPostFunctionProvider::onChanged(), FemGui::ViewProviderFemPostFunction::onChanged(), TechDrawGui::ViewProviderImage::onChanged(), Gui::ViewProviderLink::onChanged(), Gui::ViewProviderPart::onChanged(), TechDrawGui::ViewProviderDrawingView::onChanged(), TechDrawGui::ViewProviderGeomHatch::onChanged(), TechDrawGui::ViewProviderPage::onChanged(), TechDrawGui::ViewProviderTemplate::onChanged(), ArchBuildingPart.ViewProviderBuildingPart::updateData(), ArchPanel.ViewProviderPanelCut::updateData(), ArchPanel.ViewProviderPanelSheet::updateData(), draftviewproviders.view_label.ViewProviderLabel::updateData(), draftviewproviders.view_layer.ViewProviderLayer::updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy::updateData().

◆ onPropertyStatusChanged()

void ViewProviderDocumentObject::onPropertyStatusChanged ( const App::Property prop,
unsigned long  oldStatus 
)
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()

void ViewProviderDocumentObject::reattach ( App::DocumentObject pcObj)
virtual

◆ removeDynamicProperty()

◆ replaceObject()

int ViewProviderDocumentObject::replaceObject ( App::DocumentObject oldObj,
App::DocumentObject newObj 
)
overridevirtual

Replace an object to the view provider by drag and drop.

Parameters
oldObjobject to be replaced
newObjobject 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(), draftfunctions.move::move(), and Gui::ViewProvider::replaceObject().

◆ setActiveMode()

◆ setModeSwitch()

void ViewProviderDocumentObject::setModeSwitch ( )
overrideprotectedvirtual

Turn on mode switch.

Reimplemented from Gui::ViewProvider.

References isShowable(), and Gui::ViewProvider::setModeSwitch().

Referenced by setShowable().

◆ setShowable()

◆ show()

void ViewProviderDocumentObject::show ( void  )
overridevirtual

◆ showInTree()

bool ViewProviderDocumentObject::showInTree ( ) const
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()

◆ update()

◆ updateView()

Friends And Related Function Documentation

◆ Document

friend class Document
friend

Member Data Documentation

◆ DisplayMode

◆ OnTopWhenSelected

◆ pcDocument

Gui::Document* Gui::ViewProviderDocumentObject::pcDocument
protected

◆ pcObject

App::DocumentObject* Gui::ViewProviderDocumentObject::pcObject
protected

Referenced by MeshGui::ViewProviderMesh::addSelection(), Gui::ViewProviderAnnotation::attach(), Gui::ViewProviderMeasureDistance::attach(), Gui::ViewProviderOriginFeature::attach(), FemGui::ViewProviderFemConstraint::attach(), MeshGui::ViewProviderMeshTransformDemolding::attach(), Gui::ViewProviderPlacement::attach(), PartDesignGui::ViewProviderBody::attach(), attach(), Gui::ViewProviderOrigin::attach(), MeshGui::ViewProviderMeshTransformDemolding::calcNormalVector(), Gui::ViewProviderLink::canDropObjectEx(), MeshGui::ViewProviderMesh::clearSelection(), MeshGui::ViewProviderMesh::deleteSelection(), MeshGui::ViewProviderMesh::deselectComponent(), MeshGui::ViewProviderMesh::deselectFacet(), PartDesignGui::ViewProviderLoft::doubleClicked(), PartDesignGui::ViewProviderPipe::doubleClicked(), PartGui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProvider::doubleClicked(), PartDesignGui::ViewProviderDatum::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::ViewProviderAnnotation::getViewObject(), TechDrawGui::ViewProviderDrawingView::getViewObject(), TechDrawGui::ViewProviderHatch::getViewObject(), TechDrawGui::ViewProviderImage::getViewObject(), TechDrawGui::ViewProviderProjGroup::getViewObject(), TechDrawGui::ViewProviderProjGroupItem::getViewObject(), TechDrawGui::ViewProviderSpreadsheet::getViewObject(), TechDrawGui::ViewProviderSymbol::getViewObject(), TechDrawGui::ViewProviderViewClip::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(), FemGui::ViewProviderFemMesh::onChanged(), PartGui::ViewProviderSpline::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::ViewProviderIndexedFaceSet::showOpenEdges(), MeshGui::ViewProviderMeshFaceSet::showOpenEdges(), MeshGui::ViewProviderMeshNode::showOpenEdges(), MeshGui::ViewProviderMesh::splitMesh(), MeshGui::ViewProviderMesh::trimMesh(), MeshGui::ViewProviderMesh::tryColorPerVertexOrFace(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), PartDesignGui::ViewProviderAddSub::updateAddSubShapeIndicator(), Gui::ViewProviderInventorObject::updateData(), Gui::ViewProviderVRMLObject::updateData(), DrawingGui::ViewProviderDrawingPage::updateData(), InspectionGui::ViewProviderInspection::updateData(), Gui::ViewProviderLink::updateData(), updateView(), and PartGui::ViewProviderPartExt::updateVisual().

◆ SelectionStyle

◆ ShowInTree

App::PropertyBool Gui::ViewProviderDocumentObject::ShowInTree

Referenced by showInTree().

◆ Visibility


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/ViewProviderDocumentObject.h
  • Sources/FreeCAD/src/Gui/ViewProviderDocumentObject.cpp