Privacy
An open-source, flexible 3D physical simulation framework
mars::graphics::OSGHudElementStruct Class Reference

Wraps hudElementStruct in osg::Group. More...

#include <OSGHudElementStruct.h>

Public Member Functions

 OSGHudElementStruct (const interfaces::hudElementStruct &he, const std::string &config_path, unsigned int id, osg::Node *node=NULL)
 Constructor creates HUDElement from hudElementStruct. More...
 
 ~OSGHudElementStruct ()
 
HUDElementgetHUDElement ()
 

Private Attributes

HUDElementelem_
 

Detailed Description

Wraps hudElementStruct in osg::Group.

Definition at line 45 of file OSGHudElementStruct.h.

Constructor & Destructor Documentation

◆ OSGHudElementStruct()

mars::graphics::OSGHudElementStruct::OSGHudElementStruct ( const interfaces::hudElementStruct he,
const std::string &  config_path,
unsigned int  id,
osg::Node *  node = NULL 
)

Constructor creates HUDElement from hudElementStruct.

Definition at line 42 of file OSGHudElementStruct.cpp.

◆ ~OSGHudElementStruct()

mars::graphics::OSGHudElementStruct::~OSGHudElementStruct ( )

Definition at line 116 of file OSGHudElementStruct.cpp.

Member Function Documentation

◆ getHUDElement()

HUDElement * mars::graphics::OSGHudElementStruct::getHUDElement ( )

Definition at line 120 of file OSGHudElementStruct.cpp.

Member Data Documentation

◆ elem_

HUDElement* mars::graphics::OSGHudElementStruct::elem_
private

Definition at line 60 of file OSGHudElementStruct.h.


The documentation for this class was generated from the following files: