OMNeT++ API 6.1
Discrete Event Simulation Library
OSG/osgEarth Support (3D Graphics)

Description

OMNeT++ provides support for 3D visualization of simulation scenes, with the help of the OpenSceneGraph and osgEarth libraries. Assemble an OSG scene and give it to a cOsgCanvas for visualization.

Classes

struct  cOsgCanvas::Viewpoint
 Defines a viewpoint in the 3D space. More...
 
struct  cOsgCanvas::EarthViewpoint
 Defines a viewpoint in 3D space with geographical coordinates, for osgEarth-style viewing. More...
 
class  cOsgCanvas
 Wraps an OpenSceneGraph scene, allowing 3D visualization in graphical user interfaces that support it (currently Qtenv). More...
 
class  cObjectOsgNode
 An osg::Group for defining correspondence of a 3D object to an OMNeT++ object. More...
 

Enumerations

enum  ViewerStyle { STYLE_GENERIC, STYLE_EARTH }
 Viewer styles. More...
 
enum  CameraManipulatorType {
  CAM_AUTO, CAM_TERRAIN, CAM_OVERVIEW, CAM_TRACKBALL,
  CAM_EARTH
}
 Camera manupulator types. More...
 

Enumeration Type Documentation

◆ ViewerStyle

Viewer styles.

Enumerator
STYLE_GENERIC 

For generic (non-osgEarth) OSG models.

STYLE_EARTH 

For osgEarth models.

◆ CameraManipulatorType

Camera manupulator types.

Enumerator
CAM_AUTO 

Choose the camera manipulator automatically.

CAM_TERRAIN 

Suitable for flying above an object or terrain.

CAM_OVERVIEW 

Similar to TERRAIN, but only allows seeing the object from above.

CAM_TRACKBALL 

Allows unrestricted movement centered around an object.

CAM_EARTH 

Useful when viewing osgEarth scenes.