DefaultViewportPoint.cpp
Go to the documentation of this file.
1 
20 #include "typedef.hpp"
21 
22 namespace next_best_view {
23 
24  std::ostream& operator<<(std::ostream &strm, const next_best_view::DefaultViewportPoint &p) {
25  strm << "pose: {" << std::endl << p.getPose() << "}" << std::endl;
26 
27  if (p.score != nullptr)
28  strm << "score: {" << std::endl << p.score << std::endl << "}" << std::endl;
29  else
30  strm << "score: nullptr" << std::endl;
31 
32  if (p.child_point_cloud != nullptr)
33  strm << "child_point_cloud.size: " << p.child_point_cloud->size() << std::endl;
34  else
35  strm << "child_point_cloud: nullptr" << std::endl;
36 
37  if (p.point_cloud != nullptr)
38  strm << "point_cloud.size: " << p.point_cloud->size() << std::endl;
39  else
40  strm << "point_cloud: nullptr" << std::endl;
41 
42  if (p.child_indices != nullptr)
43  strm << "child_indices.size: " << p.child_indices->size() << std::endl;
44  else
45  strm << "child_indices: nullptr" << std::endl;
46 
47  if (p.object_type_set != nullptr) {
48  strm << "object_type_set.size: " << p.object_type_set->size() << std::endl;
49  strm << "object_type_set: {" << std::endl;
50  for (std::string object_type : *p.object_type_set) {
51  strm << " " << object_type << std::endl;
52  }
53  strm << "}" << std::endl;
54  }
55  else
56  strm << "object_type_set: nullptr" << std::endl;
57  strm << "oldIdx: " << p.oldIdx << std::endl;
58  return strm;
59  }
60 
61  std::ostream& operator<<(std::ostream &strm, const next_best_view::DefaultViewportPointPtr &p) {
62  return strm << *p;
63  }
64 }
this namespace contains all generally usable classes.
std::ostream & operator<<(std::ostream &strm, const next_best_view::DefaultViewportPoint &p)


asr_next_best_view
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Thu Jan 9 2020 07:20:18