GLOverview Class Reference

#include <GLViewer.h>

Inheritance diagram for GLOverview:

Inheritance graph
[legend]
List of all members.

Public Types

 PANOSPHERE
 PLANE
enum  OverviewMode { PANOSPHERE, PLANE }

Public Member Functions

 GLOverview (wxWindow *parent, HuginBase::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
 ~GLOverview ()
void SetPanosphereMode ()
void SetPlaneMode ()
void setUp ()
virtual void SetLayoutMode (bool state)
virtual void SetLayoutScale (double scale)
void SetMode (OverviewMode mode)
OverviewMode GetMode ()

Protected Attributes

OverviewMode mode
PanosphereOverviewVisualizationStatepanosphere_m_visualization_state
PanosphereOverviewToolHelperpanosphere_m_tool_helper
GLPanosphereOverviewRendererpanosphere_m_renderer
PlaneOverviewVisualizationStateplane_m_visualization_state
PlaneOverviewToolHelperplane_m_tool_helper
GLPlaneOverviewRendererplane_m_renderer

Detailed Description

Definition at line 129 of file GLViewer.h.


Member Enumeration Documentation

enum GLOverview::OverviewMode

Enumerator:
PANOSPHERE 
PLANE 

Definition at line 152 of file GLViewer.h.


Constructor & Destructor Documentation

GLOverview::GLOverview ( wxWindow *  parent,
HuginBase::Panorama pano,
int  args[],
GLPreviewFrame frame,
wxGLContext *  shared_context = NULL 
) [inline]

Definition at line 132 of file GLViewer.h.

References panosphere_m_renderer, and plane_m_renderer.

GLOverview::~GLOverview (  ) 

Definition at line 212 of file GLViewer.cpp.

References GLViewer::m_renderer, panosphere_m_renderer, panosphere_m_tool_helper, panosphere_m_visualization_state, plane_m_renderer, plane_m_tool_helper, and plane_m_visualization_state.


Member Function Documentation

OverviewMode GLOverview::GetMode (  )  [inline]

Definition at line 158 of file GLViewer.h.

References mode.

Referenced by GLPreviewFrame::KeyDown(), GLPreviewFrame::KeyUp(), GLPreviewFrame::OnOverviewModeChoice(), GLPreviewFrame::panoramaImagesChanged(), and GLPreviewFrame::UpdateOverviewMode().

void GLOverview::SetLayoutMode ( bool  state  )  [virtual]

Reimplemented from GLViewer.

Definition at line 300 of file GLViewer.cpp.

References VisualizationState::GetMeshManager(), panosphere_m_visualization_state, plane_m_visualization_state, and MeshManager::SetLayoutMode().

Referenced by GLPreviewFrame::SetMode().

void GLOverview::SetLayoutScale ( double  scale  )  [virtual]

Reimplemented from GLViewer.

Definition at line 307 of file GLViewer.cpp.

References VisualizationState::GetMeshManager(), panosphere_m_visualization_state, plane_m_visualization_state, MeshManager::PanosphereOverviewMeshInfo::scale_diff, and MeshManager::SetLayoutScale().

Referenced by GLPreviewFrame::OnLayoutScaleChange().

void GLOverview::SetMode ( OverviewMode  mode  ) 

Definition at line 478 of file GLViewer.cpp.

References GLViewer::m_renderer, GLViewer::m_tool_helper, GLViewer::m_visualization_state, PANOSPHERE, panosphere_m_renderer, panosphere_m_tool_helper, panosphere_m_visualization_state, PLANE, plane_m_renderer, plane_m_tool_helper, and plane_m_visualization_state.

Referenced by GLPreviewFrame::GLPreviewFrame(), GLPreviewFrame::panoramaImagesChanged(), GLPreviewFrame::SetGuiLevel(), and GLPreviewFrame::UpdateOverviewMode().

void GLOverview::SetPanosphereMode (  ) 

void GLOverview::SetPlaneMode (  ) 

void GLOverview::setUp (  )  [virtual]

Implements GLViewer.

Definition at line 231 of file GLViewer.cpp.

References DEBUG_DEBUG, GLViewer::frame, VisualizationState::GetMeshManager(), ViewState::GetTextureManager(), GLViewer::m_background_color, GLViewer::m_pano, GLViewer::m_renderer, GLViewer::m_tool_helper, GLViewer::m_toolsInitialized, GLViewer::m_view_state, GLViewer::m_view_state_observer, GLViewer::m_visualization_state, GLPreviewFrame::MakePanosphereOverviewTools(), GLPreviewFrame::MakePlaneOverviewTools(), mode, PANOSPHERE, panosphere_m_renderer, panosphere_m_tool_helper, panosphere_m_visualization_state, PLANE, plane_m_renderer, plane_m_tool_helper, plane_m_visualization_state, and GLViewer::RefreshWrapper().

Referenced by GLViewer::SetUpContext().


Member Data Documentation

OverviewMode GLOverview::mode [protected]

Definition at line 162 of file GLViewer.h.

Referenced by GetMode(), and setUp().

GLPanosphereOverviewRenderer* GLOverview::panosphere_m_renderer [protected]

Definition at line 166 of file GLViewer.h.

Referenced by GLOverview(), SetMode(), setUp(), and ~GLOverview().

PanosphereOverviewToolHelper* GLOverview::panosphere_m_tool_helper [protected]

Definition at line 165 of file GLViewer.h.

Referenced by SetMode(), setUp(), and ~GLOverview().

PanosphereOverviewVisualizationState* GLOverview::panosphere_m_visualization_state [protected]

Definition at line 164 of file GLViewer.h.

Referenced by SetLayoutMode(), SetLayoutScale(), SetMode(), setUp(), and ~GLOverview().

GLPlaneOverviewRenderer* GLOverview::plane_m_renderer [protected]

Definition at line 170 of file GLViewer.h.

Referenced by GLOverview(), SetMode(), setUp(), and ~GLOverview().

PlaneOverviewToolHelper* GLOverview::plane_m_tool_helper [protected]

Definition at line 169 of file GLViewer.h.

Referenced by SetMode(), setUp(), and ~GLOverview().

PlaneOverviewVisualizationState* GLOverview::plane_m_visualization_state [protected]

Definition at line 168 of file GLViewer.h.

Referenced by SetLayoutMode(), SetLayoutScale(), SetMode(), setUp(), and ~GLOverview().


The documentation for this class was generated from the following files:
Generated on 30 May 2016 for Hugintrunk by  doxygen 1.4.7