![]() |
iVS3D v2.0.0
|
The GeoMapPlugin allows the user to select the images, which are to be used for the 3D reconstruction, based on their geographic position. More...
#include <geomap.h>
Public Slots | |
| void | onGpsClicked (QPointF gpsPoint, bool used) |
| onGpsClicked slot triggered when gps point on the map is clicked | |
| 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 | onGpsSelected (QPolygonF polyF) |
| onGpsSelected Slot is triggered when a new user selcted polyogn is created | |
Public Member Functions | |
| GeoMap () | |
| Construct and initialize plugin with default parameterization. | |
| virtual | ~GeoMap () |
| 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 | |
Private Attributes | |
| signalObject * | mpSigObj |
| Pointer to signal object of iVS3D-core. | |
| Reader * | mpReader |
| Pointer to reader object of iVS3D-core. | |
| QWidget * | mpQuickViewContainerWidget |
| Pointer to QML container widget. | |
| QWidget * | mpMapWidget |
| Pointer to the map widget. | |
| std::shared_ptr< MapHandler > | mpMapHandler |
| Pointer to map handler. | |
| QMap< QString, QVariant > | mBuffer |
| Buffered data form last call to sampleImages. | |
| QList< QVariant > | mMetaData |
| List of available meta data. | |
| QList< QPair< QPointF, bool > > | mGpsData |
| List of GPS data associated with the images. | |
| bool | mIsGpsAvailable |
| Flag indicating if GPS data is available. | |
Additional Inherited Members | |
Signals inherited from IAlgorithm | |
| 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. | |
The GeoMapPlugin allows the user to select the images, which are to be used for the 3D reconstruction, based on their geographic position.
In this, the location (derived from the meta data) of the images are displayed on a map. The user is then prompted to draw a region of interest in the form of a polygon. All images whose geographic location lie inside this polygon are than exported and prepared for the 3D reconstruction.
| GeoMap::GeoMap | ( | ) |
Construct and initialize plugin with default parameterization.
Default construction.
|
overridevirtual |
generateSettings tries to generate the best settings for the current input
| 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 |
Implements IAlgorithm.
|
overridevirtual |
getName returns the display name for the plugin. This name is presented to the user.
Implements IAlgorithm.
|
overridevirtual |
|
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.
| parent | The parent for the QWidget |
Implements IAlgorithm.
|
overridevirtual |
initialize the the IAlgorithm and the settings widget with plausible values from the Reader.
| 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.
|
slot |
onGpsClicked slot triggered when gps point on the map is clicked
| gpsPoint | gps point which has been clicked |
| used | true if points is used AFTER click false otherwise |
|
slot |
onGpsSelected Slot is triggered when a new user selcted polyogn is created
| polyF | Perimeter of the polyogn |
|
slot |
onKeyframesChanged Slot is triggerd if the core emtis new keyframes
| keyframes | Keyframe vector |
|
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.
| 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 |
Implements IAlgorithm.
|
overridevirtual |