diff options
Diffstat (limited to 'src/render/defaults')
-rw-r--r-- | src/render/defaults/qdiffusemapmaterial.h | 2 | ||||
-rw-r--r-- | src/render/defaults/qdiffusespecularmapmaterial.h | 2 | ||||
-rw-r--r-- | src/render/defaults/qforwardrenderer.cpp | 4 | ||||
-rw-r--r-- | src/render/defaults/qforwardrenderer.h | 8 | ||||
-rw-r--r-- | src/render/defaults/qgoochmaterial.cpp | 20 | ||||
-rw-r--r-- | src/render/defaults/qgoochmaterial.h | 4 | ||||
-rw-r--r-- | src/render/defaults/qnormaldiffusemapalphamaterial.h | 2 | ||||
-rw-r--r-- | src/render/defaults/qnormaldiffusemapmaterial.h | 4 | ||||
-rw-r--r-- | src/render/defaults/qnormaldiffusespecularmapmaterial.h | 4 | ||||
-rw-r--r-- | src/render/defaults/qpervertexcolormaterial.h | 2 | ||||
-rw-r--r-- | src/render/defaults/qphongmaterial.h | 2 | ||||
-rw-r--r-- | src/render/defaults/qskyboxentity.cpp | 14 | ||||
-rw-r--r-- | src/render/defaults/qskyboxentity.h | 4 | ||||
-rw-r--r-- | src/render/defaults/qskyboxentity_p.h | 8 |
14 files changed, 40 insertions, 40 deletions
diff --git a/src/render/defaults/qdiffusemapmaterial.h b/src/render/defaults/qdiffusemapmaterial.h index dbbdb21f1..b1a6471aa 100644 --- a/src/render/defaults/qdiffusemapmaterial.h +++ b/src/render/defaults/qdiffusemapmaterial.h @@ -57,7 +57,7 @@ class QT3DRENDERERSHARED_EXPORT QDiffuseMapMaterial : public QMaterial Q_PROPERTY(float textureScale READ textureScale WRITE setTextureScale NOTIFY textureScaleChanged) public: - explicit QDiffuseMapMaterial(Qt3D::QNode *parent = 0); + explicit QDiffuseMapMaterial(Qt3DCore::QNode *parent = 0); ~QDiffuseMapMaterial(); QColor ambient() const; diff --git a/src/render/defaults/qdiffusespecularmapmaterial.h b/src/render/defaults/qdiffusespecularmapmaterial.h index d4568c4a0..f49341e9f 100644 --- a/src/render/defaults/qdiffusespecularmapmaterial.h +++ b/src/render/defaults/qdiffusespecularmapmaterial.h @@ -57,7 +57,7 @@ class QT3DRENDERERSHARED_EXPORT QDiffuseSpecularMapMaterial : public QMaterial Q_PROPERTY(float textureScale READ textureScale WRITE setTextureScale NOTIFY textureScaleChanged) public: - explicit QDiffuseSpecularMapMaterial(Qt3D::QNode *parent = 0); + explicit QDiffuseSpecularMapMaterial(Qt3DCore::QNode *parent = 0); ~QDiffuseSpecularMapMaterial(); QColor ambient() const; diff --git a/src/render/defaults/qforwardrenderer.cpp b/src/render/defaults/qforwardrenderer.cpp index cd6307ec4..2ff2d6784 100644 --- a/src/render/defaults/qforwardrenderer.cpp +++ b/src/render/defaults/qforwardrenderer.cpp @@ -131,7 +131,7 @@ void QForwardRenderer::setClearColor(const QColor &clearColor) \note A camera is a QEntity having a QCameraLens as one of its components. */ -void QForwardRenderer::setCamera(Qt3D::QEntity *camera) +void QForwardRenderer::setCamera(Qt3DCore::QEntity *camera) { Q_D(QForwardRenderer); d->m_cameraSelector->setCamera(camera); @@ -166,7 +166,7 @@ QColor QForwardRenderer::clearColor() const \note A camera is a QEntity that has a QCameraLens as one of its components. */ -Qt3D::QEntity *QForwardRenderer::camera() const +Qt3DCore::QEntity *QForwardRenderer::camera() const { Q_D(const QForwardRenderer); return d->m_cameraSelector->camera(); diff --git a/src/render/defaults/qforwardrenderer.h b/src/render/defaults/qforwardrenderer.h index ff485f55f..44249c767 100644 --- a/src/render/defaults/qforwardrenderer.h +++ b/src/render/defaults/qforwardrenderer.h @@ -52,18 +52,18 @@ class QT3DRENDERERSHARED_EXPORT QForwardRenderer : public QTechniqueFilter Q_OBJECT Q_PROPERTY(QRectF viewportRect READ viewportRect WRITE setViewportRect NOTIFY viewportRectChanged) Q_PROPERTY(QColor clearColor READ clearColor WRITE setClearColor NOTIFY clearColorChanged) - Q_PROPERTY(Qt3D::QEntity *camera READ camera WRITE setCamera NOTIFY cameraChanged) + Q_PROPERTY(Qt3DCore::QEntity *camera READ camera WRITE setCamera NOTIFY cameraChanged) public: - explicit QForwardRenderer(Qt3D::QNode *parent = 0); + explicit QForwardRenderer(Qt3DCore::QNode *parent = 0); ~QForwardRenderer(); void setViewportRect(const QRectF &viewportRect); void setClearColor(const QColor &clearColor); - void setCamera(Qt3D::QEntity *camera); + void setCamera(Qt3DCore::QEntity *camera); QRectF viewportRect() const; QColor clearColor() const; - Qt3D::QEntity *camera() const; + Qt3DCore::QEntity *camera() const; Q_SIGNALS: void viewportRectChanged(); diff --git a/src/render/defaults/qgoochmaterial.cpp b/src/render/defaults/qgoochmaterial.cpp index e8363d6b1..c969df70b 100644 --- a/src/render/defaults/qgoochmaterial.cpp +++ b/src/render/defaults/qgoochmaterial.cpp @@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE namespace Qt3DRender { /*! - \class Qt3D::QGoochMaterialPrivate + \class Qt3DCore::QGoochMaterialPrivate \internal */ QGoochMaterialPrivate::QGoochMaterialPrivate() @@ -129,7 +129,7 @@ void QGoochMaterialPrivate::init() } /*! - \class Qt3D::QGoochMaterial + \class Qt3DCore::QGoochMaterial \brief The QGoochMaterial provides a material that implements the Gooch shading model, popular in CAD and CAM applications. \inmodule Qt3DRenderer @@ -157,7 +157,7 @@ void QGoochMaterialPrivate::init() */ /*! - Constructs a new Qt3D::QGoochMaterial instance with parent object \a parent. + Constructs a new Qt3DCore::QGoochMaterial instance with parent object \a parent. */ QGoochMaterial::QGoochMaterial(QNode *parent) : QMaterial(*new QGoochMaterialPrivate, parent) @@ -174,7 +174,7 @@ QGoochMaterial::QGoochMaterial(QGoochMaterialPrivate &dd, QNode *parent) } /*! - \property Qt3D::QGoochMaterial::diffuse + \property Qt3DCore::QGoochMaterial::diffuse Holds the current diffuse color. */ @@ -185,7 +185,7 @@ QColor QGoochMaterial::diffuse() const } /*! - \property Qt3D::QGoochMaterial::specular + \property Qt3DCore::QGoochMaterial::specular Holds the current specular color. */ @@ -196,7 +196,7 @@ QColor QGoochMaterial::specular() const } /*! - \property Qt3D::QGoochMaterial::cool + \property Qt3DCore::QGoochMaterial::cool Holds the current cool color. */ @@ -207,7 +207,7 @@ QColor QGoochMaterial::cool() const } /*! - \property Qt3D::QGoochMaterial::warm + \property Qt3DCore::QGoochMaterial::warm Holds the current warm color. */ @@ -218,7 +218,7 @@ QColor QGoochMaterial::warm() const } /*! - \property Qt3D::QGoochMaterial::alpha + \property Qt3DCore::QGoochMaterial::alpha Holds the current alpha value. The start point of the color ramp used by the Gooch shader is calculated as {c = cool + alpha * diffuse}. @@ -230,7 +230,7 @@ float QGoochMaterial::alpha() const } /*! - \property Qt3D::QGoochMaterial::beta + \property Qt3DCore::QGoochMaterial::beta Holds the current beta value. The start point of the color ramp used by the Gooch shader is calculated as {c = warm + beta * diffuse}. @@ -242,7 +242,7 @@ float QGoochMaterial::beta() const } /*! - \property Qt3D::QGoochMaterial::shininess + \property Qt3DCore::QGoochMaterial::shininess Holds the current shininess value. Higher values of shininess result in a smaller and brighter highlight. diff --git a/src/render/defaults/qgoochmaterial.h b/src/render/defaults/qgoochmaterial.h index 88f868a8a..6135b9eb3 100644 --- a/src/render/defaults/qgoochmaterial.h +++ b/src/render/defaults/qgoochmaterial.h @@ -58,7 +58,7 @@ class QGoochMaterial : public QMaterial Q_PROPERTY(float shininess READ shininess WRITE setShininess NOTIFY shininessChanged) public: - explicit QGoochMaterial(Qt3D::QNode *parent = 0); + explicit QGoochMaterial(Qt3DCore::QNode *parent = 0); QColor diffuse() const; QColor specular() const; QColor cool() const; @@ -86,7 +86,7 @@ Q_SIGNALS: void shininessChanged(); protected: - QGoochMaterial(QGoochMaterialPrivate &dd, Qt3D::QNode *parent = 0); + QGoochMaterial(QGoochMaterialPrivate &dd, Qt3DCore::QNode *parent = 0); private: Q_DECLARE_PRIVATE(QGoochMaterial) diff --git a/src/render/defaults/qnormaldiffusemapalphamaterial.h b/src/render/defaults/qnormaldiffusemapalphamaterial.h index ae7c28b71..38188e04c 100644 --- a/src/render/defaults/qnormaldiffusemapalphamaterial.h +++ b/src/render/defaults/qnormaldiffusemapalphamaterial.h @@ -49,7 +49,7 @@ class QT3DRENDERERSHARED_EXPORT QNormalDiffuseMapAlphaMaterial : public QNormalD { Q_OBJECT public: - explicit QNormalDiffuseMapAlphaMaterial(Qt3D::QNode *parent = 0); + explicit QNormalDiffuseMapAlphaMaterial(Qt3DCore::QNode *parent = 0); ~QNormalDiffuseMapAlphaMaterial(); private: diff --git a/src/render/defaults/qnormaldiffusemapmaterial.h b/src/render/defaults/qnormaldiffusemapmaterial.h index 4eb6d662c..158cfca45 100644 --- a/src/render/defaults/qnormaldiffusemapmaterial.h +++ b/src/render/defaults/qnormaldiffusemapmaterial.h @@ -58,7 +58,7 @@ class QT3DRENDERERSHARED_EXPORT QNormalDiffuseMapMaterial : public QMaterial Q_PROPERTY(float textureScale READ textureScale WRITE setTextureScale NOTIFY textureScaleChanged) public: - explicit QNormalDiffuseMapMaterial(Qt3D::QNode *parent = 0); + explicit QNormalDiffuseMapMaterial(Qt3DCore::QNode *parent = 0); ~QNormalDiffuseMapMaterial(); QColor ambient() const; @@ -84,7 +84,7 @@ Q_SIGNALS: void textureScaleChanged(); protected: - QNormalDiffuseMapMaterial(QNormalDiffuseMapMaterialPrivate &dd, Qt3D::QNode *parent = 0); + QNormalDiffuseMapMaterial(QNormalDiffuseMapMaterialPrivate &dd, Qt3DCore::QNode *parent = 0); private: Q_DECLARE_PRIVATE(QNormalDiffuseMapMaterial) diff --git a/src/render/defaults/qnormaldiffusespecularmapmaterial.h b/src/render/defaults/qnormaldiffusespecularmapmaterial.h index 5d92ebbc2..668fed0f3 100644 --- a/src/render/defaults/qnormaldiffusespecularmapmaterial.h +++ b/src/render/defaults/qnormaldiffusespecularmapmaterial.h @@ -57,7 +57,7 @@ class QT3DRENDERERSHARED_EXPORT QNormalDiffuseSpecularMapMaterial : public QMate Q_PROPERTY(float textureScale READ textureScale WRITE setTextureScale NOTIFY textureScaleChanged) public: - explicit QNormalDiffuseSpecularMapMaterial(Qt3D::QNode *parent = 0); + explicit QNormalDiffuseSpecularMapMaterial(Qt3DCore::QNode *parent = 0); ~QNormalDiffuseSpecularMapMaterial(); QColor ambient() const; @@ -83,7 +83,7 @@ Q_SIGNALS: void textureScaleChanged(); protected: - QNormalDiffuseSpecularMapMaterial(QNormalDiffuseSpecularMapMaterialPrivate &dd, Qt3D::QNode *parent = 0); + QNormalDiffuseSpecularMapMaterial(QNormalDiffuseSpecularMapMaterialPrivate &dd, Qt3DCore::QNode *parent = 0); private: Q_DECLARE_PRIVATE(QNormalDiffuseSpecularMapMaterial) diff --git a/src/render/defaults/qpervertexcolormaterial.h b/src/render/defaults/qpervertexcolormaterial.h index a21649858..7ce8ece79 100644 --- a/src/render/defaults/qpervertexcolormaterial.h +++ b/src/render/defaults/qpervertexcolormaterial.h @@ -51,7 +51,7 @@ class QT3DRENDERERSHARED_EXPORT QPerVertexColorMaterial : public QMaterial Q_OBJECT public: - explicit QPerVertexColorMaterial(Qt3D::QNode *parent = 0); + explicit QPerVertexColorMaterial(Qt3DCore::QNode *parent = 0); ~QPerVertexColorMaterial(); private: diff --git a/src/render/defaults/qphongmaterial.h b/src/render/defaults/qphongmaterial.h index a37f0f75c..f9576058c 100644 --- a/src/render/defaults/qphongmaterial.h +++ b/src/render/defaults/qphongmaterial.h @@ -55,7 +55,7 @@ class QT3DRENDERERSHARED_EXPORT QPhongMaterial : public QMaterial Q_PROPERTY(float shininess READ shininess WRITE setShininess NOTIFY shininessChanged) public: - explicit QPhongMaterial(Qt3D::QNode *parent = 0); + explicit QPhongMaterial(Qt3DCore::QNode *parent = 0); ~QPhongMaterial(); QColor ambient() const; diff --git a/src/render/defaults/qskyboxentity.cpp b/src/render/defaults/qskyboxentity.cpp index c9a271d9e..1e9b9641e 100644 --- a/src/render/defaults/qskyboxentity.cpp +++ b/src/render/defaults/qskyboxentity.cpp @@ -53,12 +53,12 @@ QT_BEGIN_NAMESPACE -using namespace Qt3D; +using namespace Qt3DCore; namespace Qt3DRender { /*! - * \class Qt3D::QSkyboxEntityPrivate + * \class Qt3DCore::QSkyboxEntityPrivate * \internal */ QSkyboxEntityPrivate::QSkyboxEntityPrivate() @@ -75,7 +75,7 @@ QSkyboxEntityPrivate::QSkyboxEntityPrivate() , m_es2RenderPass(new QRenderPass()) , m_gl3RenderPass(new QRenderPass()) , m_mesh(new QCuboidMesh()) - , m_transform(new Qt3D::QTransform()) + , m_transform(new Qt3DCore::QTransform()) , m_translate(new QTranslateTransform()) , m_textureParameter(new QParameter(QStringLiteral("skyboxTexture"), m_skyboxTexture)) , m_posXImage(new QTextureImage()) @@ -184,13 +184,13 @@ void QSkyboxEntityPrivate::reloadTexture() } /*! - * \class Qt3D::QSkyboxEntity + * \class Qt3DCore::QSkyboxEntity * \inmodule Qt3DRenderer * - * \brief Qt3D::QSkyboxEntity is a convenience Qt3D::QEntity subclass that can + * \brief Qt3DCore::QSkyboxEntity is a convenience Qt3DCore::QEntity subclass that can * be used to insert a skybox in a 3D scene. * - * By specifying a base name and an extension, Qt3D::QSkyboxEntity + * By specifying a base name and an extension, Qt3DCore::QSkyboxEntity * will take care of building a TextureCubeMap to be rendered at runtime. The * images in the source directory should match the pattern: * \b base name + * "_posx|_posy|_posz|_negx|_negy|_negz" + extension @@ -204,7 +204,7 @@ void QSkyboxEntityPrivate::reloadTexture() */ /*! - * Constructs a new Qt3D::QSkyboxEntity object with \a parent as parent. + * Constructs a new Qt3DCore::QSkyboxEntity object with \a parent as parent. */ QSkyboxEntity::QSkyboxEntity(QNode *parent) : QEntity(*new QSkyboxEntityPrivate, parent) diff --git a/src/render/defaults/qskyboxentity.h b/src/render/defaults/qskyboxentity.h index 103f8004a..a3708a9f5 100644 --- a/src/render/defaults/qskyboxentity.h +++ b/src/render/defaults/qskyboxentity.h @@ -46,11 +46,11 @@ namespace Qt3DRender { class QSkyboxEntityPrivate; -class QT3DRENDERERSHARED_EXPORT QSkyboxEntity : public Qt3D::QEntity +class QT3DRENDERERSHARED_EXPORT QSkyboxEntity : public Qt3DCore::QEntity { Q_OBJECT public: - explicit QSkyboxEntity(Qt3D::QNode *parent = 0); + explicit QSkyboxEntity(Qt3DCore::QNode *parent = 0); ~QSkyboxEntity(); void setBaseName(const QString &path); diff --git a/src/render/defaults/qskyboxentity_p.h b/src/render/defaults/qskyboxentity_p.h index 0ccc1d3ef..f81bdc21d 100644 --- a/src/render/defaults/qskyboxentity_p.h +++ b/src/render/defaults/qskyboxentity_p.h @@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE -namespace Qt3D { +namespace Qt3DCore { class QTransform; class QTranslateTransform; } @@ -71,7 +71,7 @@ class QParameter; class QMaterial; class QEffect; -class QSkyboxEntityPrivate : public Qt3D::QEntityPrivate +class QSkyboxEntityPrivate : public Qt3DCore::QEntityPrivate { QSkyboxEntityPrivate(); @@ -92,8 +92,8 @@ class QSkyboxEntityPrivate : public Qt3D::QEntityPrivate QRenderPass *m_es2RenderPass; QRenderPass *m_gl3RenderPass; QCuboidMesh *m_mesh; - Qt3D::QTransform *m_transform; - Qt3D::QTranslateTransform *m_translate; + Qt3DCore::QTransform *m_transform; + Qt3DCore::QTranslateTransform *m_translate; QParameter *m_textureParameter; QTextureImage *m_posXImage; QTextureImage *m_posYImage; |