UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
renderable.hpp
1
42#ifndef UFO_VIZ_RENDERABLE_HPP
43#define UFO_VIZ_RENDERABLE_HPP
44
45// UFO
46#include <ufo/compute/compute.hpp>
47#include <ufo/vision/camera.hpp>
48
49namespace ufo
50{
52{
53 public:
54 virtual ~Renderable() = default;
55
56 virtual void init(WGPUDevice device, WGPUTextureFormat texture_format) = 0;
57
58 virtual void release() = 0;
59
60 virtual void update(WGPUDevice device, WGPUCommandEncoder encoder,
61 WGPURenderPassEncoder render_pass, Camera const& camera) = 0;
62
63 virtual void onGui() = 0;
64
65 virtual Renderable* clone() const = 0;
66};
67} // namespace ufo
68
69#endif // UFO_VIZ_RENDERABLE_HPP
All vision-related classes and functions.
Definition cloud.hpp:49