Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
GLRenderer Class Reference
The renderer handles drawing the preview. More...
#include <GLRenderer.h>
Public Member Functions | |
| GLRenderer (PT::Panorama *pano, TextureManager *tex_man, MeshManager *mesh_man, ViewState *veiw_state, PreviewToolHelper *tool_helper) | |
| ctor. | |
| virtual | ~GLRenderer () |
| dtor. | |
| vigra::Diff2D | Resize (int width, int height) |
| Resize the viewport because the window's dimensions have changed. | |
| void | Redraw () |
| void | SetBackground (unsigned char red, unsigned char green, unsigned char blue) |
Public Attributes | |
| float | width_o |
| float | height_o |
Detailed Description
The renderer handles drawing the preview.It is used by a GLViewer, which is a wxWidget. The work of generating textures to represent the image is done by a TextureManager, and the remappings are made in display lists by a MeshManager. The GLViewer gives us instances of those objects to use.
Constructor & Destructor Documentation
|
||||||||||||||||||||||||
|
ctor.
|
|
|
dtor.
|
Member Function Documentation
|
|
|
|
||||||||||||
|
Resize the viewport because the window's dimensions have changed.
|
|
||||||||||||||||
|
|
Member Data Documentation
|
|
|
|
|
|
The documentation for this class was generated from the following files:
- hugin1/hugin/GLRenderer.h
- hugin1/hugin/GLRenderer.cpp
1.3.9.1