[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin1/hugin/GLRenderer.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00022 #ifndef _GLRENDERER_H
00023 #define _GLRENDERER_H
00024 
00025 
00026 // TODO needed?
00027 //#include <vector>
00028 /* something messed up... temporary fix :-( */
00029 #include "hugin_utils/utils.h"
00030 #define DEBUG_HEADER ""
00031 #include <base_wx/ImageCache.h>
00032 #include <vigra_ext/ROIImage.h>
00033 #include <vigra/diff2d.hxx>
00034 #include <utility>
00035 
00036 class PreviewToolHelper;
00037 
00043 class GLRenderer
00044 {
00045 public:
00048     GLRenderer(PT::Panorama * pano, TextureManager *tex_man,
00049                MeshManager *mesh_man, ViewState *veiw_state,
00050                PreviewToolHelper *tool_helper);
00051 
00054     virtual ~GLRenderer();
00061     vigra::Diff2D Resize(int width, int height);
00062     void Redraw();
00063     void SetBackground(unsigned char red, unsigned char green, unsigned char blue);
00064     float width_o, height_o;
00065 private:
00066     PT::Panorama  * m_pano;
00067     TextureManager * m_tex_man;
00068     MeshManager * m_mesh_man;
00069     ViewState * m_view_state;
00070     PreviewToolHelper *m_tool_helper;
00071     int width, height;
00072 };
00073 
00074 #endif
00075 

Generated on Mon Sep 20 01:01:25 2010 for Hugintrunk by doxygen 1.3.9.1