Robotics Library  0.6.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
rl::sg::so::Body Class Reference

#include <Body.h>

Inheritance diagram for rl::sg::so::Body:
Inheritance graph
[legend]
Collaboration diagram for rl::sg::so::Body:
Collaboration graph
[legend]

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

Public Attributes

SoVRMLTransform * root
- 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
Modelmodel
::std::vector< Shape * > shapes

Constructor & Destructor Documentation

rl::sg::so::Body::Body ( Model model)
rl::sg::so::Body::~Body ( )
virtual

Reimplemented from rl::sg::Body.

Member Function Documentation

void rl::sg::so::Body::add ( ::rl::sg::Shape shape)
rl::sg::Shape * rl::sg::so::Body::create ( SoVRMLShape *  shape)
virtual

Implements rl::sg::Body.

void rl::sg::so::Body::getFrame ( ::rl::math::Transform frame)
virtual

Implements rl::sg::Body.

std::string rl::sg::so::Body::getName ( ) const

Reimplemented from rl::sg::Body.

void rl::sg::so::Body::remove ( ::rl::sg::Shape shape)
void rl::sg::so::Body::setFrame ( const ::rl::math::Transform frame)
virtual

Implements rl::sg::Body.

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

Reimplemented from rl::sg::Body.

Member Data Documentation

SoVRMLTransform* rl::sg::so::Body::root

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