Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 {
32 public:
33  explicit ProjectionGridTool(ToolHelper* helper);
34  virtual ~ProjectionGridTool();
35 
36 protected:
37 
38  bool createTexture();
39 
40  static bool texture_created;
41  static unsigned int texture_num;
42 
44 
46 
47 };
48 
50 {
51 public:
52  void Activate();
54 
55  void createMesh();
56 
57  void AfterDrawImagesEvent();
58  void BeforeDrawImagesEvent();
59 protected:
60 
61 };
62 
64 {
65 public:
66  void Activate();
68 
71 
74 protected:
75 
76 };
77 
78 #endif
79 
static bool texture_created
MeshManager::MeshInfo * mesh_info
void AfterDrawImagesFrontEvent()
Draw using opengl anything after drawing the back face culled images.
void AfterDrawImagesEvent()
Draw (using OpenGL) images above the others.
void Activate()
Switch on a tool.
void BeforeDrawImagesBackEvent()
Draw using opengl anything before drawing the front face culled images.
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition: Tool.h:102
void BeforeDrawImagesEvent()
Draw using OpenGL anything the tool requires underneath the images.
bool createTexture()
create the texture by iterating through each pixela and checking how much each pixel should be filled...
PreviewProjectionGridTool(PreviewToolHelper *helper)
void BeforeDrawImagesFrontEvent()
Draw using opengl anything before drawing the back face culled images.
ProjectionGridTool(ToolHelper *helper)
void AfterDrawImagesBackEvent()
Draw using opengl anything after drawing the front face culled images.
Handles the remapper and a display list for a specific image.
Definition: MeshManager.h:64
static unsigned int texture_num
tool to draw a grid to create correspondence between the overview and the preview ...
PanosphereOverviewProjectionGridTool(PanosphereOverviewToolHelper *helper)