X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FWindowLevelImageActor.h;fp=lib%2FcpExtensions%2FVisualization%2FWindowLevelImageActor.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=8af39433ed864eb26eb8d280f384ff7bfbd4df70;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/WindowLevelImageActor.h b/lib/cpExtensions/Visualization/WindowLevelImageActor.h deleted file mode 100644 index 8af3943..0000000 --- a/lib/cpExtensions/Visualization/WindowLevelImageActor.h +++ /dev/null @@ -1,66 +0,0 @@ -#ifndef __cpExtensions__Visualization__WindowLevelImageActor__h__ -#define __cpExtensions__Visualization__WindowLevelImageActor__h__ - -#include - -// ------------------------------------------------------------------------- -namespace cpExtensions -{ - namespace Visualization - { - /** - */ - class cpExtensions_EXPORT WindowLevelImageActor - : public ImageActor - { - public: - typedef WindowLevelImageActor Self; - - public: - vtkTypeMacro( WindowLevelImageActor, ImageActor ); - - public: - static Self* New( ); - - vtkImageData* GetImage( ); - const vtkImageData* GetImage( ) const; - void SetImage( vtkImageData* image ); - - 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 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( ); - virtual ~WindowLevelImageActor( ); - - private: - // Purposely not implemented - WindowLevelImageActor( const Self& ); - Self& operator=( const Self& ); - - protected: - double m_Range[ 2 ]; - }; - - } // ecapseman - -} // ecapseman - -#endif // __cpExtensions__Visualization__WindowLevelImageActor__h__ - -// eof - $RCSfile$