SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::gui::common::ConstraintAttachOperation Class Reference

#include <MouseOperations.h>

Inheritance diagram for sofa::gui::common::ConstraintAttachOperation:

Static Public Member Functions

static std::string getDescription ()
 
- Static Public Member Functions inherited from sofa::gui::common::AttachOperation
static std::string getDescription ()
 
- Static Public Member Functions inherited from sofa::gui::common::Operation
static MOUSE_BUTTON GetMouseId (unsigned int i)
 

Protected Member Functions

virtual std::string defaultPerformerType ()
 
- Protected Member Functions inherited from sofa::gui::common::AttachOperation
void setSetting (sofa::component::setting::MouseButtonSetting *s) override
 
void configurePerformer (sofa::gui::component::performer::InteractionPerformer *p) override
 

Additional Inherited Members

- Public Attributes inherited from sofa::gui::common::Operation
sofa::gui::component::performer::InteractionPerformerperformer
 
- Protected Attributes inherited from sofa::gui::common::AttachOperation
sofa::gui::component::AttachBodyButtonSetting::SPtr setting
 
- Protected Attributes inherited from sofa::gui::common::Operation
PickHandlerpickHandle
 
sofa::component::setting::MouseButtonSetting::SPtr mbsetting
 
MOUSE_BUTTON button
 
- Public Member Functions inherited from sofa::gui::common::AttachOperation
 AttachOperation (sofa::gui::component::AttachBodyButtonSetting::SPtr s=sofa::core::objectmodel::New< sofa::gui::component::AttachBodyButtonSetting >())
 
 ~AttachOperation () override
 
void setStiffness (double s)
 
double getStiffness () const
 
void setArrowSize (double s)
 
double getArrowSize () const
 
void setShowFactorSize (double s)
 
double getShowFactorSize () const
 
- Public Member Functions inherited from sofa::gui::common::Operation
 Operation (sofa::component::setting::MouseButtonSetting::SPtr s=nullptr)
 
virtual ~Operation ()
 
virtual void configure (PickHandler *picker, MOUSE_BUTTON b)
 
virtual void configure (PickHandler *picker, sofa::component::setting::MouseButtonSetting *s)
 
virtual void start ()
 
virtual void execution ()
 This function is called each time the mouse is clicked. More...
 
virtual void end ()
 
virtual void endOperation ()
 This function is called after each mouse click. More...
 
virtual void wait ()
 This function is called when shift key is released. More...
 
virtual sofa::gui::component::performer::InteractionPerformercreatePerformer ()
 
MOUSE_BUTTON getMouseButton () const
 
std::string getId ()
 

Function details

◆ defaultPerformerType()

virtual std::string sofa::gui::common::ConstraintAttachOperation::defaultPerformerType ( )
inlineprotectedvirtual

◆ getDescription()

static std::string sofa::gui::common::ConstraintAttachOperation::getDescription ( )
inlinestatic