25 #include "wx/msw/wrapwin.h"
33 #include <OpenGL/gl.h>
36 #include <vigra/windows.h>
64 glColor3f(1.0, 0.5, 0.0);
65 size_t cp_count = control_points.size();
66 for (
size_t cp_index = 0; cp_index < cp_count; cp_index++)
77 glColor3f(0.0, 0.5, 1.0);
81 double red, green, blue;
83 glColor3d(red, green, blue);
86 double x1, y1, x2, y2;
92 glColor3f(1.0, 1.0, 1.0);
93 glEnable(GL_TEXTURE_2D);
108 for (
unsigned int image_number = 0; image_number < images_count; image_number++)
void drawLineFromSpherical(double startLat, double startLong, double endLat, double endLong, double width=1.0)
Draw the shortest segment of the great circle crossing two spherical coordinates. ...
void setHeight(unsigned int h)
set panorama height
void DisableTexture(bool maskOnly=false)
const CPVector & getCtrlPoints() const
get all control point of this Panorama
represents a control point
void setVisualizationState(VisualizationState *visualizationState)
Set the ViewState to use for information on output projection and preview display.
virtual HuginBase::SrcPanoImage * GetSrcImage(unsigned int image_nr)
std::size_t getNrOfImages() const
number of images.
TextureManager * GetTextureManager()
void ControlPointErrorColour(const double cperr, double &r, double &g, double &b)
std::vector< ControlPoint > CPVector
const SrcPanoImage & getImage(std::size_t nr) const
get a panorama image, counting starts with 0
void setWidth(unsigned int w, bool keepView=true)
set panorama width keep the HFOV, if keepView=true