1 #ifndef PLACEMENTGHOST_H_
2 #define PLACEMENTGHOST_H_
4 #include <msp/gl/mesh.h>
5 #include <msp/gl/object.h>
6 #include <msp/gl/renderable.h>
7 #include "libr2c2/vehicleplacement.h"
10 class PlacementGhost: public Msp::GL::Renderable
13 R2C2::Layout3D &layout;
14 const R2C2::VehicleType &type;
15 R2C2::VehiclePlacement placement;
17 Msp::GL::Object *object;
20 PlacementGhost(R2C2::Layout3D &, const R2C2::VehicleType &);
21 virtual ~PlacementGhost();
23 void place(const R2C2::TrackOffsetIter &);
24 void place_before(const PlacementGhost &);
26 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;