Choreonoid  1.8
Public Member Functions | List of all members
cnoid::LinkPath Class Reference

#include <LinkPath.h>

Inheritance diagram for cnoid::LinkPath:
cnoid::LinkTraverse

Public Member Functions

 LinkPath ()
 
 LinkPath (Link *base, Link *end)
 
 LinkPath (Link *end)
 path from the root link More...
 
bool setPath (Link *base, Link *end)
 
void setPath (Link *end)
 path from the root link More...
 
LinkbaseLink () const
 
LinkendLink () const
 
- Public Member Functions inherited from cnoid::LinkTraverse
 LinkTraverse ()
 
 LinkTraverse (int size)
 
 LinkTraverse (Link *root, bool doUpward=false, bool doDownward=true)
 
 LinkTraverse (const LinkTraverse &org)
 
virtual ~LinkTraverse ()
 
void clear ()
 
void append (Link *link, bool isDownward=true)
 
bool remove (Link *link)
 
LinkprependRootAdjacentLinkToward (Link *link)
 
int numLinks () const
 
bool empty () const
 
std::size_t size () const
 
LinkrootLink () const
 
Linklink (int index) const
 
Linkoperator[] (int index) const
 
const std::vector< Link * > & links () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool isDownward (int index) const
 
void calcForwardKinematics (bool calcVelocity=false, bool calcAcceleration=false) const
 

Additional Inherited Members

- Public Types inherited from cnoid::LinkTraverse
typedef std::vector< Link * > container
 
typedef container::iterator iterator
 
typedef container::const_iterator const_iterator
 
- Protected Attributes inherited from cnoid::LinkTraverse
std::vector< Link * > links_
 
int numUpwardConnections
 

Constructor & Destructor Documentation

◆ LinkPath() [1/3]

LinkPath::LinkPath ( )

◆ LinkPath() [2/3]

LinkPath::LinkPath ( Link base,
Link end 
)

◆ LinkPath() [3/3]

LinkPath::LinkPath ( Link end)

path from the root link

Member Function Documentation

◆ baseLink()

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

◆ endLink()

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

◆ setPath() [1/2]

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

◆ setPath() [2/2]

void LinkPath::setPath ( Link end)

path from the root link


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