Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdMeasureDistance () | |
virtual | ~StdCmdMeasureDistance () |
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 1885 of file CommandView.cpp.
StdCmdMeasureDistance::StdCmdMeasureDistance | ( | ) |
Definition at line 1887 of file CommandView.cpp.
References Gui::Command::Alter3DView, Gui::Command::eType, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdMeasureDistance::~StdCmdMeasureDistance | ( | ) | [inline, virtual] |
Definition at line 1885 of file CommandView.cpp.
void StdCmdMeasureDistance::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 1899 of file CommandView.cpp.
References Gui::Application::activeDocument(), Gui::View3DInventorViewer::addEventCallback(), Gui::Document::getActiveView(), Gui::View3DInventor::getViewer(), Gui::Application::Instance, and Gui::View3DInventorViewer::setEditing().
virtual const char* StdCmdMeasureDistance::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 1885 of file CommandView.cpp.
bool StdCmdMeasureDistance::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 1912 of file CommandView.cpp.
References Gui::MainWindow::activeWindow(), App::Document::countObjectsOfType(), App::Application::getActiveDocument(), App::GetApplication(), Gui::View3DInventor::getClassTypeId(), App::PropertyContainer::getClassTypeId(), Gui::getMainWindow(), Base::BaseClass::isDerivedFrom(), and Gui::View3DInventorViewer::isEditing().