3 This file is part of the MSP Märklin suite
4 Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef MARKLIN3D_LAYOUT_H_
9 #define MARKLIN3D_LAYOUT_H_
11 #include "libmarklin/layout.h"
12 #include "catalogue.h"
21 Catalogue3D catalogue;
22 std::list<Track3D *> tracks;
29 const Catalogue3D &get_catalogue() const { return catalogue; }
30 void set_quality(unsigned);
31 const std::list<Track3D *> &get_tracks() const { return tracks; }
32 void render(bool =false) const;
33 Track3D &get_track(const Track &) const;
34 Track3D *pick_track(float, float, float) const;
36 void track_added(Track &);
37 void track_removed(Track &);
40 } // namespace Marklin