iVS3D v2.0.0
Loading...
Searching...
No Matches
ExportWidget Class Reference

The ExportWidget class provides a user interface to configure export: More...

#include <exportwidget.h>

Inheritance diagram for ExportWidget:

Signals

void sig_pathChanged (QString path)
 [signal] sig_pathChanged(...) is emitted if the selected path changed.
 
void sig_export ()
 [signal] sig_export() is emitted on export button pressed.
 
void sig_reconstruct ()
 [signal] sig_reconstruct() is emitted on reconstruct button pressed.
 
void sig_addAuto ()
 [signal] sig_addAuto() is emitted on Add to automatic button pressed.
 
void sig_resChanged (QString resolution)
 [signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed
 
void sig_altitudeChanged (double altitude)
 [signal] sig_altitudeChanged() is emitted when the altitude is changed by the user.
 

Public Member Functions

 ExportWidget (QWidget *parent=nullptr, QStringList transformList=QStringList())
 Creates an ExportWidget with the given QWidget as parent.
 
void setOutputPath (QString path)
 setOutputPath sets the text in the path text box to given path.
 
void enableExport (bool enabled)
 enableExport enables / disables the export button.
 
void enableExportPathEditable (bool enabled)
 enableExportPathEditable enables / disables editting of the export path.
 
void enableReconstruct (bool enabled)
 enableReconstruct enables / disables the reconstruct button.
 
std::vector< bool > getSelectedITransforms ()
 getSelectedITransforms returns a list with list[i] = true if iTransform[i] is selected.
 
bool setSelectedITransforms (std::vector< bool > selection)
 setSelectedITransforms selects the iTransform[i] if selected[i] = true.
 
void enableCreateFilesWidget (bool enable)
 disableCreateFilesWidget will disable the create files for widget
 
void setAltitudeVisible (bool visible)
 setAltitudeVisible will show or hide the altitude selector
 
void setAltitude (double altitude)
 setAltitude sets the value of the altitude selector
 

Detailed Description

The ExportWidget class provides a user interface to configure export:

  • export path
  • export resolution
  • start export It also allows to start a recnstruction using the reconstruct button.
Author
Dominik Wüst
Date
2021/03/03

Constructor & Destructor Documentation

◆ ExportWidget()

ExportWidget::ExportWidget ( QWidget *  parent = nullptr,
QStringList  transformList = QStringList() 
)
explicit

Creates an ExportWidget with the given QWidget as parent.

Parameters
parentThe parent for displaying

Member Function Documentation

◆ enableCreateFilesWidget()

void ExportWidget::enableCreateFilesWidget ( bool  enable)

disableCreateFilesWidget will disable the create files for widget

Parameters

a true shows the widget, false will hide it

◆ enableExport()

void ExportWidget::enableExport ( bool  enabled)

enableExport enables / disables the export button.

Parameters
enabledbutton enabled if true, disabled otherwise

◆ enableExportPathEditable()

void ExportWidget::enableExportPathEditable ( bool  enabled)

enableExportPathEditable enables / disables editting of the export path.

Parameters
edittingenabled if true, disabled otherwise

◆ enableReconstruct()

void ExportWidget::enableReconstruct ( bool  enabled)

enableReconstruct enables / disables the reconstruct button.

Parameters
enabledbutton enabled if true, disabled otherwise

◆ getSelectedITransforms()

std::vector< bool > ExportWidget::getSelectedITransforms ( )

getSelectedITransforms returns a list with list[i] = true if iTransform[i] is selected.

Returns
The list

◆ setAltitude()

void ExportWidget::setAltitude ( double  altitude)

setAltitude sets the value of the altitude selector

Parameters
altitude

◆ setAltitudeVisible()

void ExportWidget::setAltitudeVisible ( bool  visible)

setAltitudeVisible will show or hide the altitude selector

Parameters
visibletrue shows the selector, false will hide it

◆ setOutputPath()

void ExportWidget::setOutputPath ( QString  path)

setOutputPath sets the text in the path text box to given path.

Parameters
paththe path to display

◆ setSelectedITransforms()

bool ExportWidget::setSelectedITransforms ( std::vector< bool >  selection)

setSelectedITransforms selects the iTransform[i] if selected[i] = true.

Parameters
selectionthe iTransforms selection
Returns
true if selection.size matches iTransform.count

◆ sig_pathChanged

void ExportWidget::sig_pathChanged ( QString  path)
signal

[signal] sig_pathChanged(...) is emitted if the selected path changed.

Parameters
paththe new path as string

◆ sig_resChanged

void ExportWidget::sig_resChanged ( QString  resolution)
signal

[signal] sig_resChanged(...) is emitted if the resolution in the combo box is changed

Parameters
resolutionThe selected resolution as a string

The documentation for this class was generated from the following files: