Robotics Library  0.7.0
Public Types | Public Member Functions | Protected Attributes | Static Private Member Functions | Private Attributes | List of all members
rl::sg::Scene Class Referenceabstract

#include <Scene.h>

Inheritance diagram for rl::sg::Scene:
Inheritance graph
[legend]

Public Types

typedef ::std::vector< Model * >::iterator Iterator
 

Public Member Functions

 Scene ()
 
virtual ~Scene ()
 
virtual void add (Model *model)
 
Iterator begin ()
 
virtual Modelcreate ()=0
 
Iterator end ()
 
ModelgetModel (const ::std::size_t &i) const
 
virtual ::std::string getName () const
 
::std::size_t getNumModels () const
 
void load (const ::std::string &filename, const bool &doBoundingBoxPoints=false, const bool &doPoints=false)
 
virtual void remove (Model *model)
 
virtual void setName (const ::std::string &name)
 

Protected Attributes

bool isScalingSupported
 
::std::vector< Model * > models
 

Static Private Member Functions

static void triangleCallback (void *userData, ::SoCallbackAction *action, const ::SoPrimitiveVertex *v1, const ::SoPrimitiveVertex *v2, const ::SoPrimitiveVertex *v3)
 

Private Attributes

::std::string name
 

Member Typedef Documentation

◆ Iterator

typedef ::std::vector<Model*>::iterator rl::sg::Scene::Iterator

Constructor & Destructor Documentation

◆ Scene()

rl::sg::Scene::Scene ( )

◆ ~Scene()

rl::sg::Scene::~Scene ( )
virtual

Member Function Documentation

◆ add()

void rl::sg::Scene::add ( Model model)
virtual

◆ begin()

Scene::Iterator rl::sg::Scene::begin ( )

◆ create()

virtual Model* rl::sg::Scene::create ( )
pure virtual

◆ end()

Scene::Iterator rl::sg::Scene::end ( )

◆ getModel()

Model * rl::sg::Scene::getModel ( const ::std::size_t &  i) const

◆ getName()

std::string rl::sg::Scene::getName ( ) const

◆ getNumModels()

std::size_t rl::sg::Scene::getNumModels ( ) const

◆ load()

void rl::sg::Scene::load ( const ::std::string &  filename,
const bool &  doBoundingBoxPoints = false,
const bool &  doPoints = false 
)

◆ remove()

void rl::sg::Scene::remove ( Model model)
virtual

◆ setName()

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

◆ triangleCallback()

void rl::sg::Scene::triangleCallback ( void *  userData,
::SoCallbackAction *  action,
const ::SoPrimitiveVertex *  v1,
const ::SoPrimitiveVertex *  v2,
const ::SoPrimitiveVertex *  v3 
)
staticprivate

Member Data Documentation

◆ isScalingSupported

bool rl::sg::Scene::isScalingSupported
protected

◆ models

::std::vector<Model*> rl::sg::Scene::models
protected

◆ name

::std::string rl::sg::Scene::name
private

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