Hugin trunk 0.1
Loading...
Searching...
No Matches
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
35{
36public:
42 static bool CheckOpenGLCanDifference();
43 void Activate();
47 bool BeforeDrawImageEvent(unsigned int image);
48private:
49 unsigned int image_number;
51};
52
53#endif
54
Finds the topmost image underneath the mouse pontier, cancel it's normal drawing, and then subtract i...
void BeforeDrawImagesEvent()
Draw using OpenGL anything the tool requires underneath the images.
static bool CheckOpenGLCanDifference()
check, if graphic card supports the necessary modes for difference tool call this procedure first,...
void AfterDrawImagesEvent()
Draw (using OpenGL) images above the others.
void ImagesUnderMouseChangedEvent()
Notify when the images directly underneath the mouse pointer have changed.
void Activate()
Switch on a tool.
bool BeforeDrawImageEvent(unsigned int image)
Draw what the tool requires just before a given image is drawn.
Definition Tool.h:43
ToolHelper * helper
The PreviewToolHelper that uses the same preview window and panorama as the tool should.
Definition Tool.h:109