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 | ( | ) |
Constructor.
References disp, TL_NO_ERROR, wx, wy, wz, x, and y.
Referenced by toLocation().
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] |
References TL_NO_ERROR, wx, wy, and wz.
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] |
Referenced by tlLine::clip(), tlLine::copy(), tlObject::define(), tlSpiral::get(), tlSpiral::getLast(), tlSpiral::getNext(), tlMask::merge(), tlLine::set(), tl_find_shape(), tlObject::tlObject(), tlCameraSVSBase::toImage(), toLocation(), and tlSpiral::toNext().
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 |
Referenced by toLocation(), and tlCameraSVSBase::toWorld().
tlLocation * tlLocation::toLocation | ( | ) |
Get a copy of the location of the object.
References disp, setLocation(), setWorldLocation(), tlLocation(), wx, wy, wz, x, and y.
Referenced by tlCameraSVSBase::toImage(), and tlCameraSVSBase::toWorld().
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].
Referenced by tlMask::adjust(), tlChain::blindExtract(), tlHist2D::build(), tlHist::build(), tlPixelArray::clear(), tlRect::collapse(), tlRect::copy(), tlPoint::copy(), tlPixelArray::copy(), tlObject::copy(), tlMask::copy(), tlRect::copyTo(), tlPoint::copyTo(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), tlPoint::dist(), tlImage::drawCross(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlRect::expand(), tlObject::extract(), tlChain::extract(), tlImage::fillObject(), tlImage::fillRect(), tlColorModel::filter(), tlBackground::filter(), tlPixelArray::findBestShape(), tlPixelArray::findShape(), tlCameraSVSBase::getDisparity(), tlPixelArray::getMax(), tlPixelArray::getMin(), tlPixelArray::getPixel(), tlObject::getPredictedPosition(), tlObject::getPredictedX(), tlCameraSVSBase::getRight(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlSpiral::init(), tlRect::intersect(), tlMask::invert(), tlChain::isIn(), tlPixelArray::mask(), tlPixelArray::median(), tlMask::merge(), tlMask::minimize(), tlMask::set(), tlLine::set(), tlColor::set(), setLocation(), tlPixelArray::setPixel(), shift(), tl_channel_put(), tl_channel_swap(), tl_convolution(), tl_convolution_x(), tl_convolution_y(), tl_copy_array(), tl_copy_hrarray(), tl_copy_hrsubarray(), tl_copy_subarray(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), tl_edges_bin(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tl_filter_gray(), tl_filter_hrgray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_gray2bin(), tl_gray2rgb(), tl_hrgray2bin(), tl_hrgray2gray(), tl_hsi2bin(), tl_hsi2gray(), tl_hsi2rgb(), tl_normalize_gray(), tl_nrg2bin(), tl_nrg2gray(), tl_pixel_add(), tl_pixel_hradd(), tl_pixel_hrscale(), tl_pixel_hrsub(), tl_pixel_scale(), tl_pixel_sub(), tl_rgb2bin(), tl_rgb2gray(), tl_rgb2hsi(), tl_rgb2nrg(), tl_rgb2yuv(), tl_thin_hitandmiss(), tl_to_channel(), tl_yuv2bin(), tl_yuv2gray(), tl_yuv2nrg(), tl_yuv2rgb(), tlLocation(), tlMask::tlMask(), tlSpiral::tlSpiral(), tlCameraTSAI::toImage(), toLocation(), tlPixelArray::toRect(), tlCameraTSAI::toWorld(), tlCameraSVSBase::toWorld(), tlBackground::update(), and tlCameraTSAI::warp().
int tlLocation::y |
Y location of the object [pix].
Referenced by tlMask::adjust(), tlChain::blindExtract(), tlHist2D::build(), tlHist::build(), tlPixelArray::clear(), tlRect::collapse(), tlRect::copy(), tlPoint::copy(), tlPixelArray::copy(), tlObject::copy(), tlMask::copy(), tlRect::copyTo(), tlPoint::copyTo(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), tlPoint::dist(), tlImage::drawCross(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlRect::expand(), tlObject::extract(), tlChain::extract(), tlImage::fillObject(), tlImage::fillRect(), tlColorModel::filter(), tlBackground::filter(), tlPixelArray::findBestShape(), tlPixelArray::findShape(), tlCameraSVSBase::getDisparity(), tlPixelArray::getMax(), tlPixelArray::getMin(), tlPixelArray::getPixel(), tlObject::getPredictedPosition(), tlObject::getPredictedY(), tlCameraSVSBase::getRight(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlSpiral::init(), tlRect::intersect(), tlChain::isIn(), tlPixelArray::mask(), tlPixelArray::median(), tlMask::merge(), tlMask::minimize(), tlMask::set(), tlLine::set(), tlColor::set(), setLocation(), tlPixelArray::setPixel(), shift(), tl_channel_put(), tl_channel_swap(), tl_convolution(), tl_convolution_x(), tl_convolution_y(), tl_copy_array(), tl_copy_hrarray(), tl_copy_hrsubarray(), tl_copy_subarray(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), tl_edges_bin(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tl_filter_gray(), tl_filter_hrgray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_gray2bin(), tl_gray2rgb(), tl_hrgray2bin(), tl_hrgray2gray(), tl_hsi2bin(), tl_hsi2gray(), tl_hsi2rgb(), tl_normalize_gray(), tl_nrg2bin(), tl_nrg2gray(), tl_pixel_add(), tl_pixel_hradd(), tl_pixel_hrscale(), tl_pixel_hrsub(), tl_pixel_scale(), tl_pixel_sub(), tl_rgb2bin(), tl_rgb2gray(), tl_rgb2hsi(), tl_rgb2nrg(), tl_rgb2yuv(), tl_thin_hitandmiss(), tl_to_channel(), tl_yuv2bin(), tl_yuv2gray(), tl_yuv2nrg(), tl_yuv2rgb(), tlLocation(), tlMask::tlMask(), tlSpiral::tlSpiral(), tlCameraTSAI::toImage(), toLocation(), tlPixelArray::toRect(), tlCameraTSAI::toWorld(), tlCameraSVSBase::toWorld(), tlBackground::update(), and tlCameraTSAI::warp().
int tlLocation::disp |
Disparity of the object [disp].
Referenced by tlPoint::copy(), tlPoint::copyTo(), setLocation(), shift(), tlLocation(), toLocation(), and tlCameraSVSBase::toWorld().
int tlLocation::wx |
X location of the object in real-world coordonates [m].
Referenced by tlLocation(), tlCameraTSAI::toImage(), tlCameraSVSBase::toImage(), toLocation(), and tlCameraTSAI::toWorld().
int tlLocation::wy |
Y location of the object in real-world coordonates [m].
Referenced by tlLocation(), tlCameraTSAI::toImage(), tlCameraSVSBase::toImage(), toLocation(), and tlCameraTSAI::toWorld().
int tlLocation::wz |
Z location of the object in real-world coordonates [m].
Referenced by tlLocation(), tlCameraTSAI::toImage(), tlCameraSVSBase::toImage(), toLocation(), and tlCameraTSAI::toWorld().