X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FLUTImageActor.h;fp=lib%2FcpExtensions%2FVisualization%2FLUTImageActor.h;h=0000000000000000000000000000000000000000;hb=2e142df11d6f312a2a2b5097b8da73571ed523e8;hp=851afa5fa87afd9e99946d48f82fd3a1919b3bbf;hpb=61b3659afe961ed248f30e26f9ca8f28fcfafddc;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/LUTImageActor.h b/lib/cpExtensions/Visualization/LUTImageActor.h deleted file mode 100644 index 851afa5..0000000 --- a/lib/cpExtensions/Visualization/LUTImageActor.h +++ /dev/null @@ -1,78 +0,0 @@ -#ifndef __cpExtensions__Visualization__LUTImageActor__h__ -#define __cpExtensions__Visualization__LUTImageActor__h__ - -#include -#include - -// ------------------------------------------------------------------------- -class vtkImageMapToColors; -class vtkLookupTable; - -// ------------------------------------------------------------------------- -namespace cpExtensions -{ - namespace Algorithms { class ImageBlender; } - - namespace Visualization - { - /** - */ - class cpExtensions_EXPORT LUTImageActor - : public ImageActor - { - public: - typedef LUTImageActor Self; - - protected: - typedef cpExtensions::Algorithms::ImageBlender _TImageBlender; - - public: - vtkTypeMacro( LUTImageActor, ImageActor ); - - public: - static Self* New( ); - - unsigned int GetNumberOfImages( ) const; - vtkImageData* GetImage( unsigned int id ); - const vtkImageData* GetImage( unsigned int id ) const; - unsigned int GetImageId( vtkImageData* image ) const; - void GetLUTColor( - unsigned int id, double& r, double& g, double& b, double& a - ) const; - void GetLUTColor( - vtkImageData* image, double& r, double& g, double& b, double& a - ) const; - void SetLUTColor( - unsigned int id, double r, double g, double b, double a - ); - void SetLUTColor( - vtkImageData* image, double r, double g, double b, double a - ); - unsigned int AddImage( - vtkImageData* image, - double r = 1, double g = 0, double b = 0, double a = 1 - ); - - protected: - LUTImageActor( ); - virtual ~LUTImageActor( ); - - private: - // Purposely not implemented - LUTImageActor( const Self& ); - Self& operator=( const Self& ); - - protected: - vtkSmartPointer< vtkLookupTable > m_LUT; - vtkSmartPointer< _TImageBlender > m_Blender; - vtkSmartPointer< vtkImageMapToColors > m_ImageMap; - std::vector< vtkSmartPointer< vtkImageData > > m_Images; - }; - - } // ecapseman - -} // ecapseman - -#endif // __cpExtensions__Visualization__LUTImageActor__h__ - -// eof - $RCSfile$