NDEVR
API Documentation
AerialImageSettings

Dialog for showing an AerialImage or top down view rendered with a service like google earth with user controls for adjusting view. More...

Collaboration diagram for AerialImageSettings:
[legend]

Public Member Functions

 AerialImageSettings (QTModelManager *manager, QWidget *parent=nullptr)
 Constructs the AerialImageSettings widget.
void accepted ()
 Emitted when the user accepts the current aerial image settings.
String aerialImageID () const
 Returns the identifier of the currently selected aerial image service.
AerialImageMode aerialImageMode () const
 Returns the currently selected aerial image mode (e.g., satellite, hybrid, terrain).
Bounds< 3, fltp08bounds () const
 Returns the geographic bounds used to fetch the aerial image.
void canceled ()
 Emitted when the user cancels the aerial image settings dialog.
String image () const
 Returns the file path or URL of the fetched aerial image.
Matrix< fltp08imageTransformation () const
 Returns the transformation matrix mapping the aerial image to world coordinates.
void setBounds (const Bounds< 3, fltp08 > &bounds)
 Sets the geographic bounds used to fetch the aerial image.
virtual QSize sizeHint () const override
 Returns the recommended size for this widget.

Protected Member Functions

void updatePreview ()
 Refreshes the aerial image preview based on the current settings.

Protected Attributes

UUID m_coordinate_space
 The coordinate space used for geographic transforms.
QTModelManagerm_manager
 The model manager providing scene access.
Ui::AerialImageSettingsUI * ui
 The auto-generated UI form for the settings layout.

Detailed Description

Dialog for showing an AerialImage or top down view rendered with a service like google earth with user controls for adjusting view.


Class: AerialImageSettings

Definition at line 51 of file AerialImageSettings.h.

Constructor & Destructor Documentation

◆ AerialImageSettings()

AerialImageSettings::AerialImageSettings ( QTModelManager * manager,
QWidget * parent = nullptr )

Constructs the AerialImageSettings widget.

Parameters
[in]managerThe model manager providing access to the scene and coordinate systems.
[in]parentThe optional parent widget.

Member Function Documentation

◆ aerialImageID()

String AerialImageSettings::aerialImageID ( ) const

Returns the identifier of the currently selected aerial image service.

Returns
The service identifier string.

◆ aerialImageMode()

AerialImageMode AerialImageSettings::aerialImageMode ( ) const

Returns the currently selected aerial image mode (e.g., satellite, hybrid, terrain).

Returns
The active AerialImageMode.

◆ bounds()

Bounds< 3, fltp08 > AerialImageSettings::bounds ( ) const

Returns the geographic bounds used to fetch the aerial image.

Returns
The 3D bounding region.

Referenced by setBounds().

◆ image()

String AerialImageSettings::image ( ) const

Returns the file path or URL of the fetched aerial image.

Returns
The image location string.

◆ imageTransformation()

Matrix< fltp08 > AerialImageSettings::imageTransformation ( ) const

Returns the transformation matrix mapping the aerial image to world coordinates.

Returns
The image-to-world transformation matrix.

◆ setBounds()

void AerialImageSettings::setBounds ( const Bounds< 3, fltp08 > & bounds)

Sets the geographic bounds used to fetch the aerial image.

Parameters
[in]boundsThe 3D bounding region to use.

References bounds().

◆ sizeHint()

virtual QSize AerialImageSettings::sizeHint ( ) const
overridevirtual

Returns the recommended size for this widget.

Returns
The preferred size hint.

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