fw4spl
SVTKMesher.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 "opVTKMesh/config.hpp"
10 
11 #include <fwServices/IOperator.hpp>
12 
13 #include <string>
14 
15 namespace opVTKMesh
16 {
17 
40 class OPVTKMESH_CLASS_API SVTKMesher : public ::fwServices::IOperator
41 {
42 
43 public:
44 
46 
47  OPVTKMESH_API SVTKMesher() noexcept;
48 
49  OPVTKMESH_API virtual ~SVTKMesher() noexcept;
50 
51 protected:
52 
53  OPVTKMESH_API virtual void starting() override;
54 
55  OPVTKMESH_API virtual void stopping() override;
56 
57  OPVTKMESH_API virtual void configuring() override;
58 
59  OPVTKMESH_API virtual void updating() override;
60 
61 private:
62 
63  unsigned int m_reduction;
64 };
65 
66 } // namespace opVTKMesh
The namespace opVTKMesh contains an implementation of a VTK mesher.
This service generates meshes from an ImageSeries using VTK library.
Definition: SVTKMesher.hpp:40
This interface defines operator service API.
Definition: IOperator.hpp:25
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.