GLPanosphereOverviewRenderer Class Reference

subclass for the panosphere overview mode More...

#include <GLRenderer.h>

Inheritance diagram for GLPanosphereOverviewRenderer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GLPanosphereOverviewRenderer (PT::Panorama *pano, TextureManager *tex_man, MeshManager *mesh_man, PanosphereOverviewVisualizationState *visualization_state, PanosphereOverviewToolHelper *tool_helper, const wxColour backgroundColour)
vigra::Diff2D Resize (int width, int height)
 Resize the viewport because the window's dimensions have changed.
void Redraw ()

Protected Attributes

PanosphereOverviewVisualizationStatem_visualization_state

Detailed Description

subclass for the panosphere overview mode

Definition at line 101 of file GLRenderer.h.


Constructor & Destructor Documentation

GLPanosphereOverviewRenderer::GLPanosphereOverviewRenderer PT::Panorama pano,
TextureManager tex_man,
MeshManager mesh_man,
PanosphereOverviewVisualizationState visualization_state,
PanosphereOverviewToolHelper tool_helper,
const wxColour  backgroundColour
 

Definition at line 79 of file GLRenderer.cpp.

References m_visualization_state.


Member Function Documentation

void GLPanosphereOverviewRenderer::Redraw  )  [virtual]
 

Implements GLRenderer.

Definition at line 221 of file GLRenderer.cpp.

References ToolHelper::AfterDrawImageNumber(), ToolHelper::AfterDrawImages(), ToolHelper::BeforeDrawImageNumber(), ToolHelper::BeforeDrawImages(), TextureManager::Begin(), TextureManager::DisableTexture(), TextureManager::DrawImage(), TextureManager::End(), PanosphereOverviewVisualizationState::getAngX(), PanosphereOverviewVisualizationState::getAngY(), MeshManager::GetDisplayList(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), PanosphereOverviewVisualizationState::getR(), and m_visualization_state.

vigra::Diff2D GLPanosphereOverviewRenderer::Resize int  width,
int  height
[virtual]
 

Resize the viewport because the window's dimensions have changed.

Returns:
the number of screen pixels from the corner of the widget to the start of the panorma, both horizontally and vertically.
Parameters:
width the width of the widget in screen pixels.
height the height of the widget in screen pixels.

Implements GLRenderer.

Definition at line 373 of file GLRenderer.cpp.

References PanosphereOverviewVisualizationState::getFOV(), HuginBase::PanoramaOptions::getHeight(), PanosphereOverviewVisualizationState::GetOptions(), PanosphereOverviewVisualizationState::getR(), PanosphereOverviewVisualizationState::getSphereRadius(), HuginBase::PanoramaOptions::getWidth(), M_PI, m_visualization_state, VisualizationState::SetScale(), and VisualizationState::SetVisibleArea().


Member Data Documentation

PanosphereOverviewVisualizationState* GLPanosphereOverviewRenderer::m_visualization_state [protected]
 

Definition at line 111 of file GLRenderer.h.

Referenced by GLPanosphereOverviewRenderer(), Redraw(), and Resize().


The documentation for this class was generated from the following files:
Generated on Mon Sep 1 01:25:49 2014 for Hugintrunk by  doxygen 1.3.9.1