40 #include <visp3/tt/vpTemplateTrackerTriangle.h>
46 : minx_temp(0), miny_temp(0), C1(), C2(), C3(), l_t(0), h_t(0), not_good(false), uvinv00(0.), uvinv01(0.),
47 uvinv10(0.), uvinv11(0.), marge_triangle(0.00001), area(0)
55 : minx_temp(0), miny_temp(0), C1(), C2(), C3(), l_t(0), h_t(0), not_good(false), uvinv00(0.), uvinv01(0.),
56 uvinv10(0.), uvinv11(0.), marge_triangle(0.00001), area(0)
107 : minx_temp(0), miny_temp(0), C1(), C2(), C3(), l_t(0), h_t(0), not_good(false), uvinv00(0.), uvinv01(0.),
108 uvinv10(0.), uvinv11(0.), marge_triangle(0.00001), area(0)
110 init(c1[0], c1[1], c2[0], c2[1], c3[0], c3[1]);
128 : minx_temp(0), miny_temp(0), C1(), C2(), C3(), l_t(0), h_t(0), not_good(false), uvinv00(0.), uvinv01(0.),
129 uvinv10(0.), uvinv11(0.), marge_triangle(0.00001), area(0)
131 init(x1, y1, x2, y2, x3, y3);
142 : minx_temp(0), miny_temp(0), C1(), C2(), C3(), l_t(0), h_t(0), not_good(false), uvinv00(0.), uvinv01(0.),
143 uvinv10(0.), uvinv11(0.), marge_triangle(0.00001), area(0)
154 : minx_temp(0), miny_temp(0), C1(), C2(), C3(), l_t(0), h_t(0), not_good(false), uvinv00(0.), uvinv01(0.),
155 uvinv10(0.), uvinv11(0.), marge_triangle(0.00001), area(0)
157 init(x1, y1, x2, y2, x3, y3);
170 init(c1[0], c1[1], c2[0], c2[1], c3[0], c3[1]);
191 init((
double)x1, (
double)y1, (
double)x2, (
double)y2, (
double)x3, (
double)y3);
209 double minx, miny, maxx, maxy;
211 minx = (x1 < x2) ? x1 : x2;
212 miny = (y1 < y2) ? y1 : y2;
213 minx = (minx < x3) ? minx : x3;
214 miny = (miny < y3) ? miny : y3;
215 maxx = (x1 > x2) ? x1 : x2;
216 maxy = (y1 > y2) ? y1 : y2;
217 maxx = (maxx > x3) ? maxx : x3;
218 maxy = (maxy > y3) ? maxy : y3;
238 uvinv = uv.inverseByLU();
242 std::cout <<
"Triangle vide" << std::endl;
255 area = 0.5 * fabs(uv.det());
276 double ptempo0 = j -
C1.
x;
277 double ptempo1 = i -
C1.
y;
297 double ptempo0 = j -
C1.
x;
298 double ptempo1 = i -
C1.
y;
352 vpColVector vpTemplateTrackerTriangle::getCorner1()
const
365 vpColVector vpTemplateTrackerTriangle::getCorner2()
const
378 vpColVector vpTemplateTrackerTriangle::getCorner3()
const