Public Member Functions | Private Attributes
bodies::BodyVector Class Reference

#include <bodies.h>

List of all members.

Public Member Functions

void addBody (const shapes::Shape *shape, const tf::Transform &pose, double padding=0.0)
 BodyVector ()
 BodyVector (const std::vector< shapes::Shape * > &shapes, const std::vector< tf::Transform > &poses, double padding)
const BodygetBody (unsigned int i) const
BoundingSphere getBoundingSphere (unsigned int i) const
double getBoundingSphereRadiusSquared (unsigned int i) const
const BodygetPaddedBody (unsigned int i) const
BoundingSphere getPaddedBoundingSphere (unsigned int i) const
double getPaddedBoundingSphereRadiusSquared (unsigned int i) const
double getPadding () const
unsigned int getSize () const
void setPose (unsigned int i, const tf::Transform &pose)
 ~BodyVector ()

Private Attributes

std::vector< Body * > bodies_
std::vector< Body * > padded_bodies_
std::vector< double > padded_rsqrs_
double padding_
std::vector< double > rsqrs_

Detailed Description

Definition at line 437 of file bodies.h.


Constructor & Destructor Documentation

Definition at line 1181 of file bodies.cpp.

bodies::BodyVector::BodyVector ( const std::vector< shapes::Shape * > &  shapes,
const std::vector< tf::Transform > &  poses,
double  padding 
)

Definition at line 1184 of file bodies.cpp.

Definition at line 1195 of file bodies.cpp.


Member Function Documentation

void bodies::BodyVector::addBody ( const shapes::Shape shape,
const tf::Transform pose,
double  padding = 0.0 
)

Definition at line 1204 of file bodies.cpp.

const bodies::Body * bodies::BodyVector::getBody ( unsigned int  i) const

Definition at line 1231 of file bodies.cpp.

Definition at line 1247 of file bodies.cpp.

double bodies::BodyVector::getBoundingSphereRadiusSquared ( unsigned int  i) const

Definition at line 1271 of file bodies.cpp.

const bodies::Body * bodies::BodyVector::getPaddedBody ( unsigned int  i) const

Definition at line 1237 of file bodies.cpp.

Definition at line 1257 of file bodies.cpp.

Definition at line 1279 of file bodies.cpp.

double bodies::BodyVector::getPadding ( void  ) const [inline]

Definition at line 456 of file bodies.h.

unsigned int bodies::BodyVector::getSize ( ) const [inline]

Definition at line 452 of file bodies.h.

void bodies::BodyVector::setPose ( unsigned int  i,
const tf::Transform pose 
)

Definition at line 1222 of file bodies.cpp.


Member Data Documentation

Definition at line 471 of file bodies.h.

Definition at line 473 of file bodies.h.

Definition at line 475 of file bodies.h.

double bodies::BodyVector::padding_ [private]

Definition at line 472 of file bodies.h.

Definition at line 474 of file bodies.h.


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


geometric_shapes
Author(s): Ioan Sucan
autogenerated on Thu Dec 12 2013 11:08:55