Robotics Library
0.7.0
|
#include <Model.h>
Public Member Functions | |
Model (Scene *scene) | |
virtual | ~Model () |
void | add (::rl::sg::Body *body) |
::rl::sg::Body * | create () |
::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 () |
Body * | getBody (const ::std::size_t &i) const |
virtual ::std::string | getName () const |
::std::size_t | getNumBodies () const |
Scene * | getScene () 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 |
Scene * | scene |
rl::sg::so::Model::Model | ( | Scene * | scene | ) |
|
virtual |
Reimplemented from rl::sg::Model.
void rl::sg::so::Model::add | ( | ::rl::sg::Body * | body | ) |
|
virtual |
Implements rl::sg::Model.
std::string rl::sg::so::Model::getName | ( | ) | const |
void rl::sg::so::Model::remove | ( | ::rl::sg::Body * | body | ) |
|
virtual |
Reimplemented from rl::sg::Model.
::SoVRMLGroup* rl::sg::so::Model::root |