20 #ifndef TRACKINGBALL_HPP 21 #define TRACKINGBALL_HPP 23 #include <opencv2/core.hpp> 67 cv::Rect
rect()
const;
70 #endif // TRACKINGBALL_HPP QPoint center() const
Get the center of the ball mass.
Definition: TrackingBall.cpp:77
cv::Rect rect() const
Get the bounding rect for the ball.
Definition: TrackingBall.cpp:28
cv::Mat getMeas() const
Get the measurement vector.
Definition: TrackingBall.cpp:47
double r() const
Get the radius of the bounding circle.
Definition: TrackingBall.cpp:72
TrackingBall()
Construct an empty TrackingBall.
Definition: TrackingBall.cpp:24
cv::Mat mMeasVec
The measurement vector (KF spotting input)
Definition: TrackingBall.hpp:33
float mRadius
The radius of the ball mass.
Definition: TrackingBall.hpp:37
A ball which has been tracked by the software.
Definition: TrackingBall.hpp:30
double y() const
Get the y coordinate of the center.
Definition: TrackingBall.cpp:57
cv::Point2f mCenter
The center of the ball mass.
Definition: TrackingBall.hpp:35
QPoint tl() const
Top left corner of the bounding rect.
Definition: TrackingBall.cpp:82
double x() const
Get the x coordinate of the center.
Definition: TrackingBall.cpp:52
cv::Rect mRect
A Rect which encompasses the ball mass.
Definition: TrackingBall.hpp:39
double width() const
Get the width of the bounding rect.
Definition: TrackingBall.cpp:62
double height() const
Get the height of the bounding rect.
Definition: TrackingBall.cpp:67