7 #ifndef __VISUVTKADAPTOR_STRANSFORMFROMWHEEL_HPP__ 8 #define __VISUVTKADAPTOR_STRANSFORMFROMWHEEL_HPP__ 10 #include "visuVTKAdaptor/config.hpp" 12 #include <fwDataTools/helper/MedicalImageAdaptor.hpp> 13 #include <fwDataTools/PickingInfo.hpp> 15 #include <fwRenderVTK/IAdaptor.hpp> 17 #include <glm/mat4x4.hpp> 61 VISUVTKADAPTOR_API STransformFromWheel();
64 VISUVTKADAPTOR_API
virtual ~STransformFromWheel();
68 VISUVTKADAPTOR_API
virtual void configuring()
override;
69 VISUVTKADAPTOR_API
virtual void starting()
override;
70 VISUVTKADAPTOR_API
virtual void updating()
override;
71 VISUVTKADAPTOR_API
virtual void stopping()
override;
76 void rotateTransform(
double cx,
double cy,
double wheelAngle);
82 void applyTransformToOutput(const ::glm::dmat4& transform)
const;
85 void updateSliceOrientation(
int from,
int to);
91 unsigned char m_interactionMode;
97 double m_lastPickedPos[3];
105 #endif // __VISUVTKADAPTOR_STRANSFORMFROMWHEEL_HPP__ The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Base class for VTK adaptors.