7 #ifndef __VISUVTKADAPTOR_SPLANELIST_HPP__ 8 #define __VISUVTKADAPTOR_SPLANELIST_HPP__ 12 #include "visuVTKAdaptor/config.hpp" 14 #include <fwCom/helper/SigSlotConnection.hpp> 16 #include <fwData/Plane.hpp> 18 #include <fwRenderVTK/IAdaptor.hpp> 64 VISUVTKADAPTOR_API virtual ~
SPlaneList() noexcept;
68 void setPlaneCollectionId(::
fwRenderVTK::SRender::VtkObjectIdType
id)
70 m_planeCollectionId = id;
75 ::fwRenderVTK::SRender::VtkObjectIdType getPlaneCollectionId()
const 77 return m_planeCollectionId;
85 VISUVTKADAPTOR_API
void configuring()
override;
86 VISUVTKADAPTOR_API
void starting()
override;
87 VISUVTKADAPTOR_API
void updating()
override;
88 VISUVTKADAPTOR_API
void stopping()
override;
99 void updateSelection(::fwData::Plane::sptr plane);
101 vtkCommand* m_rightButtonCommand;
102 ::fwRenderVTK::SRender::VtkObjectIdType m_planeCollectionId;
116 void showPlanes(
bool visible);
126 #endif // __VISUVTKADAPTOR_SPLANELIST_HPP__ This class is a helper to define the connections of a service and its data.
::fwCom::helper::SigSlotConnection m_planeConnections
Store connections to planes adaptors.
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
This class provides few tools to ease connect/disconnect between a signal emitter and a slot receiver...
::fwCom::Signal< void(::fwData::Plane::sptr) > SelectedignalType
Type of signal emitted when plane selection changed.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwRenderVTK contains classes for rendering with VTK.
Represents a list of Plane that can be interacted with 3 points.
Base class for VTK adaptors.