X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FWindowLevelImageActor.h;h=8af39433ed864eb26eb8d280f384ff7bfbd4df70;hb=aee3cafa7e93f996580777976636ed625dbc43f5;hp=f3e8277e804206b4c8c22d59d6c0a640c266172d;hpb=3393941bf8f26babc7b592db434b40c1b747a687;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/WindowLevelImageActor.h b/lib/cpExtensions/Visualization/WindowLevelImageActor.h index f3e8277..8af3943 100644 --- a/lib/cpExtensions/Visualization/WindowLevelImageActor.h +++ b/lib/cpExtensions/Visualization/WindowLevelImageActor.h @@ -26,14 +26,23 @@ namespace cpExtensions const vtkImageData* GetImage( ) const; void SetImage( vtkImageData* image ); - double GetLevel( ); - double GetWindow( ); + double GetLevel( ) const; + double GetWindow( ) const; + void GetWindowLevel( double wl[ 2 ] ) const; + void ResetWindowLevel( ); void SetLevel( double l ); void SetWindow( double w ); void SetWindowLevel( double w, double l ); - void ResetWindowLevel( ); - void ConfigureWindowLevel( double min, double max ); + void SetWindowLevel( double wl[ 2 ] ); + + double GetMinimum( ) const; + double GetMaximum( ) const; void GetRange( double r[ 2 ] ) const; + void ResetRange( ); + void SetMinimum( double a ); + void SetMaximum( double b ); + void SetRange( double a, double b ); + void SetRange( double r[ 2 ] ); protected: WindowLevelImageActor( );