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 );
27 unsigned int GetNumberOfInputs( );
31 virtual ~ImageBlender( );
33 int RequestInformation(
34 vtkInformation* request,
35 vtkInformationVector** inputVector,
36 vtkInformationVector* outputVector
39 vtkInformation* request,
40 vtkInformationVector** inputVector,
41 vtkInformationVector* outputVector
43 void ThreadedRequestData(
44 vtkInformation* request,
45 vtkInformationVector** inputVector,
46 vtkInformationVector* outputVector,
47 vtkImageData*** inData, vtkImageData** outData,
48 int outExt[ 6 ], int id
50 int FillInputPortInformation( int i, vtkInformation* info );
53 // Purposely not implemented.
54 ImageBlender( const Self& other );
55 void operator=( const Self& other );
58 std::vector< double > m_Ranges;
65 #endif // __CPEXTENSIONS__VISUALIZATION__IMAGEBLENDER__H__