1 #ifndef SELECTIONWRAP_H_
2 #define SELECTIONWRAP_H_
4 #include <msp/gl/mesh.h>
5 #include <msp/gl/renderable.h>
6 #include "libr2c2/object.h"
12 class SelectionWrap: public Msp::GL::Renderable
22 std::map<const R2C2::ObjectType *, Msp::GL::Mesh *> meshes;
23 std::list<Wrap> wraps;
26 SelectionWrap(Selection &);
29 virtual void render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
32 void selection_changed();
33 Msp::GL::Mesh &get_mesh(const R2C2::ObjectType &);