5 #include <RobotAPI/interface/ArViz/Elements.h>
7 #include <Inventor/nodes/SoLineSet.h>
8 #include <Inventor/nodes/SoDrawStyle.h>
9 #include <Inventor/nodes/SoCoordinate3.h>
21 SoLineSet* lineSet =
new SoLineSet;
22 lineSet->numVertices.setValue(2);
23 lineSet->startIndex.setValue(0);
27 node->addChild(lineSet);
32 lineStyle->lineWidth.setValue(element.lineWidth);
34 SbVec3f from(element.from.e0, element.from.e1, element.from.e2);
35 SbVec3f to(element.to.e0, element.to.e1, element.to.e2);