VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageDotProduct.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00025 #ifndef __vtkImageDotProduct_h 00026 #define __vtkImageDotProduct_h 00027 00028 00029 00030 #include "vtkImagingMathModule.h" // For export macro 00031 #include "vtkThreadedImageAlgorithm.h" 00032 00033 class VTKIMAGINGMATH_EXPORT vtkImageDotProduct : public vtkThreadedImageAlgorithm 00034 { 00035 public: 00036 static vtkImageDotProduct *New(); 00037 vtkTypeMacro(vtkImageDotProduct,vtkThreadedImageAlgorithm); 00038 00040 00041 virtual void SetInput1Data(vtkDataObject *in) { this->SetInputData(0,in); } 00042 virtual void SetInput2Data(vtkDataObject *in) { this->SetInputData(1,in); } 00044 00045 protected: 00046 vtkImageDotProduct(); 00047 ~vtkImageDotProduct() {}; 00048 00049 virtual int RequestInformation (vtkInformation *, 00050 vtkInformationVector **, 00051 vtkInformationVector *); 00052 00053 virtual void ThreadedRequestData(vtkInformation *request, 00054 vtkInformationVector **inputVector, 00055 vtkInformationVector *outputVector, 00056 vtkImageData ***inData, 00057 vtkImageData **outData, 00058 int extent[6], int threadId); 00059 00060 private: 00061 vtkImageDotProduct(const vtkImageDotProduct&); // Not implemented. 00062 void operator=(const vtkImageDotProduct&); // Not implemented. 00063 }; 00064 00065 #endif 00066 00067 00068 00069 // VTK-HeaderTest-Exclude: vtkImageDotProduct.h