Public Member Functions | Private Member Functions | List of all members
hrp::LinkPath Class Reference

#include <LinkPath.h>

Inheritance diagram for hrp::LinkPath:
Inheritance graph
[legend]

Public Member Functions

LinkbaseLink () const
 
LinkendLink () const
 
bool find (Link *base, Link *end)
 
void find (Link *end)
 path from the root link More...
 
 LinkPath ()
 
 LinkPath (Link *base, Link *end)
 
 LinkPath (Link *end)
 path from the root link More...
 
- Public Member Functions inherited from hrp::LinkTraverse
std::vector< Link * >::const_iterator begin () const
 
void calcForwardKinematics (bool calcVelocity=false, bool calcAcceleration=false) const
 
double calcTotalMass ()
 
bool empty () const
 
std::vector< Link * >::const_iterator end () const
 
bool isDownward (int index) const
 
Linklink (int index) const
 
 LinkTraverse ()
 
 LinkTraverse (int size)
 
 LinkTraverse (Link *root, bool doUpward=false, bool doDownward=true)
 
unsigned int numLinks () const
 
Linkoperator[] (int index) const
 
LinkrootLink () const
 
size_t size () const
 
double totalMass () const
 
virtual ~LinkTraverse ()
 

Private Member Functions

virtual void find (Link *root, bool doUpward, bool doDownward)
 This method is disabled. More...
 
void findPathFromRootSub (Link *link)
 
bool findPathSub (Link *link, Link *prev, Link *end, bool isForwardDirection)
 

Additional Inherited Members

- Protected Attributes inherited from hrp::LinkTraverse
std::vector< Link * > links
 
int numUpwardConnections
 
double totalMass_
 

Detailed Description

Definition at line 23 of file LinkPath.h.

Constructor & Destructor Documentation

LinkPath::LinkPath ( )

Definition at line 24 of file LinkPath.cpp.

LinkPath::LinkPath ( Link base,
Link end 
)

Definition at line 30 of file LinkPath.cpp.

LinkPath::LinkPath ( Link end)

path from the root link

Definition at line 37 of file LinkPath.cpp.

Member Function Documentation

Link* hrp::LinkPath::baseLink ( ) const
inline

Definition at line 34 of file LinkPath.h.

Link* hrp::LinkPath::endLink ( ) const
inline

Definition at line 38 of file LinkPath.h.

bool LinkPath::find ( Link base,
Link end 
)

Definition at line 50 of file LinkPath.cpp.

void LinkPath::find ( Link end)

path from the root link

Definition at line 98 of file LinkPath.cpp.

void LinkPath::find ( Link root,
bool  doUpward,
bool  doDownward 
)
privatevirtual

This method is disabled.

Reimplemented from hrp::LinkTraverse.

Definition at line 44 of file LinkPath.cpp.

void LinkPath::findPathFromRootSub ( Link link)
private

Definition at line 107 of file LinkPath.cpp.

bool LinkPath::findPathSub ( Link link,
Link prev,
Link end,
bool  isForwardDirection 
)
private

Definition at line 62 of file LinkPath.cpp.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:45