You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qgs3dWindow is a convenience wrapper to simplify the creation of a 3D window ready to be used with QGIS.
19
+
Qgs3DMapCanvas is a convenience wrapper to simplify the creation of a 3D window ready to be used with QGIS.
18
20
19
21
.. note::
20
22
@@ -32,16 +34,31 @@ qgs3dWindow is a convenience wrapper to simplify the creation of a 3D window rea
32
34
%End
33
35
34
36
%TypeHeaderCode
35
-
#include "qgs3dwindow.h"
37
+
#include "qgs3dmapcanvas.h"
36
38
%End
37
39
public:
38
40
39
-
Qgs3DWindow();
41
+
Qgs3DMapCanvas();
40
42
%Docstring
41
-
Constructor for Qgs3DWindow.
43
+
Constructor for Qgs3DMapCanvas.
42
44
%End
43
45
44
-
~Qgs3DWindow();
46
+
~Qgs3DMapCanvas();
47
+
48
+
Qgs3DMapSettings *mapSettings();
49
+
%Docstring
50
+
Returns access to the 3D scene configuration
51
+
%End
52
+
53
+
Qgs3DMapScene *scene();
54
+
%Docstring
55
+
Returns access to the 3D scene (root 3D entity)
56
+
%End
57
+
58
+
QgsCameraController *cameraController();
59
+
%Docstring
60
+
Returns access to the view's camera controller. Returns ``None`` if the scene has not been initialized yet with :py:func:`~Qgs3DMapCanvas.setMapSettings`
61
+
%End
45
62
46
63
47
64
protected:
@@ -58,12 +75,15 @@ Manages the display events specified in e.
qgs3dWindow is a convenience wrapper to simplify the creation of a 3D window ready to be used with QGIS.
19
+
Qgs3DMapCanvas is a convenience wrapper to simplify the creation of a 3D window ready to be used with QGIS.
18
20
19
21
.. note::
20
22
@@ -32,16 +34,31 @@ qgs3dWindow is a convenience wrapper to simplify the creation of a 3D window rea
32
34
%End
33
35
34
36
%TypeHeaderCode
35
-
#include "qgs3dwindow.h"
37
+
#include "qgs3dmapcanvas.h"
36
38
%End
37
39
public:
38
40
39
-
Qgs3DWindow();
41
+
Qgs3DMapCanvas();
40
42
%Docstring
41
-
Constructor for Qgs3DWindow.
43
+
Constructor for Qgs3DMapCanvas.
42
44
%End
43
45
44
-
~Qgs3DWindow();
46
+
~Qgs3DMapCanvas();
47
+
48
+
Qgs3DMapSettings *mapSettings();
49
+
%Docstring
50
+
Returns access to the 3D scene configuration
51
+
%End
52
+
53
+
Qgs3DMapScene *scene();
54
+
%Docstring
55
+
Returns access to the 3D scene (root 3D entity)
56
+
%End
57
+
58
+
QgsCameraController *cameraController();
59
+
%Docstring
60
+
Returns access to the view's camera controller. Returns ``None`` if the scene has not been initialized yet with :py:func:`~Qgs3DMapCanvas.setMapSettings`
61
+
%End
45
62
46
63
47
64
protected:
@@ -58,12 +75,15 @@ Manages the display events specified in e.
0 commit comments