3 This file is part of the MSP Märklin suite
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBMARKLIN3D_VEHICLE_H_
9 #define LIBMARKLIN3D_VEHICLE_H_
11 #include <msp/gl/renderable.h>
12 #include "libmarklin/vehicle.h"
20 class Vehicle3D: public Object3D, public Msp::GL::Renderable
25 const VehicleType3D &type;
28 Vehicle3D(Layout3D &, Vehicle &);
31 Vehicle &get_vehicle() const { return vehicle; }
33 virtual Point get_node() const;
34 virtual bool is_visible() const;
36 virtual void render(const Msp::GL::Tag &) const;
39 } // namespace Marklin