AdvancedVisualizationTest.ned 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package inet.examples.visualization.advanced;
  2. import inet.environment.common.PhysicalEnvironment;
  3. import inet.visualizer.environment.PhysicalEnvironmentCanvasVisualizer;
  4. import inet.visualizer.environment.PhysicalEnvironmentOsgVisualizer;
  5. import inet.visualizer.integrated.IntegratedCanvasVisualizer;
  6. import inet.visualizer.integrated.IntegratedVisualizer;
  7. network SimpleVisualizationExample
  8. {
  9. parameters:
  10. @display("bgb=0,0");
  11. submodules:
  12. physicalEnvironment: PhysicalEnvironment {
  13. parameters:
  14. @display("p=100,50");
  15. }
  16. canvasVisualizer: PhysicalEnvironmentCanvasVisualizer {
  17. parameters:
  18. @display("p=100,150");
  19. }
  20. osgVisualizer: PhysicalEnvironmentOsgVisualizer {
  21. parameters:
  22. @display("p=100,250");
  23. }
  24. }
  25. network DisableVisualizationsExample
  26. {
  27. parameters:
  28. @display("bgb=0,0");
  29. submodules:
  30. physicalEnvironment: PhysicalEnvironment {
  31. parameters:
  32. @display("p=100,50");
  33. }
  34. visualizer: IntegratedVisualizer {
  35. parameters:
  36. @display("p=100,150");
  37. }
  38. }
  39. network MultipleVisualizationsExample
  40. {
  41. parameters:
  42. @display("bgb=0,0");
  43. submodules:
  44. physicalEnvironment: PhysicalEnvironment {
  45. parameters:
  46. @display("p=100,50");
  47. }
  48. topVisualizer: IntegratedCanvasVisualizer {
  49. parameters:
  50. @display("p=100,150");
  51. }
  52. isometricVisualizer: IntegratedCanvasVisualizer {
  53. parameters:
  54. @display("p=100,250");
  55. }
  56. }