Robotics Library
0.7.0
|
#include <Body.h>
Public Member Functions | |
Body (Model *model) | |
virtual | ~Body () |
::rl::sg::Shape * | create (SoVRMLShape *shape) |
void | getFrame (::rl::math::Transform &frame) |
void | setFrame (const ::rl::math::Transform &frame) |
void | setMargin (const ::rl::math::Real &margin) |
Public Member Functions inherited from rl::sg::Body | |
Body (Model *model) | |
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 | remove (Shape *shape) |
virtual void | setName (const ::std::string &name) |
Public Attributes | |
::rl::math::Transform | frame |
Public Attributes inherited from rl::sg::Body | |
::rl::math::Vector3 | center |
::rl::math::Vector3 | max |
::rl::math::Vector3 | min |
::std::vector< ::rl::math::Vector3 > | points |
Additional Inherited Members | |
Public Types inherited from rl::sg::Body | |
typedef ::std::vector< Shape * >::iterator | Iterator |
Protected Attributes inherited from rl::sg::Body | |
Model * | model |
::std::vector< Shape * > | shapes |
rl::sg::solid::Body::Body | ( | Model * | model | ) |
|
virtual |
Reimplemented from rl::sg::Body.
rl::sg::Shape * rl::sg::solid::Body::create | ( | SoVRMLShape * | shape | ) |
|
virtual |
Implements rl::sg::Body.
|
virtual |
Implements rl::sg::Body.
void rl::sg::solid::Body::setMargin | ( | const ::rl::math::Real & | margin | ) |
::rl::math::Transform rl::sg::solid::Body::frame |