ScTrackedObjectMap.h
Go to the documentation of this file.
1
10#ifndef SC_TRACKED_OBJECT_MAP_H_
11#define SC_TRACKED_OBJECT_MAP_H_
12
14
16
25typedef struct ScOpaqueTrackedObjectMap ScTrackedObjectMap;
26
37SC_EXPORT
39
52SC_EXPORT
54
65SC_EXPORT
67
80SC_EXPORT
82
84
85#endif // SC_TRACKED_OBJECT_MAP_H_
#define SC_EXTERN_C_BEGIN
Start of external C code.
Definition: ScConfig.h:19
#define SC_EXTERN_C_END
End of external C code.
Definition: ScConfig.h:28
API for tracking objects across frames.
Opaque pointer type for a tracked object.
A container that stores tracked objects in association with their corresponding ID.
uint32_t sc_tracked_object_map_get_size(ScTrackedObjectMap const *map)
Get the number of objects in the map.
ScTrackedObject * sc_tracked_object_map_get_item_at(ScTrackedObjectMap const *map, uint32_t id)
Get a specific element in a map of tracked objects.
void sc_tracked_object_map_release(ScTrackedObjectMap const *map)
Decrease reference count the map by one.
uint32_t const * sc_tracked_object_map_get_ids(ScTrackedObjectMap const *map)
Get an array of all object IDs in a map. Since object IDs are unique, the size of the array can be qu...