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
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
ToolHelper
Definition:
ToolHelper.h:76
Tool.h
PreviewDifferenceTool::Activate
void Activate()
Switch on a tool.
Definition:
PreviewDifferenceTool.cpp:71
PreviewDifferenceTool::over_image
bool over_image
Definition:
PreviewDifferenceTool.h:50
PreviewDifferenceTool::PreviewDifferenceTool
PreviewDifferenceTool(ToolHelper *helper)
Definition:
PreviewDifferenceTool.cpp:44
Tool::helper
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition:
Tool.h:102
PreviewDifferenceTool
Finds the topmost image underneath the mouse pontier, cancel it's normal drawing, and then subtract i...
Definition:
PreviewDifferenceTool.h:34
PreviewDifferenceTool::image_number
unsigned int image_number
Definition:
PreviewDifferenceTool.h:49
Tool
Definition:
Tool.h:42
PreviewDifferenceTool::BeforeDrawImageEvent
bool BeforeDrawImageEvent(unsigned int image)
Draw what the tool requires just before a given image is drawn.
Definition:
PreviewDifferenceTool.cpp:182
PreviewDifferenceTool::ImagesUnderMouseChangedEvent
void ImagesUnderMouseChangedEvent()
Notify when the images directly underneath the mouse pointer have changed.
Definition:
PreviewDifferenceTool.cpp:85
PreviewDifferenceTool::BeforeDrawImagesEvent
void BeforeDrawImagesEvent()
Draw using OpenGL anything the tool requires underneath the images.
Definition:
PreviewDifferenceTool.cpp:175
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
Generated on Sun Nov 10 2024 01:25:36 for Hugintrunk by
1.8.5