+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
+#ifndef MARKLIN3D_PATH_H_
+#define MARKLIN3D_PATH_H_
+
+#include <msp/gl/color.h>
+#include <msp/gl/mesh.h>
+#include <msp/gl/renderable.h>
+
+namespace Marklin {
+
+class Track3D;
+
+class Path3D: public Msp::GL::Renderable
+{
+private:
+ const Track3D &track;
+ unsigned paths;
+ bool automatic;
+ Msp::GL::Color color;
+
+public:
+ Path3D(const Track3D &);
+ ~Path3D();
+
+ void set_automatic();
+ void set_path(unsigned);
+ void set_mask(unsigned);
+ void set_color(const Msp::GL::Color &);
+
+ virtual void render(const Msp::GL::Tag &) const;
+};
+
+} // namespace Marklin
+
+#endif