1 #ifndef __CPEXTENSIONS__VISUALIZATION__IMAGEBLENDER__H__
2 #define __CPEXTENSIONS__VISUALIZATION__IMAGEBLENDER__H__
4 #include <cpExtensions/cpExtensions_Export.h>
8 #include <vtkThreadedImageAlgorithm.h>
10 namespace cpExtensions
12 namespace Visualization
15 * @note: Based on vtkImageWeightedSum
17 class cpExtensions_EXPORT ImageBlender
18 : public vtkThreadedImageAlgorithm
21 typedef ImageBlender Self;
22 vtkTypeMacro( ImageBlender, vtkThreadedImageAlgorithm );
29 virtual ~ImageBlender( );
31 int RequestInformation(
32 vtkInformation* request,
33 vtkInformationVector** inputVector,
34 vtkInformationVector* outputVector
37 vtkInformation* request,
38 vtkInformationVector** inputVector,
39 vtkInformationVector* outputVector
41 void ThreadedRequestData(
42 vtkInformation* request,
43 vtkInformationVector** inputVector,
44 vtkInformationVector* outputVector,
45 vtkImageData*** inData, vtkImageData** outData,
46 int outExt[ 6 ], int id
48 int FillInputPortInformation( int i, vtkInformation* info );
51 // Purposely not implemented.
52 ImageBlender( const Self& other );
53 void operator=( const Self& other );
56 std::vector< double > m_Ranges;
63 #endif // __CPEXTENSIONS__VISUALIZATION__IMAGEBLENDER__H__