32 #include <OGRE/OgreVector3.h> 33 #include <OGRE/OgreMatrix3.h> 34 #include <OGRE/OgreSceneNode.h> 35 #include <OGRE/OgreSceneManager.h> 70 for (
int i = 0; i < msg->segments.size(); i++)
72 Ogre::Vector3 start = Ogre::Vector3(msg->segments[i].p0.x, msg->segments[i].p0.y, msg->segments[i].p0.z);
73 Ogre::Vector3 end = Ogre::Vector3(msg->segments[i].p1.x, msg->segments[i].p1.y, msg->segments[i].p1.z);
void setFramePosition(const Ogre::Vector3 &position)
void setMessage(const tuw_geometry_msgs::LineSegments::ConstPtr &msg)
void setScaleSegments(float scale)
boost::shared_ptr< rviz::BillboardLine > linesegments_
LineSegments2DVisual(Ogre::SceneManager *scene_manager, Ogre::SceneNode *parent_node)
Ogre::SceneNode * frame_node_
void setColorSegments(Ogre::ColourValue color)
virtual ~LineSegments2DVisual()
Ogre::SceneManager * scene_manager_
void setFrameOrientation(const Ogre::Quaternion &orientation)
void setWidthSegments(float width)