An IntegratedMeshLayer represents a layer that can visualize an integrated mesh layer. An integrated mesh can represent built and natural 3D features, such as building walls, trees, valleys, and cliffs, with realistic textures and includes elevation information. More...
Header | #include <Integrated |
Since | Esri |
Inherits | Esri |
Public Functions
Integrated | |
Integrated | |
virtual | ~ |
(since Esri double | altitude |
(since Esri void | set |
Reimplemented Public Functions
(deprecated) virtual Esri | credential() const override |
(deprecated) virtual Esri | request |
(deprecated) virtual void | set |
virtual Q | url() const override |
Detailed Description
Relevant samples:
- Add an integrated mesh layer: View an integrated mesh layer from a scene service.
- Viewshed (camera): This sample demonstrates how to calculate a Viewshed from a SceneView's current Camera Viewpoint.
Member Function Documentation
[explicit]
IntegratedMeshLayer::IntegratedMeshLayer (Esri::ArcGISRuntime::Item *item, QObject *parent = nullptr)
Creates an integrated mesh layer object with a portal item.
- item - The integrated mesh layer item (only PortalItem are supported).
- parent - The optional parent QObject.
{PortalItem::PortalItem(const QUrl&, QObject*)}, {Esri::ArcGISRuntime::Layer::item} {Layer::item}
See also PortalItem and Esri::ArcGISRuntime::PortalItem::PortalItem(const QUrl&, QObject*).
[explicit]
IntegratedMeshLayer::IntegratedMeshLayer (const QUrl &url, QObject *parent = nullptr)
Creates an Integrated Mesh layer object.
- url - The URL to the service, scene layer package, or portal item.
- parent - The optional parent QObject.
If the specified URL is a portal item URL (see PortalItem::PortalItem(const QUrl&, QObject*) for the supported URL formats), the underlying PortalItem will be created and accessible through Layer::item.
{PortalItem::PortalItem(const QUrl&, QObject*)}, {Esri::ArcGISRuntime::Layer::item} {Layer::item}
See also PortalItem and Esri::ArcGISRuntime::PortalItem::PortalItem(const QUrl&, QObject*).
[override virtual noexcept]
IntegratedMeshLayer::~IntegratedMeshLayer ()
Destructor.
[since Esri::ArcGISRuntime 100.6]
double IntegratedMeshLayer::altitudeOffset () const
Returns the altitudeOffset of this layer.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also setAltitudeOffset().
[since Esri::ArcGISRuntime 100.6]
void IntegratedMeshLayer::setAltitudeOffset (double altitudeOffset )
Sets the altitudeOffset of this layer.
An altitude offset provides a simple mechanism to consistently modify the elevation of all features in the layer with a single value.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also altitudeOffset().
[override virtual]
QUrl IntegratedMeshLayer::url() const
Reimplements: RemoteResource::url() const.
Returns the URL of the integrated mesh layer.
This method can't be called once the layer is loading else an ErrorType::CommonIllegalState error will occur.
{IntegratedMeshLayer(const QUrl&, QObject*)}
See also Esri::ArcGISRuntime::IntegratedMeshLayer::IntegratedMeshLayer(const QUrl&, QObject*).