[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

enum HuginBase::ControlPoint::OptimizeMode
 

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)

bool HuginBase::ControlPoint::operator== const ControlPoint o  )  const
 


Member Data Documentation

double HuginBase::ControlPoint::error
 

unsigned int HuginBase::ControlPoint::image1Nr
 

unsigned int HuginBase::ControlPoint::image2Nr
 

int HuginBase::ControlPoint::mode
 

std::string HuginBase::ControlPoint::modeNames = { "x_y", "x", "y" } [static]
 

double HuginBase::ControlPoint::x1
 

double HuginBase::ControlPoint::x2
 

double HuginBase::ControlPoint::y1
 

double HuginBase::ControlPoint::y2
 


The documentation for this class was generated from the following files:

Generated on Mon Sep 20 01:01:36 2010 for Hugintrunk by doxygen 1.3.9.1