6 #include <base/samples/Sonar.hpp> 7 #include <frame_helper/ColorGradient.h> 9 #define BASE_WIDTH 1300 10 #define BASE_HEIGHT 600 11 #define BINS_REF_SIZE 500 24 void setData(
const base::samples::Sonar& sonar);
25 void setSectorScan(
bool continuous, base::Angle leftLimit, base::Angle rightLimit);
28 void paintEvent(QPaintEvent *event);
29 void resizeEvent ( QResizeEvent * event );
31 void generateMultibeamTransferTable(
const base::samples::Sonar& sonar);
32 void generateScanningTransferTable(
const base::samples::Sonar& sonar);
33 void applyColormap(ColorGradientType type);
34 bool isMotorStepChanged(
const base::Angle& bearing);
35 void addScanningData(
const base::samples::Sonar& sonar);
55 void rangeChanged(
int);
56 void sonarPaletteChanged(
int);
57 void gridChanged(
bool);
ColorGradient heatMapGradient
std::vector< float > sonarData
base::samples::Sonar lastSonar
std::vector< QColor > colorMap
std::vector< int > transfer