#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( ); double GetWindow( ); void SetLevel( double l ); void SetWindow( double w ); void SetWindowLevel( double w, double l ); void ResetWindowLevel( ); void ConfigureWindowLevel( double min, double max ); void GetRange( double r[ 2 ] ) const; 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$