mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
109 lines
2.9 KiB
Plaintext
109 lines
2.9 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/3d/qgsskyboxentity.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsSkyboxEntity : Qt3DCore::QEntity
|
|
{
|
|
%Docstring
|
|
base class for all skybox types
|
|
It holds the commun member data between different skybox entity types
|
|
|
|
.. versionadded:: 3.16
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsskyboxentity.h"
|
|
%End
|
|
public:
|
|
enum SkyboxType
|
|
{
|
|
HDRSkybox,
|
|
TexturesCollectionSkybox,
|
|
DistinctTexturesSkybox
|
|
};
|
|
public:
|
|
QgsSkyboxEntity( QNode *parent = 0 );
|
|
%Docstring
|
|
Constructor
|
|
%End
|
|
|
|
virtual SkyboxType type() const = 0;
|
|
|
|
protected:
|
|
};
|
|
|
|
class QgsHDRSkyboxEntity : QgsSkyboxEntity
|
|
{
|
|
%Docstring
|
|
a skybox constructed from a 360 HDR image
|
|
|
|
.. versionadded:: 3.16
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsskyboxentity.h"
|
|
%End
|
|
public:
|
|
QgsHDRSkyboxEntity( const QString &hdrTexturePath, Qt3DCore::QNode *parent = 0 );
|
|
%Docstring
|
|
Construct a skybox from a high resolution 360 image
|
|
%End
|
|
|
|
QString hdrTexturePath() const;
|
|
%Docstring
|
|
Returns the path of the current texture in use
|
|
%End
|
|
virtual SkyboxType type() const;
|
|
%Docstring
|
|
Returns the type of the current skybox
|
|
%End
|
|
|
|
};
|
|
|
|
class QgsCubeFacesSkyboxEntity : QgsSkyboxEntity
|
|
{
|
|
%Docstring
|
|
a skybox constructed from a 6 cube faces
|
|
|
|
.. versionadded:: 3.16
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsskyboxentity.h"
|
|
%End
|
|
public:
|
|
QgsCubeFacesSkyboxEntity( const QString &posX, const QString &posY, const QString &posZ, const QString &negX, const QString &negY, const QString &negZ, Qt3DCore::QNode *parent = 0 );
|
|
%Docstring
|
|
Constructs a skybox from 6 different images
|
|
%End
|
|
|
|
QgsCubeFacesSkyboxEntity( const QString &baseName, const QString &extension, Qt3DCore::QNode *parent = 0 );
|
|
%Docstring
|
|
Constructs a skybox from a collection of images
|
|
The images in the source directory should match the pattern:
|
|
baseName + * "_posx|_posy|_posz|_negx|_negy|_negz" + extension
|
|
%End
|
|
|
|
virtual SkyboxType type() const;
|
|
%Docstring
|
|
Returns the type of the current skybox
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/3d/qgsskyboxentity.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|