#pragma once #include #include #include #include #include #include class TTKTENSORESTIMATIONPROCESSPLUGIN_EXPORT ttkTensorEstimationProcess: public medAbstractDiffusionModelEstimationProcess { Q_OBJECT public: ttkTensorEstimationProcess(QObject* parent = NULL); ~ttkTensorEstimationProcess(); virtual medAbstractJob::medJobExitStatus run(); virtual void cancel(); virtual QString caption() const; virtual QString description() const; medBoolParameter *noSmoothing() const; medBoolParameter *lowSmoothing() const; medBoolParameter *mediumSmoothing() const; medBoolParameter *highSmoothing() const; private: template medAbstractJob::medJobExitStatus _run(); private: itk::SmartPointer m_estimationfilter; itk::SmartPointer m_smoothingfilter; medBoolParameterGroup *m_smoothing; medBoolParameter *m_NoSmoothing; medBoolParameter *m_LowSmoothing; medBoolParameter *m_MediumSmoothing; medBoolParameter *m_HighSmoothing; }; inline medAbstractDiffusionModelEstimationProcess* ttkTensorEstimationProcessCreator() { return new ttkTensorEstimationProcess(); }