We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d481027 commit a56f551Copy full SHA for a56f551
1 file changed
include/opencalibration/pipeline/progress.hpp
@@ -0,0 +1,25 @@
1
+#pragma once
2
+
3
+#include <opencalibration/types/raster.hpp>
4
5
+#include <functional>
6
7
+namespace opencalibration
8
+{
9
10
+struct TileUpdate
11
12
+ int pixel_x = 0;
13
+ int pixel_y = 0;
14
+ int pixel_w = 0;
15
+ int pixel_h = 0;
16
+ int total_output_width = 0;
17
+ int total_output_height = 0;
18
+ int tile_index = 0; // 1-based count of tiles completed so far
19
+ int total_tiles = 1; // total number of tiles in this pass
20
+ RGBRaster thumbnail; // max 128x128 downsampled preview (BGR channel order)
21
+};
22
23
+using TileProgressCallback = std::function<void(const TileUpdate &)>;
24
25
+} // namespace opencalibration
0 commit comments