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

used to get a geode from a nodegroup More...

#include <gui_helper_functions.h>

Public Member Functions

 GeodeVisitor (const std::string name)
 
virtual void apply (osg::Node &searchNode)
 
osg::Geode * getNode ()
 

Private Attributes

osg::Geode * resultNode
 
std::string name
 

Detailed Description

used to get a geode from a nodegroup

Definition at line 84 of file gui_helper_functions.h.

Constructor & Destructor Documentation

◆ GeodeVisitor()

mars::graphics::GeodeVisitor::GeodeVisitor ( const std::string  name)

Definition at line 73 of file gui_helper_functions.cpp.

Member Function Documentation

◆ apply()

void mars::graphics::GeodeVisitor::apply ( osg::Node &  searchNode)
virtual

Definition at line 78 of file gui_helper_functions.cpp.

◆ getNode()

osg::Geode * mars::graphics::GeodeVisitor::getNode ( void  )

Definition at line 88 of file gui_helper_functions.cpp.

Member Data Documentation

◆ name

std::string mars::graphics::GeodeVisitor::name
private

Definition at line 94 of file gui_helper_functions.h.

◆ resultNode

osg::Geode* mars::graphics::GeodeVisitor::resultNode
private

Definition at line 93 of file gui_helper_functions.h.


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