#include <LinkTraverse.h>
Definition at line 29 of file LinkTraverse.h.
LinkTraverse::LinkTraverse |
( |
| ) |
|
LinkTraverse::LinkTraverse |
( |
int |
size | ) |
|
LinkTraverse::LinkTraverse |
( |
Link * |
root, |
|
|
bool |
doUpward = false , |
|
|
bool |
doDownward = true |
|
) |
| |
LinkTraverse::~LinkTraverse |
( |
| ) |
|
|
virtual |
std::vector<Link*>::const_iterator hrp::LinkTraverse::begin |
( |
| ) |
const |
|
inline |
void LinkTraverse::calcForwardKinematics |
( |
bool |
calcVelocity = false , |
|
|
bool |
calcAcceleration = false |
|
) |
| const |
double LinkTraverse::calcTotalMass |
( |
| ) |
|
bool hrp::LinkTraverse::empty |
( |
void |
| ) |
const |
|
inline |
std::vector<Link*>::const_iterator hrp::LinkTraverse::end |
( |
| ) |
const |
|
inline |
void LinkTraverse::find |
( |
Link * |
root, |
|
|
bool |
doUpward = false , |
|
|
bool |
doDownward = true |
|
) |
| |
|
virtual |
bool hrp::LinkTraverse::isDownward |
( |
int |
index | ) |
const |
|
inline |
If the connection from the queried link to the next link is downward (forward) direction, the method returns true. Otherwise, returns false. The range of valid indices is 0 to (numLinks() - 2).
Definition at line 77 of file LinkTraverse.h.
Link* hrp::LinkTraverse::link |
( |
int |
index | ) |
const |
|
inline |
unsigned int hrp::LinkTraverse::numLinks |
( |
| ) |
const |
|
inline |
Link* hrp::LinkTraverse::operator[] |
( |
int |
index | ) |
const |
|
inline |
Link* hrp::LinkTraverse::rootLink |
( |
| ) |
const |
|
inline |
size_t hrp::LinkTraverse::size |
( |
void |
| ) |
const |
|
inline |
double hrp::LinkTraverse::totalMass |
( |
| ) |
const |
|
inline |
void LinkTraverse::traverse |
( |
Link * |
link, |
|
|
bool |
doUpward, |
|
|
bool |
doDownward, |
|
|
bool |
isUpward, |
|
|
Link * |
prev |
|
) |
| |
|
private |
std::vector<Link*> hrp::LinkTraverse::links |
|
protected |
int hrp::LinkTraverse::numUpwardConnections |
|
protected |
double hrp::LinkTraverse::totalMass_ |
|
protected |
The documentation for this class was generated from the following files: