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;
13 // -------------------------------------------------------------------------
14 namespace cpExtensions
16 namespace Visualization
18 class ImageSliceMapper;
22 class cpExtensions_EXPORT ImageActor
23 : public vtkImageSlice
26 typedef ImageActor Self;
29 vtkTypeMacro( ImageActor, vtkImageSlice );
32 virtual void Modified( ) cpExtensions_OVERRIDE;
34 int GetOrientation( ) const;
35 void SetOrientation( int orientation );
37 int GetSliceNumber( ) const;
38 void SetSliceNumber( int slice );
40 vtkPlane* GetSlicePlane( );
41 const vtkPlane* GetSlicePlane( ) const;
45 virtual ~ImageActor( );
48 // Purposely not implemented
49 ImageActor( const Self& );
50 Self& operator=( const Self& );
53 vtkSmartPointer< ImageSliceMapper > m_Mapper;
60 #endif // __cpExtensions__Visualization__ImageActor__h__