EdgeVisDecoderSDK::AnalyticsRegionVertex Class Reference
Detailed Description
Defines a vertex within the video frame.
A group of 4 vertices defines a region within which the analytics will be applied.
Availability
Available in version 7.3.0 of Decoder SDK. Requires a server version greater than 7.0
#include <AnalyticsRegionVertex.h>
Public Member Functions | |
| DB_EDGEVIS_SDK double | GetX () const |
| Gets x coordinate of this analytics vertex. More... | |
| DB_EDGEVIS_SDK void | SetX (double x) |
| Sets x coordinate of this analytics vertex. More... | |
| DB_EDGEVIS_SDK double | GetY () const |
| Gets y coordinate of this analytics vertex. More... | |
| DB_EDGEVIS_SDK void | SetY (double y) |
| Sets y coordinate of this analytics vertex. More... | |
Member Function Documentation
| DB_EDGEVIS_SDK double EdgeVisDecoderSDK::AnalyticsRegionVertex::GetX | ( | ) | const |
Gets x coordinate of this analytics vertex.
- Returns
- The x coordinate value. This is a value between 0 and 1 that indicates the horizontal position of the vertex as measured from the left edge of the frame.
| DB_EDGEVIS_SDK void EdgeVisDecoderSDK::AnalyticsRegionVertex::SetX | ( | double | x | ) |
Sets x coordinate of this analytics vertex.
- Parameters
-
x The x coordinate value. This is a value between 0 and 1 that indicates the horizontal position of the vertex as measured from the left edge of the frame. Values outside this range will be clamped.
| DB_EDGEVIS_SDK double EdgeVisDecoderSDK::AnalyticsRegionVertex::GetY | ( | ) | const |
Gets y coordinate of this analytics vertex.
- Returns
- The y coordinate value. This is a value between 0 and 1 that indicates the vertical position of the vertex as measured from the top edge of the frame.
| DB_EDGEVIS_SDK void EdgeVisDecoderSDK::AnalyticsRegionVertex::SetY | ( | double | y | ) |
Sets y coordinate of this analytics vertex.
- Parameters
-
y The y coordinate value. This is a value between 0 and 1 that indicates the vertical position of the vertex as measured from the top edge of the frame. Values outside this range will be clamped.
The documentation for this class was generated from the following file:
- SDKs/EdgeVisDecoderSDK/AnalyticsRegionVertex.h
