VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageCorrelation.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageCorrelation.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
=========================================================================*/
29
#ifndef __vtkImageCorrelation_h
30
#define __vtkImageCorrelation_h
31
32
33
34
#include "
vtkThreadedImageAlgorithm.h
"
35
36
class
VTK_IMAGING_EXPORT
vtkImageCorrelation
:
public
vtkThreadedImageAlgorithm
37
{
38
public
:
39
static
vtkImageCorrelation
*
New
();
40
vtkTypeMacro(
vtkImageCorrelation
,
vtkThreadedImageAlgorithm
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
46
vtkSetClampMacro(Dimensionality,
int
,2,3);
47
vtkGetMacro(Dimensionality,
int
);
49
51
virtual
void
SetInput1
(
vtkDataObject
*in) { this->
SetInput
(0,in); }
52
54
virtual
void
SetInput2
(
vtkDataObject
*in) { this->
SetInput
(1,in); }
55
56
protected
:
57
vtkImageCorrelation
();
58
~vtkImageCorrelation
() {};
59
60
int
Dimensionality;
61
virtual
int
RequestInformation
(
vtkInformation
*,
62
vtkInformationVector
**,
63
vtkInformationVector
*);
64
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
65
vtkInformationVector
**,
66
vtkInformationVector
*);
67
68
virtual
void
ThreadedRequestData
(
vtkInformation
*request,
69
vtkInformationVector
**inputVector,
70
vtkInformationVector
*outputVector,
71
vtkImageData
***inData,
72
vtkImageData
**outData,
73
int
extent
[6],
int
threadId);
74
75
private
:
76
vtkImageCorrelation
(
const
vtkImageCorrelation
&);
// Not implemented.
77
void
operator=(
const
vtkImageCorrelation
&);
// Not implemented.
78
};
79
80
#endif
81
82
83
Generated on Sun Sep 9 2012 13:03:40 for VTK by
1.8.1.2