NED File src/inet/visualizer/common/PhysicalEnvironmentVisualizer.ned
Name | Type | Description |
---|---|---|
PhysicalEnvironmentVisualizer | compound module |
This module integrates canvas and osg physical environment visualizers into a single module. |
Source code
// // Copyright (C) 2020 OpenSim Ltd. // // SPDX-License-Identifier: LGPL-3.0-or-later // package inet.visualizer.common; import inet.visualizer.contract.IPhysicalEnvironmentVisualizer; // // This module integrates canvas and osg physical environment visualizers into a single module. // // @see ~PhysicalEnvironmentCanvasVisualizer, ~PhysicalEnvironmentOsgVisualizer, ~PhysicalEnvironmentVisualizerBase, ~IPhysicalEnvironmentVisualizer // module PhysicalEnvironmentVisualizer like IPhysicalEnvironmentVisualizer { parameters: @display("i=block/app"); *.visualizationTargetModule = default("^.^"); *.visualizationSubjectModule = default("^.^"); submodules: canvasVisualizer: <default(firstAvailableOrEmpty("PhysicalEnvironmentCanvasVisualizer"))> like IPhysicalEnvironmentVisualizer if typename != "" { parameters: @display("p=100,50"); } osgVisualizer: <default(firstAvailableOrEmpty("PhysicalEnvironmentOsgVisualizer"))> like IPhysicalEnvironmentVisualizer if typename != "" { parameters: @display("p=100,150"); } }