1 #ifndef __cpExtensions__Algorithms__ImageBlender__h__
2 #define __cpExtensions__Algorithms__ImageBlender__h__
4 #include <cpExtensions/Config.h>
5 #include <vtkThreadedImageAlgorithm.h>
13 * @note: Based on vtkImageWeightedSum
15 class cpExtensions_EXPORT ImageBlender
16 : public vtkThreadedImageAlgorithm
19 typedef ImageBlender Self;
20 vtkTypeMacro( ImageBlender, vtkThreadedImageAlgorithm );
25 unsigned int GetNumberOfInputs( );
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__Algorithms__ImageBlender__h__