18 #ifndef milxQtRobustShapeModel_H 19 #define milxQtRobustShapeModel_H 22 #include <itkRobustStatisticalShapeModel.h> 25 #include <milxQtShapeModel.h> 27 typedef itk::RobustStatisticalShapeModel<double> RobustShapeModelType;
53 inline virtual void openModel(
const QString filename)
63 inline virtual void SaveModel(
const QString filename)
65 m_RobustSSM->Update();
66 m_RobustSSM->SaveCompactModel(filename.toStdString().c_str());
74 inline virtual void saveModel(
const QString filename)
90 virtual void SetInputCollection(vtkPolyDataCollection* meshes, QStringList &filenames);
97 virtual void SetInputCollection(vtkPolyDataCollection* meshes, vtkPolyData *atlasSurface, QStringList &filenames);
172 void collectionAvailable(vtkPolyDataCollection*, QStringList&);
188 virtual void reset();
204 #endif // milxQtRobustShapeModel_H void compactness()
Plot the compactness of the SSM.
virtual void generateSSM()
virtual void SetInputCollection(vtkPolyDataCollection *meshes)
Uses the collection of polydata to create shape model.
This file defines all the defines, aliases and frequently used functions and variables.
void parameters()
Plot the training shape parameters of the model for each training shape (leave 1 out).
This class represents the MILX Qt Render Window Display object using QVTK.
QList< int > m_caseIDs
A list of case IDs corresponding to the models in the SSM.
void contextMenuEvent(QContextMenuEvent *event)
The context menu setup member.
void specificity()
Plot the specificity of the SSM.
void createActions()
Create the actions for context menu etc.
virtual void openModel(const QString filename)
Loads a robust model as an SSM (*.rssm) file. Alias same as LoadModel().
This class represents the MILX Qt Model/Mesh Display object using VTK.
virtual void SaveModel(const QString filename)
Saves a robust model as an SSM (*.rssm) file. MILX-MSK like call.
void resultAvailable(milxQtRenderWindow *)
Send signal that Resultant render window is available for showing.
virtual void generateMeanModel(vtkSmartPointer< vtkPolyData > shape=NULL)
void generalisability()
Plot the generalisability of the SSM.
virtual void createMenu(QMenu *menu)
Create the menu for the data in this object. Used for context menu and file menus.
virtual void saveModel(const QString filename)
Saves a robust model as an SSM (*.rssm) file.
RobustShapeModelType::Pointer m_RobustSSM
The Statistical Shape Model.
void eigenmodes()
Plot the primary eigenmodes of the model for each training shape.
#define MILXQT_PLUGIN_EXPORT
Define Windows Plugin DLL importing.
void LoadModel(const QString filename)
Loads a model as an SSM (*.ssm) file. MILX-MSK like call.
virtual void generateModes()
void eigenvalues()
Plot the eigenvalues of the model.
virtual void generateCollectionBasedOnMode()
virtual void SaveModel(const QString filename)
Saves a model as an SSM (*.ssm) file. MILX-MSK like call.
void generateCorrespondences()