#include <BiReg.h>
Public Member Functions | |
Decimal | x (void) |
Returns traslation along X axis _x. | |
Decimal | y (void) |
Returns traslation along Y axis _y. | |
Angle | rot (void) |
Returns rotation _rot. | |
int | id (void) |
Returns _id. | |
int | numInliers (void) |
Returns the number of inliers in the solution _numInliers =. | |
int | inlier (int i) |
Returns the index of the i-th inlier. | |
int | size () |
Returns size of the vector of inliers _inlier. | |
void | setX (Decimal a) |
Sets traslation along X. | |
void | setY (Decimal a) |
Sets traslation along Y. | |
void | setRot (Angle a) |
Sets rotation. | |
void | setId (int a) |
Sets the id. | |
void | setNumInliers (int a) |
Sets number of inliers. | |
void | clear () |
Clears the vector of inliers. | |
void | resize (int i) |
Resizes the vector of inliers. | |
void | setInlier (int i, int a) |
Sets the i-th inlier. | |
BiRegOut () | |
Null constructor. | |
BiRegOut (const BiRegOut &A) | |
Copy constructor. | |
~BiRegOut () | |
Destructor. | |
void | operator= (BiRegOut A) |
Assignment operator =. | |
bool | operator!= (BiRegOut A) |
Operator !=. | |
string | print () |
Print function. | |
void | init () |
Initialization to null solution. | |
Protected Attributes | |
Decimal | _x |
Decimal | _y |
Angle | _rot |
int | _id |
vector< int > | _inlier |
int | _numInliers |
MipAlgorithms::BiRegOut::BiRegOut | ( | ) |
Null constructor.
MipAlgorithms::BiRegOut::BiRegOut | ( | const BiRegOut & | A | ) |
MipAlgorithms::BiRegOut::~BiRegOut | ( | ) |
Destructor.
Decimal MipAlgorithms::BiRegOut::x | ( | void | ) |
Returns traslation along X axis _x.
Decimal MipAlgorithms::BiRegOut::y | ( | void | ) |
Returns traslation along Y axis _y.
Angle MipAlgorithms::BiRegOut::rot | ( | void | ) |
Returns rotation _rot.
int MipAlgorithms::BiRegOut::id | ( | void | ) |
Returns _id.
int MipAlgorithms::BiRegOut::numInliers | ( | void | ) |
Returns the number of inliers in the solution _numInliers =.
int MipAlgorithms::BiRegOut::inlier | ( | int | i | ) |
Returns the index of the i-th inlier.
int MipAlgorithms::BiRegOut::size | ( | ) |
Returns size of the vector of inliers _inlier.
void MipAlgorithms::BiRegOut::setX | ( | Decimal | a | ) |
Sets traslation along X.
[in] | a | Value to be set. |
void MipAlgorithms::BiRegOut::setY | ( | Decimal | a | ) |
Sets traslation along Y.
[in] | a | Value to be set. |
void MipAlgorithms::BiRegOut::setRot | ( | Angle | a | ) |
Sets rotation.
[in] | a | Value to be set. |
void MipAlgorithms::BiRegOut::setId | ( | int | a | ) |
Sets the id.
[in] | a | Value to be set. |
void MipAlgorithms::BiRegOut::setNumInliers | ( | int | a | ) |
Sets number of inliers.
[in] | a | Value to be set. |
void MipAlgorithms::BiRegOut::clear | ( | ) |
Clears the vector of inliers.
void MipAlgorithms::BiRegOut::resize | ( | int | i | ) |
Resizes the vector of inliers.
[in] | i | New size. |
void MipAlgorithms::BiRegOut::setInlier | ( | int | i, | |
int | a | |||
) |
Sets the i-th inlier.
[in] | i | Inlier to be set. |
[in] | a | New value. |
void MipAlgorithms::BiRegOut::operator= | ( | BiRegOut | A | ) |
Assignment operator =.
bool MipAlgorithms::BiRegOut::operator!= | ( | BiRegOut | A | ) |
Operator !=.
string MipAlgorithms::BiRegOut::print | ( | ) |
Print function.
void MipAlgorithms::BiRegOut::init | ( | ) |
Initialization to null solution.
Decimal MipAlgorithms::BiRegOut::_x [protected] |
Decimal MipAlgorithms::BiRegOut::_y [protected] |
Angle MipAlgorithms::BiRegOut::_rot [protected] |
int MipAlgorithms::BiRegOut::_id [protected] |
vector<int> MipAlgorithms::BiRegOut::_inlier [protected] |
int MipAlgorithms::BiRegOut::_numInliers [protected] |