Robotics Library
0.7.0
|
#include <Body.h>
Public Types | |
typedef ::std::vector< Shape * >::iterator | Iterator |
Public Member Functions | |
Body (Model *model) | |
virtual | ~Body () |
virtual void | add (Shape *shape) |
Iterator | begin () |
virtual Shape * | create (::SoVRMLShape *shape)=0 |
Iterator | end () |
void | getBoundingBoxPoints (const ::rl::math::Transform &frame, ::std::vector< ::rl::math::Vector3 > &p) const |
Model * | getModel () const |
virtual ::std::string | getName () const |
::std::size_t | getNumShapes () const |
void | getPoints (const ::rl::math::Transform &frame, ::std::vector< ::rl::math::Vector3 > &p) const |
Shape * | getShape (const ::std::size_t &i) const |
virtual void | getFrame (::rl::math::Transform &frame)=0 |
virtual void | remove (Shape *shape) |
virtual void | setFrame (const ::rl::math::Transform &frame)=0 |
virtual void | setName (const ::std::string &name) |
Public Attributes | |
::rl::math::Vector3 | center |
::rl::math::Vector3 | max |
::rl::math::Vector3 | min |
::std::vector< ::rl::math::Vector3 > | points |
Protected Attributes | |
Model * | model |
::std::vector< Shape * > | shapes |
Private Attributes | |
::std::string | name |
typedef ::std::vector<Shape*>::iterator rl::sg::Body::Iterator |
rl::sg::Body::Body | ( | Model * | model | ) |
|
virtual |
Reimplemented in rl::sg::solid::Body, rl::sg::so::Body, rl::sg::pqp::Body, rl::sg::ode::Body, rl::sg::fcl::Body, and rl::sg::bullet::Body.
|
virtual |
Body::Iterator rl::sg::Body::begin | ( | ) |
|
pure virtual |
Implemented in rl::sg::so::Body, rl::sg::pqp::Body, rl::sg::ode::Body, and rl::sg::bullet::Body.
Body::Iterator rl::sg::Body::end | ( | ) |
void rl::sg::Body::getBoundingBoxPoints | ( | const ::rl::math::Transform & | frame, |
::std::vector< ::rl::math::Vector3 > & | p | ||
) | const |
|
pure virtual |
Implemented in rl::sg::solid::Body, rl::sg::so::Body, rl::sg::pqp::Body, rl::sg::ode::Body, rl::sg::fcl::Body, and rl::sg::bullet::Body.
Model * rl::sg::Body::getModel | ( | ) | const |
std::string rl::sg::Body::getName | ( | ) | const |
std::size_t rl::sg::Body::getNumShapes | ( | ) | const |
void rl::sg::Body::getPoints | ( | const ::rl::math::Transform & | frame, |
::std::vector< ::rl::math::Vector3 > & | p | ||
) | const |
Shape * rl::sg::Body::getShape | ( | const ::std::size_t & | i | ) | const |
|
virtual |
|
pure virtual |
Implemented in rl::sg::solid::Body, rl::sg::so::Body, rl::sg::pqp::Body, rl::sg::ode::Body, rl::sg::fcl::Body, and rl::sg::bullet::Body.
|
virtual |
Reimplemented in rl::sg::so::Body.
::rl::math::Vector3 rl::sg::Body::center |
::rl::math::Vector3 rl::sg::Body::max |
::rl::math::Vector3 rl::sg::Body::min |
|
protected |
|
private |
::std::vector< ::rl::math::Vector3> rl::sg::Body::points |
|
protected |