VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkImageDotProduct.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageDotProduct.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef __vtkImageDotProduct_h
26 #define __vtkImageDotProduct_h
27 
28 
29 
30 #include "vtkImagingMathModule.h" // For export macro
31 #include "vtkThreadedImageAlgorithm.h"
32 
33 class VTKIMAGINGMATH_EXPORT vtkImageDotProduct : public vtkThreadedImageAlgorithm
34 {
35 public:
36  static vtkImageDotProduct *New();
37  vtkTypeMacro(vtkImageDotProduct,vtkThreadedImageAlgorithm);
38 
40 
41  virtual void SetInput1Data(vtkDataObject *in) { this->SetInputData(0,in); }
42  virtual void SetInput2Data(vtkDataObject *in) { this->SetInputData(1,in); }
44 
45 protected:
48 
49  virtual int RequestInformation (vtkInformation *,
50  vtkInformationVector **,
51  vtkInformationVector *);
52 
53  virtual void ThreadedRequestData(vtkInformation *request,
54  vtkInformationVector **inputVector,
55  vtkInformationVector *outputVector,
56  vtkImageData ***inData,
57  vtkImageData **outData,
58  int extent[6], int threadId);
59 
60 private:
61  vtkImageDotProduct(const vtkImageDotProduct&); // Not implemented.
62  void operator=(const vtkImageDotProduct&); // Not implemented.
63 };
64 
65 #endif
66 
67 
68 
69 // VTK-HeaderTest-Exclude: vtkImageDotProduct.h
virtual void SetInput2Data(vtkDataObject *in)
Dot product of two vector images.
virtual void SetInput1Data(vtkDataObject *in)