diff options
author | Mika Salmela <mika.salmela@digia.com> | 2013-07-15 16:25:54 +0300 |
---|---|---|
committer | Mika Salmela <mika.salmela@digia.com> | 2013-07-15 16:26:52 +0300 |
commit | 2d4688233fbd551bae8f327215247985cd843958 (patch) | |
tree | 58444eb52c0077dbd2454b2eaf9224dc18ec47aa /src/datavis3d/utils/objecthelper_p.h | |
parent | 6bc7fabac51ddac7b95ffd85a1eef748f9d2e592 (diff) |
Finally first visible surface.
Change-Id: Ib168cbb8cd636539aee62098b98e6e24a112dab6
Reviewed-by: Mika Salmela <mika.salmela@digia.com>
Diffstat (limited to 'src/datavis3d/utils/objecthelper_p.h')
-rw-r--r-- | src/datavis3d/utils/objecthelper_p.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/src/datavis3d/utils/objecthelper_p.h b/src/datavis3d/utils/objecthelper_p.h index bfe152bd..d52f5b90 100644 --- a/src/datavis3d/utils/objecthelper_p.h +++ b/src/datavis3d/utils/objecthelper_p.h @@ -53,13 +53,14 @@ #define OBJECTHELPER_P_H #include "datavis3dglobal_p.h" +#include "abstractobjecthelper_p.h" #include <QOpenGLFunctions> QT_DATAVIS3D_BEGIN_NAMESPACE -class ObjectHelper: protected QOpenGLFunctions +class ObjectHelper : public AbstractObjectHelper { - public: +public: ObjectHelper(const QString &objectFile = QString()); ~ObjectHelper(); @@ -67,23 +68,8 @@ class ObjectHelper: protected QOpenGLFunctions void load(); - GLuint vertexBuf(); - GLuint normalBuf(); - GLuint uvBuf(); - GLuint elementBuf(); - GLuint indexCount(); - - private: +private: QString m_objectFile; - - GLuint m_vertexbuffer; - GLuint m_normalbuffer; - GLuint m_uvbuffer; - GLuint m_elementbuffer; - - GLuint m_indexCount; - - GLboolean m_meshDataLoaded; }; QT_DATAVIS3D_END_NAMESPACE |