fw4spl
SMeshModifier.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #pragma once
8 
9 #include "Tuto14MeshGenerator/AlgoMeshDeformation.hpp"
10 #include "Tuto14MeshGenerator/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 namespace Tuto14MeshGenerator
15 {
16 
43 class TUTO14MESHGENERATOR_CLASS_API SMeshModifier : public ::fwGui::IActionSrv
44 {
45 
46 public:
47 
49 
50 
53  TUTO14MESHGENERATOR_API SMeshModifier() noexcept;
54 
58  TUTO14MESHGENERATOR_API virtual ~SMeshModifier() noexcept;
59 
60 protected:
61 
62  TUTO14MESHGENERATOR_API virtual void configuring() override;
63 
64  TUTO14MESHGENERATOR_API virtual void starting() override;
65 
66  TUTO14MESHGENERATOR_API virtual void stopping() override;
67 
71  TUTO14MESHGENERATOR_API virtual void updating() override;
72 
76  TUTO14MESHGENERATOR_API virtual void info(std::ostream& _sstream ) override;
77 
79 
80 private:
81 
83  std::string m_functor;
84 
87 };
88 
89 } // namespace Tuto14MeshGenerator
90 
STL namespace.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
This action modifies a mesh using specified functor in configuration. The purpose is to test all poss...