GLOverview Class Reference

#include <GLViewer.h>

Inheritance diagram for GLOverview:

Inheritance graph
[legend]
List of all members.

Public Types

enum  OverviewMode { PANOSPHERE, PLANE }

Public Member Functions

 GLOverview (wxWindow *parent, PT::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
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

Member Enumeration Documentation

enum GLOverview::OverviewMode
 

Enumeration values:
PANOSPHERE 
PLANE 

Definition at line 156 of file GLViewer.h.


Constructor & Destructor Documentation

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

Definition at line 137 of file GLViewer.h.


Member Function Documentation

OverviewMode GLOverview::GetMode  )  [inline]
 

Definition at line 162 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 389 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 396 of file GLViewer.cpp.

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

Referenced by GLPreviewFrame::OnLayoutScaleChange().

void GLOverview::SetMode OverviewMode  mode  ) 
 

Definition at line 562 of file GLViewer.cpp.

References PANOSPHERE, panosphere_m_renderer, PLANE, and plane_m_renderer.

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 327 of file GLViewer.cpp.

References DEBUG_DEBUG, VisualizationState::GetMeshManager(), ViewState::GetTextureManager(), GLPreviewFrame::MakePanosphereOverviewTools(), GLPreviewFrame::MakePlaneOverviewTools(), 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.


Member Data Documentation

OverviewMode GLOverview::mode [protected]
 

Definition at line 166 of file GLViewer.h.

GLPanosphereOverviewRenderer* GLOverview::panosphere_m_renderer [protected]
 

Definition at line 170 of file GLViewer.h.

Referenced by SetMode(), and setUp().

PanosphereOverviewToolHelper* GLOverview::panosphere_m_tool_helper [protected]
 

Definition at line 169 of file GLViewer.h.

Referenced by setUp().

PanosphereOverviewVisualizationState* GLOverview::panosphere_m_visualization_state [protected]
 

Definition at line 168 of file GLViewer.h.

Referenced by SetLayoutMode(), SetLayoutScale(), and setUp().

GLPlaneOverviewRenderer* GLOverview::plane_m_renderer [protected]
 

Definition at line 174 of file GLViewer.h.

Referenced by SetMode(), and setUp().

PlaneOverviewToolHelper* GLOverview::plane_m_tool_helper [protected]
 

Definition at line 173 of file GLViewer.h.

Referenced by setUp().

PlaneOverviewVisualizationState* GLOverview::plane_m_visualization_state [protected]
 

Definition at line 172 of file GLViewer.h.

Referenced by SetLayoutMode(), SetLayoutScale(), and setUp().


The documentation for this class was generated from the following files:
Generated on Fri Apr 25 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1