7 #ifndef __VISUVTKADAPTOR_SPOINTLIST_HPP__ 8 #define __VISUVTKADAPTOR_SPOINTLIST_HPP__ 12 #include "visuVTKAdaptor/config.hpp" 13 #include "visuVTKAdaptor/SPoint.hpp" 15 #include <fwData/Color.hpp> 16 #include <fwData/Point.hpp> 18 #include <fwRenderVTK/IAdaptor.hpp> 56 typedef std::vector< WPTR(::fwData::Point) > WeakPointListType;
57 typedef std::set< WPTR(::fwData::Point) > WeakPointSetType;
59 static const ::fwServices::IService::KeyType s_POINTLIST_INPUT;
65 VISUVTKADAPTOR_API virtual ~
SPointList() noexcept;
67 VISUVTKADAPTOR_API
void setRadius(const
double);
69 VISUVTKADAPTOR_API
void setColor(const
fwData::Color::sptr);
71 VISUVTKADAPTOR_API
void setInteraction(const
bool);
75 VISUVTKADAPTOR_API
void configuring() override;
76 VISUVTKADAPTOR_API
void starting() override;
77 VISUVTKADAPTOR_API
void updating() override;
78 VISUVTKADAPTOR_API
void stopping() override;
90 VISUVTKADAPTOR_API
void createServices(WeakPointListType& wPtList);
91 VISUVTKADAPTOR_API WeakPointListType getWeakPointList();
92 VISUVTKADAPTOR_API WeakPointListType getNewPoints();
94 WeakPointListType m_oldWeakPointList;
95 WeakPointListType m_weakPointList;
111 ::
fwData::Color::sptr m_ptColor;
125 #endif // __VISUVTKADAPTOR_SPOINTLIST_HPP__ Adaptor to display a point list.
This class is a helper to define the connections of a service and its data.
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.
Base class for VTK adaptors.