TracingObstacleLossCanvasVisualizer

Package: inet.visualizer.canvas.physicallayer

TracingObstacleLossCanvasVisualizer

simple module

This module visualizes obstacle loss on a 2D canvas. It displays a line at the intersections of signal propagation paths with physical objects, and normal vectors of physical object faces at intersection points.

See also: TracingObstacleLossOsgVisualizer, TracingObstacleLossVisualizer, TracingObstacleLossVisualizerBase, ITracingObstacleLossVisualizer

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
TracingObstacleLossVisualizerBase simple module

This is a base module for tracing obstacle loss visualizer simple modules. It subscribes on the obstacle loss module for physical object penetrated signals. The actual visualization of obstacle loss is done in derived modules.

Parameters

Name Type Default value Description
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

displayIntersections bool false

display instersections of transmissions and physical objects, disabled by default

intersectionLineColor string "red"
intersectionLineStyle string "solid"
intersectionLineWidth double 1
displayFaceNormalVectors bool false

display face normal vectors of instersections, disabled by default

faceNormalLineColor string "grey"
faceNormalLineStyle string "solid"
faceNormalLineWidth double 1
fadeOutMode string "realTime"

specifies how inactive obstacle losses fade out

fadeOutTime double 1s

how quickly link breaks fade away, 1 second by default

fadeOutAnimationSpeed double 0

animation speed while there are obstacle losses, value must be in the range (0, +inf)

zIndex double 0

determines the drawing order of figures relative to other visualizers

Properties

Name Value Description
class TracingObstacleLossCanvasVisualizer
display i=block/app

Source code

//
// This module visualizes obstacle loss on a 2D canvas. It displays a line at
// the intersections of signal propagation paths with physical objects, and
// normal vectors of physical object faces at intersection points.
//
// @see ~TracingObstacleLossOsgVisualizer, ~TracingObstacleLossVisualizer, ~TracingObstacleLossVisualizerBase, ~ITracingObstacleLossVisualizer
//
simple TracingObstacleLossCanvasVisualizer extends TracingObstacleLossVisualizerBase like ITracingObstacleLossVisualizer
{
    parameters:
        double zIndex = default(0); // determines the drawing order of figures relative to other visualizers
        @class(TracingObstacleLossCanvasVisualizer);
}

File: src/inet/visualizer/canvas/physicallayer/TracingObstacleLossCanvasVisualizer.ned