Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
GLOverview Class Reference

#include <GLViewer.h>

Inheritance diagram for GLOverview:
Inheritance graph

Public Types

enum  OverviewMode { PANOSPHERE_OUTSIDE , PANOSPHERE_INSIDE , PLANE }
 

Public Member Functions

 GLOverview (wxWindow *parent, HuginBase::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
 
 ~GLOverview ()
 
void setUp ()
 
virtual void SetLayoutMode (bool state)
 
virtual void SetLayoutScale (double scale)
 
void SetMode (OverviewMode mode)
 
OverviewMode GetMode ()
 
- Public Member Functions inherited from GLViewer
 GLViewer (wxWindow *parent, HuginBase::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
 
virtual ~GLViewer ()
 
void RedrawE (wxPaintEvent &e)
 
void Resized (wxSizeEvent &e)
 
void Redraw ()
 
void SetUpContext ()
 
void SetPhotometricCorrect (bool state)
 
void SetActive (bool active)
 
bool IsActive ()
 
wxGLContextGetContext ()
 
void SetViewerBackground (wxColour col)
 
void MarkToolsDirty ()
 

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
 
- Protected Attributes inherited from GLViewer
ToolHelperm_tool_helper
 
GLRendererm_renderer
 
wxGLContextm_glContext
 
HuginBase::Panoramam_pano
 
bool started_creation
 
bool redrawing
 
bool m_toolsInitialized
 
vigra::Diff2D offset
 
double m_scale = 1.0
 
GLPreviewFrameframe
 
bool active
 
wxColour m_background_color
 

Additional Inherited Members

- Static Public Member Functions inherited from GLViewer
static void RefreshWrapper (void *obj)
 
- Public Attributes inherited from GLViewer
VisualizationStatem_visualization_state
 
- Static Public Attributes inherited from GLViewer
static ViewStatem_view_state = NULL
 
static size_t m_view_state_observer = 0
 
- Protected Member Functions inherited from GLViewer
void OnEraseBackground (wxEraseEvent &e)
 
void MouseMotion (wxMouseEvent &e)
 
void MouseEnter (wxMouseEvent &e)
 
void MouseLeave (wxMouseEvent &e)
 
void MouseButtons (wxMouseEvent &e)
 
void MouseWheel (wxMouseEvent &e)
 
void KeyDown (wxKeyEvent &e)
 
void KeyUp (wxKeyEvent &e)
 
- Static Protected Attributes inherited from GLViewer
static bool initialised_glew =false
 

Detailed Description

Definition at line 124 of file GLViewer.h.

Member Enumeration Documentation

◆ OverviewMode

Enumerator
PANOSPHERE_OUTSIDE 
PANOSPHERE_INSIDE 
PLANE 

Definition at line 144 of file GLViewer.h.

Constructor & Destructor Documentation

◆ GLOverview()

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

Definition at line 127 of file GLViewer.h.

References panosphere_m_renderer, and plane_m_renderer.

◆ ~GLOverview()

GLOverview::~GLOverview ( )

Member Function Documentation

◆ GetMode()

OverviewMode GLOverview::GetMode ( )
inline

◆ SetLayoutMode()

void GLOverview::SetLayoutMode ( bool  state)
virtual

◆ SetLayoutScale()

void GLOverview::SetLayoutScale ( double  scale)
virtual

◆ SetMode()

void GLOverview::SetMode ( OverviewMode  mode)

◆ setUp()

void GLOverview::setUp ( )
virtual

Member Data Documentation

◆ mode

OverviewMode GLOverview::mode
protected

Definition at line 155 of file GLViewer.h.

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

◆ panosphere_m_renderer

GLPanosphereOverviewRenderer* GLOverview::panosphere_m_renderer
protected

Definition at line 159 of file GLViewer.h.

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

◆ panosphere_m_tool_helper

PanosphereOverviewToolHelper* GLOverview::panosphere_m_tool_helper
protected

Definition at line 158 of file GLViewer.h.

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

◆ panosphere_m_visualization_state

PanosphereOverviewVisualizationState* GLOverview::panosphere_m_visualization_state
protected

Definition at line 157 of file GLViewer.h.

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

◆ plane_m_renderer

GLPlaneOverviewRenderer* GLOverview::plane_m_renderer
protected

Definition at line 163 of file GLViewer.h.

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

◆ plane_m_tool_helper

PlaneOverviewToolHelper* GLOverview::plane_m_tool_helper
protected

Definition at line 162 of file GLViewer.h.

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

◆ plane_m_visualization_state

PlaneOverviewVisualizationState* GLOverview::plane_m_visualization_state
protected

Definition at line 161 of file GLViewer.h.

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


The documentation for this class was generated from the following files: