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

#include <Body.h>

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

Public Types

typedef ::std::vector< Shape * >
::iterator 
Iterator
 

Public Member Functions

 Body (Model *model)
 
virtual ~Body ()
 
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 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

Modelmodel
 
::std::vector< Shape * > shapes
 

Private Attributes

::std::string name
 

Member Typedef Documentation

typedef ::std::vector< Shape* >::iterator rl::sg::Body::Iterator

Constructor & Destructor Documentation

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

Member Function Documentation

void rl::sg::Body::add ( Shape shape)
virtual
Body::Iterator rl::sg::Body::begin ( )
virtual Shape* rl::sg::Body::create ( SoVRMLShape *  shape)
pure virtual
Body::Iterator rl::sg::Body::end ( )
void rl::sg::Body::getBoundingBoxPoints ( const ::rl::math::Transform frame,
::std::vector< ::rl::math::Vector3 > &  p 
) const
virtual void rl::sg::Body::getFrame ( ::rl::math::Transform frame)
pure virtual
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
void rl::sg::Body::remove ( Shape shape)
virtual
virtual void rl::sg::Body::setFrame ( const ::rl::math::Transform frame)
pure virtual
void rl::sg::Body::setName ( const ::std::string &  name)
virtual

Reimplemented in rl::sg::so::Body.

Member Data Documentation

::rl::math::Vector3 rl::sg::Body::center
::rl::math::Vector3 rl::sg::Body::max
::rl::math::Vector3 rl::sg::Body::min
Model* rl::sg::Body::model
protected
::std::string rl::sg::Body::name
private
::std::vector< ::rl::math::Vector3 > rl::sg::Body::points
::std::vector< Shape* > rl::sg::Body::shapes
protected

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