HuginBase::ControlPoint Class Reference
represents a control point
More...
#include <ControlPoint.h>
List of all members.
|
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" } |
Detailed Description
represents a control point
Member Enumeration Documentation
|
|
minimize x,y or both.
higher numbers mean multiple line control points - Enumeration values:
-
| X_Y |
evaluate x,y |
| X |
evaluate x, points are on a vertical line |
| Y |
evaluate y, points are on a horizontal line |
|
Constructor & Destructor Documentation
| HuginBase::ControlPoint::ControlPoint |
( |
|
) |
[inline] |
|
| HuginBase::ControlPoint::ControlPoint |
( |
unsigned int |
img1, |
|
|
double |
sX, |
|
|
double |
sY, |
|
|
unsigned int |
img2, |
|
|
double |
dX, |
|
|
double |
dY, |
|
|
int |
mode = X_Y |
|
) |
[inline] |
|
Member Function Documentation
| const std::string HuginBase::ControlPoint::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
|
| const std::string & HuginBase::ControlPoint::getModeName |
( |
OptimizeMode |
mode |
) |
const |
|
| void HuginBase::ControlPoint::mirror |
( |
|
) |
|
|
|
|
swap (image1Nr,x1,y1) with (image2Nr,x2,y2)
|
Member Data Documentation
The documentation for this class was generated from the following files: