A KML track object. More...
| Header | #include <Kml |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Kml | |
| Kml | |
| Kml | |
| Kml | |
| Kml | |
| Kml | |
| ~ | |
| Q | elements( |
| Esri | extended |
| Q | extended |
| bool | is |
| Esri | model() const |
| void | set |
| Esri | operator=( |
| Esri | operator=(const Esri |
Detailed Description
Note: KmlTrack only supports shallow copying. All copies will reference the same internal data and there is no way to detach/clone from it.
Member Function Documentation
KmlTrack::KmlTrack ()
Default constructor.
Note: This is provided for convenience only and will construct an unusable, empty object.
[explicit] KmlTrack::KmlTrack (const Esri::ArcGISRuntime::KmlGeometry &other)
Move constructor from other KmlGeometry.
See also Downcast helper functions.
KmlTrack::KmlTrack (const QList <Esri::ArcGISRuntime::KmlTrackElement *> &elements, Esri::ArcGISRuntime::KmlAltitudeMode altitudeMode )
Creates a KmlTrack from an array of KmlTrackElement using a specified altitude mode.
- elements - The individual elements of the track.
- altitudeMode - Determines how altitude values are interpreted.
KmlTrack::KmlTrack (const QList <Esri::ArcGISRuntime::KmlTrackElement *> &elements, Esri::ArcGISRuntime::KmlAltitudeMode altitudeMode , bool isExtruded , bool isTessellated , const Esri::ArcGISRuntime::KmlModel &model)
Creates a KmlTrack from an array of KmlTrackElement using a specified altitude mode, extrusion, tessellation, and a KmlModel.
- elements - The individual elements of the track.
- altitudeMode - Determines how altitude values are interpreted.
- isExtruded -
trueif the track is extruded,falseotherwise. - isTessellated -
trueif the track is tessellated,falseotherwise. - model - The optional model used to represent the track's current position. Its geometry will be ignored.
KmlTrack::KmlTrack (const Esri::ArcGISRuntime::KmlTrack &other)
Copy constructor from other KmlTrack.
Note: This is a shallow copy.
[noexcept] KmlTrack::KmlTrack (Esri::ArcGISRuntime::KmlTrack &&other)
Move constructor from other KmlTrack.
[noexcept] KmlTrack::~KmlTrack ()
Destructor.
QList <Esri::ArcGISRuntime::KmlTrackElement *> KmlTrack::elements(QObject *parent) const
Returns the individual elements of the KML track.
- parent - The parent object for the returned objects.
Note: a parent is required. Since KmlTrack is a value object and not a QObject, the returned objects cannot be a child of this object. If you wish to have no parent, pass nullptr. The parent will only be applied if the returned objects didn't already exist (existing parents will be preserved).
Esri::ArcGISRuntime::KmlNonSchemaData *KmlTrack::extendedNonSchemaData (QObject *parent) const
Returns the non-schema data present in extended data of a KML track.
Note: a parent is required. Since KmlTrack 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. The parent will only be applied if the returned object didn't already exist (existing parent will be preserved).
See also setExtendedNonSchemaData().
QList <Esri::ArcGISRuntime::KmlSchemaData *> KmlTrack::extendedSchemaData (QObject *parent) const
Returns an array of schema data present in extended data of a KML track.
Note: a parent is required. Since KmlTrack 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. The parent will only be applied if the returned objects didn't already exist (existing parents will be preserved).
bool KmlTrack::isValid () const
Gets whether this KmlTrack is valid.
A KmlTrack is valid if it is not empty and objectType is KmlGeometryObjectType::Track.
Returns true if valid.
Esri::ArcGISRuntime::KmlModel KmlTrack::model() const
Returns the model used to represent the track's current position.
void KmlTrack::setExtendedNonSchemaData (Esri::ArcGISRuntime::KmlNonSchemaData *extendedNonSchemaData )
Sets the extendedNonSchemaData to extendedNonSchemaData.
See also extendedNonSchemaData.
[noexcept] Esri::ArcGISRuntime::KmlTrack &KmlTrack::operator=(Esri::ArcGISRuntime::KmlTrack &&other)
Move operator from other KmlTrack.
Esri::ArcGISRuntime::KmlTrack &KmlTrack::operator=(const Esri::ArcGISRuntime::KmlTrack &other)
Assignment operator from other KmlTrack.
Note: This is a shallow copy.