fw4spl
SLabeledPointList.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 __VISUVTKADAPTOR_SLABELEDPOINTLIST_HPP__
8 #define __VISUVTKADAPTOR_SLABELEDPOINTLIST_HPP__
9 
10 #include "visuVTKAdaptor/config.hpp"
11 
12 #include <fwData/Color.hpp>
13 
14 #include <fwRenderVTK/IAdaptor.hpp>
15 
16 class vtkCommand;
17 
18 namespace visuVTKAdaptor
19 {
41 class VISUVTKADAPTOR_CLASS_API SLabeledPointList : public ::fwRenderVTK::IAdaptor
42 {
43 
44 public:
45 
47 
48  VISUVTKADAPTOR_API SLabeledPointList() noexcept;
49 
50  VISUVTKADAPTOR_API virtual ~SLabeledPointList() noexcept;
51 
52 protected:
53 
54  VISUVTKADAPTOR_API void configuring() override;
55  VISUVTKADAPTOR_API void starting() override;
56  VISUVTKADAPTOR_API void updating() override;
57  VISUVTKADAPTOR_API void stopping() override;
58 
67  VISUVTKADAPTOR_API virtual KeyConnectionsMap getAutoConnections() const override;
68 
69  vtkCommand* m_rightButtonCommand;
70 
72  ::fwData::Color::sptr m_ptColor;
73 
75  double m_radius;
76 
78  bool m_interaction;
79 };
80 
81 } //namespace visuVTKAdaptor
82 
83 #endif // __VISUVTKADAPTOR_SLABELEDPOINTLIST_HPP__
This class is a helper to define the connections of a service and its data.
Definition: IService.hpp:454
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
Adaptor to display a labeled point list.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.