5 #include <RobotAPI/interface/ArViz/Component.h>
7 #include <ArmarXCore/interface/core/BasicVectorTypes.h>
16 Layer(std::string
const& component, std::string
const& name)
20 data_.action = data::Layer_CREATE_OR_UPDATE;
25 data_.elements.clear();
28 template <
typename ElementT>
29 void add(ElementT
const& element)
31 data_.elements.push_back(element.data_);
45 data_.action = data::LayerAction::Layer_DELETE;
48 std::size_t
size() const noexcept
50 return data_.elements.size();