VisualizationCylinder.h
Go to the documentation of this file.
1#pragma once
2
3#include <RobotAPI/interface/ArViz/Elements.h>
4
5#include "ElementVisualizer.h"
6#include <Inventor/nodes/SoCylinder.h>
7
8namespace armarx::viz::coin
9{
11 {
12 using ElementType = data::ElementCylinder;
13
14 bool
15 update(ElementType const& element)
16 {
17 node->radius = element.radius;
18 node->height = element.height;
19
20 return true;
21 }
22 };
23} // namespace armarx::viz::coin
bool update(ElementType const &element)