INetworkNodeVisualizer

Package: inet.visualizer.contract

module interface INetworkNodeVisualizer

Interface allows configuring different INetworkNodeVisualizer submodules from INI files. Such a visualizer creates the visual representations of network nodes.

See also: NetworkNodeCanvasVisualizer, NetworkNodeOsgVisualizer, NetworkNodeVisualizer, NetworkNodeVisualizerBase

Inheritance diagram

Implemented by

Name

Type

Description

NetworkNodeCanvasVisualizer

simple module

Visualizes multiple network nodes on a 2D canvas. It maintains a NetworkNodeCanvasVisualization figure for each node in the network which can be annotated by other visualizers.

NetworkNodeVisualizer

compound module

Integrates canvas and osg node visualizers into a single module.

NetworkNodeOsgVisualizer

simple module

Visualizes multiple network nodes on a 3D osg scene. The visual representation is either a 3D external model or a 2D icon that is rotated automatically towards the camera. The 3D external model is specified in the osgModel module parameter of the network node. The 2D icon is the image specified in the display string of the network node. The visualizer maintains a NetworkNodeOsgVisualization instance for each network node which can be annotated by other visualizers.

Extends

Name

Type

Description

IVisualizer

module interface

Base interface for all visualizer module interfaces in the INET Framework. Defines common parameters for specifying visualization target and subject modules. Visualizers provide graphical representation of various aspects of network simulation, such as links, traffic flows, routing paths, and network state information.

Parameters

Name

Type

Default value

Description

visualizationTargetModule

string

visualizationSubjectModule

string

Properties

Name

Value

Description

display

i=block/app

Source code

//
// Interface allows configuring different ~INetworkNodeVisualizer
// submodules from INI files. Such a visualizer creates the visual representations
// of network nodes.
//
// @see ~NetworkNodeCanvasVisualizer, ~NetworkNodeOsgVisualizer, ~NetworkNodeVisualizer, ~NetworkNodeVisualizerBase
//
moduleinterface INetworkNodeVisualizer extends IVisualizer
{
    parameters:
        @display("i=block/app");
}

File: src/inet/visualizer/contract/INetworkNodeVisualizer.ned