All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ChppGikVectorizableConstraint Class Referenceabstract

#include <hpp/gik/constraint/vectorizable-constraint.hh>

Inheritance diagram for ChppGikVectorizableConstraint:
Collaboration diagram for ChppGikVectorizableConstraint:

Public Member Functions

virtual void computeVectorizedState ()=0
 Get the full state (this constraint and its first two derivatives) of the constraint expressed as a vectorN. More...
 
virtual const vectorNvectorizedState () const
 Get the full state (this constraint and its first two derivatives) of the constraint expressed as a vectorN. More...
 
virtual void computeVectorizedTarget ()=0
 Compute the target of the constraint as a vectorN. More...
 
virtual bool vectorizedTarget (const vectorN &inTarget)=0
 Set the target of the constraint with a vectorN. More...
 
virtual const vectorNvectorizedTarget () const
 Get the target of the constraint expressed as a vectorN. More...
 
virtual ~ChppGikVectorizableConstraint ()
 Destructor. More...
 

Protected Attributes

vectorN attVectorizedTarget
 The vectorial expression of the constraint's target at the moment of computation. More...
 
vectorN attVectorizedState
 The vectorial expression of the constraint's full sdtate at the moment of computation. More...
 

Constructor & Destructor Documentation

virtual ChppGikVectorizableConstraint::~ChppGikVectorizableConstraint ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual void ChppGikVectorizableConstraint::computeVectorizedState ( )
pure virtual

Get the full state (this constraint and its first two derivatives) of the constraint expressed as a vectorN.

Implemented in ChppGikConfigurationConstraint, ChppGikTransformationConstraint, ChppGikPlaneConstraint, ChppGikPointingConstraint, ChppGikPositionConstraint, ChppGikParallelConstraint, and ChppGikRotationConstraint.

virtual void ChppGikVectorizableConstraint::computeVectorizedTarget ( )
pure virtual
virtual const vectorN& ChppGikVectorizableConstraint::vectorizedState ( ) const
inlinevirtual

Get the full state (this constraint and its first two derivatives) of the constraint expressed as a vectorN.

References attVectorizedState.

virtual bool ChppGikVectorizableConstraint::vectorizedTarget ( const vectorN inTarget)
pure virtual

Set the target of the constraint with a vectorN.

Returns
false if the argument's size does not match the one expected for this constraint type

Implemented in ChppGikConfigurationConstraint, ChppGikTransformationConstraint, ChppGikPlaneConstraint, ChppGikPointingConstraint, ChppGikPositionConstraint, ChppGikParallelConstraint, and ChppGikRotationConstraint.

virtual const vectorN& ChppGikVectorizableConstraint::vectorizedTarget ( ) const
inlinevirtual

Get the target of the constraint expressed as a vectorN.

References attVectorizedTarget.

Member Data Documentation

vectorN ChppGikVectorizableConstraint::attVectorizedState
protected

The vectorial expression of the constraint's full sdtate at the moment of computation.

Referenced by vectorizedState().

vectorN ChppGikVectorizableConstraint::attVectorizedTarget
protected

The vectorial expression of the constraint's target at the moment of computation.

Referenced by vectorizedTarget().