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;
91 typedef std::list<boost::shared_ptr<msgs::Road const> > RoadMsgs_L;
94 private: RoadMsgs_L msgs;
97 private: std::vector<Road2d::Segment*> segments;
109 private: std::vector<event::ConnectionPtr> connections;