35 #ifndef MULTIPOINTCLOUD_H_ 36 #define MULTIPOINTCLOUD_H_ 44 using std::stringstream;
60 typedef map<PointCloud*, PointCloudAttribute*>::iterator
pc_attr_it;
72 for (
auto p : m_clouds)
74 delete p.second->cloud;
79 virtual inline void render();
84 pc_attr_it
first() {
return m_clouds.begin();}
85 pc_attr_it
last() {
return m_clouds.end();}
94 map<PointCloud*, PointCloudAttribute*>
m_clouds;
100 map<PointCloud*, PointCloudAttribute*>::iterator it;
101 for(it = m_clouds.begin(); it != m_clouds.end(); it++)
103 it->second->cloud->render();
map< PointCloud *, PointCloudAttribute * > pc_attr_map
map< PointCloud *, PointCloudAttribute * >::iterator pc_attr_it
virtual ~MultiPointCloud()
map< PointCloud *, PointCloudAttribute * > m_clouds
std::shared_ptr< PointBuffer > PointBufferPtr
OutMapT< typename InMapT::HandleType, std::result_of_t< MapF(typename InMapT::ValueType)> > map(const InMapT &mapIn, MapF func)
Calls func for each value of the given map and save the result in the output map. ...
std::shared_ptr< Model > ModelPtr