Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdMeshFromGeometry () | |
virtual | ~CmdMeshFromGeometry () |
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 396 of file Mod/Mesh/Gui/Command.cpp.
CmdMeshFromGeometry::CmdMeshFromGeometry | ( | ) |
Definition at line 398 of file Mod/Mesh/Gui/Command.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdMeshFromGeometry::~CmdMeshFromGeometry | ( | ) | [inline, virtual] |
Definition at line 396 of file Mod/Mesh/Gui/Command.cpp.
void CmdMeshFromGeometry::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 409 of file Mod/Mesh/Gui/Command.cpp.
References App::Document::addObject(), App::Application::getActiveDocument(), App::GetApplication(), App::PropertyComplexGeoData::getClassTypeId(), Mesh::Feature::getClassTypeId(), App::PropertyContainer::getClassTypeId(), Mesh::MeshObject::getKernel(), Gui::getMainWindow(), Mesh::Feature::Mesh, Mesh2Shape::mesh, Gui::Selection(), Mesh::MeshObject::setFacets(), and Mesh::PropertyMeshKernel::setValue().
virtual const char* CmdMeshFromGeometry::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 396 of file Mod/Mesh/Gui/Command.cpp.
bool CmdMeshFromGeometry::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 441 of file Mod/Mesh/Gui/Command.cpp.
References Gui::SelectionSingleton::countObjectsOfType(), App::Application::getActiveDocument(), App::GetApplication(), App::PropertyContainer::getClassTypeId(), and Gui::Command::getSelection().