1 #ifndef R2C2_3D_TRACKTYPE_H_
2 #define R2C2_3D_TRACKTYPE_H_
5 #include <msp/gl/mesh.h>
6 #include <msp/gl/meshbuilder.h>
7 #include <msp/gl/object.h>
8 #include "libr2c2/profile.h"
9 #include "libr2c2/tracktype.h"
18 Catalogue3D &catalogue;
20 Msp::GL::Object *object;
22 std::map<unsigned, Msp::GL::Mesh *> path_meshes;
25 TrackType3D(Catalogue3D &, const TrackType &);
28 const Msp::GL::Object &get_object() const { return *object; }
29 const Msp::GL::Mesh &get_path_mesh(int, int) const;
32 void build_part(const TrackPart &, const Profile &, const Vector &, bool, Msp::GL::MeshBuilder &, unsigned &);