20 #ifndef KFPREDICTION_HPP 21 #define KFPREDICTION_HPP 23 #include <opencv2/core.hpp> 70 double dt()
const {
return mDt; }
72 double t()
const {
return mT; }
79 void setCenter(QPointF pos) { mBbox.moveCenter(pos); }
87 #endif // KFPREDICTION_HPP QRectF bbox() const
Get the bounding box.
Definition: KFPrediction.hpp:66
QPointF mJet
<dx/dt, dy/dt> vector
Definition: KFPrediction.hpp:39
QPointF jet() const
Get the jet.
Definition: KFPrediction.hpp:68
double dt() const
Get the timestep change.
Definition: KFPrediction.hpp:70
double t() const
Get the time of prediction.
Definition: KFPrediction.hpp:72
double mDt
Change in time from step prior to detection.
Definition: KFPrediction.hpp:44
void setCenter(QPointF pos)
Set the center of the bounding box of this prediction.
Definition: KFPrediction.hpp:79
bool mSeen
Whether this prediction is based on a track or not.
Definition: KFPrediction.hpp:46
double mConfidence
Measure of confidence; KF distance to expected location.
Definition: KFPrediction.hpp:49
void setTopLeft(QPointF pos)
Set the top left of the bounding box.
Definition: KFPrediction.hpp:82
void setBottomRight(QPointF pos)
Set the bottom right of the bounding box.
Definition: KFPrediction.hpp:84
Object which represents a prediction from the Kalman filter.
Definition: KFPrediction.hpp:34
bool seen() const
Get whether the ball was seen.
Definition: KFPrediction.hpp:74
double confidence() const
Get the confidence of this prediction.
Definition: KFPrediction.hpp:76
QRectF mBbox
Bounding box of this prediction.
Definition: KFPrediction.hpp:37
double mT
Time at which this prediction was recorded.
Definition: KFPrediction.hpp:42