package inet.showcases.visualizer.earth;

import inet.common.geometry.common.OsgGeographicCoordinateSystem;
import inet.environment.common.PhysicalEnvironment;
import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
import inet.node.inet.AdhocHost;
import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
import inet.visualizer.integrated.IntegratedVisualizer;


network EarthVisualizationExample
{
    submodules:
        visualizer: IntegratedVisualizer {
            parameters:
                @display("p=100,50");
        }
        coordinateSystem: OsgGeographicCoordinateSystem {
            parameters:
                @display("p=100,150");
        }
}

network EarthVisualization2 extends EarthVisualizationExample
{
    submodules:
        physicalEnvironment: PhysicalEnvironment {
            @display("p=100,246");
        }
}

network EarthVisualization3 extends EarthVisualizationExample
{
    submodules:
        physicalEnvironment: PhysicalEnvironment {
            @display("p=100,260");
        }
        host1: AdhocHost {
            @display("p=382,50");
        }
        host2: AdhocHost {
            @display("p=382,150");
        }
        host3: AdhocHost {
            @display("p=487,50");
        }
        host4: AdhocHost {
            @display("p=487,150");
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=259,150");
        }
        radioMedium: Ieee80211ScalarRadioMedium {
            @display("p=258,50");
        }
}
