Skip to content

Commit a56f551

Browse files
committed
Add missing .hpp
1 parent d481027 commit a56f551

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)