#include <ViewProviderMirror.h>
Public Member Functions | |
| virtual Base::Type | getTypeId (void) const |
| ViewProviderMirror () | |
| virtual | ~ViewProviderMirror () |
Static Public Member Functions | |
| static void * | create (void) |
| static Base::Type | getClassTypeId (void) |
| static void | init (void) |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
Edit methods | |
|
| |
| void | setupContextMenu (QMenu *, QObject *, const char *) |
| set up the context-menu with the supported edit modes | |
| bool | setEdit (int ModNum) |
| is called by the document when the provider goes in edit mode | |
| void | unsetEdit (int ModNum) |
| is called when you loose the edit mode | |
Definition at line 32 of file ViewProviderMirror.h.
| ViewProviderMirror::ViewProviderMirror | ( | ) |
Definition at line 52 of file ViewProviderMirror.cpp.
| ViewProviderMirror::~ViewProviderMirror | ( | ) | [virtual] |
Definition at line 59 of file ViewProviderMirror.cpp.
| void * PartGui::ViewProviderMirror::create | ( | void | ) | [static] |
Reimplemented from PartGui::ViewProviderPart.
Definition at line 50 of file ViewProviderMirror.cpp.
| Base::Type PartGui::ViewProviderMirror::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartGui::ViewProviderPart.
Definition at line 50 of file ViewProviderMirror.cpp.
| const App::PropertyData & PartGui::ViewProviderMirror::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartGui::ViewProviderPart.
Definition at line 50 of file ViewProviderMirror.cpp.
| const App::PropertyData * PartGui::ViewProviderMirror::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartGui::ViewProviderPart.
Definition at line 50 of file ViewProviderMirror.cpp.
| Base::Type PartGui::ViewProviderMirror::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartGui::ViewProviderPart.
Definition at line 50 of file ViewProviderMirror.cpp.
| void PartGui::ViewProviderMirror::init | ( | void | ) | [static] |
Reimplemented from PartGui::ViewProviderPart.
Definition at line 50 of file ViewProviderMirror.cpp.
Referenced by initPartGui().
| bool ViewProviderMirror::setEdit | ( | int | ModNum | ) | [protected, virtual] |
is called by the document when the provider goes in edit mode
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 72 of file ViewProviderMirror.cpp.
References Part::Mirroring::Base, Base::BoundBox3< _Precision >::CalcCenter(), Base::BoundBox3< _Precision >::CalcDiagonalLength(), SketcherExample::f, Gui::ViewProviderDocumentObject::getObject(), App::PropertyVector::getValue(), PartGui::ViewProviderPartExt::norm, Part::Mirroring::Normal, Gui::ViewProvider::pcRoot, Base::Vector3< _Precision >::ProjToPlane(), Part::Feature::Shape, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
| void ViewProviderMirror::setupContextMenu | ( | QMenu * | , | |
| QObject * | , | |||
| const char * | ||||
| ) | [virtual] |
set up the context-menu with the supported edit modes
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 64 of file ViewProviderMirror.cpp.
| void ViewProviderMirror::unsetEdit | ( | int | ModNum | ) | [protected, virtual] |
is called when you loose the edit mode
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 135 of file ViewProviderMirror.cpp.
References Part::Mirroring::Base, Gui::ViewProviderDocumentObject::getObject(), Draft::move(), PartGui::ViewProviderPartExt::norm, Part::Mirroring::Normal, Gui::ViewProvider::pcRoot, and App::PropertyVector::setValue().
1.6.1