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 );
31 void SetLevel( double l );
32 void SetWindow( double w );
33 void SetWindowLevel( double w, double l );
34 void ResetWindowLevel( );
35 void ConfigureWindowLevel( double min, double max );
36 void GetRange( double r[ 2 ] ) const;
39 WindowLevelImageActor( );
40 virtual ~WindowLevelImageActor( );
43 // Purposely not implemented
44 WindowLevelImageActor( const Self& );
45 Self& operator=( const Self& );
55 #endif // __cpExtensions__Visualization__WindowLevelImageActor__h__