11 #include "visuVTKAdaptor/config.hpp" 13 #include <fwData/Color.hpp> 14 #include <fwData/Point.hpp> 16 #include <fwRenderVTK/IAdaptor.hpp> 20 class vtkDistanceRepresentation2D;
53 VISUVTKADAPTOR_API virtual ~
SDistance() noexcept;
55 static const ::
fwServices::IService::KeyType s_POINTLIST_INPUT;
58 VISUVTKADAPTOR_API
void setAxisColor( ::
fwData::Color::sptr newColor) noexcept;
62 VISUVTKADAPTOR_API
void configuring() override;
63 VISUVTKADAPTOR_API
void starting() override;
64 VISUVTKADAPTOR_API
void updating() override;
65 VISUVTKADAPTOR_API
void stopping() override;
77 vtkDistanceRepresentation2D* m_distanceRepresentation;
79 vtkActor* m_lineActor;
80 vtkLineSource* m_lineSource;
82 ::
fwData::Point::cwptr m_point1;
83 ::
fwData::Point::cwptr m_point2;
86 ::
fwCom::Connection m_point1Connection;
89 ::
fwCom::Connection m_point2Connection;
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...
Namespace containing fw4spl communication tools.
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
Display the distance between the two points of the point list.
#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.