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

#include <QMouseOperations.h>

Inheritance diagram for sofa::gui::qt::QAddSutureOperation:

Protected Attributes

QLineEditstiffness
 
QLineEditdamping
 
- Protected Attributes inherited from sofa::gui::AddSutureOperation
double stiffness
 
double damping
 
- Protected Attributes inherited from sofa::gui::Operation
PickHandlerpickHandle
 
sofa::component::configurationsetting::MouseButtonSetting::SPtr mbsetting
 
MOUSE_BUTTON button
 

Public Member Functions

 QAddSutureOperation ()
 
double getStiffness () const override
 
double getDamping () const override
 
void configure (PickHandler *picker, MOUSE_BUTTON b) override
 
- Public Member Functions inherited from sofa::gui::AddSutureOperation
 AddSutureOperation ()
 
 ~AddSutureOperation () override
 
void setStiffness (double f)
 
void setDamping (double f)
 
- Public Member Functions inherited from sofa::gui::Operation
 Operation (sofa::component::configurationsetting::MouseButtonSetting::SPtr s=nullptr)
 
virtual ~Operation ()
 
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 ()
 

Additional Inherited Members

- Public Attributes inherited from sofa::gui::Operation
sofa::component::collision::InteractionPerformerperformer
 
- Static Public Member Functions inherited from sofa::gui::AddSutureOperation
static std::string getDescription ()
 
- Static Public Member Functions inherited from sofa::gui::Operation
static MOUSE_BUTTON GetMouseId (unsigned int i)
 
- Protected Member Functions inherited from sofa::gui::AddSutureOperation
virtual std::string defaultPerformerType () override
 
void configurePerformer (sofa::component::collision::InteractionPerformer *p) override
 

Attribute details

QLineEdit* sofa::gui::qt::QAddSutureOperation::damping
protected
QLineEdit* sofa::gui::qt::QAddSutureOperation::stiffness
protected

Constructor details

sofa::gui::qt::QAddSutureOperation::QAddSutureOperation ( )

Function details

void sofa::gui::qt::QAddSutureOperation::configure ( PickHandler picker,
MOUSE_BUTTON  b 
)
inlineoverridevirtual

Reimplemented from sofa::gui::Operation.

double sofa::gui::qt::QAddSutureOperation::getDamping ( ) const
overridevirtual

Reimplemented from sofa::gui::AddSutureOperation.

double sofa::gui::qt::QAddSutureOperation::getStiffness ( ) const
overridevirtual

Reimplemented from sofa::gui::AddSutureOperation.