Definition: ExportAsMDL.h:34
ExportAsMDL(camitk::ActionExtension *)
Default Constructor.
Definition: ExportAsMDL.cpp:51
ApplyStatus process(camitk::MeshComponent *)
helper method to simplify the target component processing
Definition: ExportAsMDL.cpp:132
QString filename
output file
Definition: ExportAsMDL.h:66
virtual QWidget * getWidget()
This method has to be redefined in your Action only if:
Definition: ExportAsMDL.cpp:72
QLineEdit * outputfile
output file editor
Definition: ExportAsMDL.h:69
void outputFileChanged(const QString &)
slot retrieving text edited in the output file QLineEdit
Definition: ExportAsMDL.cpp:109
void saveMeshComponentToMDL(camitk::MeshComponent *)
export MeshComponent in MDL format
Definition: ExportAsMDL.cpp:150
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: ExportAsMDL.cpp:114
virtual ~ExportAsMDL()
Default Destructor.
Definition: ExportAsMDL.cpp:65
void outputMDL()
slot opening a QFileDialog to provide the output file path in a .mdl format
Definition: ExportAsMDL.cpp:99
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