Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdApproxPlane () | |
virtual | ~CmdApproxPlane () |
Protected Member Functions | |
virtual void | activated (int iMsg) |
Methods which gets called when activated, needs to be reimplemented! | |
virtual bool | isActive (void) |
Overite this method if your Cmd is not always active. |
Definition at line 105 of file Mod/ReverseEngineering/Gui/Command.cpp.
CmdApproxPlane::CmdApproxPlane | ( | ) |
Definition at line 107 of file Mod/ReverseEngineering/Gui/Command.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdApproxPlane::~CmdApproxPlane | ( | ) | [inline, virtual] |
Definition at line 105 of file Mod/ReverseEngineering/Gui/Command.cpp.
void CmdApproxPlane::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 118 of file Mod/ReverseEngineering/Gui/Command.cpp.
References MeshCore::Approximation::AddPoints(), Gui::Command::commitCommand(), Base::Console(), Gui::Command::Doc, Gui::Command::doCommand(), SketcherExample::f, MeshCore::PlaneFit::Fit(), MeshCore::PlaneFit::GetBase(), App::PropertyComplexGeoData::getClassTypeId(), MeshCore::PlaneFit::GetNormal(), Gui::Command::openCommand(), Gui::Selection(), Gui::Command::updateActive(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
virtual const char* CmdApproxPlane::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 105 of file Mod/ReverseEngineering/Gui/Command.cpp.
bool CmdApproxPlane::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 163 of file Mod/ReverseEngineering/Gui/Command.cpp.
References App::PropertyContainer::getClassTypeId(), and Gui::Command::getSelection().