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

#include <QMouseOperations.h>

Inheritance diagram for sofa::gui::qt::QFixOperation:

Protected Attributes

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

Public Member Functions

 QFixOperation ()
 
void configure (common::PickHandler *picker, sofa::component::setting::MouseButtonSetting *button) override
 
- Public Member Functions inherited from sofa::gui::qt::QMouseOperation
DataWidgetcreateWidgetFromData (sofa::core::objectmodel::BaseData *data)
 
- Public Member Functions inherited from sofa::gui::common::FixOperation
 FixOperation ()
 
 ~FixOperation () override
 
void setStiffness (double s)
 
virtual double getStiffness () 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 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 ()
 

Additional Inherited Members

- Public Attributes inherited from sofa::gui::common::Operation
sofa::gui::component::performer::InteractionPerformerperformer
 
- Static Public Member Functions inherited from sofa::gui::common::FixOperation
static std::string getDescription ()
 
- Static Public Member Functions inherited from sofa::gui::common::Operation
static MOUSE_BUTTON GetMouseId (unsigned int i)
 
- Protected Member Functions inherited from sofa::gui::common::FixOperation
virtual std::string defaultPerformerType () override
 
void configurePerformer (sofa::gui::component::performer::InteractionPerformer *p) override
 
- Public Slots inherited from sofa::gui::qt::QMouseOperation
void WidgetDirty (bool)
 

Attribute details

◆ stiffnessWidget

DataWidget* sofa::gui::qt::QFixOperation::stiffnessWidget
protected

Constructor details

◆ QFixOperation()

sofa::gui::qt::QFixOperation::QFixOperation ( )

Function details

◆ configure()

void sofa::gui::qt::QFixOperation::configure ( common::PickHandler picker,
sofa::component::setting::MouseButtonSetting button 
)
overridevirtual

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