SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes > Class Template Reference

#include <ConstraintAttachBodyPerformer.h>

Inheritance diagram for sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >:

Protected Attributes

SReal stiffness
 
SReal size
 
SReal showFactorSize
 
MouseContactMappermapper
 
constraintset::BilateralInteractionConstraint< defaulttype::Vec3Types >::SPtr m_constraint
 
core::visual::DisplayFlags flags
 
sofa::core::behavior::MechanicalState< DataTypes > * mstate1
 
sofa::core::behavior::MechanicalState< DataTypes > * mstate2
 

Public Member Functions

 ConstraintAttachBodyPerformer (BaseMouseInteractor *i)
 
virtual ~ConstraintAttachBodyPerformer ()
 
void start ()
 
void execute ()
 
void draw (const core::visual::VisualParams *vparams)
 
void clear ()
 
void setStiffness (SReal s)
 
void setArrowSize (float s)
 
void setShowFactorSize (float s)
 
virtual void configure (configurationsetting::MouseButtonSetting *setting)
 
- Public Member Functions inherited from sofa::component::collision::TInteractionPerformer< DataTypes >
 TInteractionPerformer (BaseMouseInteractor *i)
 
- Public Member Functions inherited from sofa::component::collision::InteractionPerformer
 InteractionPerformer (BaseMouseInteractor *i)
 
virtual ~InteractionPerformer ()
 
virtual void handleEvent (core::objectmodel::Event *)
 
virtual void setPerformerFreeze ()
 

Protected Member Functions

virtual bool start_partial (const BodyPicked &picked)
 

Additional Inherited Members

- Public Attributes inherited from sofa::component::collision::InteractionPerformer
BaseMouseInteractorinteractor
 
bool freezePerformer
 
- Static Public Member Functions inherited from sofa::component::collision::TInteractionPerformer< DataTypes >
template<class RealObject >
static RealObject * create (RealObject *, BaseMouseInteractor *interactor)
 
- Static Public Member Functions inherited from sofa::component::collision::InteractionPerformer
template<class RealObject >
static RealObject * create (RealObject *, BaseMouseInteractor *interactor)
 

Attribute details

template<class DataTypes >
core::visual::DisplayFlags sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::flags
protected
template<class DataTypes >
constraintset::BilateralInteractionConstraint<defaulttype::Vec3Types>::SPtr sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::m_constraint
protected
template<class DataTypes >
MouseContactMapper* sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::mapper
protected
template<class DataTypes >
sofa::core::behavior::MechanicalState<DataTypes>* sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::mstate1
protected
template<class DataTypes >
sofa::core::behavior::MechanicalState<DataTypes> * sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::mstate2
protected
template<class DataTypes >
SReal sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::showFactorSize
protected
template<class DataTypes >
SReal sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::size
protected
template<class DataTypes >
SReal sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::stiffness
protected

Constructor details

Function details

template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::clear ( )
template<class DataTypes >
virtual void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::configure ( configurationsetting::MouseButtonSetting setting)
inlinevirtual
template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::draw ( const core::visual::VisualParams vparams)
virtual
template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::execute ( )
virtual
template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::setArrowSize ( float  s)
inline
template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::setShowFactorSize ( float  s)
inline
template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::setStiffness ( SReal  s)
inline
template<class DataTypes >
void sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::start ( )
virtual
template<class DataTypes >
bool sofa::component::collision::ConstraintAttachBodyPerformer< DataTypes >::start_partial ( const BodyPicked picked)
protectedvirtual