#include <ControlPoint.h>
Public Types | |
| enum | OptimizeMode { X_Y = 0, X, Y } |
| minimize x,y or both. More... | |
Public Member Functions | |
| ControlPoint () | |
| ControlPoint (unsigned int img1, double sX, double sY, unsigned int img2, double dX, double dY, int mode=X_Y) | |
| bool | operator== (const ControlPoint &o) const |
| const std::string & | getModeName (OptimizeMode mode) const |
| const std::string | getCPString () const |
| returns string which contains all features of a control point used for detecting duplicate control points in the string the image numbers are sorted ascending to cover also mirrored control points | |
| void | mirror () |
| swap (image1Nr,x1,y1) with (image2Nr,x2,y2) | |
Public Attributes | |
| unsigned int | image1Nr |
| unsigned int | image2Nr |
| double | x1 |
| double | y1 |
| double | x2 |
| double | y2 |
| double | error |
| int | mode |
Static Public Attributes | |
| std::string | modeNames [] = { "x_y", "x", "y" } |
Definition at line 38 of file ControlPoint.h.
|
|
minimize x,y or both. higher numbers mean multiple line control points
Definition at line 45 of file ControlPoint.h. |
|
|
Definition at line 54 of file ControlPoint.h. |
|
||||||||||||||||||||||||||||||||
|
Definition at line 65 of file ControlPoint.h. |
|
|
returns string which contains all features of a control point used for detecting duplicate control points in the string the image numbers are sorted ascending to cover also mirrored control points
Definition at line 59 of file ControlPoint.cpp. References image1Nr, image2Nr, modeNames, x1, x2, y1, and y2. |
|
|
Definition at line 54 of file ControlPoint.cpp. References modeNames. |
|
|
swap (image1Nr,x1,y1) with (image2Nr,x2,y2)
Definition at line 42 of file ControlPoint.cpp. References image1Nr, image2Nr, x1, x2, y1, and y2. Referenced by CPEditorPanel::FineTuneSelectedPoint(), HuginBase::Panorama::getCtrlPointsVectorForImage(), and CPEditorPanel::OnTextPointChange(). |
|
|
Definition at line 31 of file ControlPoint.cpp. References error, image1Nr, image2Nr, mode, x1, x2, y1, and y2. |
|
|
|
|
|
|
Definition at line 52 of file ControlPoint.cpp. Referenced by getCPString(), and getModeName(). |
|
|
|
|
1.3.9.1