remove redundant methods, implement assignment operator for widget
This commit is contained in:
@@ -97,6 +97,8 @@ TEST(Viz_viz3d, accuracy)
|
||||
temp_viz::LineWidget lw(cv::Point3f(0.0,0.0,0.0), cv::Point3f(1.0,1.0,1.0), temp_viz::Color(0,255,0));
|
||||
v.showWidget("line", lw);
|
||||
|
||||
temp_viz::LineWidget lw2 = lw;
|
||||
|
||||
while(!v.wasStopped())
|
||||
{
|
||||
// Creating new point cloud with id cloud1
|
||||
@@ -112,7 +114,7 @@ TEST(Viz_viz3d, accuracy)
|
||||
v.setShapePose("circle1", cloudPosition);
|
||||
v.setShapePose("sphere1", cloudPosition);
|
||||
v.setShapePose("arrow1", cloudPosition);
|
||||
lw.setColor(temp_viz::Color(col_blue, col_green, col_red));
|
||||
lw2.setColor(temp_viz::Color(col_blue, col_green, col_red));
|
||||
|
||||
angle_x += 0.1f;
|
||||
angle_y -= 0.1f;
|
||||
|
||||
Reference in New Issue
Block a user