- void render();
- void render_endpoints();
- void render_route(int);
-private:
- Track &track;
- Color color;
- std::vector<Point> border;
- Msp::GL::VertexArray varray;
- std::vector<unsigned> base_seq;
- std::vector<unsigned> rail_seq;
- std::vector<std::vector<unsigned> > route_seq;
- unsigned quality;
-
- void prepare_render();
- void build_object();
- void build_part(const Track::Part &, Msp::GL::VertexArrayBuilder &, unsigned &);
+ const TrackType3D &get_type() const { return type; }
+ void get_bounds(float, Point &, Point &) const;
+ Path3D &get_path() { return *path; }
+
+ virtual Point get_node() const;
+ virtual bool is_visible() const { return true; }
+
+ void apply_matrix() const;
+ virtual void render(const Msp::GL::Tag &) const;