30 #include <OGRE/OgreSceneNode.h> 31 #include <OGRE/OgreSceneManager.h> 53 "Color to draw the path.",
57 "Scale of the path points.",
64 "Number of prior measurements to display.",
97 for (
auto& visualsI:
visuals_ ) { visualsI->setPathColor ( color ); }
108 for (
auto& visualsI:
visuals_ ) { visualsI->setPathScale ( scale ); }
116 Ogre::Quaternion orientation;
117 Ogre::Vector3 position;
120 position, orientation ) ) {
121 ROS_DEBUG (
"Error transforming from frame '%s' to frame '%s'",
122 msg->header.frame_id.c_str(), qPrintable (
fixed_frame_ ) );
136 visual->setMessage ( msg );
137 visual->setFramePosition ( position );
138 visual->setFrameOrientation ( orientation );
void processMessage(const tuw_multi_robot_msgs::Graph::ConstPtr &msg)
Ogre::ColourValue getOgreColor() const
virtual void onInitialize()
DisplayContext * context_
virtual int getInt() const
virtual float getFloat() const
void updateHistoryLength()
Ogre::SceneNode * scene_node_
rviz::FloatProperty * scale_path_property_
virtual FrameManager * getFrameManager() const =0
rviz::ColorProperty * color_path_property_
virtual ~VoronoiSegmentDisplay()
virtual Ogre::SceneManager * getSceneManager() const =0
bool getTransform(const Header &header, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
rviz::IntProperty * history_length_property_
virtual void onInitialize()
boost::circular_buffer< boost::shared_ptr< VoronoiSegmentVisual > > visuals_
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)