1 #ifndef __cpExtensions__Visualization__ImageActor__h__
2 #define __cpExtensions__Visualization__ImageActor__h__
4 #include <cpExtensions/Config.h>
5 #include <vtkImageSlice.h>
6 #include <vtkSmartPointer.h>
8 // -------------------------------------------------------------------------
9 class vtkImageAlgorithm;
12 // -------------------------------------------------------------------------
13 namespace cpExtensions
15 namespace Visualization
17 class ImageSliceMapper;
21 class cpExtensions_EXPORT ImageActor
22 : public vtkImageSlice
25 typedef ImageActor Self;
28 vtkTypeMacro( ImageActor, vtkImageSlice );
31 virtual void Modified( ) cpExtensions_OVERRIDE;
33 int GetOrientation( ) const;
34 void SetOrientation( int orientation );
36 int GetSliceNumber( ) const;
37 void SetSliceNumber( int slice );
39 vtkPlane* GetSlicePlane( );
40 const vtkPlane* GetSlicePlane( ) const;
44 virtual ~ImageActor( );
47 // Purposely not implemented
48 ImageActor( const Self& );
49 Self& operator=( const Self& );
52 vtkSmartPointer< ImageSliceMapper > m_Mapper;
59 #endif // __cpExtensions__Visualization__ImageActor__h__