17 #ifndef HPP_MANIPULATION_GRAPH_GRAPHCOMPONENT_HH 18 # define HPP_MANIPULATION_GRAPH_GRAPHCOMPONENT_HH 23 # include "hpp/manipulation/config.hh" 24 # include "hpp/manipulation/deprecated.hh" 30 namespace manipulation {
45 const std::string& name()
const;
48 const std::size_t&
id ()
const 56 virtual void addNumericalConstraint (
57 const ImplicitPtr_t& numConstraint,
61 virtual void addNumericalCost (
const ImplicitPtr_t& numCost);
64 virtual void resetNumericalConstraints ();
69 virtual void addLockedJointConstraint
104 void parentGraph(
const GraphWkPtr_t& parent);
117 void init (
const GraphComponentWkPtr_t& weak);
137 void throwIfNotInitialized ()
const;
140 virtual std::ostream& print (std::ostream& os)
const;
152 GraphComponentWkPtr_t wkPtr_;
167 #endif // HPP_MANIPULATION_GRAPH_GRAPHCOMPONENT_HH StateHistogram NodeHistogram HPP_MANIPULATION_DEPRECATED
Definition: statistics.hh:200
NumericalConstraints_t numericalCosts_
Stores the numerical costs.
Definition: graph-component.hh:129
GraphWkPtr_t graph_
A weak pointer to the parent graph.
Definition: graph-component.hh:133
bool initialize(MeshCollisionTraversalNode< BV, RelativeTransformationIsIdentity > &node, BVHModel< BV > &model1, Transform3f &tf1, BVHModel< BV > &model2, Transform3f &tf2, CollisionResult &result, bool use_refit=false, bool refit_bottomup=false)
const std::size_t & id() const
Return the component id.
Definition: graph-component.hh:48
hpp::core::segments_t segments_t
Definition: fwd.hh:51
virtual ~GraphComponent()
Definition: graph-component.hh:42
core::ConfigProjectorPtr_t ConfigProjectorPtr_t
Definition: fwd.hh:110
std::ostream & operator<<(std::ostream &os, const GraphComponent &graphComp)
hpp::core::LockedJoints_t LockedJoints_t
Definition: fwd.hh:54
void init(const ConfigurationShooterWkPtr_t &weak)
IntervalsContainer_t passiveDofs_
Stores the passive dofs for each numerical constraints.
Definition: graph-component.hh:127
GraphComponent(const std::string &name)
Definition: graph-component.hh:119
constraints::LockedJointPtr_t LockedJointPtr_t
Definition: fwd.hh:107
constraints::ImplicitPtr_t ImplicitPtr_t
Definition: fwd.hh:105
hpp::core::NumericalConstraints_t NumericalConstraints_t
Definition: fwd.hh:53
NumericalConstraints_t numericalConstraints_
Stores the numerical constraints.
Definition: graph-component.hh:125
Define common methods of the graph components.
Definition: graph-component.hh:39
boost::shared_ptr< Graph > GraphPtr_t
Definition: fwd.hh:35
std::vector< segments_t > IntervalsContainer_t
Definition: fwd.hh:52
boost::shared_ptr< Implicit > ImplicitPtr_t
const LockedJoints_t lockedJoints_
List of LockedJoint constraints:
Definition: graph-component.hh:131
bool isInit_
Definition: graph-component.hh:135