GLPlaneOverviewRenderer Class Reference

subclass for the plane overview mode More...

#include <GLRenderer.h>

Inheritance diagram for GLPlaneOverviewRenderer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GLPlaneOverviewRenderer (PT::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.
void Redraw ()

Protected Attributes

PlaneOverviewVisualizationStatem_visualization_state

Detailed Description

subclass for the plane overview mode

Definition at line 118 of file GLRenderer.h.


Constructor & Destructor Documentation

GLPlaneOverviewRenderer::GLPlaneOverviewRenderer PT::Panorama pano,
TextureManager tex_man,
MeshManager mesh_man,
PlaneOverviewVisualizationState visualization_state,
PlaneOverviewToolHelper tool_helper,
const wxColour  backgroundColour
 

Definition at line 90 of file GLRenderer.cpp.

References m_visualization_state.


Member Function Documentation

void GLPlaneOverviewRenderer::Redraw  )  [virtual]
 

Implements GLRenderer.

Definition at line 417 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(), m_visualization_state, X, and Y.

vigra::Diff2D GLPlaneOverviewRenderer::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 525 of file GLRenderer.cpp.

References PlaneOverviewVisualizationState::getFOV(), HuginBase::PanoramaOptions::getHeight(), ViewState::GetOptions(), PlaneOverviewVisualizationState::getR(), VisualizationState::getViewState(), HuginBase::PanoramaOptions::getWidth(), M_PI, m_visualization_state, VisualizationState::SetScale(), and VisualizationState::SetVisibleArea().


Member Data Documentation

PlaneOverviewVisualizationState* GLPlaneOverviewRenderer::m_visualization_state [protected]
 

Definition at line 128 of file GLRenderer.h.

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


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 01:25:43 2014 for Hugintrunk by  doxygen 1.3.9.1