nx_metadata_sdk 1.0 Metadata SDK

Public Member Functions | Static Public Member Functions | List of all members
nx::sdk::analytics::IObjectTrackInfo Class Referenceabstract
Inheritance diagram for nx::sdk::analytics::IObjectTrackInfo:

## Public Member Functions
virtual const char * | bestShotImageData () const =0
virtual int | bestShotImageDataSize () const =0
virtual const char * | bestShotImageDataFormat () const =0
Public Member Functions inherited from nx::sdk::Interface< IObjectTrackInfo, IObjectTrackInfo0 >
virtual IRefCountable * | queryInterface (const InterfaceId *id)
Ptr< Interface > | queryInterface ()
Ptr< const Interface > | queryInterface () const

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

## Additional Inherited Members
Protected Member Functions inherited from nx::sdk::Interface< IObjectTrackInfo, IObjectTrackInfo0 >
virtual IRefCountable * | queryInterface (const IRefCountable::InterfaceId *id) override
IRefCountable * | queryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)

## Member Function Documentation

## ◆ bestShotImageData()

virtual const char* nx::sdk::analytics::IObjectTrackInfo::bestShotImageData | ( |  | ) | const
| pure virtual

Returns
  Pointer to the track best shot image data provided by the Plugin. If the best shot was provided in the form of a URL, the pointer being returned by this method points to the data of the image that server obtained by this URL. If the Plugin provides neither binary image data nor its URL, null is returned.

## ◆ bestShotImageDataFormat()

virtual const char* nx::sdk::analytics::IObjectTrackInfo::bestShotImageDataFormat | ( |  | ) | const
| pure virtual

Returns
  Format of the best shot image. Can contain one of the following values: "image/jpeg", "image/png", "image/tiff".

## ◆ bestShotImageDataSize()

virtual int nx::sdk::analytics::IObjectTrackInfo::bestShotImageDataSize | ( |  | ) | const
| pure virtual

Returns
  Size of the image data array. If the track has no explicit best shot image 0 is returned.

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

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