3 This file is part of the MSP Märklin suite
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
11 #include <msp/gl/mesh.h>
12 #include <msp/gl/renderable.h>
13 #include "libmarklin/track.h"
18 class TrackWrap: public Msp::GL::Renderable
23 Marklin::Track *track;
29 std::map<const Marklin::TrackType *, Msp::GL::Mesh *> meshes;
30 std::list<Wrap> wraps;
33 TrackWrap(Designer &, Selection &);
35 virtual void render(const Msp::GL::Tag &) const;
38 void selection_changed();
39 Msp::GL::Mesh &get_mesh(const Marklin::TrackType &);