...
More...
#include <geodistance.h>
|
|
void | onNewMetaData () |
| | onNewMetaData Slot is triggerd if the core loads new meta data
|
| |
| void | onKeyframesChanged (std::vector< uint > keyframes) |
| | onKeyframesChanged Slot is triggerd if the core emtis new keyframes
|
| |
| void | slot_distChanged (double n) |
| | slot_devChanged Slot is triggerd when the value of mpSpinBoxDist is changed
|
| |
| void | slot_altitudeCheckChanged (bool check) |
| | slot_altitudeCheckChanged triggered with check box mpAltitudeCheck
|
| |
|
| | GeoDistance () |
| | Construct and initialize plugin with default parameterization.
|
| |
|
virtual | ~GeoDistance () |
| | Destroy object of GeoMapPlugin.
|
| |
| QWidget * | getSettingsWidget (QWidget *parent) override |
| | getSettingsWidget is provides an QWidget to display plugin specific settings to the user. The Widget is not deleted by the core application, so storage management is duty of the plugin.
|
| |
| QString | getName () const override |
| | getName returns the display name for the plugin. This name is presented to the user.
|
| |
| std::vector< uint > | sampleImages (const std::vector< uint > &imageList, Progressable *receiver, volatile bool *stopped, bool useCuda, LogFileParent *logFile) override |
| | sampleImages selects the keyframes from the given images. The computation is based on the images provided by the given Reader. The imageList provides indices for the currently selected keyframes.
|
| |
| void | initialize (Reader *reader, QMap< QString, QVariant > buffer, signalObject *sigObj) override |
| | initialize the the IAlgorithm and the settings widget with plausible values from the Reader.
|
| |
| void | setSettings (QMap< QString, QVariant > settings) override |
| | setter for plugin's settings
|
| |
| QMap< QString, QVariant > | getSettings () override |
| | getter for plugin's settings
|
| |
| QMap< QString, QVariant > | generateSettings (Progressable *receiver, bool useCuda, volatile bool *stopped) override |
| | generateSettings tries to generate the best settings for the current input
|
| |
|
|
signalObject * | mpSigObj |
| | Pointer to signal object of iVS3D-core.
|
| |
|
Reader * | mpReader |
| | Pointer to reader object of iVS3D-core.
|
| |
|
QWidget * | mpSamplingWidget |
| | Pointer to the sampling widget.
|
| |
|
QMap< QString, QVariant > | mBuffer |
| | Buffered data form last call to sampleImages.
|
| |
|
QList< QVariant > | mMetaData |
| | List of available meta data.
|
| |
|
bool | mAltitudeExisting = false |
| | Flag indicating if altitude data is available.
|
| |
|
QList< QPair< QPointF, bool > > | mGpsData |
| | List of GPS data associated with the images.
|
| |
|
bool | mIsGpsAvailable |
| | Flag indicating if GPS data is available.
|
| |
|
QDoubleSpinBox * | mpSpinBoxDist |
| | Pointer to distance spin box.
|
| |
|
QCheckBox * | mpAltitudeCheckBox = nullptr |
| | Pointer to altitude check box.
|
| |
|
bool | mUseAltitude = false |
| | sampling flag indicating if altitude data should be used for distance calculation
|
| |
|
double | mDistance = 1 |
| | distance for sampling set by the user
|
| |
|
| void | updateKeyframes (std::vector< uint > keyframes) |
| | updateKeyframes updates the keyframe list in the core object.
|
| |
| void | updateBuffer (QMap< QString, QVariant > buffer) |
| | updateBuffer stores the given buffer for future uses of the buffered data.
|
| |
...
- Author
- Daniel Brommer
-
Dominik Wüst
-
Boitumelo Ruf
◆ GeoDistance()
| GeoDistance::GeoDistance |
( |
| ) |
|
Construct and initialize plugin with default parameterization.
Default construction.
◆ generateSettings()
| QMap< QString, QVariant > GeoDistance::generateSettings |
( |
Progressable * |
receiver, |
|
|
bool |
useCuda, |
|
|
volatile bool * |
stopped |
|
) |
| |
|
overridevirtual |
generateSettings tries to generate the best settings for the current input
- Parameters
-
| receiver | is a progressable, which displays the already made progress |
| buffer | QVariant with the buffered data form last call to sampleImages |
| useCuda | true if cv::cuda can be used |
| stopped | is set if the algorithm should abort |
- Returns
- QMap with the settings
Implements IAlgorithm.
◆ getName()
| QString GeoDistance::getName |
( |
| ) |
const |
|
overridevirtual |
getName returns the display name for the plugin. This name is presented to the user.
- Returns
- The name to display
Implements IAlgorithm.
◆ getSettings()
| QMap< QString, QVariant > GeoDistance::getSettings |
( |
| ) |
|
|
overridevirtual |
getter for plugin's settings
- Returns
- QMap with the settings
Implements IAlgorithm.
◆ getSettingsWidget()
| QWidget * GeoDistance::getSettingsWidget |
( |
QWidget * |
parent | ) |
|
|
overridevirtual |
getSettingsWidget is provides an QWidget to display plugin specific settings to the user. The Widget is not deleted by the core application, so storage management is duty of the plugin.
- Parameters
-
| parent | The parent for the QWidget |
- Returns
- The QWidget with the plugin settings
Implements IAlgorithm.
◆ initialize()
| void GeoDistance::initialize |
( |
Reader * |
reader, |
|
|
QMap< QString, QVariant > |
buffer, |
|
|
signalObject * |
sigObj |
|
) |
| |
|
overridevirtual |
initialize the the IAlgorithm and the settings widget with plausible values from the Reader.
- Parameters
-
| reader | The reader with the images |
| buffer | QVariant with the buffered data form last call to sampleImages |
| sigObj | provides signals from the core application |
Implements IAlgorithm.
◆ onKeyframesChanged
| void GeoDistance::onKeyframesChanged |
( |
std::vector< uint > |
keyframes | ) |
|
|
slot |
onKeyframesChanged Slot is triggerd if the core emtis new keyframes
- Parameters
-
◆ sampleImages()
| std::vector< uint > GeoDistance::sampleImages |
( |
const std::vector< uint > & |
imageList, |
|
|
Progressable * |
receiver, |
|
|
volatile bool * |
stopped, |
|
|
bool |
useCuda, |
|
|
LogFileParent * |
logFile |
|
) |
| |
|
overridevirtual |
sampleImages selects the keyframes from the given images. The computation is based on the images provided by the given Reader. The imageList provides indices for the currently selected keyframes.
- Parameters
-
| imageList | Index list of images to compute, but indices in between can be used for computation |
| receiver | The Progressable to invoke to report progress |
| stopped | Flag true if the computation should abort, false if it should continue |
| useCuda | true if cv::cuda can be used |
| logFile | can be used to protocol progress or problems |
- Returns
- The indices of the selected keyframes
Implements IAlgorithm.
◆ setSettings()
| void GeoDistance::setSettings |
( |
QMap< QString, QVariant > |
settings | ) |
|
|
overridevirtual |
setter for plugin's settings
- Parameters
-
Implements IAlgorithm.
◆ slot_altitudeCheckChanged
| void GeoDistance::slot_altitudeCheckChanged |
( |
bool |
check | ) |
|
|
slot |
slot_altitudeCheckChanged triggered with check box mpAltitudeCheck
- Parameters
-
◆ slot_distChanged
| void GeoDistance::slot_distChanged |
( |
double |
n | ) |
|
|
slot |
slot_devChanged Slot is triggerd when the value of mpSpinBoxDist is changed
- Parameters
-
| n | Currently selceted distance |
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-geoDistancePlugin/geodistance.h
- iVS3D/src/iVS3D-geoDistancePlugin/geodistance.cpp