Computer Assisted Medical Intervention Tool Kit  version 5.1
 
Loading...
Searching...
No Matches
SofaWidget Class Reference

TODO Comment class here. More...

#include <SofaWidget.h>

Public Slots

void applyChanges ()
 slot called when apply changes is pressed
 
void runSofa ()
 slot called when runSofa button is pressed
 
void sofaExited ()
 slot called when sofa is finished
 

Public Member Functions

 SofaWidget (QWidget *parent=0, SofaSimulator *sofaSimulator=NULL)
 constructor
 
void writeScn (QString path)
 write text typed in the highlighted QTextEdit into a scn file
 
 ~SofaWidget ()
 destructor
 
- Public Member Functions inherited from SimulatorWidget
 SimulatorWidget (QWidget *parent=nullptr)
 constructor
 
 ~SimulatorWidget () override=default
 destructor
 

Additional Inherited Members

- Signals inherited from SimulatorWidget
void reload ()
 

Detailed Description

TODO Comment class here.

Constructor & Destructor Documentation

◆ SofaWidget()

SofaWidget::SofaWidget ( QWidget *  parent = 0,
SofaSimulator sofaSimulator = NULL 
)

constructor

References applyChanges(), SofaSimulator::getScnFile(), and runSofa().

◆ ~SofaWidget()

SofaWidget::~SofaWidget ( )

destructor

Member Function Documentation

◆ applyChanges

void SofaWidget::applyChanges ( )
slot

slot called when apply changes is pressed

References SimulatorWidget::reload(), and writeScn().

Referenced by SofaWidget().

◆ runSofa

void SofaWidget::runSofa ( )
slot

slot called when runSofa button is pressed

References sofaExited(), and writeScn().

Referenced by SofaWidget().

◆ sofaExited

void SofaWidget::sofaExited ( )
slot

slot called when sofa is finished

Referenced by runSofa().

◆ writeScn()

void SofaWidget::writeScn ( QString  path)

write text typed in the highlighted QTextEdit into a scn file

Parameters
pathfilename to use

Referenced by applyChanges(), and runSofa().


The documentation for this class was generated from the following files: