MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ RegionGroup() [2/2]

MayaFlux::Kakshya::RegionGroup::RegionGroup ( std::string  group_name,
std::vector< Region regions = {},
std::unordered_map< std::string, std::any >  attrs = {} 
)
inline

Construct a region group.

Parameters
group_nameName of the group.
regionsRegions to include.
attrsOptional group-level attributes.

Definition at line 58 of file RegionGroup.hpp.

59 {},
60 std::unordered_map<std::string, std::any> attrs = {})
61 : name(std::move(group_name))
62 , regions(std::move(regions))
63 , attributes(std::move(attrs))
64 {
65 }
std::unordered_map< std::string, std::any > attributes
Flexible key-value store for group-specific attributes.
std::vector< Region > regions
Collection of regions belonging to this group.
std::string name
Descriptive name of the group.