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