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
std::vector< osg::ref_ptr
< osg::Node > > 
trajectories

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 534 of file SceneBuilder.cpp.


Member Function Documentation

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

Definition at line 48 of file SceneBuilder.h.

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

Definition at line 52 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 38 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 36 of file SceneBuilder.h.

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

Definition at line 34 of file SceneBuilder.h.

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

Definition at line 37 of file SceneBuilder.h.

Definition at line 29 of file SceneBuilder.h.

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

Definition at line 32 of file SceneBuilder.h.


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


uwsim
Author(s): Mario Prats , Javier Perez
autogenerated on Fri Aug 28 2015 13:28:58