Skip to main content

StateEstimation::FlattenedMaskItem

StateEstimation::FlattenedMaskItem

A single flattened mask data item with associated metadata for tracking. More…

#include <MaskDataAdapter.hpp>

Public Functions

Name
std::vector< Mask2D > const & getData() const
TimeFrameIndex getTimeFrameIndex() const

Public Attributes

Name
TimeFrameIndex time
std::vector< Mask2D > const & masks

Detailed Description

struct StateEstimation::FlattenedMaskItem;

A single flattened mask data item with associated metadata for tracking.

Note: Unlike LineData which has EntityId per entry, masks may have multiple masks per time with different entity IDs. This adapter provides the full vector of masks at each time point.

This structure provides zero-copy access to mask data while copying cheap metadata (TimeFrameIndex).

Public Functions Documentation

function getData

inline std::vector< Mask2D > const & getData() const

function getTimeFrameIndex

inline TimeFrameIndex getTimeFrameIndex() const

Public Attributes Documentation

variable time

TimeFrameIndex time;

variable masks

std::vector< Mask2D > const  & masks;

Updated on 2026-11-13 at 20:25:41 +0000