PreviewDifferenceTool Class Reference
Finds the topmost image underneath the mouse pontier, cancel it's normal drawing, and then subtract it from the rest of the images. More...
#include <PreviewDifferenceTool.h>
Inheritance diagram for PreviewDifferenceTool:

Public Member Functions | |
| PreviewDifferenceTool (PreviewToolHelper *helper) | |
| void | Activate () |
| Switch on a tool. | |
| void | ImagesUnderMouseChangedEvent () |
| Notify when the images directly underneath the mouse pointer have changed. | |
| void | AfterDrawImagesEvent () |
| Draw (using OpenGL) images above the others. | |
| bool | BeforeDrawImageEvent (unsigned int image) |
| Draw what the tool requires just before a given image is drawn. | |
Static Public Member Functions | |
| bool | CheckOpenGLCanDifference () |
| check, if graphic card supports the necessary modes for difference tool call this procedure first, when there is a OpenGL context | |
Detailed Description
Finds the topmost image underneath the mouse pontier, cancel it's normal drawing, and then subtract it from the rest of the images.It is meant to be the fast preview's equivalent of the accurate preview's difference mode.
- Warning:
- Since the fast preview is approximate, this will show errors that don't really exist.
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
|
Switch on a tool. Inherited classes also register events they want to respond to with the PreviewToolHelper. As events are lost when the tool is deactivated without notification to the PreviewTool, things from the last activation can be cleaned up here too. Implements PreviewTool. |
|
|
Draw (using OpenGL) images above the others.
Reimplemented from PreviewTool. |
|
|
Draw what the tool requires just before a given image is drawn. This can be used to modify how the images are drawn, prevent drawing of the image, or change the order of the image drawing (with another event to draw the image when it is needed).
Reimplemented from PreviewTool. |
|
|
check, if graphic card supports the necessary modes for difference tool call this procedure first, when there is a OpenGL context
|
|
|
Notify when the images directly underneath the mouse pointer have changed. It is monitored by the PreviewToolHelper. Reimplemented from PreviewTool. |
The documentation for this class was generated from the following files:
- hugin1/hugin/PreviewDifferenceTool.h
- hugin1/hugin/PreviewDifferenceTool.cpp
1.3.9.1