$search
#include <bodies.h>
Public Member Functions | |
void | addBody (const shapes::Shape *shape, const btTransform &pose, double padding=0.0) |
BodyVector (const std::vector< shapes::Shape * > &shapes, const std::vector< btTransform > &poses, double padding) | |
BodyVector () | |
const Body * | getBody (unsigned int i) const |
BoundingSphere | getBoundingSphere (unsigned int i) const |
double | getBoundingSphereRadiusSquared (unsigned int i) const |
const Body * | getPaddedBody (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 btTransform &pose) |
~BodyVector () | |
Private Attributes | |
std::vector< Body * > | bodies_ |
std::vector< Body * > | padded_bodies_ |
std::vector< double > | padded_rsqrs_ |
double | padding_ |
std::vector< double > | rsqrs_ |
Definition at line 436 of file bodies.h.
bodies::BodyVector::BodyVector | ( | ) |
Definition at line 1088 of file bodies.cpp.
bodies::BodyVector::BodyVector | ( | const std::vector< shapes::Shape * > & | shapes, | |
const std::vector< btTransform > & | poses, | |||
double | padding | |||
) |
Definition at line 1091 of file bodies.cpp.
bodies::BodyVector::~BodyVector | ( | ) |
Definition at line 1102 of file bodies.cpp.
void bodies::BodyVector::addBody | ( | const shapes::Shape * | shape, | |
const btTransform & | pose, | |||
double | padding = 0.0 | |||
) |
Definition at line 1111 of file bodies.cpp.
const bodies::Body * bodies::BodyVector::getBody | ( | unsigned int | i | ) | const |
Definition at line 1138 of file bodies.cpp.
bodies::BoundingSphere bodies::BodyVector::getBoundingSphere | ( | unsigned int | i | ) | const |
Definition at line 1154 of file bodies.cpp.
double bodies::BodyVector::getBoundingSphereRadiusSquared | ( | unsigned int | i | ) | const |
Definition at line 1178 of file bodies.cpp.
const bodies::Body * bodies::BodyVector::getPaddedBody | ( | unsigned int | i | ) | const |
Definition at line 1144 of file bodies.cpp.
bodies::BoundingSphere bodies::BodyVector::getPaddedBoundingSphere | ( | unsigned int | i | ) | const |
Definition at line 1164 of file bodies.cpp.
double bodies::BodyVector::getPaddedBoundingSphereRadiusSquared | ( | unsigned int | i | ) | const |
Definition at line 1186 of file bodies.cpp.
double bodies::BodyVector::getPadding | ( | void | ) | const [inline] |
unsigned int bodies::BodyVector::getSize | ( | ) | const [inline] |
void bodies::BodyVector::setPose | ( | unsigned int | i, | |
const btTransform & | pose | |||
) |
Definition at line 1129 of file bodies.cpp.
std::vector<Body*> bodies::BodyVector::bodies_ [private] |
std::vector<Body*> bodies::BodyVector::padded_bodies_ [private] |
std::vector<double> bodies::BodyVector::padded_rsqrs_ [private] |
double bodies::BodyVector::padding_ [private] |
std::vector<double> bodies::BodyVector::rsqrs_ [private] |