Hugin trunk 0.1
Loading...
Searching...
No Matches
PanosphereSphereTool.cpp
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
24#ifdef _WIN32
25#include "wx/msw/wrapwin.h"
26#endif
27#include "hugin_config.h"
28#if defined HAVE_EPOXY && HAVE_EPOXY
29#include <epoxy/gl.h>
30#ifdef __WXMAC__
31#include <OpenGL/glu.h>
32#else
33#include <GL/glu.h>
34#endif
35#else
36#include <GL/glew.h>
37#ifdef __WXMAC__
38#include <OpenGL/gl.h>
39#include <OpenGL/glu.h>
40#else
41#include <GL/gl.h>
42#include <GL/glu.h>
43#endif
44#endif
45#ifdef __APPLE__
46 #include <GLUT/glut.h>
47#endif
48
50
55
61
79
84
void Activate()
Switch on a tool.
void SetPreviewBackgroundColor(wxColour c)
sets the sphere background color
void BeforeDrawImagesBackEvent()
Draw using opengl anything before drawing the front face culled images.
void BeforeDrawImagesFrontEvent()
Draw using opengl anything before drawing the back face culled images.
PanosphereSphereTool(PanosphereOverviewToolHelper *helper, const wxColour backgroundColour)
void DisableTexture(bool maskOnly=false)
ViewState * GetViewStatePtr()
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition Tool.h:109
TextureManager * GetTextureManager()
Definition ViewState.h:104
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.
Definition threshold.h:41