summaryrefslogtreecommitdiffstats
path: root/src/datavis3d/engine/surface3drenderer_p.h
diff options
context:
space:
mode:
authorMika Salmela <mika.salmela@digia.com>2013-07-18 18:30:49 +0300
committerMika Salmela <mika.salmela@digia.com>2013-07-18 18:32:40 +0300
commit2ba572295f102ad06ae95ec676c064909775011f (patch)
treeca09e78d1043e173a0c50ca0ba959ebd5fb5a66c /src/datavis3d/engine/surface3drenderer_p.h
parent2d4688233fbd551bae8f327215247985cd843958 (diff)
Selectable surface grid and smoothnes.
Change-Id: Icc45643d9958733f8ff78824af9399806d8e1c0f Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'src/datavis3d/engine/surface3drenderer_p.h')
-rw-r--r--src/datavis3d/engine/surface3drenderer_p.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/datavis3d/engine/surface3drenderer_p.h b/src/datavis3d/engine/surface3drenderer_p.h
index 07116987..11b19573 100644
--- a/src/datavis3d/engine/surface3drenderer_p.h
+++ b/src/datavis3d/engine/surface3drenderer_p.h
@@ -106,6 +106,7 @@ public:
private:
// Data parameters
+ QList<qreal> m_series; // TODO: TEMP
GLint m_tickYCount;
GLfloat m_tickYStep;
GLint m_tickXCount;
@@ -133,9 +134,9 @@ private:
SurfaceObject *m_surfaceObj;
GLuint m_depthTexture;
GLuint m_depthFrameBuffer;
- GLuint m_surfaceGridTexture;
GLfloat m_shadowQualityToShader;
- bool m_smoothSurface;
+ bool m_cachedSmoothSurface;
+ bool m_cachedSurfaceGridOn;
Drawer *m_drawer;
@@ -149,6 +150,11 @@ public:
// TODO: Not thread-safe, needs rethinking how axes create labels
Drawer *drawer() { return m_drawer; }
+public slots:
+ void updateSmoothStatus(bool enable);
+ void updateSurfaceGridStatus(bool enable);
+
+public:
// Size
const QSize size();
const QRect boundingRect();