1 #ifndef __cpExtensions__Visualization__WindowLevelImageActor__h__
2 #define __cpExtensions__Visualization__WindowLevelImageActor__h__
4 #include <cpExtensions/Visualization/ImageActor.h>
6 // -------------------------------------------------------------------------
9 namespace Visualization
13 class cpExtensions_EXPORT WindowLevelImageActor
17 typedef WindowLevelImageActor Self;
20 vtkTypeMacro( WindowLevelImageActor, ImageActor );
25 vtkImageData* GetImage( );
26 const vtkImageData* GetImage( ) const;
27 void SetImage( vtkImageData* image );
29 double GetLevel( ) const;
30 double GetWindow( ) const;
31 void GetWindowLevel( double wl[ 2 ] ) const;
32 void ResetWindowLevel( );
33 void SetLevel( double l );
34 void SetWindow( double w );
35 void SetWindowLevel( double w, double l );
36 void SetWindowLevel( double wl[ 2 ] );
38 double GetMinimum( ) const;
39 double GetMaximum( ) const;
40 void GetRange( double r[ 2 ] ) const;
42 void SetMinimum( double a );
43 void SetMaximum( double b );
44 void SetRange( double a, double b );
45 void SetRange( double r[ 2 ] );
48 WindowLevelImageActor( );
49 virtual ~WindowLevelImageActor( );
52 // Purposely not implemented
53 WindowLevelImageActor( const Self& );
54 Self& operator=( const Self& );
64 #endif // __cpExtensions__Visualization__WindowLevelImageActor__h__