1 #ifndef R2C2_3D_VIEW_H_
2 #define R2C2_3D_VIEW_H_
4 #include <msp/gl/camera.h>
5 #include <msp/gl/pipeline.h>
17 Msp::GL::Camera camera;
18 Msp::GL::Pipeline pipeline;
21 View3D(Layout3D &, unsigned, unsigned);
23 Layout3D &get_layout() const { return layout; }
24 Msp::GL::Camera &get_camera() { return camera; }
25 Msp::GL::Pipeline &get_pipeline() { return pipeline; }
27 Ray create_ray(int, int) const;
28 Ray create_ray(float, float) const;
30 void view_all(bool = false);