Hugintrunk
0.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
hugin1
hugin
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
30
class
ProjectionGridTool
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
43
MeshManager::MeshInfo
*
mesh_info
;
44
45
ToolHelper
*
helper_g
;
46
47
};
48
49
class
PreviewProjectionGridTool
:
public
PreviewTool
,
public
ProjectionGridTool
50
{
51
public
:
52
void
Activate
();
53
explicit
PreviewProjectionGridTool
(
PreviewToolHelper
*
helper
) :
PreviewTool
(helper),
ProjectionGridTool
(helper) {}
54
55
void
createMesh
();
56
57
void
AfterDrawImagesEvent
();
58
void
BeforeDrawImagesEvent
();
59
protected
:
60
61
};
62
63
class
PanosphereOverviewProjectionGridTool
:
public
PanosphereOverviewTool
,
public
ProjectionGridTool
64
{
65
public
:
66
void
Activate
();
67
explicit
PanosphereOverviewProjectionGridTool
(
PanosphereOverviewToolHelper
*
helper
) :
PanosphereOverviewTool
(helper),
ProjectionGridTool
(helper) {}
68
69
void
AfterDrawImagesBackEvent
();
70
void
BeforeDrawImagesBackEvent
();
71
72
void
AfterDrawImagesFrontEvent
();
73
void
BeforeDrawImagesFrontEvent
();
74
protected
:
75
76
};
77
78
#endif
79
ToolHelper
Definition:
ToolHelper.h:76
ProjectionGridTool::texture_created
static bool texture_created
Definition:
ProjectionGridTool.h:40
ProjectionGridTool::mesh_info
MeshManager::MeshInfo * mesh_info
Definition:
ProjectionGridTool.h:43
Tool.h
PanosphereOverviewToolHelper
Definition:
ToolHelper.h:205
PanosphereOverviewTool
Definition:
Tool.h:128
PanosphereOverviewProjectionGridTool::AfterDrawImagesFrontEvent
void AfterDrawImagesFrontEvent()
Draw using opengl anything after drawing the back face culled images.
Definition:
ProjectionGridTool.cpp:186
PreviewProjectionGridTool::AfterDrawImagesEvent
void AfterDrawImagesEvent()
Draw (using OpenGL) images above the others.
Definition:
ProjectionGridTool.cpp:79
PreviewProjectionGridTool::Activate
void Activate()
Switch on a tool.
Definition:
ProjectionGridTool.cpp:69
PanosphereOverviewProjectionGridTool::Activate
void Activate()
Switch on a tool.
Definition:
ProjectionGridTool.cpp:120
PreviewProjectionGridTool::createMesh
void createMesh()
Definition:
ProjectionGridTool.cpp:233
PanosphereOverviewProjectionGridTool::BeforeDrawImagesBackEvent
void BeforeDrawImagesBackEvent()
Draw using opengl anything before drawing the front face culled images.
Definition:
ProjectionGridTool.cpp:128
Tool::helper
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition:
Tool.h:102
ProjectionGridTool::~ProjectionGridTool
virtual ~ProjectionGridTool()
Definition:
ProjectionGridTool.cpp:61
ProjectionGridTool::helper_g
ToolHelper * helper_g
Definition:
ProjectionGridTool.h:45
PreviewProjectionGridTool::BeforeDrawImagesEvent
void BeforeDrawImagesEvent()
Draw using OpenGL anything the tool requires underneath the images.
Definition:
ProjectionGridTool.cpp:75
ProjectionGridTool::createTexture
bool createTexture()
create the texture by iterating through each pixela and checking how much each pixel should be filled...
Definition:
ProjectionGridTool.cpp:245
PreviewTool
Definition:
Tool.h:111
PreviewProjectionGridTool::PreviewProjectionGridTool
PreviewProjectionGridTool(PreviewToolHelper *helper)
Definition:
ProjectionGridTool.h:53
PreviewToolHelper
Definition:
ToolHelper.h:183
PanosphereOverviewProjectionGridTool::BeforeDrawImagesFrontEvent
void BeforeDrawImagesFrontEvent()
Draw using opengl anything before drawing the back face culled images.
Definition:
ProjectionGridTool.cpp:132
PreviewProjectionGridTool
Definition:
ProjectionGridTool.h:49
ProjectionGridTool::ProjectionGridTool
ProjectionGridTool(ToolHelper *helper)
Definition:
ProjectionGridTool.cpp:56
PanosphereOverviewProjectionGridTool::AfterDrawImagesBackEvent
void AfterDrawImagesBackEvent()
Draw using opengl anything after drawing the front face culled images.
Definition:
ProjectionGridTool.cpp:136
MeshManager::MeshInfo
Handles the remapper and a display list for a specific image.
Definition:
MeshManager.h:64
ProjectionGridTool::texture_num
static unsigned int texture_num
Definition:
ProjectionGridTool.h:41
ProjectionGridTool
tool to draw a grid to create correspondence between the overview and the preview ...
Definition:
ProjectionGridTool.h:30
PanosphereOverviewProjectionGridTool
Definition:
ProjectionGridTool.h:63
PanosphereOverviewProjectionGridTool::PanosphereOverviewProjectionGridTool
PanosphereOverviewProjectionGridTool(PanosphereOverviewToolHelper *helper)
Definition:
ProjectionGridTool.h:67
Generated on Sun Nov 10 2024 01:25:37 for Hugintrunk by
1.8.5