GateScheduleOsgVisualizer

Package: inet.visualizer.osg.common

simple module GateScheduleOsgVisualizer

Visualizes gates on a 3D osg scene.

See also: GateScheduleCanvasVisualizer, GateScheduleVisualizer, GateScheduleVisualizerBase, IGateScheduleVisualizer

inet.visualizer.osg.common.GateScheduleOsgVisualizerGateScheduleOsgVisualizersimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

GateScheduleVisualizer

compound module

Integrates canvas and osg gate visualizers into a single module.

IntegratedMultiOsgVisualizer

compound module

Integrates all osg visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type.

IntegratedOsgVisualizer

compound module

Integrates all osg visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type.

Extends

Name

Type

Description

GateScheduleVisualizerBase

simple module

Base module for gate visualizer simple modules.

Parameters

Name

Type

Default value

Description

displayStringTextFormat

string

“”

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

visualizationTargetModule

string

“^”

Module path relative to the visualizer which determines where the visualization should appear in the user interface, parent module by default

visualizationSubjectModule

string

“^”

Module path relative to the visualizer which determines what part of the simulation model the visualizer displays in the user interface, parent module by default

tags

string

“”

Tag added to each visualization for disambiguation in the runtime environment

networkNodeVisualizerModule

string

“^.networkNodeVisualizer”

Module path to the network node visualizer module, refers to a sibling submodule by default

displayGateSchedules

bool

false

labelFormat

string

“%i %D”

gateFilter

string

“**”

Which gates are considered, matches all gates by default

width

double

100

height

double

8

spacing

double

2

placementHint

string

“right”

Annotation placement hint, space separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc.

placementPriority

double

0

Determines the order of annotation positioning

displayDuration

double

0s

Gate operation time duration visualized in the amount of space available, use gate period by default

currentTimePosition

double

width / 2

Position of the current simulation time in the visualization, horizontally centered by default

Properties

Name

Value

Description

class

GateScheduleOsgVisualizer

display

i=block/app

Source code

//
// Visualizes gates on a 3D osg scene.
//
// @see ~GateScheduleCanvasVisualizer, ~GateScheduleVisualizer, ~GateScheduleVisualizerBase, ~IGateScheduleVisualizer
//
simple GateScheduleOsgVisualizer extends GateScheduleVisualizerBase like IGateScheduleVisualizer
{
    parameters:
        @class(GateScheduleOsgVisualizer);
}

File: src/inet/visualizer/osg/common/GateScheduleOsgVisualizer.ned