18 lines
709 B
C++
18 lines
709 B
C++
#ifndef GEOPRO_IO_GPR_RADARVOLUMEASSEMBLER_HPP
|
|
#define GEOPRO_IO_GPR_RADARVOLUMEASSEMBLER_HPP
|
|
#include <functional>
|
|
#include <vector>
|
|
#include "core/algo/GprVolumeBuilder.hpp"
|
|
namespace geopro::io::gpr {
|
|
struct RadarCubeDesc {
|
|
int channels = 0; int traces = 0; int samples = 0;
|
|
std::vector<double> chXOffsets;
|
|
double dxBase = 1.0; double dyWhenNotInterpolated = 1.0; double dz = 1.0;
|
|
};
|
|
using CubeSampler = std::function<double(int c, int t, int s)>;
|
|
geopro::core::BuiltI16 assembleRadarVolume(const RadarCubeDesc& desc,
|
|
const CubeSampler& sample,
|
|
int coarse, double targetDy);
|
|
} // namespace geopro::io::gpr
|
|
#endif
|