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() [1/3]

LinkPath::LinkPath ( )

Definition at line 24 of file LinkPath.cpp.

◆ LinkPath() [2/3]

LinkPath::LinkPath ( Link base,
Link end 
)

Definition at line 30 of file LinkPath.cpp.

◆ LinkPath() [3/3]

LinkPath::LinkPath ( Link end)

path from the root link

Definition at line 37 of file LinkPath.cpp.

Member Function Documentation

◆ baseLink()

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

Definition at line 34 of file LinkPath.h.

◆ endLink()

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

Definition at line 38 of file LinkPath.h.

◆ find() [1/3]

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

Definition at line 50 of file LinkPath.cpp.

◆ find() [2/3]

void LinkPath::find ( Link end)

path from the root link

Definition at line 98 of file LinkPath.cpp.

◆ find() [3/3]

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.

◆ findPathFromRootSub()

void LinkPath::findPathFromRootSub ( Link link)
private

Definition at line 107 of file LinkPath.cpp.

◆ findPathSub()

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 Thu Sep 8 2022 02:24:08