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

#include <MouseOperations.h>

Inheritance diagram for sofa::gui::FixOperation:

Protected Attributes

sofa::component::configurationsetting::FixPickedParticleButtonSetting::SPtr setting
 
- Protected Attributes inherited from sofa::gui::Operation
PickHandlerpickHandle
 
sofa::component::configurationsetting::MouseButtonSetting::SPtr mbsetting
 
MOUSE_BUTTON button
 

Public Member Functions

 FixOperation ()
 
 ~FixOperation () override
 
void setStiffness (double s)
 
virtual double getStiffness () 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 void setSetting (sofa::component::configurationsetting::MouseButtonSetting *s)
 
virtual sofa::component::collision::InteractionPerformercreatePerformer ()
 
MOUSE_BUTTON getMouseButton () const
 
std::string getId ()
 

Static Public Member Functions

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 () override
 
void configurePerformer (sofa::component::collision::InteractionPerformer *p) override
 

Additional Inherited Members

- Public Attributes inherited from sofa::gui::Operation
sofa::component::collision::InteractionPerformerperformer
 

Attribute details

Constructor details

sofa::gui::FixOperation::FixOperation ( )
inline
sofa::gui::FixOperation::~FixOperation ( )
inlineoverride

Function details

void sofa::gui::FixOperation::configurePerformer ( sofa::component::collision::InteractionPerformer p)
overrideprotectedvirtual

Reimplemented from sofa::gui::Operation.

std::string sofa::gui::FixOperation::defaultPerformerType ( )
overrideprotectedvirtual

Reimplemented from sofa::gui::Operation.

static std::string sofa::gui::FixOperation::getDescription ( )
inlinestatic
virtual double sofa::gui::FixOperation::getStiffness ( ) const
inlinevirtual
void sofa::gui::FixOperation::setStiffness ( double  s)
inline