Default constructor.
Note: This is provided for convenience only and will construct an unusable, empty object.
[explicit]
KmlModel::KmlModel(const Esri::ArcGISRuntime::KmlGeometry &other)
Converting constructor from other KmlGeometry.
See also Downcast helper functions.
KmlModel::KmlModel(const QUrl &url, Esri::ArcGISRuntime::KmlOrientation *orientation, Esri::ArcGISRuntime::KmlScale *scale)Creates a KmlModel from a model file on disk or the network using the specified orientation and scale.
This constructor is used when creating a model for use in a track, which will adopt the track's geometry and altitude mode.
KmlModel::KmlModel(const QUrl &url, const Esri::ArcGISRuntime::Point &geometry, Esri::ArcGISRuntime::KmlAltitudeMode altitudeMode)Creates a KmlModel from a model file on disk or the network and a KmlModel using a specified altitude mode.
Creates a KmlModel from a model file on disk or the network and a KmlModel using the specified altitude mode, orientation, and scale.
Copy constructor from other KmlModel.
[noexcept]
KmlModel::KmlModel(Esri::ArcGISRuntime::KmlModel &&other)
Move constructor from other KmlModel.
[noexcept]
KmlModel::~KmlModel()
Destructor.
bool KmlModel::isValid() constGets whether this KmlModel is valid.
A KmlModel is valid if it is not empty and objectType is KmlGeometryObjectType::Model.
Returns true
if valid.
Returns the orientation applied to the model.
Note: a parent is required. Since KmlModel is a value object and not a QObject, the returned object cannot be a child of this object. If you wish to have no parent, pass nullptr
. If a parent was already present if provided on the constructor, it will be preserved.
Returns the scale factors applied to the model.
Note: a parent is required. Since KmlModel is a value object and not a QObject, the returned object cannot be a child of this object. If you wish to have no parent, pass nullptr
. If a parent was already present if provided on the constructor, it will be preserved.
Returns the URL to the file on disk or the network..
[noexcept]
Esri::ArcGISRuntime::KmlModel &KmlModel::operator=(Esri::ArcGISRuntime::KmlModel &&other)
Move operator from other KmlModel.
Esri::ArcGISRuntime::KmlModel &KmlModel::operator=(const Esri::ArcGISRuntime::KmlModel &other)Assignment operator from other KmlModel.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4