hpp-manipulation  4.9.0
Classes for manipulation planning.
hpp::manipulation::ConstraintSet Class Reference

a core::ConstraintSet remembering which edge created it More...

#include <hpp/manipulation/constraint-set.hh>

Inheritance diagram for hpp::manipulation::ConstraintSet:
Collaboration diagram for hpp::manipulation::ConstraintSet:

Public Types

typedef core::ConstraintSet Parent_t
 

Public Member Functions

virtual ConstraintPtr_t copy () const
 return shared pointer to copy More...
 
void edge (graph::EdgePtr_t edge)
 
graph::EdgePtr_t edge () const
 
- Public Member Functions inherited from hpp::core::ConstraintSet
void addConstraint (const ConstraintPtr_t &constraint)
 
ConfigProjectorPtr_t configProjector () const
 
Constraints_t::iterator begin ()
 
Constraints_t::iterator end ()
 
virtual bool isSatisfied (ConfigurationIn_t config)
 
virtual bool isSatisfied (ConfigurationIn_t config, vector_t &error)
 
size_type numberNonLockedDof () const
 
void compressVector (vectorIn_t normal, vectorOut_t small) const
 
void uncompressVector (vectorIn_t small, vectorOut_t normal) const
 
void compressMatrix (matrixIn_t normal, matrixOut_t small, bool rows=true) const
 
void uncompressMatrix (matrixIn_t small, matrixOut_t normal, bool rows=true) const
 
size_type numberNonLockedDof () const
 
void compressVector (vectorIn_t normal, vectorOut_t small) const
 
void uncompressVector (vectorIn_t small, vectorOut_t normal) const
 
void compressMatrix (matrixIn_t normal, matrixOut_t small, bool rows=true) const
 
void uncompressMatrix (matrixIn_t small, matrixOut_t normal, bool rows=true) const
 
void addConstraint (const ConstraintPtr_t &constraint)
 
ConfigProjectorPtr_t configProjector () const
 
Constraints_t::iterator begin ()
 
Constraints_t::iterator end ()
 
virtual bool isSatisfied (ConfigurationIn_t config)
 
virtual bool isSatisfied (ConfigurationIn_t config, vector_t &error)
 
size_type numberNonLockedDof () const
 
void compressVector (vectorIn_t normal, vectorOut_t small) const
 
void uncompressVector (vectorIn_t small, vectorOut_t normal) const
 
void compressMatrix (matrixIn_t normal, matrixOut_t small, bool rows=true) const
 
void uncompressMatrix (matrixIn_t small, matrixOut_t normal, bool rows=true) const
 
size_type numberNonLockedDof () const
 
void compressVector (vectorIn_t normal, vectorOut_t small) const
 
void uncompressVector (vectorIn_t small, vectorOut_t normal) const
 
void compressMatrix (matrixIn_t normal, matrixOut_t small, bool rows=true) const
 
void uncompressMatrix (matrixIn_t small, matrixOut_t normal, bool rows=true) const
 
- Public Member Functions inherited from hpp::core::Constraint
bool apply (ConfigurationOut_t configuration)
 
const std::string & name () const
 
virtual ~Constraint ()
 
bool apply (ConfigurationOut_t configuration)
 
const std::string & name () const
 
virtual ~Constraint ()
 

Static Public Member Functions

static ConstraintSetPtr_t create (const DevicePtr_t &robot, const std::string &name)
 Return shared pointer to new object. More...
 
static ConstraintSetPtr_t createCopy (const ConstraintSetPtr_t &cs)
 Return shared pointer to new object. More...
 
- Static Public Member Functions inherited from hpp::core::ConstraintSet
static ConstraintSetPtr_t create (const DevicePtr_t &robot, const std::string &name)
 
static ConstraintSetPtr_t createCopy (const ConstraintSetPtr_t &cs)
 
static ConstraintSetPtr_t create (const DevicePtr_t &robot, const std::string &name)
 
static ConstraintSetPtr_t createCopy (const ConstraintSetPtr_t &cs)
 

Protected Member Functions

 ConstraintSet (const DevicePtr_t &robot, const std::string &name)
 Constructor. More...
 
 ConstraintSet (const ConstraintSet &other)
 Copy constructor. More...
 
void init (const ConstraintSetPtr_t &self)
 Store weak pointer to itself. More...
 
virtual std::ostream & print (std::ostream &os) const
 
- Protected Member Functions inherited from hpp::core::ConstraintSet
 ConstraintSet (const DevicePtr_t &robot, const std::string &name)
 
 ConstraintSet (const ConstraintSet &other)
 
void init (const ConstraintSetPtr_t &self)
 
virtual bool impl_compute (ConfigurationOut_t configuration)
 
 ConstraintSet (const DevicePtr_t &robot, const std::string &name)
 
 ConstraintSet (const ConstraintSet &other)
 
void init (const ConstraintSetPtr_t &self)
 
virtual bool impl_compute (ConfigurationOut_t configuration)
 
- Protected Member Functions inherited from hpp::core::Constraint
 Constraint (const std::string &name)
 
 Constraint (const Constraint &constraint)
 
void init (const ConstraintPtr_t &self)
 
 Constraint (const std::string &name)
 
 Constraint (const Constraint &constraint)
 
void init (const ConstraintPtr_t &self)
 

Detailed Description

a core::ConstraintSet remembering which edge created it

Member Typedef Documentation

◆ Parent_t

Constructor & Destructor Documentation

◆ ConstraintSet() [1/2]

hpp::manipulation::ConstraintSet::ConstraintSet ( const DevicePtr_t robot,
const std::string &  name 
)
protected

Constructor.

◆ ConstraintSet() [2/2]

hpp::manipulation::ConstraintSet::ConstraintSet ( const ConstraintSet other)
protected

Copy constructor.

Member Function Documentation

◆ copy()

virtual ConstraintPtr_t hpp::manipulation::ConstraintSet::copy ( ) const
virtual

return shared pointer to copy

Reimplemented from hpp::core::ConstraintSet.

◆ create()

static ConstraintSetPtr_t hpp::manipulation::ConstraintSet::create ( const DevicePtr_t robot,
const std::string &  name 
)
static

Return shared pointer to new object.

◆ createCopy()

static ConstraintSetPtr_t hpp::manipulation::ConstraintSet::createCopy ( const ConstraintSetPtr_t cs)
static

Return shared pointer to new object.

◆ edge() [1/2]

void hpp::manipulation::ConstraintSet::edge ( graph::EdgePtr_t  edge)

◆ edge() [2/2]

graph::EdgePtr_t hpp::manipulation::ConstraintSet::edge ( ) const

◆ init()

void hpp::manipulation::ConstraintSet::init ( const ConstraintSetPtr_t self)
protected

Store weak pointer to itself.

◆ print()

virtual std::ostream& hpp::manipulation::ConstraintSet::print ( std::ostream &  os) const
protectedvirtual

Reimplemented from hpp::core::ConstraintSet.


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