ArcGIS Runtime SDK for Qt

Surface placement

Loading

Code

#ifndef SURFACE_PLACEMENT_H
#define SURFACE_PLACEMENT_H

namespace Esri
{
  namespace ArcGISRuntime
  {
    class SceneQuickView;
    class GraphicsOverlay;
  }
}

#include <QQuickItem>

class Surface_Placement : public QQuickItem
{
  Q_OBJECT

public:
  explicit Surface_Placement(QQuickItem* parent = nullptr);
  ~Surface_Placement();

  void componentComplete() Q_DECL_OVERRIDE;
  static void init();

private:
  void addGraphics();
  void addGraphicsOverlays();

private:
  Esri::ArcGISRuntime::SceneQuickView* m_sceneView = nullptr;
  Esri::ArcGISRuntime::GraphicsOverlay* m_drapedOverlay = nullptr;
  Esri::ArcGISRuntime::GraphicsOverlay* m_relativeOverlay = nullptr;
  Esri::ArcGISRuntime::GraphicsOverlay* m_absoluteOverlay = nullptr;
};

#endif // SURFACE_PLACEMENT_H


In this topic
  1. Code