Public Member Functions | Public Attributes
SceneBuilder Class Reference

#include <SceneBuilder.h>

List of all members.

Public Member Functions

osg::Group * getRoot ()
osgOceanScenegetScene ()
bool loadScene (std::string xml_file)
bool loadScene (ConfigFile config)
 SceneBuilder ()
 SceneBuilder (int *argc, char **argv)
 SceneBuilder (boost::shared_ptr< osg::ArgumentParser > args)
 ~SceneBuilder ()

Public Attributes

boost::shared_ptr
< osg::ArgumentParser > 
arguments
std::vector< osg::ref_ptr
< osgWidget::Window > > 
camWidgets
std::vector< boost::shared_ptr
< SimulatedIAUV > > 
iauvFile
std::vector< osg::ref_ptr
< osg::Node > > 
objects
std::vector< boost::shared_ptr
< HUDCamera > > 
realcams
osg::ref_ptr< osg::Group > root
std::vector< boost::shared_ptr
< ROSInterface > > 
ROSInterfaces
osg::ref_ptr< osgOceanScenescene

Detailed Description

Definition at line 25 of file SceneBuilder.h.


Constructor & Destructor Documentation

Definition at line 29 of file SceneBuilder.cpp.

SceneBuilder::SceneBuilder ( int *  argc,
char **  argv 
)

Definition at line 36 of file SceneBuilder.cpp.

SceneBuilder::SceneBuilder ( boost::shared_ptr< osg::ArgumentParser >  args)

Definition at line 41 of file SceneBuilder.cpp.

Definition at line 398 of file SceneBuilder.cpp.


Member Function Documentation

osg::Group* SceneBuilder::getRoot ( ) [inline]

Definition at line 47 of file SceneBuilder.h.

osgOceanScene* SceneBuilder::getScene ( void  ) [inline]

Definition at line 51 of file SceneBuilder.h.

bool SceneBuilder::loadScene ( std::string  xml_file)

Definition at line 46 of file SceneBuilder.cpp.

bool SceneBuilder::loadScene ( ConfigFile  config)

Creates a scene graph from an XML Scene file. Overrides XML values with arguments passed in the constructor

Definition at line 55 of file SceneBuilder.cpp.


Member Data Documentation

boost::shared_ptr<osg::ArgumentParser> SceneBuilder::arguments

Definition at line 28 of file SceneBuilder.h.

std::vector<osg::ref_ptr<osgWidget::Window> > SceneBuilder::camWidgets

Definition at line 37 of file SceneBuilder.h.

std::vector<boost::shared_ptr<SimulatedIAUV> > SceneBuilder::iauvFile

Definition at line 30 of file SceneBuilder.h.

std::vector<osg::ref_ptr<osg::Node> > SceneBuilder::objects

Definition at line 31 of file SceneBuilder.h.

std::vector<boost::shared_ptr<HUDCamera> > SceneBuilder::realcams

Definition at line 35 of file SceneBuilder.h.

osg::ref_ptr<osg::Group> SceneBuilder::root

Definition at line 33 of file SceneBuilder.h.

std::vector<boost::shared_ptr<ROSInterface> > SceneBuilder::ROSInterfaces

Definition at line 36 of file SceneBuilder.h.

Definition at line 29 of file SceneBuilder.h.


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


uwsim
Author(s): Mario Prats
autogenerated on Mon Oct 6 2014 08:24:07