Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdMeshBoundingBox () | |
virtual | ~CmdMeshBoundingBox () |
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 1171 of file Mod/Mesh/Gui/Command.cpp.
CmdMeshBoundingBox::CmdMeshBoundingBox | ( | ) |
Definition at line 1173 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 CmdMeshBoundingBox::~CmdMeshBoundingBox | ( | ) | [inline, virtual] |
Definition at line 1171 of file Mod/Mesh/Gui/Command.cpp.
void CmdMeshBoundingBox::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 1184 of file Mod/Mesh/Gui/Command.cpp.
References Base::Console(), MeshCore::MeshKernel::GetBoundBox(), Mesh::Feature::getClassTypeId(), Gui::getMainWindow(), Gui::SelectionSingleton::getObjectsOfType(), Gui::Command::getSelection(), Base::BoundBox3< _Precision >::MaxX, Base::BoundBox3< _Precision >::MaxY, Base::BoundBox3< _Precision >::MaxZ, Base::BoundBox3< _Precision >::MinX, Base::BoundBox3< _Precision >::MinY, and Base::BoundBox3< _Precision >::MinZ.
virtual const char* CmdMeshBoundingBox::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 1171 of file Mod/Mesh/Gui/Command.cpp.
bool CmdMeshBoundingBox::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 1202 of file Mod/Mesh/Gui/Command.cpp.
References Gui::SelectionSingleton::countObjectsOfType(), Mesh::Feature::getClassTypeId(), and Gui::Command::getSelection().