/**************************************************************************** Copyright (C) 2010-2012 the Office National des Forêts (ONF), France and the Laboratoire des Sciences de l'Information et des Systèmes (LSIS), Marseille, France. All rights reserved. Contact : alexandre.piboule@onf.fr alexandra.bac@esil.univmed.fr Developers : Joris Ravaglia (ONF/LSIS) With adaptations by : Alexandre PIBOULE (ONF) This file is part of PluginONFLSIS library 2.0. PluginONFLSIS is free library: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. PluginShared is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with PluginShared. If not, see . *****************************************************************************/ #ifndef OL_STEPCREATEPOLYLINES02_H #define OL_STEPCREATEPOLYLINES02_H #include "ct_step/abstract/ct_abstractstep.h" #include "ct_itemdrawable/abstract/ct_abstractitemgroup.h" class OL_StepCreatePolylines02 : public CT_AbstractStep { // IMPORTANT pour avoir le nom de l'étape Q_OBJECT public: OL_StepCreatePolylines02(); QString description() const override; CT_VirtualAbstractStep* createNewInstance() const final; protected: void declareInputModels(CT_StepInModelStructureManager& manager) final; void fillPostInputConfigurationDialog(CT_StepConfigurableDialog* postInputConfigDialog) final; void declareOutputModels(CT_StepOutModelStructureManager& manager) final; void compute() final; private: CT_AutoRenameModels _outPolylinesModelName; CT_ResultGroup* _outRes; bool _multiThread; static void staticCreatePolyline(CT_AbstractItemGroup *group); }; #endif // OL_STEPCREATEPOLYLINES02_H