VisualizationSphere.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/SoSphere.h>
7 
8 namespace armarx::viz::coin
9 {
11  {
12  using ElementType = data::ElementSphere;
13 
14  bool
15  update(ElementType const& element)
16  {
17  node->radius = element.radius;
18 
19  return true;
20  }
21  };
22 } // namespace armarx::viz::coin
armarx::viz::coin::VisualizationSphere::update
bool update(ElementType const &element)
Definition: VisualizationSphere.h:15
ElementVisualizer.h
armarx::viz::coin::TypedElementVisualization
Definition: ElementVisualizer.h:52
armarx::viz::coin::TypedElementVisualization< SoSphere >::node
NodeType * node
Definition: ElementVisualizer.h:67
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