Lines Matching refs:Rect

59 std::ostream &operator<<(std::ostream &os, const Rect<TNum> &rect) {  in operator <<()
74 void separate_rects(const std::vector<Rect<TNum>> &in, in separate_rects()
110 const Rect<TNum> &rect = in[i]; in separate_rects()
132 const Rect<TNum> &rect = in[h_evt.rect_id]; in separate_rects()
287 Rect<TNum> out_rect; in separate_rects()
307 void separate_frects_64(const std::vector<Rect<float>> &in, in separate_frects_64()
312 void separate_rects_64(const std::vector<Rect<int>> &in, in separate_rects_64()
325 #define Rect Rect<TNum> in main() macro
330 std::vector<Rect> in; in main()
370 expected_out.push_back(RectSet(IdSet(0), Rect(0, 0, 2, 5))); in main()
371 expected_out.push_back(RectSet(IdSet(1), Rect(2, 5, 6, 6))); in main()
372 expected_out.push_back(RectSet(IdSet(1) | 0, Rect(2, 0, 4, 5))); in main()
373 expected_out.push_back(RectSet(IdSet(1) | 2, Rect(4, 0, 6, 5))); in main()
374 expected_out.push_back(RectSet(IdSet(2), Rect(6, 0, 8, 5))); in main()
375 expected_out.push_back(RectSet(IdSet(3), Rect(0, 7, 8, 9))); in main()
376 expected_out.push_back(RectSet(IdSet(4), Rect(10, 0, 12, 5))); in main()
377 expected_out.push_back(RectSet(IdSet(5) | 4, Rect(12, 0, 16, 5))); in main()
378 expected_out.push_back(RectSet(IdSet(4), Rect(16, 0, 18, 5))); in main()
379 expected_out.push_back(RectSet(IdSet(6), Rect(20, 11, 22, 17))); in main()
380 expected_out.push_back(RectSet(IdSet(6) | 7, Rect(22, 13, 24, 17))); in main()
381 expected_out.push_back(RectSet(IdSet(6), Rect(22, 11, 24, 13))); in main()
382 expected_out.push_back(RectSet(IdSet(7), Rect(22, 17, 24, 21))); in main()
383 expected_out.push_back(RectSet(IdSet(7), Rect(24, 13, 26, 21))); in main()
384 expected_out.push_back(RectSet(IdSet(9), Rect(30, 31, 32, 39))); in main()
385 expected_out.push_back(RectSet(IdSet(8) | 9, Rect(32, 33, 36, 37))); in main()
386 expected_out.push_back(RectSet(IdSet(9), Rect(32, 37, 36, 39))); in main()
387 expected_out.push_back(RectSet(IdSet(9), Rect(32, 31, 36, 33))); in main()
388 expected_out.push_back(RectSet(IdSet(9), Rect(36, 31, 38, 39))); in main()
389 expected_out.push_back(RectSet(IdSet(10), Rect(40, 43, 44, 45))); in main()
390 expected_out.push_back(RectSet(IdSet(10) | 11, Rect(44, 43, 46, 45))); in main()
391 expected_out.push_back(RectSet(IdSet(11), Rect(44, 41, 46, 43))); in main()
392 expected_out.push_back(RectSet(IdSet(11), Rect(44, 45, 46, 47))); in main()
393 expected_out.push_back(RectSet(IdSet(10), Rect(46, 43, 48, 45))); in main()
394 expected_out.push_back(RectSet(IdSet(12) | 13 | 14, Rect(50, 51, 52, 53))); in main()