EnergyStorageOsgVisualizer¶
Package: inet.visualizer.osg.power
simple module EnergyStorageOsgVisualizer
Visualizes energy storages on a 3D OSG scene.
See also: EnergyStorageCanvasVisualizer, EnergyStorageVisualizer, EnergyStorageVisualizerBase, IEnergyStorageVisualizer
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
Integrates canvas and osg |
|
compound module |
Integrates all osg visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type. |
|
compound module |
Integrates all osg visualizers into a single module. It supports disabling any submodule visualizer by providing an empty string as its type. |
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
Base module for energy storage visualizer simple modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
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 |
networkNodeVisualizerModule |
string |
“^.networkNodeVisualizer” |
Module path to the network node visualizer module, refers to a sibling submodule by default |
displayEnergyStorages |
bool |
false |
|
energyStorageFilter |
string |
“**” |
Which energy storages are considered; matches all energy storages by default |
color |
string |
“green” |
|
width |
double |
8 |
|
height |
double |
24 |
|
spacing |
double |
2 |
|
placementHint |
string |
“right” |
Annotation placement hint; space-separated list of any, top, bottom, left, right, topLeft, topCenter, topRight, etc. |
placementPriority |
double |
0 |
Determines the order of annotation positioning |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
EnergyStorageOsgVisualizer |
|
display |
i=block/app |
Source code¶
//
// Visualizes energy storages on a 3D OSG scene.
//
// @see ~EnergyStorageCanvasVisualizer, ~EnergyStorageVisualizer, ~EnergyStorageVisualizerBase, ~IEnergyStorageVisualizer
//
simple EnergyStorageOsgVisualizer extends EnergyStorageVisualizerBase like IEnergyStorageVisualizer
{
parameters:
@class(EnergyStorageOsgVisualizer);
}
File: src/inet/visualizer/osg/power/EnergyStorageOsgVisualizer.ned