56 private:
void PreRender();
59 private:
void OnRoadMsg(ConstRoadPtr &_msg);
62 private:
class Segment :
public Ogre::SimpleRenderable
66 public:
void Load(msgs::Road _msg);
71 public:
virtual Ogre::Real getBoundingRadius()
const;
75 public:
virtual Ogre::Real getSquaredViewDepth(
76 const Ogre::Camera* cam)
const;
79 public: std::string name;
82 public: std::vector<math::Vector3> points;
88 public: std::string texture;
93 typedef std::list<boost::shared_ptr<msgs::Road const> > RoadMsgs_L;
96 private: RoadMsgs_L msgs;
99 private: std::vector<Road2d::Segment*> segments;
111 private: std::vector<event::ConnectionPtr> connections;
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:48
Forward declarations for transport.
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:52
boost::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:100
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48