fw4spl
AddLandmark.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 __UIMEASUREMENT_ACTION_ADDLANDMARK_HPP__
8 #define __UIMEASUREMENT_ACTION_ADDLANDMARK_HPP__
9 
10 #include "uiMeasurement/config.hpp"
11 
12 #include <fwGui/IActionSrv.hpp>
13 
14 namespace uiMeasurement
15 {
16 namespace action
17 {
18 
33 class UIMEASUREMENT_CLASS_API AddLandmark : public ::fwGui::IActionSrv
34 {
35 public:
37 
38  UIMEASUREMENT_API AddLandmark() noexcept;
39 
40  UIMEASUREMENT_API virtual ~AddLandmark() noexcept;
41 
42 protected:
43 
44  void configuring() override;
45 
46  void starting() override;
47 
48  void updating() override;
49 
50  void stopping() override;
51 
52  UIMEASUREMENT_API void info(std::ostream& _sstream ) override;
53 
54 private:
55  int m_actionCheckId;
56 };
57 
58 } // namespace action
59 } // namespace uiMeasurement
60 
61 #endif // __UIMEASUREMENT_ACTION_ADDLANDMARK_HPP__
The namespace uiMeasurement contains actions to add/show/remove distances and landmarks.
Definition: AddDistance.hpp:13
This action adds landmaks on image.
Definition: AddLandmark.hpp:33
STL namespace.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.