FreeCAD C++
|
#include <Mod/PartDesign/Gui/ViewProviderBody.h>
ViewProvider of the Body feature This class manages the visual appearance of the features in the Body feature. That means while editing all visible features are shown. If the Body is not active it shows only the result shape (tip).
Public Member Functions | |
ViewProviderBody () | |
constructor | |
virtual | ~ViewProviderBody () |
destructor | |
virtual void | updateData (const App::Property *prop) |
Update the children's highlighting when triggered. | |
virtual void | onChanged (const App::Property *prop) |
unify children visuals | |
void | updateOriginDatumSize () |
Update the sizes of origin and datums. | |
SbBox3f | getBoundBox () |
virtual bool | canDropObjects () const |
virtual bool | canDropObject (App::DocumentObject *) const |
virtual void | dropObject (App::DocumentObject *) |
Protected Member Functions | |
void | unifyVisualProperty (const App::Property *prop) |
Copy over all visual properties to the child features. | |
void | setVisualBodyMode (bool bodymode) |
Set Feature viewprovider into visual body mode. | |
|
virtual |
Check whether the object can be dropped to the view provider by drag and drop
Reimplemented from Gui::ViewProvider.
|
virtual |
Check whether objects can be added to the view provider by drag and drop
Reimplemented from Gui::ViewProvider.
|
virtual |
Add an object to the view provider by drag and drop
Reimplemented from Gui::ViewProvider.
SbBox3f PartDesignGui::ViewProviderBody::getBoundBox | ( | ) |
Return the bounding box of visible features