46 #ifndef NAV2_RVIZ_PLUGINS__PARTICLE_CLOUD_DISPLAY__FLAT_WEIGHTED_ARROWS_ARRAY_HPP_
47 #define NAV2_RVIZ_PLUGINS__PARTICLE_CLOUD_DISPLAY__FLAT_WEIGHTED_ARROWS_ARRAY_HPP_
51 #include <OgreManualObject.h>
52 #include <OgreMaterialManager.h>
53 #include <OgreSceneNode.h>
55 #include <OgreQuaternion.h>
57 #include "nav2_rviz_plugins/particle_cloud_display/particle_cloud_display.hpp"
59 namespace nav2_rviz_plugins
62 struct OgrePoseWithWeight;
70 void createAndAttachManualObject(Ogre::SceneNode * scene_node);
71 void updateManualObject(
72 Ogre::ColourValue color,
76 const std::vector<nav2_rviz_plugins::OgrePoseWithWeight> & poses);
80 void setManualObjectMaterial();
81 void setManualObjectVertices(
82 const Ogre::ColourValue & color,
85 const std::vector<nav2_rviz_plugins::OgrePoseWithWeight> & poses);
87 Ogre::SceneManager * scene_manager_;
88 Ogre::ManualObject * manual_object_;
89 Ogre::MaterialPtr material_;