#ifndef SCANCONVERSIONALG_H #define SCANCONVERSIONALG_H #include "./ScenarioParams.h" class ScanConversionAlg { private: static void linear(Input_t params, QVector& scanXPos, QVector& scanZPos, QVector& gridPixelXPos, QVector& gridPixelZPos); static void virtualConvex(Input_t params, QVector& scanXPos, QVector& scanZPos, QVector& gridPixelXPos, QVector& gridPixelZPos); static void convex(Input_t params, QVector& scanXPos, QVector& scanZPos, QVector& gridPixelXPos, QVector& gridPixelZPos); public: static void scanConversion(Input_t params, QVector& scanXPos, QVector& scanZPos, QVector& gridPixelXPos, QVector& gridPixelZPos); static void virtualScanConversion(QVector pixelXPos, QVector pixelZPos, uint width, uint height, float steering, float virtualOriginalZ, float startDepth, float depth, float vcMaxTheta, QVector& gridPixelR, QVector& gridPixelTheta); static void convexScanConversion(QVector pixelXPos, QVector pixelZPos, uint width, uint height, float steering, float angle, float fieldOfView, float probeRadius, float startDepth, float depth, QVector& gridPixelR, QVector& gridPixelTheta); }; #endif // SCANCONVERSIONALG_H