/*========================================================================= 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 "polygonRoiPlugin.h" #include "polygonRoiToolBox.h" #include #include #include #include #include polygonRoiPlugin::polygonRoiPlugin(QObject *parent) : medPluginLegacy(parent) { } bool polygonRoiPlugin::initialize() { if(!polygonRoiToolBox::registered()) { qDebug() << "Unable to register polygonRoiToolBox"; } if(!defaultLabelToolBox::registered()) { qDebug() << "Unable to register defaultLabelToolBox"; } if(!urologyLabelToolBox::registered()) { qDebug() << "Unable to register urologyLabelToolBox"; } if (!medContours::registered()) { qDebug() << "Unable to register medContours type"; } if (!medContoursReader::registered()) { qDebug() << "Unable to register medContoursReader type"; } if (!medContoursWriter::registered()) { qDebug() << "Unable to register medContoursWriter type"; } return true; } QString polygonRoiPlugin::name() const { return "Polygon ROI"; } QString polygonRoiPlugin::description() const { QString description = \ tr("Segment, interpolate Regions of Interest (ROI) on your volume. \

This plugin uses the VTK library."); return description; } QString polygonRoiPlugin::version() const { return POLYGONROIPLUGIN_VERSION; } QStringList polygonRoiPlugin::types() const { return QStringList() << "polygonRoi" << "medContours"; }