|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
QLineEdit * outputfile
output file editor
Definition: ExportAsMDL.h:92
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
QStringList getHierarchy() const override
Definition: sdk/libraries/core/component/Component.cpp:480
@ SUCCESS
everything went according to plan
Definition: Action.h:248
virtual QWidget * getWidget()
This method has to be redefined in your Action only if:
Definition: ExportAsMDL.cpp:72
@ ABORTED
the action was aborted before completion
Definition: Action.h:251
void saveMeshComponentToMDL(camitk::MeshComponent *)
export MeshComponent in MDL format
Definition: ExportAsMDL.cpp:150
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
ApplyStatus process(camitk::MeshComponent *)
helper method to simplify the target component processing
Definition: ExportAsMDL.cpp:132
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
QWidget * actionWidget
the action widget
Definition: Action.h:480
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:166
virtual vtkSmartPointer< vtkPointSet > getPointSet()=0
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
ExportAsMDL(camitk::ActionExtension *)
Default Constructor.
Definition: ExportAsMDL.cpp:51
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
void outputFileChanged(const QString &)
slot retrieving text edited in the output file QLineEdit
Definition: ExportAsMDL.cpp:109
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
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
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:53
void outputMDL()
slot opening a QFileDialog to provide the output file path in a .mdl format
Definition: ExportAsMDL.cpp:99
QString filename
output file
Definition: ExportAsMDL.h:89
Definition: ExportAsMDL.h:34
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35