SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::gui::ConstraintAttachOperation Class Reference

#include <MouseOperations.h>

Inheritance diagram for sofa::gui::ConstraintAttachOperation:

Static Public Member Functions

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

Protected Member Functions

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

Additional Inherited Members

- Public Attributes inherited from sofa::gui::Operation
sofa::component::collision::InteractionPerformerperformer
 
- Protected Attributes inherited from sofa::gui::AttachOperation
sofa::component::configurationsetting::AttachBodyButtonSetting::SPtr setting
 
- Protected Attributes inherited from sofa::gui::Operation
PickHandlerpickHandle
 
sofa::component::configurationsetting::MouseButtonSetting::SPtr mbsetting
 
MOUSE_BUTTON button
 
- Public Member Functions inherited from sofa::gui::AttachOperation
 AttachOperation (sofa::component::configurationsetting::AttachBodyButtonSetting::SPtr s=sofa::core::objectmodel::New< sofa::component::configurationsetting::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::Operation
 Operation (sofa::component::configurationsetting::MouseButtonSetting::SPtr s=nullptr)
 
virtual ~Operation ()
 
virtual void configure (PickHandler *picker, MOUSE_BUTTON b)
 
virtual void configure (PickHandler *picker, sofa::component::configurationsetting::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::component::collision::InteractionPerformercreatePerformer ()
 
MOUSE_BUTTON getMouseButton () const
 
std::string getId ()
 

Function details

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

Reimplemented from sofa::gui::AttachOperation.

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