26#ifndef GENERATEMODEL_H
27#define GENERATEMODEL_H
57 return Action::getWidget();
Action to generate MML/Sofa scn from a vtk mesh.
Definition: GenerateModel.h:46
void saveSOFAFile(QString baseFilename)
save the .scn file, TODO add the choice to save MML with another simulator
Definition: GenerateModel.cpp:121
void saveMMLFiles(QString baseFilename)
save all the MML, PML and LML file
Definition: GenerateModel.cpp:168
virtual camitk::Action::ApplyStatus apply()
method applied when the action is called
Definition: GenerateModel.cpp:70
virtual QWidget * getWidget()
default widget
Definition: GenerateModel.h:56
camitk::MeshComponent * targetMesh
The current managed mesh.
Definition: GenerateModel.h:75
virtual ~GenerateModel()=default
the destructor
GenerateModel(camitk::ActionExtension *)
the constructor
Definition: GenerateModel.cpp:54
std::set< int > fixedDOFIndex
Definition: GenerateModel.h:72
This class describes what is a generic Action extension.
Definition: ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition: Action.h:208
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition: Action.h:224
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:53
Definition: Action.cpp:35