17 #include <core/sim/car.h> 18 #include <core_ui/sim/box2d_widget.h> 19 #include <domains/car_track/scene.h> 21 #include <QPainterPath> 28 SceneUi(car_track::Scene* scene);
30 void render(QPainter& painter,
const QRectF& viewport)
override;
34 void renderCamera(QPainter& painter,
const sim::Camera* camera)
const;
35 void renderPath(QPainter& painter)
const;
36 void renderTrack(QPainter& painter)
const;
37 void renderCurrentSegment(QPainter& painter)
const;
40 car_track::Scene* scene_ =
nullptr;
41 QPainterPath car_path_;
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