Hugin trunk
0.1
Loading...
Searching...
No Matches
hugin1
hugin
PreviewDifferenceTool.h
Go to the documentation of this file.
1
// -*- c-basic-offset: 4 -*-
22
#ifndef _PREVIEWDIFFERENCETOOL_H
23
#define _PREVIEWDIFFERENCETOOL_H
24
25
#include "
Tool.h
"
26
34
class
PreviewDifferenceTool
:
public
Tool
35
{
36
public
:
37
explicit
PreviewDifferenceTool
(
ToolHelper
*
helper
);
42
static
bool
CheckOpenGLCanDifference
();
43
void
Activate
();
44
void
ImagesUnderMouseChangedEvent
();
45
void
AfterDrawImagesEvent
();
46
void
BeforeDrawImagesEvent
();
47
bool
BeforeDrawImageEvent
(
unsigned
int
image);
48
private
:
49
unsigned
int
image_number
;
50
bool
over_image
;
51
};
52
53
#endif
54
Tool.h
PreviewDifferenceTool
Finds the topmost image underneath the mouse pontier, cancel it's normal drawing, and then subtract i...
Definition
PreviewDifferenceTool.h:35
PreviewDifferenceTool::image_number
unsigned int image_number
Definition
PreviewDifferenceTool.h:49
PreviewDifferenceTool::BeforeDrawImagesEvent
void BeforeDrawImagesEvent()
Draw using OpenGL anything the tool requires underneath the images.
Definition
PreviewDifferenceTool.cpp:175
PreviewDifferenceTool::over_image
bool over_image
Definition
PreviewDifferenceTool.h:50
PreviewDifferenceTool::CheckOpenGLCanDifference
static bool CheckOpenGLCanDifference()
check, if graphic card supports the necessary modes for difference tool call this procedure first,...
Definition
PreviewDifferenceTool.cpp:51
PreviewDifferenceTool::AfterDrawImagesEvent
void AfterDrawImagesEvent()
Draw (using OpenGL) images above the others.
Definition
PreviewDifferenceTool.cpp:125
PreviewDifferenceTool::ImagesUnderMouseChangedEvent
void ImagesUnderMouseChangedEvent()
Notify when the images directly underneath the mouse pointer have changed.
Definition
PreviewDifferenceTool.cpp:85
PreviewDifferenceTool::Activate
void Activate()
Switch on a tool.
Definition
PreviewDifferenceTool.cpp:71
PreviewDifferenceTool::BeforeDrawImageEvent
bool BeforeDrawImageEvent(unsigned int image)
Draw what the tool requires just before a given image is drawn.
Definition
PreviewDifferenceTool.cpp:182
ToolHelper
Definition
ToolHelper.h:77
Tool
Definition
Tool.h:43
Tool::helper
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition
Tool.h:109
Generated on Tue Sep 1 2026 20:52:05 for Hugin trunk by
1.9.8