Public Member Functions | |
tlLocation () | |
tlLocation (int x, int y, int disp=0) | |
virtual | ~tlLocation () |
int | setLocation (int x, int y, int disp=0) |
int | setLocation (tlPoint *point) |
int | shift (int dx, int dy, int ddisp=0) |
int | setWorldLocation (float wx, float wy, float wz) |
tlLocation * | toLocation () |
int | toLocation (tlLocation *location) |
Public Attributes | |
int | x |
int | y |
int | disp |
float | wx |
float | wy |
float | wz |
tlLocation::tlLocation | ( | ) |
tlLocation::tlLocation | ( | int | x, | |
int | y, | |||
int | disp = 0 | |||
) |
Constructor.
x | x location of the object [pix] | |
y | y location of the object [pix] | |
disp | disparity of the object [disp] |
tlLocation::~tlLocation | ( | ) | [virtual] |
int tlLocation::setLocation | ( | int | x, | |
int | y, | |||
int | disp = 0 | |||
) |
Set the location object parameters.
x | x location of the object [pix] | |
y | y location of the object [pix] | |
disp | disparity of the object [disp] |
int tlLocation::setLocation | ( | tlPoint * | point | ) |
Set the location object parameters.
point | tlPoint object |
int tlLocation::shift | ( | int | dx, | |
int | dy, | |||
int | ddisp = 0 | |||
) |
Shift the object location.
dx | shift along x axis [pix] | |
dy | shift along y axis [pix] | |
ddisp | disparity shift [disp] |
int tlLocation::setWorldLocation | ( | float | wx, | |
float | wy, | |||
float | wz | |||
) |
Set the world location object parameters.
wx | world X location | |
wy | world Y location | |
wz | world Z location |
tlLocation * tlLocation::toLocation | ( | ) |
Get a copy of the location of the object.
int tlLocation::toLocation | ( | tlLocation * | location | ) |
Get the location of the object.
location | [out] tlLocation object that will receive the data |
int tlLocation::x |
X location of the object [pix].
int tlLocation::y |
Y location of the object [pix].
int tlLocation::disp |
Disparity of the object [disp].
int tlLocation::wx |
X location of the object in real-world coordonates [m].
int tlLocation::wy |
Y location of the object in real-world coordonates [m].
int tlLocation::wz |
Z location of the object in real-world coordonates [m].