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 
31 
33 {
34 public:
35  static vtkImageDotProduct *New();
37 
39 
40  virtual void SetInput1(vtkDataObject *in) { this->SetInput(0,in); }
41  virtual void SetInput2(vtkDataObject *in) { this->SetInput(1,in); }
43 
44 protected:
47 
48  virtual int RequestInformation (vtkInformation *,
51 
52  virtual void ThreadedRequestData(vtkInformation *request,
53  vtkInformationVector **inputVector,
54  vtkInformationVector *outputVector,
55  vtkImageData ***inData,
56  vtkImageData **outData,
57  int extent[6], int threadId);
58 
59 private:
60  vtkImageDotProduct(const vtkImageDotProduct&); // Not implemented.
61  void operator=(const vtkImageDotProduct&); // Not implemented.
62 };
63 
64 #endif
65 
66 
67 
virtual void SetInput2(vtkDataObject *in)
Store vtkAlgorithm input/output information.
virtual void SetInput1(vtkDataObject *in)
Generic filter that has one input..
void SetInput(vtkDataObject *)
#define VTK_IMAGING_EXPORT
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
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.
static vtkAlgorithm * New()
general representation of visualization data
Definition: vtkDataObject.h:70