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<ignition::math::Vector3d> 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:53
Forward declarations for transport.
std::shared_ptr< Visual > VisualPtr
Definition: RenderTypes.hh:112
#define GZ_RENDERING_VISIBLE
Definition: system.hh:209
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57