diff options
Diffstat (limited to 'src/datavis3d/engine/maps3drenderer.cpp')
-rw-r--r-- | src/datavis3d/engine/maps3drenderer.cpp | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/datavis3d/engine/maps3drenderer.cpp b/src/datavis3d/engine/maps3drenderer.cpp new file mode 100644 index 00000000..c05f2f51 --- /dev/null +++ b/src/datavis3d/engine/maps3drenderer.cpp @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** Copyright (C) 2013 Digia Plc +** All rights reserved. +** For any questions to Digia, please use contact form at http://qt.digia.com +** +** This file is part of the QtDataVis3D module. +** +** Licensees holding valid Qt Enterprise licenses may use this file in +** accordance with the Qt Enterprise License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. +** +** If you have questions regarding the use of this file, please use +** contact form at http://qt.digia.com +** +****************************************************************************/ + +#include "maps3dcontroller_p.h" +#include "maps3drenderer_p.h" +#include "camerahelper_p.h" +#include "shaderhelper_p.h" +#include "objecthelper_p.h" +#include "texturehelper_p.h" +#include "theme_p.h" +#include "utils_p.h" +#include "drawer_p.h" + +#include <QOpenGLFunctions> +#include <QMatrix4x4> +#include <QOpenGLPaintDevice> +#include <QPainter> +#include <QScreen> +#include <QMouseEvent> + +#include <qmath.h> + +#include <QDebug> + +//#define DISPLAY_RENDER_SPEED + +// Uncommenting this draws the shadow map with wider FOV than scene itself, making the light +// seem to be closer to scene than it actually is. This way shadows look slightly better (to me anyway) +#define USE_WIDER_SHADOWS + +// You can verify that depth buffer drawing works correctly by uncommenting this. +// You should see the scene from where the light is +//#define SHOW_DEPTH_TEXTURE_SCENE + +#ifdef DISPLAY_RENDER_SPEED +#include <QTime> +#endif + +QT_DATAVIS3D_BEGIN_NAMESPACE + +//#define DISPLAY_FULL_DATA_ON_SELECTION // Append selection value text with row and column labels + +Maps3DRenderer::Maps3DRenderer(Maps3DController *controller) : QObject(controller) +{ +} + +Maps3DRenderer::~Maps3DRenderer() +{ +} + +void Maps3DRenderer::render(CameraHelper *camera, const GLuint defaultFboHandle) +{ + Q_UNUSED(camera) + Q_UNUSED(defaultFboHandle) + // TODO: Implement +} + + +QT_DATAVIS3D_END_NAMESPACE |