ArcGIS Runtime SDK for Qt

Display a scene

Loading

Code

#ifndef BASIC_SCENEVIEW_H
#define BASIC_SCENEVIEW_H

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

#include <QQuickItem>

class BasicSceneView : public QQuickItem
{
  Q_OBJECT

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

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

private:
  Esri::ArcGISRuntime::Scene* m_scene = nullptr;
  Esri::ArcGISRuntime::SceneQuickView* m_sceneView = nullptr;
};

#endif // BASIC_SCENEVIEW_H


In this topic
  1. Code