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 
24 typedef struct ScOpaqueTrackedObjectMap ScTrackedObjectMap;
27 
38 SC_EXPORT
40 
53 SC_EXPORT
55 
66 SC_EXPORT
68 
81 SC_EXPORT
82 uint32_t const *sc_tracked_object_map_get_ids(ScTrackedObjectMap const *map);
83 
85 
86 #endif // SC_TRACKED_OBJECT_MAP_H_
An container that stores tracked objects in association with their corresponding ID.
void sc_tracked_object_map_release(ScTrackedObjectMap *map)
Decrease reference count the map by one.
ScTrackedObject * sc_tracked_object_map_get_item_at(ScTrackedObjectMap const *map, uint32_t id)
Get a specific element in a map of tracked objects.
uint32_t sc_tracked_object_map_get_size(ScTrackedObjectMap const *map)
Get the number of objects in the map.
API for tracking objects across frames.
#define SC_EXTERN_C_BEGIN
Start of external C code.
Definition: ScConfig.h:19
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...
#define SC_EXTERN_C_END
End of external C code.
Definition: ScConfig.h:28
Opaque pointer type for an object tracker.