ISceneVisualizer

Package: inet.visualizer.contract

module interface ISceneVisualizer

Interface allows configuring different ISceneVisualizer submodules from INI files. Such a visualizer displays the scene, the coordinate axes, sets up the initial viewpoint, etc.

See also: SceneCanvasVisualizer, SceneOsgVisualizer, SceneVisualizer, SceneVisualizerBase

Inheritance diagram

Implemented by

Name

Type

Description

OpenStreetMapSceneCanvasVisualizer

simple module

Visualizes a stream map given in an OpenStreetMap (openstreetmap.org) file. Other objects of the scene are placed on the map according to the coordinate system module.

SceneCanvasVisualizer

simple module

Visualizes the scene on a 2D canvas. It provides the 3D coordinate system’s 2D orthographic projection for other visualizers. This is used to get a consistent visualization across all visualizers. It can also display the coordinate system axes.

SceneVisualizer

compound module

Integrates canvas and osg scene visualizers into a single module.

SceneOsgEarthVisualizer

simple module

Visualizes the scene using osgEarth. It displays a 3D osg map of some part of the earth as an integrated part of the 3D visualization of the simulation. The map is loaded from an external resource specified by the mapFile parameter. The scene is placed on the map according to the coordinate system module.

SceneOsgVisualizer

simple module

Visualizes the scene using osg. It displays the scene and the coordinate system axes. It sets the initial viewpoint of the 3D scene based on the bounding sphere of all network nodes. The viewpoint is located opposite to the coordinate system origin with respect to the sphere, and it faces towards the center of the sphere.

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 ~ISceneVisualizer
// submodules from INI files. Such a visualizer displays the scene, the
// coordinate axes, sets up the initial viewpoint, etc.
//
// @see ~SceneCanvasVisualizer, ~SceneOsgVisualizer, ~SceneVisualizer, ~SceneVisualizerBase
//
moduleinterface ISceneVisualizer extends IVisualizer
{
    parameters:
        @display("i=block/app");
}

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