#include <LinkTraverse.h>
Definition at line 29 of file LinkTraverse.h.
◆ LinkTraverse() [1/3]
LinkTraverse::LinkTraverse |
( |
| ) |
|
◆ LinkTraverse() [2/3]
LinkTraverse::LinkTraverse |
( |
int |
size | ) |
|
◆ LinkTraverse() [3/3]
LinkTraverse::LinkTraverse |
( |
Link * |
root, |
|
|
bool |
doUpward = false , |
|
|
bool |
doDownward = true |
|
) |
| |
◆ ~LinkTraverse()
LinkTraverse::~LinkTraverse |
( |
| ) |
|
|
virtual |
◆ begin()
std::vector<Link*>::const_iterator hrp::LinkTraverse::begin |
( |
| ) |
const |
|
inline |
◆ calcForwardKinematics()
void LinkTraverse::calcForwardKinematics |
( |
bool |
calcVelocity = false , |
|
|
bool |
calcAcceleration = false |
|
) |
| const |
◆ calcTotalMass()
double LinkTraverse::calcTotalMass |
( |
| ) |
|
◆ empty()
bool hrp::LinkTraverse::empty |
( |
void |
| ) |
const |
|
inline |
◆ end()
std::vector<Link*>::const_iterator hrp::LinkTraverse::end |
( |
| ) |
const |
|
inline |
◆ find()
void LinkTraverse::find |
( |
Link * |
root, |
|
|
bool |
doUpward = false , |
|
|
bool |
doDownward = true |
|
) |
| |
|
virtual |
◆ isDownward()
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()
Link* hrp::LinkTraverse::link |
( |
int |
index | ) |
const |
|
inline |
◆ numLinks()
unsigned int hrp::LinkTraverse::numLinks |
( |
| ) |
const |
|
inline |
◆ operator[]()
Link* hrp::LinkTraverse::operator[] |
( |
int |
index | ) |
const |
|
inline |
◆ rootLink()
Link* hrp::LinkTraverse::rootLink |
( |
| ) |
const |
|
inline |
◆ size()
size_t hrp::LinkTraverse::size |
( |
void |
| ) |
const |
|
inline |
◆ totalMass()
double hrp::LinkTraverse::totalMass |
( |
| ) |
const |
|
inline |
◆ traverse()
void LinkTraverse::traverse |
( |
Link * |
link, |
|
|
bool |
doUpward, |
|
|
bool |
doDownward, |
|
|
bool |
isUpward, |
|
|
Link * |
prev |
|
) |
| |
|
private |
◆ links
std::vector<Link*> hrp::LinkTraverse::links |
|
protected |
◆ numUpwardConnections
int hrp::LinkTraverse::numUpwardConnections |
|
protected |
◆ totalMass_
double hrp::LinkTraverse::totalMass_ |
|
protected |
The documentation for this class was generated from the following files: