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, 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

Detailed Description

Definition at line 134 of file GLViewer.h.


Member Enumeration Documentation

enum GLOverview::OverviewMode

Enumerator:
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.

References panosphere_m_renderer, and plane_m_renderer.


Member Function Documentation

OverviewMode GLOverview::GetMode (  )  [inline]

Definition at line 162 of file GLViewer.h.

References mode.

Referenced by GLPreviewFrame::KeyDown(), GLPreviewFrame::KeyUp(), GLPreviewFrame::OnOverviewModeChoice(), 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, MeshManager::PanosphereOverviewMeshInfo::scale_diff, and MeshManager::SetLayoutScale().

Referenced by GLPreviewFrame::OnLayoutScaleChange().

void GLOverview::SetMode ( OverviewMode  mode  ) 

Definition at line 562 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::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, GLViewer::frame, VisualizationState::GetMeshManager(), ViewState::GetTextureManager(), GLViewer::m_background_color, GLViewer::m_pano, GLViewer::m_renderer, GLViewer::m_tool_helper, GLViewer::m_view_state, 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().


Member Data Documentation

OverviewMode GLOverview::mode [protected]

Definition at line 166 of file GLViewer.h.

Referenced by GetMode(), and setUp().

GLPanosphereOverviewRenderer* GLOverview::panosphere_m_renderer [protected]

Definition at line 170 of file GLViewer.h.

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

PanosphereOverviewToolHelper* GLOverview::panosphere_m_tool_helper [protected]

Definition at line 169 of file GLViewer.h.

Referenced by SetMode(), and setUp().

PanosphereOverviewVisualizationState* GLOverview::panosphere_m_visualization_state [protected]

Definition at line 168 of file GLViewer.h.

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

GLPlaneOverviewRenderer* GLOverview::plane_m_renderer [protected]

Definition at line 174 of file GLViewer.h.

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

PlaneOverviewToolHelper* GLOverview::plane_m_tool_helper [protected]

Definition at line 173 of file GLViewer.h.

Referenced by SetMode(), and setUp().

PlaneOverviewVisualizationState* GLOverview::plane_m_visualization_state [protected]

Definition at line 172 of file GLViewer.h.

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


The documentation for this class was generated from the following files:
Generated on 24 Oct 2014 for Hugintrunk by  doxygen 1.4.7