SatDump 2.0.0-alpha-76a915210
Loading...
Searching...
No Matches
normal_per_ifov.h
1#pragma once
2
4
5namespace satdump
6{
7 namespace projection
8 {
9 class NormalPerIFOVRaytracerOld : public SatelliteRaytracerSatTrack
10 {
11 private:
12 std::vector<double> timestamps;
13
14 int image_width;
15 float scan_angle;
16
17 double timestamp_offset;
18 bool invert_scan;
19 bool rotate_yaw;
20
21 float roll_offset;
22 float pitch_offset;
23 float yaw_offset;
24
25 int ifov_y_size;
26 int ifov_x_size;
27 int ifov_count;
28
29 double ifov_x_scan_angle;
30 double ifov_y_scan_angle;
31
32 // Pre-computed stuff
33 std::vector<geodetic::geodetic_coords_t> sat_positions;
34 std::vector<double> az_angles;
35 std::vector<bool> sat_ascendings;
36
37 public:
38 NormalPerIFOVRaytracerOld(nlohmann::json cfg);
39 bool get_position(double x, double y, geodetic::geodetic_coords_t &pos, double *otime);
40 };
41 } // namespace proj
42} // namespace satdump
bool get_position(double x, double y, geodetic::geodetic_coords_t &pos, double *otime)
Get geodetic position of a pixel (can be fractional)
Definition normal_per_ifov.cpp:45