X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Flayout.h;h=d5aad2634fbbe2343f4f2d38027347b531957f2b;hb=5116fff210cdc3f0fbdae13046cc60450aad5e8f;hp=df414f2578b0cc5f85ffe7a88f01f1ffb4e87ad3;hpb=806bc53176e8ed216ba5db95bde5878832332393;p=r2c2.git diff --git a/source/3d/layout.h b/source/3d/layout.h index df414f2..d5aad26 100644 --- a/source/3d/layout.h +++ b/source/3d/layout.h @@ -12,6 +12,7 @@ namespace R2C2 { class Object3D; +class Utility3D; class Layout3D: public sigc::trackable { @@ -22,6 +23,7 @@ private: Layout &layout; Catalogue3D catalogue; ObjectMap objects; + std::set utilities; Msp::GL::InstanceScene scene; Msp::GL::SimpleScene ep_scene; Msp::GL::InstanceScene path_scene; @@ -46,6 +48,9 @@ public: T &get(Object &o) const { return dynamic_cast(get(o)); } + void add(Utility3D &); + void remove(Utility3D &); + Msp::GL::Scene &get_scene() { return scene; } Msp::GL::Scene &get_endpoint_scene() { return ep_scene; } Msp::GL::Scene &get_path_scene() { return path_scene; }