#include <GLRenderer.h>
Inheritance diagram for GLRenderer:

Public Member Functions | |
| GLRenderer (const wxColour backgroundColour) | |
| ctor. | |
| virtual | ~GLRenderer () |
| dtor. | |
| virtual vigra::Diff2D | Resize (int width, int height)=0 |
| Resize the viewport because the window's dimensions have changed. | |
| virtual void | Redraw ()=0 |
| void | SetBackground (unsigned char red, unsigned char green, unsigned char blue) |
| void | SetPreviewBackgroundColor (const wxColour c) |
| sets the preview background color | |
Public Attributes | |
| float | width_o |
| float | height_o |
Protected Attributes | |
| PT::Panorama * | m_pano |
| TextureManager * | m_tex_man |
| MeshManager * | m_mesh_man |
| ToolHelper * | m_tool_helper |
| int | width |
| int | height |
| wxColour | m_background_color |
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.
Definition at line 47 of file GLRenderer.h.
|
|
ctor.
Definition at line 49 of file GLRenderer.cpp. References m_background_color. |
|
|
dtor.
Definition at line 64 of file GLRenderer.cpp. |
|
|
Implemented in GLPreviewRenderer, GLPanosphereOverviewRenderer, and GLPlaneOverviewRenderer. Referenced by GLViewer::Redraw(). |
|
||||||||||||
|
Resize the viewport because the window's dimensions have changed.
Implemented in GLPreviewRenderer, GLPanosphereOverviewRenderer, and GLPlaneOverviewRenderer. Referenced by GLViewer::Redraw(), and GLViewer::Resized(). |
|
||||||||||||||||
|
Definition at line 59 of file GLRenderer.cpp. Referenced by GLViewer::Redraw(). |
|
|
sets the preview background color
Definition at line 54 of file GLRenderer.cpp. References m_background_color. Referenced by GLViewer::SetViewerBackground(). |
|
|
Definition at line 76 of file GLRenderer.h. |
|
|
Definition at line 67 of file GLRenderer.h. |
|
|
Definition at line 77 of file GLRenderer.h. Referenced by GLRenderer(), and SetPreviewBackgroundColor(). |
|
|
Definition at line 74 of file GLRenderer.h. |
|
|
Definition at line 72 of file GLRenderer.h. |
|
|
Definition at line 73 of file GLRenderer.h. |
|
|
Definition at line 75 of file GLRenderer.h. |
|
|
Definition at line 76 of file GLRenderer.h. |
|
|
Definition at line 67 of file GLRenderer.h. |
1.3.9.1