/*========================================================================= 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 #include voiCutterPlugin::voiCutterPlugin(QObject *parent) : medPluginLegacy(parent) { } bool voiCutterPlugin::initialize() { if(!voiCutterToolBox::registered()) { qDebug() << "Unable to register voiCutterToolBox"; } return true; } QString voiCutterPlugin::name() const { return "VOI Cutter"; } QString voiCutterPlugin::description() const { QString description; description += "

VOI Cutter Tutorial

"; description += "Drop a volume in the view.
"; description += "

Rotation

"; description += " You can rotate the data holding your mouse cursor over it. Display an area to remove."; description += "

Segment

"; description += "When you are ready, click on 'Cut Volume' and "; description += "draw a segmentation by clicking on the view.
"; description += "

Cut

"; description += "If you press 'Backspace', the projected area will be removed from the mask.
"; description += "If you press 'Enter' this area will be kept and the outside removed."; description += "

Save

"; description += " Click on 'Save Image' to save your new volume."; description += "

This plugin uses the VTK library: https://vtk.org"; return description; } QString voiCutterPlugin::version() const { return VOICUTTERPLUGIN_VERSION; }