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:
nx::sdk::Interface< IObjectTrackBestShotPacket, IMetadataPacket >

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 IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< InterfacequeryInterface ()
 
Ptr< const InterfacequeryInterface () 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 IRefCountablequeryInterface (const IRefCountable::InterfaceId *id) override
 
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 

Detailed Description

Packet containing information about object track best shot.

Member Function Documentation

◆ boundingBox()

Rect nx::sdk::analytics::IObjectTrackBestShotPacket::boundingBox ( ) const
inline
Returns
Bounding box of the best shot. If this rectangle returned by this method is invalid, then a bounding box from the frame with the timestamp equal to the timestampUs() will be used.

◆ getBoundingBox()

virtual void nx::sdk::analytics::IObjectTrackBestShotPacket::getBoundingBox ( Rect outValue) const
protectedpure virtual

Called by boundingBox()

◆ getTrackId()

virtual void nx::sdk::analytics::IObjectTrackBestShotPacket::getTrackId ( Uuid outValue) const
protectedpure virtual

Called by trackId()

◆ timestampUs()

virtual int64_t nx::sdk::analytics::IObjectTrackBestShotPacket::timestampUs ( ) const
overridepure virtual
Returns
Timestamp of the frame (in microseconds) the best shot belongs to. Should be a non-negative number.

◆ trackId()

Uuid nx::sdk::analytics::IObjectTrackBestShotPacket::trackId ( ) const
inline
Returns
Id of the track the best shot belongs to.

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