![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <MainWindow.h>
Public Slots | |
| void | enablePickingOperation (QString message) |
| void | cancelPreviousPickingOperation (bool aborted) |
| void | doActionPerspectiveProjection () |
| void | doActionOrthogonalProjection () |
Signals | |
| void | exclusiveFullScreenToggled (bool exclusive) |
| Signal emitted when the exclusive full screen is toggled. More... | |
| void | translation (const CCVector3d &t) |
| Signal emitted when the selected object is translated by the user. More... | |
| void | rotation (const ccGLMatrixd &rotMat) |
| Signal emitted when the selected object is rotated by the user. More... | |
Public Member Functions | |
| void | setUiManager (QUIWidget *uiManager) |
| void | saveGUIElementsPos () |
| Saves position and state of all GUI elements. More... | |
| void | setAutoPickPivot (bool state) |
| void | setOrthoView () |
| void | setPerspectiveView () |
| void | updateViewModePopUpMenu () |
| ccBBox | getSelectedEntityBbox () |
| void | updateFullScreenMenu (bool state) |
| void | addToDBAuto (const QStringList &filenames, bool displayDialog=true) |
| void | addToDB (const QStringList &filenames, QString fileFilter=QString(), bool displayDialog=true) |
| void | initPlugins () |
| Sets up the UI (menus and toolbars) based on loaded plugins. More... | |
| void | updatePropertiesView () |
| Updates the 'Properties' view. More... | |
| void | doActionSaveViewportAsCamera () |
| void | onItemPicked (const PickedItem &pi) override |
| Inherited from ccPickingListener. More... | |
| ccDBRoot * | db () |
| Returns real 'dbRoot' object. More... | |
| int | getRenderWindowCount () const |
| Returns the number of 3D views. More... | |
| QMdiSubWindow * | getMDISubWindow (QWidget *win) |
| Returns MDI area subwindow corresponding to a given 3D view. More... | |
| QWidget * | getActiveWindow () override |
| QWidget * | getWindow (int index) const |
| void | update3DViewsMenu () |
| void | spawnHistogramDialog (const std::vector< unsigned > &histoValues, double minVal, double maxVal, QString title, QString xAxisLabel) override |
| ccPickingHub * | pickingHub () override |
| void | toggleExclusiveFullScreen (bool state) override |
| void | toggle3DView (bool state) override |
| void | forceConsoleDisplay () override |
| Forces display of console widget. More... | |
| ccHObject * | dbRootObject () override |
| Returns DB root (as a ccHObject) More... | |
| void | refreshAll (bool only2D=false, bool forceRedraw=true) override |
| Redraws all GL windows that have the 'refresh' flag on. More... | |
| void | enableAll () override |
| Enables all windows. More... | |
| void | disableAll () override |
| Disables all windows. More... | |
| void | refreshSelected (bool only2D=false, bool forceRedraw=true) override |
| void | refreshObject (ccHObject *obj, bool only2D=false, bool forceRedraw=true) override |
| void | refreshObjects (ccHObject::Container objs, bool only2D=false, bool forceRedraw=true) override |
| void | resetSelectedBBox () override |
| void | removeFromDB (ccHObject *obj, bool autoDelete=true) override |
| Removes an entity from main db tree. More... | |
| void | setSelectedInDB (ccHObject *obj, bool selected) override |
| Selects or unselects an entity (in db tree) More... | |
| void | putObjectBackIntoDBTree (ccHObject *obj, const ccHObjectContext &context) override |
| Adds back object to DB tree. More... | |
| QMainWindow * | getMainWindow () override |
| Returns main window. More... | |
| const ccHObject::Container & | getSelectedEntities () const override |
| Returns currently selected entities ("read only") More... | |
| ccHObjectContext | removeObjectTemporarilyFromDBTree (ccHObject *obj) override |
| Removes object temporarily from DB tree. More... | |
| ccColorScalesManager * | getColorScalesManager () override |
| Returns color scale manager (unique instance) More... | |
| void | addToDB (ccHObject *obj, bool updateZoom=false, bool autoExpandDBTree=true, bool checkDimensions=false, bool autoRedraw=true) override |
| void | registerOverlayDialog (ccOverlayDialog *dlg, Qt::Corner pos) override |
| Registers a MDI area 'overlay' dialog. More... | |
| void | unregisterOverlayDialog (ccOverlayDialog *dlg) override |
| Unregisters a MDI area 'overlay' dialog. More... | |
| void | updateOverlayDialogsPlacement () override |
| Forces the update of all registered MDI 'overlay' dialogs. More... | |
| ccHObject * | loadFile (QString filename, bool silent) override |
| Attempts to load a file. More... | |
| void | setView (CC_VIEW_ORIENTATION view) override |
| void | dispToConsole (QString message, ConsoleMessageLevel level=STD_CONSOLE_MESSAGE) override |
| ccUniqueIDGenerator::Shared | getUniqueIDGenerator () override |
| Returns the unique ID generator. More... | |
| void | addWidgetToQMdiArea (QWidget *widget) override |
| void | increasePointSize () override |
| void | decreasePointSize () override |
| void | updateUI () override |
| void | freezeUI (bool state) override |
| Freezes/unfreezes UI. More... | |
| void | zoomOnSelectedEntities () override |
| void | zoomOnEntities (ccHObject *obj) override |
| void | setGlobalZoom () override |
Public Member Functions inherited from ecvMainAppInterface | |
| virtual | ~ecvMainAppInterface ()=default |
| bool | haveSelection () const |
| Checks if we have any selections. More... | |
| bool | haveOneSelection () const |
| Checks if we have exactly one selection. More... | |
| virtual void | redrawAll (bool only2D=false, bool forceRedraw=true) |
Public Member Functions inherited from ccPickingListener | |
| virtual | ~ccPickingListener ()=default |
Static Public Member Functions | |
| static void | UpdateUI () |
| Static shortcut to MainWindow::updateUI. More... | |
| static MainWindow * | TheInstance () |
| Returns the unique instance of this object. More... | |
| static QWidget * | GetActiveRenderWindow () |
| Static shortcut to MainWindow::getActiveWindow. More... | |
| static QWidget * | GetRenderWindow (const QString &title) |
| Returns a given GL sub-window (determined by its title) More... | |
| static void | GetRenderWindows (std::vector< QWidget * > &windows) |
| Returns all GL sub-windows. More... | |
| static void | DestroyInstance () |
| Deletes current main window instance. More... | |
| static void | ChangeStyle (const QString &qssFile) |
Public Attributes | |
| bool | m_FirstShow |
| Flag: first time the window is made visible. More... | |
Static Public Attributes | |
| static bool | s_autoSaveGuiElementPos = true |
Protected Member Functions | |
| MainWindow () | |
| ~MainWindow () override | |
| QMenu * | createPopupMenu () override |
| Override to add custom actions to right-click menu on toolbars. More... | |
Additional Inherited Members | |
Public Types inherited from ecvMainAppInterface | |
| enum | ConsoleMessageLevel { STD_CONSOLE_MESSAGE = 0, WRN_CONSOLE_MESSAGE = 1, ERR_CONSOLE_MESSAGE = 2 } |
| Console message level (see dispToConsole) More... | |
|
protected |
References a, addToDB(), ecvPS::AutoPickRotationCenter(), ecvPS::AutoShowCenter(), ecvPS::DoNotRestoreWindowGeometry(), ecvApp, cvFindDataDockWidget::extractedObjectReady(), freezeUI(), ccTranslationManager::get(), ecvDisplayTools::GetCurrentScreen(), ccTranslationManager::populateMenu(), CVLog::Print(), refreshAll(), ecvLayoutManager::registerBottomDockWidget(), ecvLayoutManager::registerLeftSideToolBar(), ecvLayoutManager::registerRightSideDockWidget(), ecvShortcutDialog::restoreShortcutsFromQSettings(), ecvDisplayTools::ToggleCameraOrientationWidget(), updateUI(), and CVLog::Warning().
Referenced by TheInstance().
|
overrideprotected |
|
overridevirtual |
Implements ecvMainAppInterface.
References ccDBRoot::addElement(), ccHObject::applyGLTransformation_recursive(), ccGLMatrixTpl< T >::data(), ecvGlobalShiftManager::DIALOG_IF_NECESSARY, ccHObject::filterChildren(), Vector3Tpl< double >::fromArray(), ccHObject::getBB_recursive(), cloudViewer::BoundingBoxTpl< T >::getCenter(), ccHObject::getChild(), ccHObject::getChildrenNumber(), cloudViewer::BoundingBoxTpl< T >::getDiagNorm(), ccShiftedObject::getGlobalScale(), ccShiftedObject::getGlobalShift(), ccObject::getName(), ccDBRoot::getRootEntity(), ecvGlobalShiftManager::Handle(), CV_TYPES::IMAGE, ccObject::isKindOf(), Vector3Tpl< Type >::norm2(), CV_TYPES::POINT_CLOUD, CVLog::PrintDebug(), refreshObject(), ccShiftedObject::setGlobalScale(), ccShiftedObject::setGlobalShift(), ecvDisplayTools::SetRedrawRecursive(), ccGLMatrixTpl< T >::setTranslation(), ccHObjectCaster::ToGenericPointCloud(), ccGLMatrixTpl< T >::toIdentity(), Tuple3Tpl< Type >::u, CVLog::Warning(), Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, Tuple3Tpl< Type >::z, and ecvDisplayTools::ZoomGlobal().
| void MainWindow::addToDB | ( | const QStringList & | filenames, |
| QString | fileFilter = QString(), |
||
| bool | displayDialog = true |
||
| ) |
References ecvRecentFiles::addFilePath(), FileIOFilter::LoadParameters::alwaysDisplayLoadDialog, CC_FERR_CANCELED_BY_USER, CC_FERR_NO_ERROR, FileIOFilter::LoadParameters::coordinatesShift, FileIOFilter::LoadParameters::coordinatesShiftEnabled, ecvGlobalShiftManager::DIALOG_IF_NECESSARY, filename, ccHObject::filterChildren(), ecvOptions::Instance(), FileIOFilter::LoadFromFile(), ecvOptions::normalsDisplayedByDefault, FileIOFilter::LoadParameters::parentWidget, CV_TYPES::POINT_CLOUD, FileIOFilter::ResetSesionCounter(), result, and FileIOFilter::LoadParameters::shiftHandlingMode.
Referenced by addToDBAuto(), ecvFilterByLabelDlg::apply(), ecvPrimitiveFactoryDlg::createPrimitive(), doActionSaveViewportAsCamera(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), ecvApplication::event(), ccRasterizeTool::exportContourLines(), ccVolumeCalcTool::exportGridAsCloud(), ccTracePolylineTool::exportLine(), ecvMeasurementTool::exportMeasurement(), ccGraphicalTransformationTool::exportNewEntities(), ecvFilterTool::exportSlice(), ccPointListPickingDlg::exportToNewCloud(), ccPointListPickingDlg::exportToNewPolyline(), ccRasterizeTool::generateCloud(), ccRasterizeTool::generateMesh(), main(), MainWindow(), ccPointListPickingDlg::processPickedPoint(), and ccPlaneEditDlg::saveParamsAndAccept().
| void MainWindow::addToDBAuto | ( | const QStringList & | filenames, |
| bool | displayDialog = true |
||
| ) |
References addToDB().
|
overridevirtual |
Implements ecvMainAppInterface.
References getMDISubWindow(), and GetRenderWindow().
|
slot |
References ecvDisplayTools::DisplayNewMessage(), freezeUI(), ecvDisplayTools::LOWER_LEFT_MESSAGE, NO_PICKING_OPERATION, ccPointPairRegistrationDlg::pause(), PICKING_LEVEL_POINTS, PICKING_ROTATION_CENTER, ecvDisplayTools::RedrawDisplay(), ecvDisplayTools::RemoveFromOwnDB(), ccPickingHub::removeListener(), s_currentPickingOperation, s_levelMarkersCloud, and ecvDisplayTools::SetRedrawRecursive().
Referenced by onItemPicked(), and ~MainWindow().
|
static |
|
overrideprotected |
Override to add custom actions to right-click menu on toolbars.
|
inline |
Returns real 'dbRoot' object.
Referenced by ecvFilterByLabelDlg::apply(), ccPointListPickingDlg::applyAndExit(), ccPointListPickingDlg::cancelAndExit(), and ccPointListPickingDlg::clearLastLabel().
|
overridevirtual |
Returns DB root (as a ccHObject)
Implements ecvMainAppInterface.
References ccDBRoot::getRootEntity().
Referenced by ccGraphicalSegmentationTool::doActionUseExistingPolyline().
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::GetViewportParameters(), refreshAll(), and ecvDisplayTools::SetPointSize().
|
static |
|
overridevirtual |
Disables all windows.
Implements ecvMainAppInterface.
|
overridevirtual |
! Prints a message to console **
| message | message |
Implements ecvMainAppInterface.
References ecvMainAppInterface::ERR_CONSOLE_MESSAGE, CVLog::Error(), CVLog::Print(), ecvMainAppInterface::STD_CONSOLE_MESSAGE, CVLog::Warning(), and ecvMainAppInterface::WRN_CONSOLE_MESSAGE.
|
slot |
|
slot |
| void MainWindow::doActionSaveViewportAsCamera | ( | ) |
References addToDB(), getActiveWindow(), ecvDisplayTools::GetViewportParameters(), s_viewportIndex, and cc2DViewportObject::setParameters().
Referenced by ecvAnimationParamDlg::startAnimation().
|
overridevirtual |
Enables all windows.
Implements ecvMainAppInterface.
|
slot |
|
signal |
Signal emitted when the exclusive full screen is toggled.
|
overridevirtual |
Forces display of console widget.
Implements ecvMainAppInterface.
Referenced by ecvConsole::refresh().
|
overridevirtual |
Freezes/unfreezes UI.
| state | freeze state |
Implements ecvMainAppInterface.
References ccPluginUIManager::additionalPluginToolbars(), and ccPluginUIManager::mainPluginToolbar().
Referenced by cancelPreviousPickingOperation(), enablePickingOperation(), and MainWindow().
|
static |
Static shortcut to MainWindow::getActiveWindow.
References getActiveWindow(), and TheInstance().
|
overridevirtual |
Implements ecvMainAppInterface.
Referenced by doActionSaveViewportAsCamera(), GetActiveRenderWindow(), and toggleExclusiveFullScreen().
|
overridevirtual |
Returns color scale manager (unique instance)
Implements ecvMainAppInterface.
References ccColorScalesManager::GetUniqueInstance().
|
inlineoverridevirtual |
Returns main window.
Implements ecvMainAppInterface.
| QMdiSubWindow * MainWindow::getMDISubWindow | ( | QWidget * | win | ) |
Returns MDI area subwindow corresponding to a given 3D view.
Referenced by addWidgetToQMdiArea().
|
static |
Returns a given GL sub-window (determined by its title)
| title | window title |
References TheInstance().
Referenced by addWidgetToQMdiArea().
| int MainWindow::getRenderWindowCount | ( | ) | const |
Returns the number of 3D views.
|
static |
Returns all GL sub-windows.
| [in,out] | glWindows | vector to store all sub-windows |
References TheInstance().
Referenced by ~MainWindow().
|
inlineoverridevirtual |
Returns currently selected entities ("read only")
Implements ecvMainAppInterface.
Referenced by ccApplyTransformationDlg::initFromDipAndDipDir(), refreshSelected(), resetSelectedBBox(), ecvPrimitiveFactoryDlg::setCoordinateSystemBasedOnSelectedObject(), and ccPropertiesTreeDelegate::setEditorData().
| ccBBox MainWindow::getSelectedEntityBbox | ( | ) |
References ccHObject::addChild(), ccHObject::DP_NONE, ccHObject::getChildrenNumber(), and ccHObject::getDisplayBB_recursive().
Referenced by zoomOnSelectedEntities().
|
overridevirtual |
Returns the unique ID generator.
Implements ecvMainAppInterface.
References ccObject::GetUniqueIDGenerator().
| QWidget * MainWindow::getWindow | ( | int | index | ) | const |
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::GetViewportParameters(), refreshAll(), and ecvDisplayTools::SetPointSize().
| void MainWindow::initPlugins | ( | ) |
Sets up the UI (menus and toolbars) based on loaded plugins.
References ccPluginUIManager::actionShowMainPluginToolbar(), ccPluginUIManager::actionShowPCLAlgorithmToolbar(), ccPluginUIManager::additionalPluginToolbars(), ccPluginUIManager::glPclToolbar(), ccPluginUIManager::init(), ccPluginUIManager::isPythonPluginToolbar(), ccPluginUIManager::mainPluginToolbar(), ccPluginUIManager::pclAlgorithmMenu(), ccPluginUIManager::pluginMenu(), CVLog::Print(), CVLog::PrintDebug(), ecvLayoutManager::registerRightSideToolBar(), and CVLog::Warning().
Referenced by main().
|
overridevirtual |
Attempts to load a file.
Implements ecvMainAppInterface.
References FileIOFilter::LoadParameters::alwaysDisplayLoadDialog, CC_FERR_NO_ERROR, filename, FileIOFilter::LoadFromFile(), ecvGlobalShiftManager::NO_DIALOG_AUTO_SHIFT, FileIOFilter::LoadParameters::parentWidget, result, and FileIOFilter::LoadParameters::shiftHandlingMode.
|
overridevirtual |
Inherited from ccPickingListener.
Implements ccPickingListener.
References ccHObject::addChild(), cc2DLabel::addPickedPoint(), cloudViewer::PointCloudTpl< T >::addPoint(), ccGLMatrixTpl< T >::apply(), cancelPreviousPickingOperation(), CC_TOP_VIEW, Vector3Tpl< Type >::cross(), ccGLMatrixTpl< T >::data(), ecvGui::ParamStruct::displayedNumPrecision, ecvDisplayTools::DisplayNewMessage(), Vector3Tpl< Type >::dot(), e, ccPickingListener::PickedItem::entity, Vector3Tpl< double >::fromArray(), ecvDisplayTools::GetCurrentViewDir(), ecvDisplayTools::GetDisplayParameters(), ccDrawableObject::getGLTransformation(), cloudViewer::PointCloudTpl< T >::getPoint(), ecvDisplayTools::GetViewportParameters(), ecvMainAppInterface::haveOneSelection(), ecvDisplayTools::LOWER_LEFT_MESSAGE, Vector3Tpl< Type >::normalize(), ecvViewportParameters::objectCenteredView, ccPickingListener::PickedItem::P3D, ecvViewportParameters::perspectiveView, PICKING_LEVEL_POINTS, PICKING_ROTATION_CENTER, refreshSelected(), s_currentPickingOperation, s_levelEntity, s_levelMarkersCloud, cc2DLabel::setDisplayedIn2D(), ccObject::setName(), ecvDisplayTools::SetPivotPoint(), ccHObject::setRedrawFlagRecursive(), ccGraphicalTransformationTool::setRotationCenter(), ccGLMatrixTpl< T >::setTranslation(), ecvDisplayTools::SetView(), ccDrawableObject::setVisible(), cloudViewer::PointCloudTpl< T >::size(), ccOverlayDialog::started(), Tuple3Tpl< Type >::u, CVLog::Warning(), X, Tuple3Tpl< Type >::x, Tuple3Tpl< Type >::y, and Tuple3Tpl< Type >::z.
|
inlineoverridevirtual |
Reimplemented from ecvMainAppInterface.
Referenced by ecvMeasurementTool::ecvMeasurementTool(), ecvMeasurementTool::onPointPickingRequested(), and ecvMeasurementTool::start().
|
overridevirtual |
Adds back object to DB tree.
This method should be called once modifications to the db tree are finished (see removeObjectTemporarilyFromDBTree).
Implements ecvMainAppInterface.
References ccHObject::addDependency(), ccDBRoot::addElement(), context, and ccHObject::notifyGeometryUpdate().
Referenced by ccGraphicalTransformationTool::apply(), ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), ccEntityAction::clearProperty(), ccEntityAction::computeNormals(), and ccEntityAction::computeOctree().
|
overridevirtual |
Redraws all GL windows that have the 'refresh' flag on.
! Forces redraw of all GL windows **
| only2D | whether to redraw everything (false) or only the 2D layer (true) See ccDrawableObject::prepareDisplayForRefresh. |
| only2D | whether to redraw everything (false) or only the 2D layer (true) |
Implements ecvMainAppInterface.
References ecvDisplayTools::RedrawDisplay().
Referenced by ccDBRoot::changeSelection(), decreasePointSize(), ccDBRoot::deleteSelectedEntities(), ccDBRoot::dropMimeData(), ccDBRoot::enableBubbleViewMode(), increasePointSize(), MainWindow(), ccDBRoot::setData(), ccDBRoot::toggleSelectedEntitiesProperty(), and ccDBRoot::unloadAll().
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::RedrawDisplay(), ccHObject::setRedrawFlagRecursive(), and ecvDisplayTools::SetRedrawRecursive().
Referenced by addToDB().
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::RedrawDisplay(), ccHObject::setRedrawFlagRecursive(), and ecvDisplayTools::SetRedrawRecursive().
|
overridevirtual |
Implements ecvMainAppInterface.
References getSelectedEntities(), ecvDisplayTools::RedrawDisplay(), ccHObject::setRedrawFlagRecursive(), and ecvDisplayTools::SetRedrawRecursive().
Referenced by onItemPicked().
|
overridevirtual |
Registers a MDI area 'overlay' dialog.
Overlay dialogs are displayed in the central MDI area, above the 3D views. The position (pos) is defined relatively to the MDI area (as one of its 4 corners). And it is automatically updated when the main window is moved or resized. Registered dialogs are automatically released when CLOUDVIEWER stops.
Notes:
Implements ecvMainAppInterface.
References ccOverlayDialog::shown().
|
overridevirtual |
Removes an entity from main db tree.
Object is automatically detached from its parent.
| obj | entity |
| autoDelete | automatically deletes object |
Implements ecvMainAppInterface.
References ccHObject::getParent(), ccHObject::removeDependencyWith(), ccDBRoot::removeElement(), and ccHObject::removeFromRenderScreen().
|
overridevirtual |
Removes object temporarily from DB tree.
This method must be called before any modification to the db tree
Implements ecvMainAppInterface.
References context, ccHObject::getDependencyFlagsWith(), ccHObject::getParent(), ccHObject::removeDependencyWith(), and ccDBRoot::removeElement().
Referenced by ccGraphicalTransformationTool::apply(), ccLibAlgorithms::ApplyScaleMatchingAlgorithm(), ccEntityAction::clearProperty(), ccEntityAction::computeNormals(), and ccEntityAction::computeOctree().
|
overridevirtual |
Implements ecvMainAppInterface.
References getSelectedEntities(), ccHObject::getViewId(), and ecvDisplayTools::RemoveBB().
|
signal |
Signal emitted when the selected object is rotated by the user.
| rotMat | rotation applied to current viewport (4x4 OpenGL matrix) |
| void MainWindow::saveGUIElementsPos | ( | ) |
Saves position and state of all GUI elements.
References CVLog::Error(), and ecvLayoutManager::saveGUILayout().
| void MainWindow::setAutoPickPivot | ( | bool | state | ) |
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::GetCurrentScreen(), ecvDisplayTools::SetRedrawRecursive(), and ecvDisplayTools::ZoomGlobal().
| void MainWindow::setOrthoView | ( | ) |
References ecvDisplayTools::GetCurrentScreen(), and ecvDisplayTools::SetPerspectiveState().
Referenced by doActionOrthogonalProjection().
| void MainWindow::setPerspectiveView | ( | ) |
References ecvDisplayTools::GetCurrentScreen(), and ecvDisplayTools::SetPerspectiveState().
Referenced by doActionPerspectiveProjection().
|
overridevirtual |
Selects or unselects an entity (in db tree)
| obj | entity |
| selected | whether entity should be selected or not |
Implements ecvMainAppInterface.
References ccDBRoot::selectEntity(), and ccDBRoot::unselectEntity().
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::SetView().
|
overridevirtual |
|
static |
Returns the unique instance of this object.
References MainWindow(), and s_instance.
Referenced by ecvFilterByLabelDlg::apply(), ccGraphicalTransformationTool::apply(), ccPointListPickingDlg::applyAndExit(), ccPointListPickingDlg::cancelAndExit(), ccDBRoot::changeSelection(), ccPointListPickingDlg::clearLastLabel(), ccDBRoot::deleteSelectedEntities(), ccGraphicalSegmentationTool::doActionUseExistingPolyline(), ccGraphicalSegmentationTool::doExportSegmentationPolyline(), ccDBRoot::dropMimeData(), ecvMeasurementTool::ecvMeasurementTool(), ccDBRoot::editLabelScalarValue(), ccDBRoot::enableBubbleViewMode(), ecvApplication::event(), ccRasterizeTool::exportContourLines(), ccVolumeCalcTool::exportGridAsCloud(), ccDBRoot::exportImages(), ccTracePolylineTool::exportLine(), ecvMeasurementTool::exportMeasurement(), ccGraphicalTransformationTool::exportNewEntities(), ecvFilterTool::exportSlice(), ccPointListPickingDlg::exportToNewCloud(), ccPointListPickingDlg::exportToNewPolyline(), ccDBRoot::gatherRecursiveInformation(), ccRasterizeTool::generateCloud(), ccRasterizeTool::generateMesh(), GetActiveRenderWindow(), GetRenderWindow(), GetRenderWindows(), ccApplyTransformationDlg::initFromDipAndDipDir(), main(), ecvMeasurementTool::onPointPickingRequested(), ccPointListPickingDlg::processPickedPoint(), ccPlaneEditDlg::saveParamsAndAccept(), ccDBRoot::selectByTypeAndName(), ccDBRoot::setData(), ccPropertiesTreeDelegate::setEditorData(), ecvMeasurementTool::start(), ccDBRoot::toggleSelectedEntitiesProperty(), ccDBRoot::unloadAll(), and UpdateUI().
|
overridevirtual |
Implements ecvMainAppInterface.
References ecvDisplayTools::GetCurrentScreen(), and ecvDisplayTools::Toggle2Dviewer().
|
overridevirtual |
|
signal |
Signal emitted when the selected object is translated by the user.
|
overridevirtual |
Unregisters a MDI area 'overlay' dialog.
Implements ecvMainAppInterface.
| void MainWindow::update3DViewsMenu | ( | ) |
| void MainWindow::updateFullScreenMenu | ( | bool | state | ) |
|
overridevirtual |
Forces the update of all registered MDI 'overlay' dialogs.
Implements ecvMainAppInterface.
| void MainWindow::updatePropertiesView | ( | ) |
Updates the 'Properties' view.
References ccDBRoot::updatePropertiesView().
Referenced by ccPlaneEditDlg::saveParamsAndAccept(), and updateUI().
|
static |
Static shortcut to MainWindow::updateUI.
References TheInstance(), and updateUI().
Referenced by ccComparisonDlg::updateDisplay().
|
overridevirtual |
Updates UI (menu and properties browser) to reflect current selection state This method should be called whenever a change is made to any selected entity
Implements ecvMainAppInterface.
References updatePropertiesView().
Referenced by MainWindow(), and UpdateUI().
| void MainWindow::updateViewModePopUpMenu | ( | ) |
References ecvDisplayTools::GetCurrentScreen(), and ecvGenericDisplayTools::GetPerspectiveState().
Referenced by doActionOrthogonalProjection(), and doActionPerspectiveProjection().
|
overridevirtual |
|
overridevirtual |
| bool MainWindow::m_FirstShow |
Flag: first time the window is made visible.
|
static |