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 |
| QUrl | url() const |
Detailed Description
Relevant samples:
- Add an integrated mesh layer: View an integrated mesh layer from a scene service.
- Show exploratory viewshed (Camera): Analyze the exploratory viewshed for a camera showing the visible and obstructed areas from an observer's vantage point.
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.
See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), and Layer::item.
[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.
See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), and Layer::item.
[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().
QUrl IntegratedMeshLayer::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.
See also IntegratedMeshLayer(const QUrl&, QObject*).