![]() |
iVS3D v2.0.9
|
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 | 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. | |
| ~GeoMap () override=default | |
| Destroy object of GeoMapPlugin. | |
| PLUG::SettingsWidgetResult | getSettingsWidget () 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. | |
| QMap< QString, QVariant > | getSettings () const override |
| getSettings retrieves the current settings of the plugin as a map of key-value pairs. The settings are stored in the history within iVS3D and in combination with applySettings allow for saving and restoring plugin configurations. | |
| PLUG::ApplySettingsResult | applySettings (const QMap< QString, QVariant > &settings) override |
| applySettings applies the provided settings to the plugin. This method is used to restore plugin configurations from the history within iVS3D. | |
| PLUG::InputLoadedResult | onInputLoaded (const PLUG::InputData &input) override |
| onInputLoaded is called when a new input video or image set is loaded. | |
| PLUG::MetaDataLoadedResult | onMetaDataLoaded (const PLUG::InputMetaData &inputMetaData) override |
| onMetaDataLoaded is called whenever metadata was loaded or refreshed for the currently active input. | |
| void | onSelectedImagesChanged (const std::vector< uint > &selectedImages) override |
| onSelectedImagesChanged is called when the current keyframe / selected-image list changed. | |
| void | onIndexChanged (uint index) override |
| onIndexChanged is called when the currently displayed frame index changes in the viewer. | |
| PLUG::SelectionResult | selectImages (const PLUG::SelectionData &data, volatile bool &cancelFlag) override |
| Selects images based on the provided selection data. | |
Public Member Functions inherited from PLUG::IBase | |
| virtual QString | getSettingsString () const |
| getSettingsString is a helper method that converts the plugin settings into a human-readable string format. | |
| virtual void | activate () |
| activate is called when the plugin is activated in iVS3D. Plugins can override this method to perform any necessary setup when they become active. | |
| virtual void | deactivate () |
| deactivate is called when the plugin is deactivated in iVS3D. Plugins can override this method to perform any necessary cleanup when they are no longer active. | |
| virtual void | onCudaChanged (bool enabled) |
| onCudaChanged is called when the CUDA usage setting is changed in iVS3D. | |
Additional Inherited Members | |
Signals inherited from PLUG::IBase | |
| void | updatePreview (bool clearOldPreview=true) |
| [signal] updatePreview(bool clearOldPreview) can be emitted when the plugin requests an update of the preview visualization. | |
| void | updateSelectedImages (std::vector< uint > selectedImages) |
| [signal] updateSelectedImages(std::vector<uint> selectedImages) can be emitted when the plugin wants to update the selection of images in the video player. iVS3D will only handle this signal if the plugin is currently active. | |
| void | updateProgress (int progress, QString message=QString()) |
| [signal] updateProgress(int progress, QString message) can be emitted to inform iVS3D about the progress of a long-running operation. | |
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 |
applySettings applies the provided settings to the plugin. This method is used to restore plugin configurations from the history within iVS3D.
| settings | A QMap containing the plugin settings as key-value pairs. |
Implements PLUG::IBase.
|
overridevirtual |
getName returns the display name for the plugin. This name is presented to the user.
Implements PLUG::IBase.
|
overridevirtual |
getSettings retrieves the current settings of the plugin as a map of key-value pairs. The settings are stored in the history within iVS3D and in combination with applySettings allow for saving and restoring plugin configurations.
Implements PLUG::IBase.
|
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.
Implements PLUG::IBase.
|
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 |
|
overridevirtual |
onIndexChanged is called when the currently displayed frame index changes in the viewer.
Plugins can use this notification to update index-dependent internal state (for example temporal caches, active-frame labels, or lazy loading windows).
Threading contract:
| index | New current frame index. |
Implements PLUG::IBase.
|
overridevirtual |
onInputLoaded is called when a new input video or image set is loaded.
Plugins can override this method to reset caches or initialize state that depends on the current input.
Implements PLUG::IBase.
|
overridevirtual |
onMetaDataLoaded is called whenever metadata was loaded or refreshed for the currently active input.
Typical use cases:
Threading contract:
Error handling:
Error if the plugin cannot consume the provided metadata.| inputMetaData | Metadata context for the currently loaded input. |
MetaDataLoadedResult indicating success or failure. Implements PLUG::IBase.
|
overridevirtual |
onSelectedImagesChanged is called when the current keyframe / selected-image list changed.
This keeps plugins synchronized with interactive edits, sampling results, and undo/redo restores that modify the selected image set.
Threading contract:
| selectedImages | Updated sorted list of selected image indices. |
Implements PLUG::IBase.
|
overridevirtual |
Selects images based on the provided selection data.
This method should be implemented by the plugin to select images according to the specified criteria in SelectionData.
| data | The SelectionData containing selected indices, working resolution, and ROI. |
| cancelFlag | A volatile boolean flag that can be set to true to cancel the selection process. |
Implements PLUG::ISelection.