Robotics Library  0.7.0
Public Member Functions | Public Attributes | Protected Attributes | List of all members
rl::sg::fcl::Body Class Reference

#include <Body.h>

Inheritance diagram for rl::sg::fcl::Body:
Inheritance graph

Public Member Functions

 Body (Model *model)
virtual ~Body ()
void add (::rl::sg::Shape *shape)
::rl::sg::Shapecreate (SoVRMLShape *shape)
void getFrame (::rl::math::Transform &frame)
void remove (::rl::sg::Shape *shape)
void setFrame (const ::rl::math::Transform &frame)
- Public Member Functions inherited from rl::sg::Body
 Body (Model *model)
virtual void add (Shape *shape)
Iterator begin ()
virtual Shapecreate (::SoVRMLShape *shape)=0
Iterator end ()
void getBoundingBoxPoints (const ::rl::math::Transform &frame, ::std::vector< ::rl::math::Vector3 > &p) const
ModelgetModel () 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
ShapegetShape (const ::std::size_t &i) const
virtual void remove (Shape *shape)
virtual void setName (const ::std::string &name)

Public Attributes

::std::vector< ::fcl::CollisionObject * > collisionObjects
::fcl::DynamicAABBTreeCollisionManager manager
- Public Attributes inherited from rl::sg::Body
::rl::math::Vector3 center
::rl::math::Vector3 max
::rl::math::Vector3 min
::std::vector< ::rl::math::Vector3points

Protected Attributes

::rl::math::Transform frame
- Protected Attributes inherited from rl::sg::Body
::std::vector< Shape * > shapes

Additional Inherited Members

- Public Types inherited from rl::sg::Body
typedef ::std::vector< Shape * >::iterator Iterator

Constructor & Destructor Documentation

◆ Body()

rl::sg::fcl::Body::Body ( Model model)

◆ ~Body()

rl::sg::fcl::Body::~Body ( )

Reimplemented from rl::sg::Body.

Member Function Documentation

◆ add()

void rl::sg::fcl::Body::add ( ::rl::sg::Shape shape)

◆ create()

rl::sg::Shape * rl::sg::fcl::Body::create ( SoVRMLShape *  shape)

◆ getFrame()

void rl::sg::fcl::Body::getFrame ( ::rl::math::Transform frame)

Implements rl::sg::Body.

◆ remove()

void rl::sg::fcl::Body::remove ( ::rl::sg::Shape shape)

◆ setFrame()

void rl::sg::fcl::Body::setFrame ( const ::rl::math::Transform frame)

Implements rl::sg::Body.

Member Data Documentation

◆ collisionObjects

::std::vector< ::fcl::CollisionObject*> rl::sg::fcl::Body::collisionObjects

◆ frame

::rl::math::Transform rl::sg::fcl::Body::frame

◆ manager

::fcl::DynamicAABBTreeCollisionManager rl::sg::fcl::Body::manager

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