Abstract base class for TrackerTargetState that represents a possible state of the target.
More...
#include <opencv2/video/detail/tracking.detail.hpp>
Abstract base class for TrackerTargetState that represents a possible state of the target.
See [232] all the states candidates.
Inherits this class with your Target state, In own implementation you can add scale variation, width, height, orientation, etc.
◆ ~TrackerTargetState()
virtual cv::detail::tracking::TrackerTargetState::~TrackerTargetState |
( |
| ) |
|
|
inlinevirtual |
◆ getTargetHeight()
int cv::detail::tracking::TrackerTargetState::getTargetHeight |
( |
| ) |
const |
Get the height of the target.
- Returns
- The height of the target
◆ getTargetPosition()
Point2f cv::detail::tracking::TrackerTargetState::getTargetPosition |
( |
| ) |
const |
Get the position.
- Returns
- The position
◆ getTargetWidth()
int cv::detail::tracking::TrackerTargetState::getTargetWidth |
( |
| ) |
const |
Get the width of the target.
- Returns
- The width of the target
◆ setTargetHeight()
void cv::detail::tracking::TrackerTargetState::setTargetHeight |
( |
int | height | ) |
|
Set the height of the target.
- Parameters
-
height | The height of the target |
◆ setTargetPosition()
void cv::detail::tracking::TrackerTargetState::setTargetPosition |
( |
const Point2f & | position | ) |
|
Set the position.
- Parameters
-
◆ setTargetWidth()
void cv::detail::tracking::TrackerTargetState::setTargetWidth |
( |
int | width | ) |
|
Set the width of the target.
- Parameters
-
width | The width of the target |
◆ targetHeight
int cv::detail::tracking::TrackerTargetState::targetHeight |
|
protected |
◆ targetPosition
Point2f cv::detail::tracking::TrackerTargetState::targetPosition |
|
protected |
◆ targetWidth
int cv::detail::tracking::TrackerTargetState::targetWidth |
|
protected |
The documentation for this class was generated from the following file: