Robotics Library  0.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Static Private Member Functions
rl::sg::ode::Scene Class Reference

#include <Scene.h>

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

List of all members.

Public Member Functions

 Scene ()
virtual ~Scene ()
bool areColliding (::rl::sg::Body *first,::rl::sg::Body *second)
bool areColliding (::rl::sg::Model *first,::rl::sg::Model *second)
bool areColliding (::rl::sg::Shape *first,::rl::sg::Shape *second)
::rl::sg::Modelcreate ()
bool isColliding ()
::rl::sg::Shaperaycast (const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target,::rl::math::Real &distance)
bool raycast (::rl::sg::Shape *shape, const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target,::rl::math::Real &distance)
- Public Member Functions inherited from rl::sg::RaycastScene
 RaycastScene ()
virtual ~RaycastScene ()
virtual bool raycast (Shape *shape, const ::rl::math::Vector3 &source, const ::rl::math::Vector3 &target,::rl::math::Real &distance)=0
- Public Member Functions inherited from rl::sg::Scene
virtual void add (Model *model)
Iterator begin ()
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)
- Public Member Functions inherited from rl::sg::SimpleScene
 SimpleScene ()
virtual ~SimpleScene ()
virtual bool areColliding (Body *first, Body *second)
virtual bool areColliding (Model *first, Model *second)
virtual bool areColliding (Shape *first, Shape *second)=0

Public Attributes

dSpaceID space
dWorldID world

Static Private Member Functions

static void bodyNearCallback (void *data, dGeomID o1, dGeomID o2)
static void modelNearCallback (void *data, dGeomID o1, dGeomID o2)
static void rayNearCallback (void *data, dGeomID o1, dGeomID o2)
static void shapeNearCallback (void *data, dGeomID o1, dGeomID o2)

Constructor & Destructor Documentation

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

Reimplemented from rl::sg::Scene.

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

Reimplemented from rl::sg::Scene.


Member Function Documentation

bool rl::sg::ode::Scene::areColliding ( ::rl::sg::Body first,
::rl::sg::Body second 
)
bool rl::sg::ode::Scene::areColliding ( ::rl::sg::Model first,
::rl::sg::Model second 
)
bool rl::sg::ode::Scene::areColliding ( ::rl::sg::Shape first,
::rl::sg::Shape second 
)
void rl::sg::ode::Scene::bodyNearCallback ( void *  data,
dGeomID  o1,
dGeomID  o2 
)
staticprivate
rl::sg::Model * rl::sg::ode::Scene::create ( )
virtual

Implements rl::sg::Scene.

bool rl::sg::ode::Scene::isColliding ( )
virtual

Reimplemented from rl::sg::SimpleScene.

void rl::sg::ode::Scene::modelNearCallback ( void *  data,
dGeomID  o1,
dGeomID  o2 
)
staticprivate
rl::sg::Shape * rl::sg::ode::Scene::raycast ( const ::rl::math::Vector3 source,
const ::rl::math::Vector3 target,
::rl::math::Real distance 
)
virtual

Implements rl::sg::RaycastScene.

bool rl::sg::ode::Scene::raycast ( ::rl::sg::Shape shape,
const ::rl::math::Vector3 source,
const ::rl::math::Vector3 target,
::rl::math::Real distance 
)
void rl::sg::ode::Scene::rayNearCallback ( void *  data,
dGeomID  o1,
dGeomID  o2 
)
staticprivate
void rl::sg::ode::Scene::shapeNearCallback ( void *  data,
dGeomID  o1,
dGeomID  o2 
)
staticprivate

Member Data Documentation

dSpaceID rl::sg::ode::Scene::space
dWorldID rl::sg::ode::Scene::world

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