nx_metadata_sdk 1.0 Metadata SDK

Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
nx::sdk::analytics::IObjectTrackBestShotPacket Class Referenceabstract

`#include <i_object_track_best_shot_packet.h>`

Inheritance diagram for nx::sdk::analytics::IObjectTrackBestShotPacket:

## Public Member Functions
virtual int64_t | timestampUs () const override=0
Uuid | trackId () const
Rect | boundingBox () const
Public Member Functions inherited from nx::sdk::Interface< IObjectTrackBestShotPacket, IMetadataPacket >
virtual IRefCountable * | queryInterface (const InterfaceId *id)
Ptr< Interface > | queryInterface ()
Ptr< const Interface > | queryInterface () const

## Static Public Member Functions
static auto | interfaceId ()

## Protected Member Functions
virtual void | getTrackId (Uuid *outValue) const =0
virtual void | getBoundingBox (Rect *outValue) const =0
Protected Member Functions inherited from nx::sdk::Interface< IObjectTrackBestShotPacket, IMetadataPacket >
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)

## Detailed Description

Packet containing information about object track best shot.

## Member Function Documentation

## ◆ getBoundingBox()

virtual void nx::sdk::analytics::IObjectTrackBestShotPacket::getBoundingBox | ( | Rect * | outValue | ) | const
| protected pure virtual

Bounding box of the best shot. If the rectangle returned by this method is invalid then a bounding box from the frame with the timestamp equal to the timestampUs() will be used.

## ◆ getTrackId()

virtual void nx::sdk::analytics::IObjectTrackBestShotPacket::getTrackId | ( | Uuid * | outValue | ) | const
| protected pure virtual

Id of the track the best shot belongs to.

## ◆ timestampUs()

virtual int64_t nx::sdk::analytics::IObjectTrackBestShotPacket::timestampUs | ( |  | ) | const
| override pure virtual

Timestamp of the frame (in microseconds) the best shot belongs to. Should be a non-negative number.

The documentation for this class was generated from the following file:

- src/nx/sdk/analytics/i_object_track_best_shot_packet.h