#include <NetworkConnectionCanvasVisualizer.h>
void inet::visualizer::NetworkConnectionCanvasVisualizer::createNetworkConnectionVisualization |
( |
cModule * |
startNetworkNode, |
|
|
cModule * |
endNetworkNode |
|
) |
| |
|
overrideprotectedvirtual |
Implements inet::visualizer::NetworkConnectionVisualizerBase.
39 auto lineFigure =
new cLineFigure(
"connection");
45 lineFigure->setEndArrowhead(cFigure::ARROW_BARBED);
46 lineFigure->setZIndex(
zIndex);
const CanvasProjection * canvasProjection
Definition: NetworkConnectionCanvasVisualizer.h:32
double zIndex
Definition: NetworkConnectionCanvasVisualizer.h:31
virtual Coord getPosition(const cModule *networkNode) const
Definition: VisualizerBase.cc:42
cFigure::Color lineColor
Definition: NetworkConnectionVisualizerBase.h:32
cFigure::LineStyle lineStyle
Definition: NetworkConnectionVisualizerBase.h:33
cModule * visualizerTargetModule
Definition: VisualizerBase.h:31
double lineWidth
Definition: NetworkConnectionVisualizerBase.h:34
cFigure::Point computeCanvasPoint(const Coord &point) const
Definition: CanvasProjection.cc:32
void inet::visualizer::NetworkConnectionCanvasVisualizer::initialize |
( |
int |
stage | ) |
|
|
overrideprotectedvirtual |
Reimplemented from inet::visualizer::NetworkConnectionVisualizerBase.
30 if (!hasGUI())
return;
const CanvasProjection * canvasProjection
Definition: NetworkConnectionCanvasVisualizer.h:32
double zIndex
Definition: NetworkConnectionCanvasVisualizer.h:31
virtual void initialize(int stage) override
Definition: NetworkConnectionVisualizerBase.cc:25
Local initializations.
Definition: InitStages.h:35
cModule * visualizerTargetModule
Definition: VisualizerBase.h:31
static const CanvasProjection * getCanvasProjection(const cCanvas *canvas)
Definition: CanvasProjection.cc:38
const CanvasProjection* inet::visualizer::NetworkConnectionCanvasVisualizer::canvasProjection = nullptr |
|
protected |
double inet::visualizer::NetworkConnectionCanvasVisualizer::zIndex = NaN |
|
protected |
The documentation for this class was generated from the following files: