- Marklin::Layout *get_layout() { return layout; }
- Marklin::Layout3D *get_layout_3d() { return layout_3d; }
- const Msp::GL::Camera &get_camera() const { return camera; }
- const Msp::GLtk::Resources &get_ui_resources() const { return ui_res; }
- Msp::GLtk::Root &get_root() const { return *root; }
-
- void new_track();
- void set_turnout_id();
- void set_sensor_id();
-
- void edit_route(Marklin::Route &);
- Marklin::Route *get_current_route() const { return cur_route; }
+ const R2C2::Catalogue &get_catalogue() const { return catalogue; }
+ R2C2::Layout &get_layout() { return *layout; }
+ R2C2::Layout3D &get_layout_3d() { return *layout_3d; }
+ const R2C2::View3D &get_view() const { return *main_view; }
+ const CameraController &get_camera_controller() const { return *camera_ctl; }
+
+ void new_object();
+ void erase_objects();
+ void object_properties();
+ void extend_track();
+ void connect_tracks();
+ void flatten_tracks();
+ void svg_export();
+
+ void edit_route(R2C2::Route *);
+ void rename_route();
+ R2C2::Route *get_current_route() const { return cur_route; }