fw4spl
SMeshCreation.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
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 #ifndef __OPVTKMESH_ACTION_SMESHCREATION_HPP__
8 #define __OPVTKMESH_ACTION_SMESHCREATION_HPP__
9 
10 #include "opVTKMesh/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 namespace opVTKMesh
15 {
16 
17 namespace action
18 {
19 
46 class OPVTKMESH_CLASS_API SMeshCreation : public ::fwGui::IActionSrv
47 {
48 
49 public:
50 
52 
53  OPVTKMESH_API SMeshCreation() noexcept;
54 
55  OPVTKMESH_API virtual ~SMeshCreation() noexcept;
56 
57 protected:
58 
59  OPVTKMESH_API void starting() override;
60 
61  OPVTKMESH_API void stopping() override;
62 
64  OPVTKMESH_API void configuring() override;
65 
67  OPVTKMESH_API void updating() override;
68 
69 private:
70 
71  unsigned int m_reduction;
72 };
73 
74 } // namespace action
75 } // namespace opVTKMesh
76 
77 #endif // __OPVTKMESH_ACTION_SMESHCREATION_HPP__
The namespace opVTKMesh contains an implementation of a VTK mesher.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Action to create a mesh from an image using VTK library.