SOFA API  3ea83cbd
Open source framework for multi-physics simuation
sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes > Class Template Reference

#include <ConstraintAttachBodyPerformer.h>

Inheritance diagram for sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >:

Protected Attributes

SReal stiffness
 
SReal size
 
SReal showFactorSize
 
MouseContactMappermapper
 
sofa::component::constraint::lagrangian::model::BilateralLagrangianConstraint< 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 (sofa::component::setting::MouseButtonSetting *setting)
 
- Public Member Functions inherited from sofa::gui::component::performer::TInteractionPerformer< DataTypes >
 TInteractionPerformer (BaseMouseInteractor *i)
 
- Public Member Functions inherited from sofa::gui::component::performer::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::gui::component::performer::InteractionPerformer
BaseMouseInteractorinteractor
 
bool freezePerformer
 
- Static Public Member Functions inherited from sofa::gui::component::performer::TInteractionPerformer< DataTypes >
template<class RealObject >
static RealObject * create (RealObject *, BaseMouseInteractor *interactor)
 
- Static Public Member Functions inherited from sofa::gui::component::performer::InteractionPerformer
template<class RealObject >
static RealObject * create (RealObject *, BaseMouseInteractor *interactor)
 

Attribute details

◆ flags

◆ m_constraint

◆ mapper

◆ mstate1

◆ mstate2

◆ showFactorSize

template<class DataTypes >
SReal sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::showFactorSize
protected

◆ size

template<class DataTypes >
SReal sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::size
protected

◆ stiffness

template<class DataTypes >
SReal sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::stiffness
protected

Constructor details

◆ ConstraintAttachBodyPerformer()

◆ ~ConstraintAttachBodyPerformer()

Function details

◆ clear()

◆ configure()

◆ draw()

◆ execute()

◆ setArrowSize()

template<class DataTypes >
void sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::setArrowSize ( float  s)
inline

◆ setShowFactorSize()

template<class DataTypes >
void sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::setShowFactorSize ( float  s)
inline

◆ setStiffness()

template<class DataTypes >
void sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::setStiffness ( SReal  s)
inline

◆ start()

◆ start_partial()

template<class DataTypes >
bool sofa::gui::component::performer::ConstraintAttachBodyPerformer< DataTypes >::start_partial ( const BodyPicked picked)
protectedvirtual