PreviewLayoutLinesTool Class Reference
The PreviewLayoutLinesTool handles the lines connecting images in the layout view of the fast preview. More...
#include <PreviewLayoutLinesTool.h>
Inheritance diagram for PreviewLayoutLinesTool:

Public Member Functions | |
| PreviewLayoutLinesTool (PreviewToolHelper *helper) | |
| ~PreviewLayoutLinesTool () | |
| void | panoramaChanged (HuginBase::PanoramaData &pano) |
| This just sets a flag when the panorama is changed. | |
| void | panoramaImagesChanged (HuginBase::PanoramaData &, const HuginBase::UIntSet &) |
| void | Activate () |
| Start using the PreviewLayoutLinesTool. | |
| virtual void | MouseMoveEvent (double x, double y, wxMouseEvent &e) |
| Revaluate the lines under the mouse pointer when it moves. | |
| void | MouseButtonEvent (wxMouseEvent &e) |
| Capture clicks on lines, and load up the relavent images in the control point tab. | |
| void | BeforeDrawImagesEvent () |
| Draw all the lines between images that indicate the quality and quantity of control points. | |
| bool | BeforeDrawImageEvent (unsigned int image) |
| Draw what the tool requires just before a given image is drawn. | |
| void | AfterDrawImagesEvent () |
| Draw a border over the images when a line is hilighted, similar to the identify tool. | |
Detailed Description
The PreviewLayoutLinesTool handles the lines connecting images in the layout view of the fast preview.These are its functions:
- Draw the coloured lines indicating control point error behind the images.
- Draw the grey lines for images overlapping that share no control points.
- Interprate clicks on lines and load up the relevant pair in the control point tab.
- Todo:
- Update line information when control point informations changes, and only when it changes. The main preview system doesn't redraw when control points change. This should save on the draw time, since we don't always need to examine the control points to draw the preview.
Constructor & Destructor Documentation
|
|
|
|
|
|
Member Function Documentation
|
|
Start using the PreviewLayoutLinesTool.
Implements PreviewTool. |
|
|
Draw a border over the images when a line is hilighted, similar to the identify tool.
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. |
|
|
Draw all the lines between images that indicate the quality and quantity of control points.
Reimplemented from PreviewTool. |
|
|
Capture clicks on lines, and load up the relavent images in the control point tab.
Reimplemented from PreviewTool. |
|
||||||||||||||||
|
Revaluate the lines under the mouse pointer when it moves.
Reimplemented from PreviewTool. |
|
|
This just sets a flag when the panorama is changed. When we next redraw, we recalculate the statistics for the lines if the flag is set. |
|
||||||||||||
|
|
The documentation for this class was generated from the following files:
- hugin1/hugin/PreviewLayoutLinesTool.h
- hugin1/hugin/PreviewLayoutLinesTool.cpp
1.3.9.1