ObjectModelVisualizerRVIZ.hpp
Go to the documentation of this file.
1 
17 #pragma once
18 //Ilcas includes
20 #include <ISM/common_type/Object.hpp>
21 
22 namespace VIZ
23 {
25 
26 
27 
28 public:
29 
30  ObjectModelVisualizerRVIZ(ros::Publisher publisher, std::string baseFrame, std::string prefix, double markerLifetime)
31  : VisualizerRVIZ(publisher), baseFrame(baseFrame), prefix(prefix), markerLifetime(markerLifetime)
32  {};
33 
39  void drawObjectModels(const std::vector<ISM::ObjectPtr>& objects, const std::map<ISM::ObjectPtr, double>& objects_to_hue_map = std::map<ISM::ObjectPtr, double>());
40 
41 private:
42 
43  visualization_msgs::MarkerArray getMarkersFromObjects(const std::vector<ISM::ObjectPtr> objects, const std::map<ISM::ObjectPtr, double>& objects_to_hue_map);
44 
45  std::string baseFrame;
46  std::string prefix;
48  std::map<std::string, std::string> objectTypeToPathCache;
49 
51 };
52 }
53 
54 
55 
visualization_msgs::MarkerArray markersFromLastPublication
void drawObjectModels(const std::vector< ISM::ObjectPtr > &objects, const std::map< ISM::ObjectPtr, double > &objects_to_hue_map=std::map< ISM::ObjectPtr, double >())
ObjectModelVisualizerRVIZ(ros::Publisher publisher, std::string baseFrame, std::string prefix, double markerLifetime)
visualization_msgs::MarkerArray MarkerArray
visualization_msgs::MarkerArray getMarkersFromObjects(const std::vector< ISM::ObjectPtr > objects, const std::map< ISM::ObjectPtr, double > &objects_to_hue_map)
std::map< std::string, std::string > objectTypeToPathCache


asr_ism_visualizations
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Meißner Pascal, Reckling Reno, Stöckle Patrick, Trautmann Jeremias
autogenerated on Fri Nov 8 2019 03:28:47