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 125 of file GLViewer.h.


Member Enumeration Documentation

enum GLOverview::OverviewMode

Enumerator:
PANOSPHERE 
PLANE 

Definition at line 148 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 128 of file GLViewer.h.

GLOverview::~GLOverview (  ) 

Definition at line 196 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 154 of file GLViewer.h.

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 284 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 291 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 464 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 215 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 158 of file GLViewer.h.

Referenced by setUp().

GLPanosphereOverviewRenderer* GLOverview::panosphere_m_renderer [protected]

Definition at line 162 of file GLViewer.h.

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

PanosphereOverviewToolHelper* GLOverview::panosphere_m_tool_helper [protected]

Definition at line 161 of file GLViewer.h.

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

PanosphereOverviewVisualizationState* GLOverview::panosphere_m_visualization_state [protected]

Definition at line 160 of file GLViewer.h.

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

GLPlaneOverviewRenderer* GLOverview::plane_m_renderer [protected]

Definition at line 166 of file GLViewer.h.

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

PlaneOverviewToolHelper* GLOverview::plane_m_tool_helper [protected]

Definition at line 165 of file GLViewer.h.

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

PlaneOverviewVisualizationState* GLOverview::plane_m_visualization_state [protected]

Definition at line 164 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 25 Jul 2016 for Hugintrunk by  doxygen 1.4.7