7 #ifndef __VISUVTKADAPTOR_SPLANE_HPP__ 8 #define __VISUVTKADAPTOR_SPLANE_HPP__ 12 #include "visuVTKAdaptor/config.hpp" 14 #include <fwCom/Signal.hpp> 15 #include <fwCom/Signals.hpp> 17 #include <fwData/Plane.hpp> 19 #include <fwRenderVTK/IAdaptor.hpp> 22 class vtkPlaneCollection;
70 VISUVTKADAPTOR_API
SPlane() noexcept;
72 VISUVTKADAPTOR_API virtual ~
SPlane() noexcept;
74 static const ::
fwServices::IService::KeyType s_PLANE_INOUT;
76 VISUVTKADAPTOR_API
void setVtkPlaneCollection( vtkObject* col );
84 VISUVTKADAPTOR_API static const ::
fwCom::Signals::SignalKeyType s_INTERACTION_STARTED_SIG;
93 void selectPlane(
bool select);
100 VISUVTKADAPTOR_API
void configuring() override;
101 VISUVTKADAPTOR_API
void starting() override;
102 VISUVTKADAPTOR_API
void updating() override;
103 VISUVTKADAPTOR_API
void stopping() override;
112 VISUVTKADAPTOR_API virtual
KeyConnectionsMap getAutoConnections() const override;
122 void startInteraction();
129 vtkPlaneSource* m_vtkPlane;
130 vtkActor* m_actorPlan;
132 vtkPlane* m_vtkImplicitPlane;
133 vtkPlaneCollection* m_vtkPlaneCollection;
135 ::
fwRenderVTK::SRender::VtkObjectIdType m_planeCollectionId;
138 ::
fwCom::helper::SigSlotConnection m_connections;
145 #endif // __VISUVTKADAPTOR_SPLANE_HPP__ 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...
Represents a Plane that can be interacted with 3 points.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace fwRenderVTK contains classes for rendering with VTK.
Contains the representation of the data objects used in the framework.
Base class for VTK adaptors.