/*========================================================================= medInria Copyright (c) INRIA 2013 - 2019. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include "manualRegistration.h" #include "manualRegistrationPlugin.h" #include "manualRegistrationToolBox.h" manualRegistrationPlugin::manualRegistrationPlugin(QObject *parent) : medPluginLegacy(parent) { } bool manualRegistrationPlugin::initialize() { if(!manualRegistration::registered()) { qWarning() << "Unable to register manualRegistration type"; } if ( !manualRegistrationToolBox::registered() ) { qWarning() << "Unable to register manualRegistration toolbox"; } return true; } QString manualRegistrationPlugin::description() const { QString description; description += "

Manual Registration Tutorial

"; description += "Manual registration between two volumes using landmarks."; description += "

Preparation

"; description += ""; description += "

Landmarks

"; description += "You need to select some identical points of interest on both the data. "; description += "Firstly, choose a point of interest on the first image and add a landmark, then search the same point of interest on the second data and add a landmark on this second data."; description += ""; description += "

Run

"; description += ""; description += "This plugin uses the ITK library: https://itk.org"; return description; } QString manualRegistrationPlugin::name() const { return "Manual Registration"; } QString manualRegistrationPlugin::version() const { return MANUALREGISTRATIONPLUGIN_VERSION; } QStringList manualRegistrationPlugin::types() const { return QStringList() << "manualRegistration"; }