28 #include <wx/glcanvas.h>
30 #include <vigra/diff2d.hxx>
59 wxGLContext * shared_context = NULL
90 void KeyUp(wxKeyEvent & e);
99 virtual
void setUp() = 0;
120 wxGLContext * shared_context = NULL
121 ) : GLViewer(parent, pano, args, frame, shared_context) {}
134 wxGLContext * shared_context = NULL
135 ) :
GLViewer(parent, pano, args, frame, shared_context) {
136 panosphere_m_renderer = 0;
137 plane_m_renderer = 0;
152 void SetMode(OverviewMode mode);
static size_t m_view_state_observer
void MouseButtons(wxMouseEvent &e)
void MouseLeave(wxMouseEvent &e)
wxGLContext * GetContext()
The OpenGL preview frame.
void KeyDown(wxKeyEvent &e)
PanosphereOverviewVisualizationState * panosphere_m_visualization_state
GLOverview(wxWindow *parent, HuginBase::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
virtual void SetLayoutScale(double scale)
void SetPhotometricCorrect(bool state)
void SetActive(bool active)
PlaneOverviewToolHelper * plane_m_tool_helper
void Resized(wxSizeEvent &e)
HuginBase::Panorama * m_pano
void MouseMotion(wxMouseEvent &e)
wxGLContext * m_glContext
void KeyUp(wxKeyEvent &e)
static void RefreshWrapper(void *obj)
GLPlaneOverviewRenderer * plane_m_renderer
static bool initialised_glew
void OnEraseBackground(wxEraseEvent &e)
PlaneOverviewVisualizationState * plane_m_visualization_state
GLViewer(wxWindow *parent, HuginBase::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
subclass for the plane overview mode
void MouseEnter(wxMouseEvent &e)
The renderer handles drawing the opengl scene.
GLPreview(wxWindow *parent, HuginBase::Panorama &pano, int args[], GLPreviewFrame *frame, wxGLContext *shared_context=NULL)
virtual void SetLayoutMode(bool state)
VisualizationState * m_visualization_state
PanosphereOverviewToolHelper * panosphere_m_tool_helper
subclass for the panosphere overview mode
A MeshManager handles the graphics system representation of a remapping, by creating OpenGL display l...
void SetViewerBackground(wxColour col)
GLPanosphereOverviewRenderer * panosphere_m_renderer
ToolHelper * m_tool_helper
static ViewState * m_view_state
void RedrawE(wxPaintEvent &e)
wxColour m_background_color
void MouseWheel(wxMouseEvent &e)
A wxWidget to display the fast preview.