EarthVisualizationExample.ned 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package inet.showcases.visualizer.earth;
  2. import inet.common.geometry.common.OsgGeographicCoordinateSystem;
  3. import inet.environment.common.PhysicalEnvironment;
  4. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  5. import inet.node.inet.AdhocHost;
  6. import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
  7. import inet.visualizer.integrated.IntegratedVisualizer;
  8. network EarthVisualizationExample
  9. {
  10. submodules:
  11. visualizer: IntegratedVisualizer {
  12. parameters:
  13. @display("p=100,50");
  14. }
  15. coordinateSystem: OsgGeographicCoordinateSystem {
  16. parameters:
  17. @display("p=100,150");
  18. }
  19. }
  20. network EarthVisualization2 extends EarthVisualizationExample
  21. {
  22. submodules:
  23. physicalEnvironment: PhysicalEnvironment {
  24. @display("p=100,246");
  25. }
  26. }
  27. network EarthVisualization3 extends EarthVisualizationExample
  28. {
  29. submodules:
  30. physicalEnvironment: PhysicalEnvironment {
  31. @display("p=100,260");
  32. }
  33. host1: AdhocHost {
  34. @display("p=382,50");
  35. }
  36. host2: AdhocHost {
  37. @display("p=382,150");
  38. }
  39. host3: AdhocHost {
  40. @display("p=487,50");
  41. }
  42. host4: AdhocHost {
  43. @display("p=487,150");
  44. }
  45. configurator: IPv4NetworkConfigurator {
  46. @display("p=259,150");
  47. }
  48. radioMedium: Ieee80211ScalarRadioMedium {
  49. @display("p=258,50");
  50. }
  51. }