33 #include <vigra/diff2d.hxx>
52 explicit GLRenderer(
const wxColour backgroundColour);
66 void SetBackground(
unsigned char red,
unsigned char green,
unsigned char blue);
virtual vigra::Diff2D Resize(int width, int height)=0
Resize the viewport because the window's dimensions have changed.
subclass for the preview canvas
GLRenderer(const wxColour backgroundColour)
ctor.
ToolHelper * m_tool_helper
vigra::Diff2D Resize(int width, int height)
Resize the viewport because the window's dimensions have changed.
HuginBase::Panorama * m_pano
subclass for the plane overview mode
The renderer handles drawing the opengl scene.
GLPlaneOverviewRenderer(HuginBase::Panorama *pano, TextureManager *tex_man, MeshManager *mesh_man, PlaneOverviewVisualizationState *visualization_state, PlaneOverviewToolHelper *tool_helper, const wxColour backgroundColour)
PlaneOverviewVisualizationState * m_visualization_state
GLPreviewRenderer(HuginBase::Panorama *pano, TextureManager *tex_man, MeshManager *mesh_man, VisualizationState *visualization_state, PreviewToolHelper *tool_helper, const wxColour backgroundColour)
virtual ~GLRenderer()
dtor.
wxColour m_background_color
subclass for the panosphere overview mode
A MeshManager handles the graphics system representation of a remapping, by creating OpenGL display l...
void SetBackground(unsigned char red, unsigned char green, unsigned char blue)
GLPanosphereOverviewRenderer(HuginBase::Panorama *pano, TextureManager *tex_man, MeshManager *mesh_man, PanosphereOverviewVisualizationState *visualization_state, PanosphereOverviewToolHelper *tool_helper, const wxColour backgroundColour)
VisualizationState * m_visualization_state
void SetPreviewBackgroundColor(const wxColour c)
sets the preview background color
TextureManager * m_tex_man
vigra::Diff2D Resize(int width, int height)
Resize the viewport because the window's dimensions have changed.
PanosphereOverviewVisualizationState * m_visualization_state
vigra::Diff2D Resize(int width, int height)
Resize the viewport because the window's dimensions have changed.