30 #include <OGRE/OgreSceneNode.h> 31 #include <OGRE/OgreSceneManager.h> 54 "Color Segments", QColor(204, 51, 0),
"Color to draw the linesegments.",
this, SLOT(
updateColorSegments()));
91 visual_->setColorSegments(color);
98 visual_->setScaleSegments(scale);
104 visual_->setWidthSegments(width);
113 Ogre::Quaternion orientation;
114 Ogre::Vector3 position;
118 ROS_DEBUG(
"Error transforming from frame '%s' to frame '%s'", msg->header.frame_id.c_str(),
125 visual_->setFramePosition(position);
126 visual_->setFrameOrientation(orientation);
void updateWidthSegments()
Ogre::ColourValue getOgreColor() const
rviz::FloatProperty * property_width_segments_
virtual ~LineSegments2DDisplay()
virtual void onInitialize()
void processMessage(const tuw_geometry_msgs::LineSegments::ConstPtr &msg)
DisplayContext * context_
boost::shared_ptr< LineSegments2DVisual > visual_
virtual void onInitialize()
virtual float getFloat() const
Ogre::SceneNode * scene_node_
void updateColorSegments()
virtual FrameManager * getFrameManager() const =0
rviz::FloatProperty * property_scale_segments_
virtual Ogre::SceneManager * getSceneManager() const =0
bool getTransform(const Header &header, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
void updateScaleSegments()
rviz::ColorProperty * property_color_segments_