SOFA API  73d8bb95
Open source framework for multi-physics simuation
sofa::gui::AddSutureOperation Class Reference

#include <MouseOperations.h>

Inheritance diagram for sofa::gui::AddSutureOperation:

Protected Attributes

double stiffness
 
double damping
 
- Protected Attributes inherited from sofa::gui::Operation
PickHandlerpickHandle
 
sofa::component::configurationsetting::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::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

double sofa::gui::AddSutureOperation::damping
protected
double sofa::gui::AddSutureOperation::stiffness
protected

Constructor details

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

Function details

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

Reimplemented from sofa::gui::Operation.

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

Reimplemented from sofa::gui::Operation.

virtual double sofa::gui::AddSutureOperation::getDamping ( ) const
inlinevirtual
static std::string sofa::gui::AddSutureOperation::getDescription ( )
inlinestatic
virtual double sofa::gui::AddSutureOperation::getStiffness ( ) const
inlinevirtual
void sofa::gui::AddSutureOperation::setDamping ( double  f)
inline
void sofa::gui::AddSutureOperation::setStiffness ( double  f)
inline