55 private:
void PreRender();
58 private:
void OnRoadMsg(ConstRoadPtr &_msg);
61 private:
class Segment :
public Ogre::SimpleRenderable
65 public:
void Load(msgs::Road _msg);
70 public:
virtual Ogre::Real getBoundingRadius()
const;
74 public:
virtual Ogre::Real getSquaredViewDepth(
75 const Ogre::Camera* cam)
const;
78 public: std::string name;
81 public: std::vector<math::Vector3> points;
90 typedef std::list<boost::shared_ptr<msgs::Road const> > RoadMsgs_L;
93 private: RoadMsgs_L msgs;
96 private: std::vector<Road2d::Segment*> segments;
108 private: std::vector<event::ConnectionPtr> connections;