$search

bodies::BodyVector Class Reference

#include <bodies.h>

List of all members.

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 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 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_

Detailed Description

Definition at line 436 of file bodies.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 455 of file bodies.h.

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

Definition at line 451 of file bodies.h.

void bodies::BodyVector::setPose ( unsigned int  i,
const btTransform &  pose 
)

Definition at line 1129 of file bodies.cpp.


Member Data Documentation

std::vector<Body*> bodies::BodyVector::bodies_ [private]

Definition at line 470 of file bodies.h.

std::vector<Body*> bodies::BodyVector::padded_bodies_ [private]

Definition at line 472 of file bodies.h.

std::vector<double> bodies::BodyVector::padded_rsqrs_ [private]

Definition at line 474 of file bodies.h.

double bodies::BodyVector::padding_ [private]

Definition at line 471 of file bodies.h.

std::vector<double> bodies::BodyVector::rsqrs_ [private]

Definition at line 473 of file bodies.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends


geometric_shapes
Author(s): Ioan Sucan
autogenerated on Fri Mar 1 14:16:11 2013