Hugin trunk 0.1
Loading...
Searching...
No Matches
ProjectionGridTool.h
Go to the documentation of this file.
1// -*- c-basic-offset: 4 -*-
22#ifndef _PROJECTION_GRID_TOOL_H
23#define _PROJECTION_GRID_TOOL_H
24
25#include "Tool.h"
26
31{
32public:
33 explicit ProjectionGridTool(ToolHelper* helper);
34 virtual ~ProjectionGridTool();
35
36protected:
37
38 bool createTexture();
39
40 static bool texture_created;
41 static unsigned int texture_num;
42
44
46
47};
48
50{
51public:
52 void Activate();
54
55 void createMesh();
56
59protected:
60
61};
62
77
78#endif
79
Handles the remapper and a display list for a specific image.
Definition MeshManager.h:65
void BeforeDrawImagesFrontEvent()
Draw using opengl anything before drawing the back face culled images.
void AfterDrawImagesBackEvent()
Draw using opengl anything after drawing the front face culled images.
void BeforeDrawImagesBackEvent()
Draw using opengl anything before drawing the front face culled images.
PanosphereOverviewProjectionGridTool(PanosphereOverviewToolHelper *helper)
void AfterDrawImagesFrontEvent()
Draw using opengl anything after drawing the back face culled images.
PreviewProjectionGridTool(PreviewToolHelper *helper)
void Activate()
Switch on a tool.
void AfterDrawImagesEvent()
Draw (using OpenGL) images above the others.
void BeforeDrawImagesEvent()
Draw using OpenGL anything the tool requires underneath the images.
tool to draw a grid to create correspondence between the overview and the preview
static unsigned int texture_num
bool createTexture()
create the texture by iterating through each pixela and checking how much each pixel should be filled
MeshManager::MeshInfo * mesh_info
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition Tool.h:109