Hugintrunk
0.1
|
subclass for the plane overview mode More...
#include <GLRenderer.h>
Public Member Functions | |
GLPlaneOverviewRenderer (HuginBase::Panorama *pano, TextureManager *tex_man, MeshManager *mesh_man, PlaneOverviewVisualizationState *visualization_state, PlaneOverviewToolHelper *tool_helper, const wxColour backgroundColour) | |
vigra::Diff2D | Resize (int width, int height) |
Resize the viewport because the window's dimensions have changed. More... | |
void | Redraw () |
Public Member Functions inherited from GLRenderer | |
GLRenderer (const wxColour backgroundColour) | |
ctor. More... | |
virtual | ~GLRenderer () |
dtor. More... | |
void | SetBackground (unsigned char red, unsigned char green, unsigned char blue) |
void | SetPreviewBackgroundColor (const wxColour c) |
sets the preview background color More... | |
Protected Attributes | |
PlaneOverviewVisualizationState * | m_visualization_state |
Protected Attributes inherited from GLRenderer | |
HuginBase::Panorama * | m_pano |
TextureManager * | m_tex_man |
MeshManager * | m_mesh_man |
ToolHelper * | m_tool_helper |
int | width |
int | height |
wxColour | m_background_color |
Additional Inherited Members | |
Public Attributes inherited from GLRenderer | |
float | width_o |
float | height_o |
subclass for the plane overview mode
Definition at line 118 of file GLRenderer.h.
GLPlaneOverviewRenderer::GLPlaneOverviewRenderer | ( | HuginBase::Panorama * | pano, |
TextureManager * | tex_man, | ||
MeshManager * | mesh_man, | ||
PlaneOverviewVisualizationState * | visualization_state, | ||
PlaneOverviewToolHelper * | tool_helper, | ||
const wxColour | backgroundColour | ||
) |
Definition at line 91 of file GLRenderer.cpp.
References GLRenderer::m_mesh_man, GLRenderer::m_pano, GLRenderer::m_tex_man, GLRenderer::m_tool_helper, and m_visualization_state.
|
virtual |
Implements GLRenderer.
Definition at line 485 of file GLRenderer.cpp.
References ToolHelper::AfterDrawImageNumber(), ToolHelper::AfterDrawImages(), ToolHelper::BeforeDrawImageNumber(), ToolHelper::BeforeDrawImages(), TextureManager::Begin(), TextureManager::DisableTexture(), TextureManager::DrawImage(), TextureManager::End(), MeshManager::GetDisplayList(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), PlaneOverviewVisualizationState::getR(), PlaneOverviewVisualizationState::getX(), PlaneOverviewVisualizationState::getY(), GLRenderer::m_background_color, GLRenderer::m_mesh_man, GLRenderer::m_pano, GLRenderer::m_tex_man, GLRenderer::m_tool_helper, m_visualization_state, X, and Y.
|
virtual |
Resize the viewport because the window's dimensions have changed.
width | the width of the widget in screen pixels. |
height | the height of the widget in screen pixels. |
Implements GLRenderer.
Definition at line 598 of file GLRenderer.cpp.
References PlaneOverviewVisualizationState::getFOV(), HuginBase::PanoramaOptions::getHeight(), ViewState::GetOptions(), PlaneOverviewVisualizationState::getR(), VisualizationState::GetViewer(), VisualizationState::getViewState(), HuginBase::PanoramaOptions::getWidth(), vigra_ext::EMoR::h, GLRenderer::height, GLRenderer::height_o, M_PI, m_visualization_state, GLViewer::MarkToolsDirty(), MeshManager::PlaneOverviewMeshInfo::scale, VisualizationState::SetScale(), VisualizationState::SetVisibleArea(), GLRenderer::width, and GLRenderer::width_o.
|
protected |
Definition at line 128 of file GLRenderer.h.
Referenced by GLPlaneOverviewRenderer(), Redraw(), and Resize().