Skip to main content

LineIndexGroupingParameters

LineIndexGroupingParameters

Parameters for the line index grouping operation. More…

#include <line_index_grouping.hpp>

Inherits from GroupingTransformParametersBase, TransformParametersBase

Public Functions

Name
GroupingTransformParametersBase(EntityGroupManager * group_manager =[nullptr])

Public Attributes

Name
std::string group_name_prefix
std::string group_description_template
bool clear_existing_groups

Additional inherited members

Public Functions inherited from GroupingTransformParametersBase

Name
virtual ~GroupingTransformParametersBase() =default
EntityGroupManager * getGroupManager() const
Get the current EntityGroupManager.
void setGroupManager(EntityGroupManager * group_manager)
Set the EntityGroupManager.
bool hasValidGroupManager() const
Check if the group manager is valid.

Public Functions inherited from TransformParametersBase

Name
virtual ~TransformParametersBase() =default

Detailed Description

struct LineIndexGroupingParameters;

Parameters for the line index grouping operation.

This operation creates groups based on the position of lines within the vector at each timestamp. It finds the maximum number of lines at any timestamp and creates that many groups, then assigns all lines at index 0 to group 0, index 1 to group 1, etc.

This is useful for organizing whiskers or other tracked lines when detection order provides a consistent identity across frames.

Public Functions Documentation

function GroupingTransformParametersBase

inline explicit GroupingTransformParametersBase(
    EntityGroupManager * group_manager =nullptr
)

Public Attributes Documentation

variable group_name_prefix

std::string group_name_prefix = "Line";

variable group_description_template

std::string group_description_template = "Group {} - lines at vector index {}";

variable clear_existing_groups

bool clear_existing_groups = false;

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