VTK
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
32 
34 {
35 public:
36  static vtkImageDotProduct *New();
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 *,
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
Store vtkAlgorithm input/output information.
void SetInputData(vtkDataObject *)
Generic filter that has one input..
virtual void SetInput2Data(vtkDataObject *in)
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
Dot product of two vector images.
Store zero or more vtkInformation instances.
virtual void SetInput1Data(vtkDataObject *in)
static vtkAlgorithm * New()
#define VTKIMAGINGMATH_EXPORT
general representation of visualization data
Definition: vtkDataObject.h:64