7 #ifndef __VISUVTKADAPTOR_SNEGATOSLICINGINTERACTOR_HPP__ 8 #define __VISUVTKADAPTOR_SNEGATOSLICINGINTERACTOR_HPP__ 10 #include "visuVTKAdaptor/config.hpp" 12 #include <fwData/TransferFunction.hpp> 14 #include <fwDataTools/helper/MedicalImageAdaptor.hpp> 16 #include <fwRenderVTK/IAdaptor.hpp> 18 class VISUVTKADAPTOR_CLASS_API vtkCommand;
64 VISUVTKADAPTOR_API
void startSlicing(
double pickedPoint[3]);
66 VISUVTKADAPTOR_API
void stopSlicing();
68 VISUVTKADAPTOR_API
void updateSlicing(
double pickedPoint[3]);
70 VISUVTKADAPTOR_API
void pushSlice(
int factor,
Orientation axis);
78 VISUVTKADAPTOR_API static const ::
fwCom::Signals::SignalKeyType s_SLICING_STARTED_SIG;
82 VISUVTKADAPTOR_API static const ::
fwCom::Signals::SignalKeyType s_SLICING_STOPPED_SIG;
93 void updateSliceIndex(
int axial,
int frontal,
int sagittal);
97 void updateSliceType(
int from,
int to);
102 VISUVTKADAPTOR_API
void configuring() override;
103 VISUVTKADAPTOR_API
void starting() override;
104 VISUVTKADAPTOR_API
void updating() override;
105 VISUVTKADAPTOR_API
void stopping() override;
116 VISUVTKADAPTOR_API virtual
KeyConnectionsMap getAutoConnections() const override;
118 vtkCommand* m_vtkObserver;
127 SlicingStartedSignalType::sptr m_sigSlicingStarted;
130 SlicingStoppedSignalType::sptr m_sigSlicingStopped;
138 #endif // __VISUVTKADAPTOR_SNEGATOSLICINGINTERACTOR_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.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Base class for VTK adaptors.