[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GLViewer Class Reference

A wxWidget to display the fast preview. More...

#include <GLViewer.h>

List of all members.

Public Member Functions

 GLViewer (wxFrame *parent, PT::Panorama &pano, int args[], GLPreviewFrame *frame)
virtual ~GLViewer ()
void RedrawE (wxPaintEvent &e)
void Resized (wxSizeEvent &e)
void Redraw ()
void SetUpContext ()
void SetPhotometricCorrect (bool state)
void SetLayoutMode (bool state)
void SetLayoutScale (double scale)

Static Public Member Functions

void RefreshWrapper (void *obj)

Public Attributes

ViewStatem_view_state

Protected Member Functions

void OnEraseBackground (wxEraseEvent &e)
void MouseMotion (wxMouseEvent &e)
void MouseLeave (wxMouseEvent &e)
void LeftDown (wxMouseEvent &e)
void LeftUp (wxMouseEvent &e)
void RightDown (wxMouseEvent &e)
void RightUp (wxMouseEvent &e)
void KeyDown (wxKeyEvent &e)
void KeyUp (wxKeyEvent &e)

Protected Attributes

PreviewToolHelperm_tool_helper
GLRendererm_renderer
wxGLContext * m_glContext
PT::Panoramam_pano
bool started_creation
bool initialised_glew
bool redrawing
vigra::Diff2D offset
GLPreviewFrameframe


Detailed Description

A wxWidget to display the fast preview.

It is the OpenGL equivalent of PreviewPanel. The actual work in rendering the preview is done by a GLRenderer.


Constructor & Destructor Documentation

GLViewer::GLViewer wxFrame *  parent,
PT::Panorama pano,
int  args[],
GLPreviewFrame frame
 

GLViewer::~GLViewer  )  [virtual]
 


Member Function Documentation

void GLViewer::KeyDown wxKeyEvent &  e  )  [protected]
 

void GLViewer::KeyUp wxKeyEvent &  e  )  [protected]
 

void GLViewer::LeftDown wxMouseEvent &  e  )  [protected]
 

void GLViewer::LeftUp wxMouseEvent &  e  )  [protected]
 

void GLViewer::MouseLeave wxMouseEvent &  e  )  [protected]
 

void GLViewer::MouseMotion wxMouseEvent &  e  )  [protected]
 

void GLViewer::OnEraseBackground wxEraseEvent &  e  )  [protected]
 

void GLViewer::Redraw  ) 
 

void GLViewer::RedrawE wxPaintEvent &  e  ) 
 

void GLViewer::RefreshWrapper void *  obj  )  [static]
 

void GLViewer::Resized wxSizeEvent &  e  ) 
 

void GLViewer::RightDown wxMouseEvent &  e  )  [protected]
 

void GLViewer::RightUp wxMouseEvent &  e  )  [protected]
 

void GLViewer::SetLayoutMode bool  state  ) 
 

void GLViewer::SetLayoutScale double  scale  ) 
 

void GLViewer::SetPhotometricCorrect bool  state  ) 
 

void GLViewer::SetUpContext  ) 
 


Member Data Documentation

GLPreviewFrame* GLViewer::frame [protected]
 

bool GLViewer::initialised_glew [protected]
 

wxGLContext* GLViewer::m_glContext [protected]
 

PT::Panorama* GLViewer::m_pano [protected]
 

GLRenderer* GLViewer::m_renderer [protected]
 

PreviewToolHelper* GLViewer::m_tool_helper [protected]
 

ViewState* GLViewer::m_view_state
 

vigra::Diff2D GLViewer::offset [protected]
 

bool GLViewer::redrawing [protected]
 

bool GLViewer::started_creation [protected]
 


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

Generated on Mon Sep 20 01:01:33 2010 for Hugintrunk by doxygen 1.3.9.1