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

#include <MouseOperations.h>

Inheritance diagram for sofa::gui::common::AddSutureOperation:

Protected Attributes

double stiffness
 
double damping
 
- Protected Attributes inherited from sofa::gui::common::Operation
PickHandlerpickHandle
 
sofa::component::setting::MouseButtonSetting::SPtr mbsetting
 
MOUSE_BUTTON button
 

Public Member Functions

 AddSutureOperation ()
 
 ~AddSutureOperation () override
 
void setStiffness (double f)
 
virtual double getStiffness () const
 
void setDamping (double f)
 
virtual double getDamping () 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 void setSetting (sofa::component::setting::MouseButtonSetting *s)
 
virtual sofa::gui::component::performer::InteractionPerformercreatePerformer ()
 
MOUSE_BUTTON getMouseButton () const
 
std::string getId ()
 

Static Public Member Functions

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 () 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
 

Attribute details

◆ damping

double sofa::gui::common::AddSutureOperation::damping
protected

◆ stiffness

double sofa::gui::common::AddSutureOperation::stiffness
protected

Constructor details

◆ AddSutureOperation()

sofa::gui::common::AddSutureOperation::AddSutureOperation ( )
inline

◆ ~AddSutureOperation()

sofa::gui::common::AddSutureOperation::~AddSutureOperation ( )
inlineoverride

Function details

◆ configurePerformer()

void sofa::gui::common::AddSutureOperation::configurePerformer ( sofa::gui::component::performer::InteractionPerformer p)
overrideprotectedvirtual

Reimplemented from sofa::gui::common::Operation.

◆ defaultPerformerType()

std::string sofa::gui::common::AddSutureOperation::defaultPerformerType ( )
overrideprotectedvirtual

Reimplemented from sofa::gui::common::Operation.

◆ getDamping()

virtual double sofa::gui::common::AddSutureOperation::getDamping ( ) const
inlinevirtual

◆ getDescription()

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

◆ getStiffness()

virtual double sofa::gui::common::AddSutureOperation::getStiffness ( ) const
inlinevirtual

◆ setDamping()

void sofa::gui::common::AddSutureOperation::setDamping ( double  f)
inline

◆ setStiffness()

void sofa::gui::common::AddSutureOperation::setStiffness ( double  f)
inline