3 #include <RobotAPI/interface/ArViz/Elements.h>
6 #include <Inventor/nodes/SoCoordinate3.h>
7 #include <Inventor/nodes/SoDrawStyle.h>
8 #include <Inventor/nodes/SoLineSet.h>
20 SoLineSet* lineSet =
new SoLineSet;
21 lineSet->numVertices.setValue(2);
22 lineSet->startIndex.setValue(0);
26 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);