OsgGeographicCoordinateSystem
Package: inet.common.geometry.common
OsgGeographicCoordinateSystem
simple moduleProvides an accurate geographic coordinate system using the built-in OSG API.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET 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 |
| sceneLatitude | double |
Latitude coordinate of the scene origin |
|
| sceneLongitude | double |
Longitude coordinate of the scene origin |
|
| sceneAltitude | double | 0m |
Altitude coordinate of the scene origin |
| sceneHeading | double | 90deg |
Geographic heading of the scene (0deg means X axis points north, 90deg means X axis points east) |
| sceneElevation | double | 0deg |
Geographic elevation of the scene (0deg means X axis is horizontal, positive rotates X axis towards the sky) |
| sceneBank | double | 0deg |
Bank of the scene |
Properties
| Name | Value | Description |
|---|---|---|
| class | OsgGeographicCoordinateSystem | |
| display | i=block/table2 |
Source code
// // Provides an accurate geographic coordinate system using the // built-in OSG API. // simple OsgGeographicCoordinateSystem extends SimpleModule like IGeographicCoordinateSystem { parameters: @class(OsgGeographicCoordinateSystem); @display("i=block/table2"); double sceneLatitude @unit(deg); // Latitude coordinate of the scene origin double sceneLongitude @unit(deg); // Longitude coordinate of the scene origin double sceneAltitude @unit(m) = default(0m); // Altitude coordinate of the scene origin double sceneHeading @unit(deg) = default(90deg); // Geographic heading of the scene (0deg means X axis points north, 90deg means X axis points east) double sceneElevation @unit(deg) = default(0deg); // Geographic elevation of the scene (0deg means X axis is horizontal, positive rotates X axis towards the sky) double sceneBank @unit(deg) = default(0deg); // Bank of the scene }File: src/inet/common/geometry/common/GeographicCoordinateSystem.ned