#include <NetworkConnectionOsgVisualizer.h>
◆ createNetworkConnectionVisualization()
| void inet::visualizer::NetworkConnectionOsgVisualizer::createNetworkConnectionVisualization |
( |
cModule * |
startNetworkNode, |
|
|
cModule * |
endNetworkNode |
|
) |
| |
|
overrideprotectedvirtual |
Implements inet::visualizer::NetworkConnectionVisualizerBase.
33 auto geode =
new osg::Geode();
35 geode->addDrawable(drawable);
37 stateSet->setMode(GL_LIGHTING, osg::StateAttribute::OFF | osg::StateAttribute::OVERRIDE);
38 geode->setStateSet(stateSet);
41 stateSet->setAttributeAndModes(
lineWidth, osg::StateAttribute::ON);
43 scene->addChild(geode);
◆ initialize()
| void inet::visualizer::NetworkConnectionOsgVisualizer::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files: