17 #include <core/sim/drone.h> 18 #include <core_ui/sim/box2d_widget.h> 19 #include <domains/drone_follow/scene.h> 21 #include <QPainterPath> 27 SceneUi(drone_follow::Scene* scene);
29 void render(QPainter& painter,
const QRectF&)
override;
33 void renderCamera(QPainter& painter,
const sim::Camera* camera)
const;
34 void renderDrone(QPainter& painter,
const sim::Drone* drone)
const;
37 drone_follow::Scene* scene_ =
nullptr;
39 QPainterPath drone_path_;
40 QPainterPath target_drone_path_;
42 const QPixmap drone_pixmap_{
":/resources/drone.png" };
Definition: domain_ui.cpp:24
Custom box2d scene rendering & input processing.
Definition: box2d_widget.h:27
Raytraced rendering of a 2d world.
Definition: camera.h:39