1 #ifndef __CPEXTENSIONS__INTERACTION__IMAGEINTERACTORSTYLE__H__
2 #define __CPEXTENSIONS__INTERACTION__IMAGEINTERACTORSTYLE__H__
4 #include <cpExtensions/Interaction/BaseInteractorStyle.h>
8 #include <vtkSmartPointer.h>
9 #include <vtkPropPicker.h>
11 // Forward definitions
14 namespace cpExtensions
20 class cpExtensions_EXPORT ImageInteractorStyle
21 : public BaseInteractorStyle
24 typedef ImageInteractorStyle Self;
25 vtkTypeMacro( ImageInteractorStyle, BaseInteractorStyle );
30 // Data for local picker
31 virtual void AssociateImageActor( vtkImageActor* actor );
34 ImageInteractorStyle( );
35 virtual ~ImageInteractorStyle( );
37 virtual bool _PickPosition( int idx[ 2 ], double pos[ 3 ] );
40 // Purposely not implemented
41 ImageInteractorStyle( const Self& );
42 Self& operator=( const Self& );
45 vtkSmartPointer< vtkPropPicker > m_PropPicker;
52 #endif // __CPEXTENSIONS__INTERACTION__IMAGEINTERACTORSTYLE__H__