#include <BaseAttachBodyPerformer.h>
This class is a virtualization of attachment performer used to allow the blind use of either "AttachBodyPerformer" based on springs and "ConstraintAttachBodyPerformer" based on lagrangian constraints. An example of use can be found in the external plugin Sofa.IGTLink in the component "iGTLinkMouseInteractor"
Protected Attributes | |
sofa::core::objectmodel::BaseObject::SPtr | m_interactionObject |
MouseContactMapper * | m_mapper |
core::visual::DisplayFlags | m_flags |
Public Member Functions | |
BaseAttachBodyPerformer (BaseMouseInteractor *i) | |
virtual | ~BaseAttachBodyPerformer () |
virtual void | start () |
virtual void | draw (const core::visual::VisualParams *vparams) |
virtual void | clear () |
virtual void | execute () |
sofa::core::objectmodel::BaseObject::SPtr | getInteractionObject () |
virtual bool | startPartial (const BodyPicked &picked)=0 |
![]() | |
TInteractionPerformer (BaseMouseInteractor *i) | |
![]() | |
InteractionPerformer (BaseMouseInteractor *i) | |
virtual | ~InteractionPerformer () |
virtual void | configure (sofa::component::setting::MouseButtonSetting *) |
virtual void | handleEvent (core::objectmodel::Event *) |
virtual void | setPerformerFreeze () |
Additional Inherited Members | |
![]() | |
BaseMouseInteractor * | m_interactor |
bool | m_freezePerformer |
![]() | |
template<class RealObject > | |
static RealObject * | create (RealObject *, BaseMouseInteractor *interactor) |
![]() | |
template<class RealObject > | |
static RealObject * | create (RealObject *, BaseMouseInteractor *interactor) |
|
protected |
|
protected |
|
protected |
|
explicit |
|
virtual |
|
virtual |
|
virtual |
Reimplemented from sofa::gui::component::performer::InteractionPerformer.
|
virtual |
sofa::core::objectmodel::BaseObject::SPtr sofa::gui::component::performer::BaseAttachBodyPerformer< DataTypes >::getInteractionObject |
|
virtual |
|
pure virtual |