| 3 | #include <pcl/visualization/pcl_visualizer.h> |
| 4 | |
| 5 | int |
| 6 | main (int argc, char** argv) |
| 7 | { |
| 8 | pcl::visualization::PCLVisualizer viz ("Visualizator"); |
| 9 | viz.addCoordinateSystem (1.0); |
| 10 | |
| 11 | viz.addText3D ("Following text", pcl::PointXYZ(0.0, 0.0, 0.0), |
| 12 | 1.0, 1.0, 0.0, 0.0, "id_following"); |
| 13 | viz.spin (); |
| 14 | double orientation[3] = {0., 0., 0.}; |
| 15 | viz.addText3D ("Fixed text", pcl::PointXYZ(0.0, 0.0, 0.0), orientation, |
| 16 | 1.0, 0.0, 1.0, 0.0, "id_fixed"); |
| 17 | viz.spin (); |
| 18 | viz.removeText3D ("id_following"); |
| 19 | viz.spin (); |
| 20 | viz.removeText3D ("id_fixed"); |
| 21 | viz.spin (); |
| 22 | |
| 23 | return (0); |
| 24 | } |
nothing calls this directly
no test coverage detected