#include <GLViewer.h>
Inheritance diagram for GLViewer:

Public Member Functions | |
| GLViewer (wxWindow *parent, PT::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) |
| virtual void | SetLayoutMode (bool state) |
| virtual void | SetLayoutScale (double scale) |
| void | SetActive (bool active) |
| bool | IsActive () |
| void | SetViewerBackground (wxColour col) |
| void | SetOverlayText (const wxString text) |
| sets the text which should overlay the preview | |
| void | SetOverlayVisibility (const bool isVisible) |
| switches the overlay on/off | |
Static Public Member Functions | |
| void | RefreshWrapper (void *obj) |
Public Attributes | |
| VisualizationState * | m_visualization_state |
Static Public Attributes | |
| ViewState * | m_view_state = NULL |
Protected Member Functions | |
| void | OnEraseBackground (wxEraseEvent &e) |
| void | MouseMotion (wxMouseEvent &e) |
| void | MouseLeave (wxMouseEvent &e) |
| void | MouseButtons (wxMouseEvent &e) |
| void | MouseWheel (wxMouseEvent &e) |
| void | KeyDown (wxKeyEvent &e) |
| void | KeyUp (wxKeyEvent &e) |
| virtual void | setUp ()=0 |
Protected Attributes | |
| ToolHelper * | m_tool_helper |
| GLRenderer * | m_renderer |
| PT::Panorama * | m_pano |
| wxString | m_overlayText |
| bool | m_overlay |
| bool | started_creation |
| bool | redrawing |
| vigra::Diff2D | offset |
| GLPreviewFrame * | frame |
| bool | active |
| wxColour | m_background_color |
Static Protected Attributes | |
| bool | initialised_glew = false |
It is the OpenGL equivalent of PreviewPanel. The actual work in rendering the preview is done by a GLRenderer.
Definition at line 51 of file GLViewer.h.
|
||||||||||||||||||||||||
|
Definition at line 201 of file GLViewer.cpp. |
|
|
Definition at line 240 of file GLViewer.cpp. References m_view_state. |
|
|
Definition at line 75 of file GLViewer.h. |
|
|
Definition at line 543 of file GLViewer.cpp. References ToolHelper::KeypressEvent(), and m_tool_helper. |
|
|
Definition at line 549 of file GLViewer.cpp. References ToolHelper::KeypressEvent(), and m_tool_helper. |
|
|
Definition at line 520 of file GLViewer.cpp. References m_tool_helper, and ToolHelper::MouseButtonEvent(). |
|
|
Definition at line 514 of file GLViewer.cpp. References m_tool_helper, and ToolHelper::MouseLeave(). |
|
|
Definition at line 507 of file GLViewer.cpp. References m_tool_helper, ToolHelper::MouseMoved(), and offset. |
|
|
Definition at line 535 of file GLViewer.cpp. References m_tool_helper, and ToolHelper::MouseWheelEvent(). |
|
|
Definition at line 502 of file GLViewer.cpp. |
|
|
Definition at line 466 of file GLViewer.cpp. References DEBUG_INFO, VisualizationState::DoUpdates(), VisualizationState::FinishedDraw(), m_overlay, m_overlayText, m_renderer, m_visualization_state, offset, GLRenderer::Redraw(), VisualizationState::RequireRecalculateViewport(), GLRenderer::Resize(), GLRenderer::SetBackground(), and WrapText(). |
|
|
Definition at line 404 of file GLViewer.cpp. References GLPreviewFrame::CanResize(), GLPreviewFrame::ContinueResize(), DEBUG_DEBUG, frame, IsActive(), Redraw(), redrawing, and SetUpContext(). |
|
|
Definition at line 432 of file GLViewer.cpp. References DEBUG_DEBUG. |
|
|
Definition at line 439 of file GLViewer.cpp. References GLPreviewFrame::CanResize(), DEBUG_DEBUG, frame, IsActive(), m_renderer, offset, Redraw(), GLRenderer::Resize(), and SetUpContext(). Referenced by GLPreviewFrame::ContinueResize(). |
|
|
Definition at line 74 of file GLViewer.h. Referenced by GLPreviewFrame::GLPreviewFrame(), GLPreviewFrame::LoadOpenGLLayout(), and GLPreviewFrame::OnOverviewToggle(). |
|
|
Reimplemented in GLOverview. Definition at line 377 of file GLViewer.cpp. References VisualizationState::GetMeshManager(), m_visualization_state, and MeshManager::SetLayoutMode(). Referenced by GLPreviewFrame::SetMode(). |
|
|
Reimplemented in GLOverview. Definition at line 383 of file GLViewer.cpp. References VisualizationState::GetMeshManager(), m_visualization_state, and MeshManager::SetLayoutScale(). Referenced by GLPreviewFrame::OnLayoutScaleChange(). |
|
|
sets the text which should overlay the preview
Definition at line 582 of file GLViewer.cpp. References m_overlayText. Referenced by GLPreviewFrame::panoramaChanged(). |
|
|
switches the overlay on/off
Definition at line 587 of file GLViewer.cpp. References m_overlay. Referenced by GLPreviewFrame::SetMode(). |
|
|
Definition at line 371 of file GLViewer.cpp. References ViewState::GetTextureManager(), m_view_state, and TextureManager::SetPhotometricCorrect(). Referenced by GLPreviewFrame::MakePreviewTools(), and GLPreviewFrame::OnPhotometric(). |
|
|
Implemented in GLPreview, and GLOverview. Referenced by SetUpContext(). |
|
|
Definition at line 259 of file GLViewer.cpp. References DEBUG_ERROR, DEBUG_INFO, frame, initialised_glew, setUp(), and started_creation. Referenced by GLPreviewFrame::InitPreviews(), RedrawE(), and Resized(). |
|
|
Definition at line 555 of file GLViewer.cpp. References m_background_color, m_renderer, and GLRenderer::SetPreviewBackgroundColor(). Referenced by GLPreviewFrame::OnPreviewBackgroundColorChanged(). |
|
|
Definition at line 115 of file GLViewer.h. |
|
|
Definition at line 113 of file GLViewer.h. Referenced by RedrawE(), Resized(), and SetUpContext(). |
|
|
Definition at line 181 of file GLViewer.cpp. Referenced by SetUpContext(). |
|
|
Definition at line 117 of file GLViewer.h. Referenced by SetViewerBackground(). |
|
|
Definition at line 107 of file GLViewer.h. Referenced by Redraw(), and SetOverlayVisibility(). |
|
|
Definition at line 106 of file GLViewer.h. Referenced by Redraw(), and SetOverlayText(). |
|
|
Definition at line 104 of file GLViewer.h. |
|
|
Definition at line 100 of file GLViewer.h. Referenced by Redraw(), Resized(), and SetViewerBackground(). |
|
|
Definition at line 99 of file GLViewer.h. Referenced by KeyDown(), KeyUp(), MouseButtons(), MouseLeave(), MouseMotion(), and MouseWheel(). |
|
|
Definition at line 182 of file GLViewer.cpp. Referenced by GLPreviewFrame::OnTrackChangeFOV(), SetPhotometricCorrect(), and ~GLViewer(). |
|
|
Definition at line 71 of file GLViewer.h. Referenced by OverviewOutlinesTool::draw(), OverviewOutlinesTool::DrawRect(), GLPreviewFrame::OnDragChoice(), GLPreviewFrame::OnOverviewModeChoice(), Redraw(), SetLayoutMode(), and SetLayoutScale(). |
|
|
Definition at line 112 of file GLViewer.h. Referenced by MouseMotion(), Redraw(), and Resized(). |
|
|
Definition at line 110 of file GLViewer.h. Referenced by RedrawE(). |
|
|
Definition at line 110 of file GLViewer.h. Referenced by SetUpContext(). |
1.3.9.1