fw4spl
AddDistance.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 "uiMeasurement/config.hpp"
10 
11 #include <fwGui/IActionSrv.hpp>
12 
13 namespace uiMeasurement
14 {
15 namespace action
16 {
17 
31 class UIMEASUREMENT_CLASS_API AddDistance : public ::fwGui::IActionSrv
32 {
33 public:
35 
36  UIMEASUREMENT_API AddDistance() noexcept;
37 
38  UIMEASUREMENT_API virtual ~AddDistance() noexcept;
39 
40 protected:
41 
42  void configuring() override;
43 
44  void starting() override;
45 
46  void updating() override;
47 
48  void stopping() override;
49 
50 };
51 
52 } // namespace action
53 
54 } // namespace uiMeasurement
The namespace uiMeasurement contains actions to add/show/remove distances and landmarks.
Definition: AddDistance.hpp:13
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
This action adds distances on an image field.
Definition: AddDistance.hpp:31