|
|
|
@ -91,7 +91,7 @@ TEST(Viz_viz3d, accuracy) |
|
|
|
|
int col_red = 0; |
|
|
|
|
|
|
|
|
|
temp_viz::LineWidget lw(cv::Point3f(0.0,0.0,0.0), cv::Point3f(4.0,4.0,4.0), temp_viz::Color(0,255,0)); |
|
|
|
|
temp_viz::PlaneWidget pw(cv::Vec4f(0.0,1.0,2.0,3.0)); |
|
|
|
|
temp_viz::PlaneWidget pw(cv::Vec4f(0.0,1.0,2.0,3.0), 5.0); |
|
|
|
|
temp_viz::SphereWidget sw(cv::Point3f(0,0,0), 0.5); |
|
|
|
|
temp_viz::ArrowWidget aw(cv::Point3f(0,0,0), cv::Point3f(1,1,1), temp_viz::Color(255,0,0)); |
|
|
|
|
temp_viz::CircleWidget cw(cv::Point3f(0,0,0), 0.5, 0.01, temp_viz::Color(0,255,0)); |
|
|
|
@ -100,10 +100,10 @@ TEST(Viz_viz3d, accuracy) |
|
|
|
|
temp_viz::CoordinateSystemWidget csw(1.0f, cv::Affine3f::Identity()); |
|
|
|
|
|
|
|
|
|
// v.showWidget("line", lw);
|
|
|
|
|
// v.showWidget("plane", pw);
|
|
|
|
|
v.showWidget("plane", pw); |
|
|
|
|
// v.showWidget("sphere", sw);
|
|
|
|
|
// v.showWidget("arrow", aw);
|
|
|
|
|
v.showWidget("circle", cw); |
|
|
|
|
// v.showWidget("circle", cw);
|
|
|
|
|
// v.showWidget("cylinder", cyw);
|
|
|
|
|
// v.showWidget("cube", cuw);
|
|
|
|
|
v.showWidget("coordinateSystem", csw); |
|
|
|
|