MayaFlux
0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
◆
insert_region()
void MayaFlux::Kakshya::RegionGroup::insert_region
(
size_t
index
,
const
Region
&
region
)
inline
Insert a region at a specific index.
Parameters
index
Position to insert at.
region
The
Region
to insert.
Definition at line
97
of file
RegionGroup.hpp
.
98
{
99
if
(index >=
regions
.size()) {
100
regions
.push_back(region);
101
}
else
{
102
regions
.insert(
regions
.begin() + index, region);
103
}
104
}
MayaFlux::Kakshya::RegionGroup::regions
std::vector< Region > regions
Collection of regions belonging to this group.
Definition
RegionGroup.hpp:32
MayaFlux
Kakshya
RegionGroup
Generated by
1.9.8