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->setPointScale ( scale ); }
114 for (
auto& visualsI:
visuals_ ) { visualsI->setPathScale ( scale ); }
122 Ogre::Quaternion orientation;
123 Ogre::Vector3 position;
126 position, orientation ) ) {
127 ROS_DEBUG (
"Error transforming from frame '%s' to frame '%s'",
128 msg->header.frame_id.c_str(), qPrintable (
fixed_frame_ ) );
142 visual->setMessage ( msg );
143 visual->setFramePosition ( position );
144 visual->setFrameOrientation ( orientation );
void processMessage(const tuw_multi_robot_msgs::Graph::ConstPtr &msg)
void updateHistoryLength()
Ogre::ColourValue getOgreColor() const
virtual void onInitialize()
rviz::FloatProperty * scale_path_property_
DisplayContext * context_
virtual int getInt() const
virtual float getFloat() const
Ogre::SceneNode * scene_node_
virtual FrameManager * getFrameManager() const =0
rviz::ColorProperty * color_path_property_
virtual Ogre::SceneManager * getSceneManager() const =0
virtual void onInitialize()
bool getTransform(const Header &header, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
boost::circular_buffer< boost::shared_ptr< VoronoiGraphVisual > > visuals_
rviz::IntProperty * history_length_property_
virtual ~VoronoiGraphDisplay()
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
rviz::FloatProperty * scale_point_property_