Robotics Library  0.6.2
Public Member Functions | Public Attributes | List of all members
rl::sg::so::Model Class Reference

#include <Model.h>

Inheritance diagram for rl::sg::so::Model:
Inheritance graph
[legend]

Public Member Functions

 Model (Scene *scene)
 
virtual ~Model ()
 
void add (::rl::sg::Body *body)
 
::rl::sg::Bodycreate ()
 
::std::string getName () const
 
void remove (::rl::sg::Body *body)
 
void setName (const ::std::string &name)
 
- Public Member Functions inherited from rl::sg::Model
 Model (Scene *scene)
 
virtual void add (Body *body)
 
Iterator begin ()
 
Iterator end ()
 
BodygetBody (const ::std::size_t &i) const
 
virtual ::std::string getName () const
 
::std::size_t getNumBodies () const
 
ScenegetScene () const
 
virtual void remove (Body *body)
 

Public Attributes

SoVRMLGroup * root
 

Additional Inherited Members

- Public Types inherited from rl::sg::Model
typedef ::std::vector< Body * >::iterator Iterator
 
- Protected Attributes inherited from rl::sg::Model
::std::vector< Body * > bodies
 
Scenescene
 

Constructor & Destructor Documentation

◆ Model()

rl::sg::so::Model::Model ( Scene scene)

◆ ~Model()

rl::sg::so::Model::~Model ( )
virtual

Reimplemented from rl::sg::Model.

Member Function Documentation

◆ add()

void rl::sg::so::Model::add ( ::rl::sg::Body body)

◆ create()

rl::sg::Body * rl::sg::so::Model::create ( )
virtual

Implements rl::sg::Model.

◆ getName()

std::string rl::sg::so::Model::getName ( ) const

◆ remove()

void rl::sg::so::Model::remove ( ::rl::sg::Body body)

◆ setName()

void rl::sg::so::Model::setName ( const ::std::string &  name)
virtual

Reimplemented from rl::sg::Model.

Member Data Documentation

◆ root

SoVRMLGroup* rl::sg::so::Model::root

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