Base class to impement AR scene view. More...
Header | #include <ArcGIS |
Since | Esri |
Inherits | Q |
Inherited By | |
Status | Deprecated |
This class is deprecated. We strongly advise against using it in new code.
- List of all members, including inherited members
- ArcGISArViewInterface is part of ArcGISQtToolkit group.
Public Functions
virtual | ~ |
Esri | location |
Esri | location |
Q | plane |
Q | point |
int | point |
bool | render |
void | reset |
void | set |
void | set |
void | set |
void | set |
void | set |
void | set |
void | set |
void | set |
void | start |
void | start |
void | stop |
bool | tracking() const |
double | translation |
Signals
void | location |
void | location |
void | plane |
void | point |
void | point |
void | render |
void | tracking |
void | translation |
Protected Functions
ArcGIS | |
ArcGIS |
Detailed Description
This class provides the AR features without using the C++ API of the ArcGIS Maps SDK for Qt. It is used as a base class to create the API-dependent classe: ArcGISArView which uses the C++ API.
Member Function Documentation
[explicit protected]
ArcGISArViewInterface::ArcGISArViewInterface (QQuickItem *parent = nullptr)
A constructor that accepts an optional parent.
The default values for the renderVideoFeed property is true
.
[explicit protected]
ArcGISArViewInterface::ArcGISArViewInterface (bool renderVideoFeed , QQuickItem *parent = nullptr)
A constructor that accepts an optional parent.
- renderVideoFeed - Sets to
true
to render the camera frames in the background. in Android and ARKit in iOS). - parent - optional.
[override virtual noexcept]
ArcGISArViewInterface::~ArcGISArViewInterface ()
The destructor.
Esri::ArcGISRuntime::Toolkit::LocationDataSource *ArcGISArViewInterface::locationDataSource () const
Returns the LocationDataSource if the AR scene view uses it to update the location or nullptr
is the location is updated by the AR framework.
Note: Getter function for property locationDataSource.
See also setLocationDataSource().
Esri::ArcGISRuntime::Toolkit::ArEnums::LocationTrackingMode ArcGISArViewInterface::locationTrackingMode () const
Gets the tracking mode controlling how the locations generated from the location data source are used during AR tracking.
The default value is LocationTrackingMode::Ignore
.
Note: Getter function for property locationTrackingMode.
See also setLocationTrackingMode().
QColor ArcGISArViewInterface::planeColor () const
Gets the color of the debug planes.
Note: Getter function for property planeColor.
See also setPlaneColor().
QColor ArcGISArViewInterface::pointCloudColor () const
Gets the color of the debug point cloud.
Note: Getter function for property pointCloudColor.
See also setPointCloudColor().
int ArcGISArViewInterface::pointCloudSize () const
Gets the size of the debug point cloud.
Note: Getter function for property pointCloudSize.
See also setPointCloudSize().
bool ArcGISArViewInterface::renderVideoFeed () const
Returns true
when the scene view renders the camera frames in the background.
Note: Getter function for property renderVideoFeed.
See also setRenderVideoFeed().
[signal]
void ArcGISArViewInterface::renderVideoFeedChanged ()
Signal emitted when the renderVideoFeed property changes.
Note: Notifier signal for property renderVideoFeed.
[invokable]
void ArcGISArViewInterface::resetTracking ()
Resets the device tracking and related properties.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
void ArcGISArViewInterface::setLocationDataSource (Esri::ArcGISRuntime::Toolkit::LocationDataSource *locationDataSource )
Sets the location data source to locationDataSource.
If locationDataSource is nullptr
, the tracking of the LocationDataSource is disabled.
Note: Setter function for property locationDataSource.
See also locationDataSource().
void ArcGISArViewInterface::setLocationTrackingMode (Esri::ArcGISRuntime::Toolkit::ArEnums::LocationTrackingMode locationTrackingMode )
Sets the location tracking mode to locationTrackingMode.
Note: Setter function for property locationTrackingMode.
See also locationTrackingMode().
void ArcGISArViewInterface::setPlaneColor (const QColor &planeColor )
Sets the color of the debug planes to planeColor.
Note: Setter function for property planeColor.
See also planeColor().
void ArcGISArViewInterface::setPointCloudColor (const QColor &pointCloudColor )
Sets the color of the debug point cloud to pointCloudColor.
Note: Setter function for property pointCloudColor.
See also pointCloudColor().
void ArcGISArViewInterface::setPointCloudSize (int pointCloudSize )
Sets the size of the debug point cloud to pointCloudSize.
Note: Setter function for property pointCloudSize.
See also pointCloudSize().
void ArcGISArViewInterface::setRenderVideoFeed (bool renderVideoFeed )
Sets renderVideoFeed to true
when the scene view renders the camera frames in the background.
Note: Setter function for property renderVideoFeed.
See also renderVideoFeed().
void ArcGISArViewInterface::setTracking (bool tracking)
Sets tracking to starts or stops the AR scene view tracking.
Note: Setter function for property tracking.
See also tracking().
void ArcGISArViewInterface::setTranslationFactor (double translationFactor )
The translationFactor used to support a table top AR experience.
All the translation of the device are multiplied by this factor, to have translations in the scene view adapted to the scene zooming.
Note: Setter function for property translationFactor.
See also translationFactor().
[invokable]
void ArcGISArViewInterface::startTracking ()
Starts AR tracking.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable]
void ArcGISArViewInterface::startTracking (Esri::ArcGISRuntime::Toolkit::ArEnums::LocationTrackingMode locationTrackingMode )
Starts AR tracking with location tracking mode.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
[invokable]
void ArcGISArViewInterface::stopTracking ()
Stops AR tracking.
Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.
bool ArcGISArViewInterface::tracking() const
Returns true
when the AR scene view is tracking.
Note: Getter function for property tracking.
See also setTracking().
[signal]
void ArcGISArViewInterface::trackingChanged ()
Signal emitted when the tracking property changes.
Note: Notifier signal for property tracking.
double ArcGISArViewInterface::translationFactor () const
The translation factor used to support a table top AR experience.
Note: Getter function for property translationFactor.
See also setTranslationFactor().
[signal]
void ArcGISArViewInterface::translationFactorChanged ()
Signal emitted when the translationFactor property changes.
Note: Notifier signal for property translationFactor.