27 typedef std::vector<double> DoublesVector;
32 double x1, y1, x2, y2;
33 Segment(
double x1,
double y1,
double x2,
double y2)
35 this->x1 = x1; this->y1 = y1;
36 this->x2 = x2; this->y2 = y2;
40 typedef std::vector<Segment> SegmentsVector;
46 Pose(
double x,
double y,
double th)
48 this->x = x; this->y = y; this->th = th;
55 GuiSegment(
double rho0,
double phi0,
double rho1,
double phi1) :
56 rho0_(rho0), phi0_(phi0), rho1_(rho1), phi1_(phi1) {};
58 double rho0(
void)
const {
return rho0_; };
59 double rho1(
void)
const {
return rho1_; };
60 double phi0(
void)
const {
return phi0_; };
61 double phi1(
void)
const {
return phi1_; };
63 double rho0_, phi0_, rho1_, phi1_;
69 GuiRegion(
double rho0,
double phi0,
double rho1,
double phi1) :
76 GuiSplit(
double rho0,
double phi0,
double rho1,
double phi1) :
85 regions.clear(); splits.clear(); matches.clear(); mahala.clear();
86 laser_rho.clear(); laser_phi.clear();
89 std::vector<GuiRegion> regions;
90 std::vector<GuiSplit> splits;
91 std::vector<GuiSplit> matches;
92 std::vector<double> mahala;
93 std::vector<double> laser_rho;
94 std::vector<double> laser_phi;