Package: inet.visualizer.base
PhysicalEnvironmentVisualizerBase
simple moduleThis is a base module for physical environment visualizer simple modules. It provides the physical objects through the physical environment module for derived modules. The actual visualization of physical objects is done in derived modules.
See also: PhysicalEnvironmentCanvasVisualizer, PhysicalEnvironmentOsgVisualizer, IPhysicalEnvironmentVisualizer, VisualizerBase
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Known subclasses
Name | Type | Description |
---|---|---|
PhysicalEnvironmentCanvasVisualizer | simple module |
This module visualizes a physical environment on a 2D canvas. It displays the physical objects present in the physical environment. Since this is not a 3D visualization, so the physical objects are projected to a 2D plane according to the view angle of the corresponding SceneCanvasVisualizer. Apart from this the visualizer considers all object properties that affect the appearance such as position, orientation, shape, colors, opacity, etc. |
PhysicalEnvironmentOsgVisualizer | simple module |
This module visualizes a physical environment on a 3D osg scene. It displays the physical objects present in the physical environment. The visualizer considers all object properties that affect appearance such as position, orientation, shape, colors, opacity, etc. |
Extends
Name | Type | Description |
---|---|---|
VisualizerBase | simple module |
This is a base module for visualizer simple modules. It simply provides the visualization target module for 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 |
physicalEnvironmentModule | string | "physicalEnvironment" |
the physical environment module that is displayed, refers to a top level submodule by default |
displayObjects | bool | true |
Properties
Name | Value | Description |
---|---|---|
class | PhysicalEnvironmentVisualizerBase | |
display | i=block/app |
Source code
// // This is a base module for physical environment visualizer simple modules. It // provides the physical objects through the physical environment module for // derived modules. The actual visualization of physical objects is done in // derived modules. // // @see ~PhysicalEnvironmentCanvasVisualizer, ~PhysicalEnvironmentOsgVisualizer, ~IPhysicalEnvironmentVisualizer, ~VisualizerBase // simple PhysicalEnvironmentVisualizerBase extends VisualizerBase { parameters: string physicalEnvironmentModule = default("physicalEnvironment"); // the physical environment module that is displayed, refers to a top level submodule by default bool displayObjects = default(true); @class(PhysicalEnvironmentVisualizerBase); }File: src/inet/visualizer/base/PhysicalEnvironmentVisualizerBase.ned