#include <MainWindow.hpp>
Inherits QMainWindow, and ThreadCallbackInterface.
|  | 
|  | MainWindow (QWidget *parent=nullptr) | 
|  | 
| virtual | ~MainWindow () | 
|  | 
| QSize | minimumSizeHint () const override | 
|  | 
| QSize | sizeHint () const override | 
|  | 
| void | showError (const char *message) | 
|  | 
| void | importFile () | 
|  | 
| Editor & | editor () | 
|  | 
| void | setWindowTitle (const QString &path) | 
|  | 
| void | createAction (QAction **result, const QString &menuTitle, const QString &toolBarTitle, const QString &text, const QString &toolTip, const QIcon &icon, const QObject *receiver, const char *member, int menuPriority=-1, int menuItemPriority=-1) | 
|  | 
| void | hideToolBar (const QString &menu) | 
|  | 
| void | suspendThreads () | 
|  | 
| void | resumeThreads () | 
|  | 
| virtual void | threadProgress (bool finished) override | 
|  | 
| void | update (void *sender, const QSet< Editor::Type > &target) | 
|  | 
| void | update (const QSet< Editor::Type > &target, Page::State viewPortsCacheState=Page::STATE_READ, bool resetCamera=false) | 
|  | 
| void | updateNewProject () | 
|  | 
| void | updateData () | 
|  | 
| void | updateFilter () | 
|  | 
| void | updateModifiers () | 
|  | 
| void | updateRender () | 
|  | 
| virtual | ~ThreadCallbackInterface ()=default | 
|  | 
|  | 
| static void | createToolButton (QToolButton **result, const QString &text, const QString &toolTip, const QIcon &icon, const QObject *receiver, const char *member) | 
|  | 
◆ MainWindow()
      
        
          | MainWindow::MainWindow | ( | QWidget * | parent = nullptr | ) |  | 
      
 
 
◆ ~MainWindow()
  
  | 
        
          | MainWindow::~MainWindow | ( |  | ) |  |  | virtual | 
 
 
◆ closeEvent()
  
  | 
        
          | void MainWindow::closeEvent | ( | QCloseEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ createAction()
      
        
          | void MainWindow::createAction | ( | QAction ** | result, | 
        
          |  |  | const QString & | menuTitle, | 
        
          |  |  | const QString & | toolBarTitle, | 
        
          |  |  | const QString & | text, | 
        
          |  |  | const QString & | toolTip, | 
        
          |  |  | const QIcon & | icon, | 
        
          |  |  | const QObject * | receiver, | 
        
          |  |  | const char * | member, | 
        
          |  |  | int | menuPriority = -1, | 
        
          |  |  | int | menuItemPriority = -1 ) | 
      
 
Referenced by ComputeClassificationPlugin::initialize(), ComputeDescriptorPlugin::initialize(), ComputeElevationPlugin::initialize(), ComputeHeightMapPlugin::initialize(), ComputeSegmentationNNPlugin::initialize(), ComputeTreeAttributesPlugin::initialize(), EditPlugin::initialize(), ExportFilePlugin::initialize(), FilterAreaPlugin::initialize(), FilterClassificationPlugin::initialize(), FilterDescriptorPlugin::initialize(), FilterElevationPlugin::initialize(), FilterFilesPlugin::initialize(), FilterIntensityPlugin::initialize(), FilterTreesPlugin::initialize(), HelpPlugin::initialize(), ImportFilePlugin::initialize(), MessageLogPlugin::initialize(), ProjectFilePlugin::initialize(), SettingsUnitsPlugin::initialize(), SettingsViewPlugin::initialize(), TreeTablePlugin::initialize(), ViewerPlugin::initialize(), and MainWindow().
 
 
◆ createMenu()
  
  | 
        
          | void MainWindow::createMenu | ( |  | ) |  |  | private | 
 
 
◆ createToolButton()
  
  | 
        
          | void MainWindow::createToolButton | ( | QToolButton ** | result, |  
          |  |  | const QString & | text, |  
          |  |  | const QString & | toolTip, |  
          |  |  | const QIcon & | icon, |  
          |  |  | const QObject * | receiver, |  
          |  |  | const char * | member ) |  | static | 
 
 
◆ editor()
  
  | 
        
          | Editor & MainWindow::editor | ( |  | ) |  |  | inline | 
 
Referenced by ProjectFilePlugin::closeProject(), FilterClassificationWidget::dataChanged(), FilterFilesWidget::dataChanged(), FilterTreesWidget::dataChanged(), SettingsUnitsWidget::dataChanged(), SettingsViewWidget::dataChanged(), FilterAreaBoxWidget::filterChanged(), FilterClassificationWidget::filterChanged(), FilterDescriptorWidget::filterChanged(), FilterElevationWidget::filterChanged(), FilterFilesWidget::filterChanged(), FilterIntensityWidget::filterChanged(), FilterTreesWidget::filterChanged(), ComputeHeightMapModifier::initialize(), ProjectFilePlugin::openProject(), TreeTableExportDialog::properties(), ProjectFilePlugin::saveProject(), FilterElevationWidget::setElevation(), FilterAreaBoxWidget::setFilterEnabled(), FilterAreaBoxWidget::setRegion(), TreeTableWidget::setRow(), FilterTreesTreeWidget::setSegment(), ExportFilePlugin::slotExportFile(), FilterAreaBoxWidget::slotRangeIntermediateMaximumValue(), FilterElevationWidget::slotRangeIntermediateMaximumValue(), FilterAreaBoxWidget::slotRangeIntermediateMinimumValue(), FilterElevationWidget::slotRangeIntermediateMinimumValue(), EditPlugin::slotResetElevation(), FilterAreaBoxWidget::slotUpdate(), FilterClassificationWidget::slotUpdate(), FilterDescriptorWidget::slotUpdate(), FilterElevationWidget::slotUpdate(), FilterFilesWidget::slotUpdate(), FilterIntensityWidget::slotUpdate(), FilterTreesWidget::slotUpdate(), SettingsUnitsWidget::slotUpdate(), SettingsViewWidget::slotUpdate(), TreeTableWidget::slotUpdate(), and ViewerPlugin::slotViewLayout().
 
 
◆ hideEvent()
  
  | 
        
          | void MainWindow::hideEvent | ( | QHideEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ hideToolBar()
      
        
          | void MainWindow::hideToolBar | ( | const QString & | menu | ) |  | 
      
 
 
◆ importFile()
      
        
          | void MainWindow::importFile | ( |  | ) |  | 
      
 
 
◆ loadPlugin()
  
  | 
        
          | bool MainWindow::loadPlugin | ( | QObject * | plugin | ) |  |  | private | 
 
 
◆ loadPlugins()
  
  | 
        
          | void MainWindow::loadPlugins | ( |  | ) |  |  | private | 
 
 
◆ minimumSizeHint()
  
  | 
        
          | QSize MainWindow::minimumSizeHint | ( |  | ) | const |  | override | 
 
 
◆ paintEvent()
  
  | 
        
          | void MainWindow::paintEvent | ( | QPaintEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ resizeEvent()
  
  | 
        
          | void MainWindow::resizeEvent | ( | QResizeEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ resumeThreads()
      
        
          | void MainWindow::resumeThreads | ( |  | ) |  | 
      
 
 
◆ setWindowTitle()
      
        
          | void MainWindow::setWindowTitle | ( | const QString & | path | ) |  | 
      
 
 
◆ showError()
      
        
          | void MainWindow::showError | ( | const char * | message | ) |  | 
      
 
Referenced by ProjectFilePlugin::closeProject(), ImportFilePlugin::importFile(), ProjectFilePlugin::openProject(), ProjectFilePlugin::saveProject(), ComputeClassificationWidget::slotApply(), ComputeDescriptorWidget::slotApply(), ComputeElevationWidget::slotApply(), ComputeSegmentationNNWidget::slotApply(), ComputeTreeAttributesWidget::slotApply(), TreeTableWidget::slotExport(), and ExportFilePlugin::slotExportFile().
 
 
◆ showEvent()
  
  | 
        
          | void MainWindow::showEvent | ( | QShowEvent * | event | ) |  |  | overrideprotected | 
 
 
◆ signalRender
  
  | 
        
          | void MainWindow::signalRender | ( |  | ) |  |  | signal | 
 
 
◆ signalUpdate
  
  | 
        
          | void MainWindow::signalUpdate | ( | void * | sender, |  
          |  |  | const QSet< Editor::Type > & | target ) |  | signal | 
 
 
◆ sizeHint()
  
  | 
        
          | QSize MainWindow::sizeHint | ( |  | ) | const |  | override | 
 
 
◆ slotRender
  
  | 
        
          | void MainWindow::slotRender | ( |  | ) |  |  | slot | 
 
 
◆ slotRenderViewport
  
  | 
        
          | void MainWindow::slotRenderViewport | ( | size_t | viewportId | ) |  |  | slot | 
 
Updates new data in specified viewport. 
 
 
◆ slotRenderViewports
  
  | 
        
          | void MainWindow::slotRenderViewports | ( |  | ) |  |  | slot | 
 
 
◆ suspendThreads()
      
        
          | void MainWindow::suspendThreads | ( |  | ) |  | 
      
 
Referenced by ComputeHeightMapModifier::apply(), ProjectFilePlugin::closeProject(), FilterClassificationWidget::dataChanged(), FilterFilesWidget::dataChanged(), FilterTreesWidget::dataChanged(), SettingsUnitsWidget::dataChanged(), SettingsViewWidget::dataChanged(), FilterAreaBoxWidget::filterChanged(), FilterClassificationWidget::filterChanged(), FilterDescriptorWidget::filterChanged(), FilterElevationWidget::filterChanged(), FilterFilesWidget::filterChanged(), FilterIntensityWidget::filterChanged(), FilterTreesWidget::filterChanged(), ProjectFilePlugin::saveProject(), FilterAreaBoxWidget::setFilterEnabled(), ComputeHeightMapModifier::setPreviewEnabled(), ComputeClassificationWidget::slotApply(), ComputeDescriptorWidget::slotApply(), ComputeElevationWidget::slotApply(), ComputeSegmentationNNWidget::slotApply(), ComputeTreeAttributesWidget::slotApply(), ExportFilePlugin::slotExportFile(), EditPlugin::slotResetElevation(), ViewerPlugin::slotViewLayout(), update(), updateData(), updateFilter(), updateModifiers(), and updateRender().
 
 
◆ threadProgress()
  
  | 
        
          | void MainWindow::threadProgress | ( | bool | finished | ) |  |  | overridevirtual | 
 
 
◆ update() [1/2]
◆ update() [2/2]
      
        
          | void MainWindow::update | ( | void * | sender, | 
        
          |  |  | const QSet< Editor::Type > & | target ) | 
      
 
 
◆ updateData()
      
        
          | void MainWindow::updateData | ( |  | ) |  | 
      
 
 
◆ updateFilter()
      
        
          | void MainWindow::updateFilter | ( |  | ) |  | 
      
 
 
◆ updateModifiers()
      
        
          | void MainWindow::updateModifiers | ( |  | ) |  | 
      
 
 
◆ updateNewProject()
      
        
          | void MainWindow::updateNewProject | ( |  | ) |  | 
      
 
 
◆ updateRender()
      
        
          | void MainWindow::updateRender | ( |  | ) |  | 
      
 
 
◆ APPLICATION_NAME
  
  | 
        
          | const char * MainWindow::APPLICATION_NAME = "3D Forest" |  | static | 
 
 
◆ APPLICATION_VERSION
  
  | 
        
          | const char * MainWindow::APPLICATION_VERSION = "1.0" |  | static | 
 
 
◆ editor_
◆ exitAction_
  
  | 
        
          | QAction* MainWindow::exitAction_ |  | private | 
 
 
◆ helpPlugin_
◆ ICON_SIZE
  
  | 
        
          | const int MainWindow::ICON_SIZE = 16 |  | static | 
 
 
◆ ICON_SIZE_TEXT
  
  | 
        
          | const int MainWindow::ICON_SIZE_TEXT = 16 |  | static | 
 
 
◆ importFilePlugin_
◆ menuIndex_
  
  | 
        
          | QHash<QString, size_t> MainWindow::menuIndex_ |  | private | 
 
 
◆ menus_
◆ plugins_
◆ projectFilePlugin_
◆ threadRender_
◆ toolBars_
  
  | 
        
          | QHash<QString, QToolBar *> MainWindow::toolBars_ |  | private | 
 
 
◆ viewerPlugin_
The documentation for this class was generated from the following files:
- MainWindow.hpp
- MainWindow.cpp