26 const std::string&
id,
27 const Eigen::Matrix4f& locationGlobalPose,
28 const Eigen::Vector3f& extends)
const
32 if (std::regex_match(
id, matches, pattern))
34 const std::string& affordance_name = matches[1];
35 unique_affordances.insert(affordance_name);
36 unsigned int index = std::distance(unique_affordances.begin(),
37 unique_affordances.find(affordance_name)) %
38 simox::color::KellyLUT::KELLY_COLORS_COLOR_BLIND.size();
40 .text(affordance_name)
41 .color(simox::color::Color::black())
43 .pose(locationGlobalPose));
46 .pose(locationGlobalPose)
48 .color(simox::color::KellyLUT::KELLY_COLORS_COLOR_BLIND.at(
index).with_alpha(
55 .pose(locationGlobalPose)
57 .color(this->
settings.framedBoxedLocationColor));