Concatenation of several paths. More...
#include <hpp/core/path-vector.hh>
Public Types | |
typedef Path | parent_t |
Public Member Functions | |
std::size_t | numberPaths () const |
Get the number of sub paths. More... | |
const PathPtr_t & | pathAtRank (std::size_t rank) const |
Get a path in the vector. More... | |
std::size_t | rankAtParam (const value_type ¶m, value_type &localParam) const |
Get rank of direct path in vector at param. More... | |
void | appendPath (const PathPtr_t &path) |
Append a path at the end of the vector. More... | |
void | concatenate (const PathVector &path) |
Concatenate two vectors of path. More... | |
virtual PathPtr_t | extract (const interval_t &subInterval) const |
Extraction of a sub-path. More... | |
virtual Configuration_t | initial () const |
Get the initial configuration. More... | |
virtual Configuration_t | end () const |
Get the final configuration. More... | |
![]() | |
Configuration_t | operator() (const value_type &t) const throw () |
Configuration_t | operator() (const value_type &t, bool &success) const throw () |
bool | operator() (ConfigurationOut_t result, const value_type &t) const throw () |
size_type | outputSize () const |
Get size of configuration space. More... | |
size_type | outputDerivativeSize () const |
Get size of velocity. More... | |
const interval_t & | timeRange () const |
Get interval of definition. More... | |
value_type | length () const |
Get length of definition interval. More... | |
virtual | ~Path () throw () |
Destructor. More... | |
template<class T > | |
boost::shared_ptr< T > | as (void) |
Static cast into a derived type. More... | |
template<class T > | |
boost::shared_ptr< const T > | as (void) const |
Static cast into a derived type. More... | |
virtual PathPtr_t | reverse () const |
Reversion of a path. More... | |
const ConstraintSetPtr_t & | constraints () const |
Get constraints the path is subject to. More... | |
void | constraints (const ConstraintSetPtr_t &constraints) |
Set constraints the path is subject to. More... | |
Protected Member Functions | |
virtual std::ostream & | print (std::ostream &os) const |
Print path in a stream. More... | |
PathVector (std::size_t outputSize, std::size_t outputDerivativeSize) | |
Constructor. More... | |
PathVector (const PathVector &path) | |
Copy constructor. More... | |
void | init (PathVectorPtr_t self) |
virtual bool | impl_compute (ConfigurationOut_t result, value_type t) const |
Function evaluation. More... | |
![]() | |
Path (const interval_t &interval, size_type outputSize, size_type outputDerivativeSize) | |
Constructor. More... | |
Path (const interval_t &interval, size_type outputSize, size_type outputDerivativeSize, const ConstraintSetPtr_t &constraints) | |
Constructor. More... | |
Path (const Path &path) | |
Copy constructor. More... | |
void | init (const PathPtr_t &self) |
Store weak pointer to itself. More... | |
Construction, destruction, copy | |
static PathVectorPtr_t | create (size_type outputSize, size_type outputDerivativeSize) |
Create instance and return shared pointer. More... | |
static PathVectorPtr_t | createCopy (const PathVector &original) |
Create instance and return shared pointer. More... | |
virtual PathPtr_t | copy () const |
Return a shared pointer to a copy of this. More... | |
virtual | ~PathVector () throw () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
interval_t | timeRange_ |
Interval of definition. More... | |
Concatenation of several paths.
typedef Path hpp::core::PathVector::parent_t |
|
inlinevirtual |
Destructor.
|
inlineprotected |
Constructor.
|
inlineprotected |
Copy constructor.
References hpp::core::Path::timeRange_.
void hpp::core::PathVector::appendPath | ( | const PathPtr_t & | path | ) |
Append a path at the end of the vector.
void hpp::core::PathVector::concatenate | ( | const PathVector & | path | ) |
Concatenate two vectors of path.
|
inlinevirtual |
Return a shared pointer to a copy of this.
Implements hpp::core::Path.
|
inlinestatic |
Create instance and return shared pointer.
References init().
|
inlinestatic |
Create instance and return shared pointer.
References init().
|
inlinevirtual |
Get the final configuration.
Implements hpp::core::Path.
|
virtual |
Extraction of a sub-path.
subInterval | interval of definition of the extract path |
Reimplemented from hpp::core::Path.
|
protectedvirtual |
|
inlineprotected |
Referenced by create(), and createCopy().
|
inlinevirtual |
Get the initial configuration.
Implements hpp::core::Path.
|
inline |
Get the number of sub paths.
|
inline |
Get a path in the vector.
|
inlineprotectedvirtual |
Print path in a stream.
Implements hpp::core::Path.
std::size_t hpp::core::PathVector::rankAtParam | ( | const value_type & | param, |
value_type & | localParam | ||
) | const |
Get rank of direct path in vector at param.
param | parameter in interval of definition, |
localParam | parameter on sub-path |