VisualizationBox.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/SoCube.h>
7
8namespace armarx::viz::coin
9{
11 {
12 using ElementType = data::ElementBox;
13
14 bool
15 update(ElementType const& element)
16 {
17 node->width = element.size.e0;
18 node->height = element.size.e1;
19 node->depth = element.size.e2;
20
21 return true;
22 }
23 };
24} // namespace armarx::viz::coin
bool update(ElementType const &element)