Package: inet.visualizer.osg.scene
NetworkNodeOsgVisualizer
simple moduleThis module visualizes multiple network nodes on a 3D osg scene. The visual representation is either a 3D external model or a 2D icon that is rotated automatically towards the camera. The 3D external model is specified in the osgModel module parameter of the network node. The 2D icon is the image specified in the display string of the network node. The visualizer maintains a NetworkNodeOsgVisualization instance for each network node which can be annotated by other visualizers.
See also: NetworkNodeCanvasVisualizer, NetworkNodeVisualizer, NetworkNodeVisualizerBase, INetworkNodeVisualizer
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
NetworkNodeVisualizerBase | simple module |
This is a base module for node visualizer simple modules. The actual visualization of network nodes is done in 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 |
nodeFilter | string | "*" |
determines which network nodes are displayed, all nodes by default |
annotationSpacing | double | 4 | |
placementPenalty | double | 10 | |
displayModuleName | bool | true |
display network node name, enabled by default |
Properties
Name | Value | Description |
---|---|---|
class | NetworkNodeOsgVisualizer | |
display | i=block/app |
Source code
// // This module visualizes multiple network nodes on a 3D osg scene. The visual // representation is either a 3D external model or a 2D icon that is rotated // automatically towards the camera. The 3D external model is specified in the // osgModel module parameter of the network node. The 2D icon is the image // specified in the display string of the network node. The visualizer maintains // a NetworkNodeOsgVisualization instance for each network node which can be // annotated by other visualizers. // // @see ~NetworkNodeCanvasVisualizer, ~NetworkNodeVisualizer, ~NetworkNodeVisualizerBase, ~INetworkNodeVisualizer // simple NetworkNodeOsgVisualizer extends NetworkNodeVisualizerBase like INetworkNodeVisualizer { parameters: @class(NetworkNodeOsgVisualizer); bool displayModuleName = default(true); // display network node name, enabled by default }File: src/inet/visualizer/osg/scene/NetworkNodeOsgVisualizer.ned