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