|
QGIS API Documentation 4.1.0-Master (9af12b5a203)
|
Contains the configuration of a skybox entity. More...
#include <qgsskyboxsettings.h>

Public Member Functions | |
| QgsSkyboxSettings ()=default | |
| QgsSkyboxSettings (const QgsSkyboxSettings &other) | |
| QgsSkyboxSettings * | clone () const override |
| Returns a deep copy of this background settings object. | |
| QMap< QString, QString > | cubeMapFacesPaths () const |
| Returns a map containing the path of each texture specified by the user. | |
| Qgis::SkyboxCubeMapping | cubeMapping () const |
| Returns the cube face mapping scheme. | |
| QgsSkyboxSettings & | operator= (QgsSkyboxSettings const &rhs) |
| void | readXml (const QDomElement &element, const QgsReadWriteContext &context) override |
| Reads settings from a DOM element. | |
| void | setCubeMapFace (const QString &face, const QString &path) |
| Sets a face of one of the skybox 6 textures The face parameter needs to be one of the followings: "posX", "posY", "posZ", "negX", "negY", "negZ". | |
| void | setCubeMapping (Qgis::SkyboxCubeMapping mapping) |
| Sets the cube face mapping scheme. | |
| Qgis::Map3DBackgroundType | type () const override |
| Returns the unique type for this background settings class. | |
| void | writeXml (QDomElement &element, const QgsReadWriteContext &context) const override |
| Writes settings to a DOM element. | |
| Public Member Functions inherited from QgsAbstract3DMapBackgroundSettings | |
| virtual | ~QgsAbstract3DMapBackgroundSettings ()=default |
Contains the configuration of a skybox entity.
Definition at line 40 of file qgsskyboxsettings.h.
|
default |
| QgsSkyboxSettings::QgsSkyboxSettings | ( | const QgsSkyboxSettings & | other | ) |
Definition at line 33 of file qgsskyboxsettings.cpp.
|
overridevirtual |
Returns a deep copy of this background settings object.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 27 of file qgsskyboxsettings.cpp.
|
inline |
Returns a map containing the path of each texture specified by the user.
The map will contain the following keys corresponding to each face "posX", "posY", "posZ", "negX", "negY", "negZ".
Definition at line 66 of file qgsskyboxsettings.h.
| Qgis::SkyboxCubeMapping QgsSkyboxSettings::cubeMapping | ( | ) | const |
Returns the cube face mapping scheme.
Definition at line 87 of file qgsskyboxsettings.cpp.
| QgsSkyboxSettings & QgsSkyboxSettings::operator= | ( | QgsSkyboxSettings const & | rhs | ) |
Definition at line 43 of file qgsskyboxsettings.cpp.
|
overridevirtual |
Reads settings from a DOM element.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 56 of file qgsskyboxsettings.cpp.
|
inline |
Sets a face of one of the skybox 6 textures The face parameter needs to be one of the followings: "posX", "posY", "posZ", "negX", "negY", "negZ".
Definition at line 72 of file qgsskyboxsettings.h.
| void QgsSkyboxSettings::setCubeMapping | ( | Qgis::SkyboxCubeMapping | mapping | ) |
Sets the cube face mapping scheme.
Definition at line 92 of file qgsskyboxsettings.cpp.
|
inlineoverridevirtual |
Returns the unique type for this background settings class.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 47 of file qgsskyboxsettings.h.
|
overridevirtual |
Writes settings to a DOM element.
Implements QgsAbstract3DMapBackgroundSettings.
Definition at line 72 of file qgsskyboxsettings.cpp.