VTK
vtkImageVariance3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageVariance3D.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 =========================================================================*/
30 #ifndef vtkImageVariance3D_h
31 #define vtkImageVariance3D_h
32 
33 
34 #include "vtkImagingGeneralModule.h" // For export macro
36 
38 
39 class VTKIMAGINGGENERAL_EXPORT vtkImageVariance3D : public vtkImageSpatialAlgorithm
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
50  void SetKernelSize(int size0, int size1, int size2);
51 
52 protected:
54  ~vtkImageVariance3D() override;
55 
57 
59  vtkInformationVector **inputVector,
60  vtkInformationVector *outputVector) override;
61 
63  vtkInformationVector **inputVector,
64  vtkInformationVector *outputVector,
65  vtkImageData ***inData, vtkImageData **outData,
66  int extent[6], int id) override;
68  vtkInformationVector **inputVector,
69  vtkInformationVector *outputVector) override;
70 
71 private:
72  vtkImageVariance3D(const vtkImageVariance3D&) = delete;
73  void operator=(const vtkImageVariance3D&) = delete;
74 };
75 
76 #endif
vtkImageVariance3D::SetKernelSize
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
vtkImageVariance3D::New
static vtkImageVariance3D * New()
vtkImageVariance3D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageVariance3D::RequestInformation
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkImageVariance3D::vtkImageVariance3D
vtkImageVariance3D()
vtkImageVariance3D::ThreadedRequestData
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:46
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkImageSpatialAlgorithm.h
vtkImageVariance3D::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkImageVariance3D::Ellipse
vtkImageEllipsoidSource * Ellipse
Definition: vtkImageVariance3D.h:56
vtkX3D::extent
@ extent
Definition: vtkX3D.h:345
vtkImageEllipsoidSource
Create a binary image of an ellipsoid.
Definition: vtkImageEllipsoidSource.h:34
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:35
vtkImageVariance3D
Variance in a neighborhood.
Definition: vtkImageVariance3D.h:40
vtkImageVariance3D::~vtkImageVariance3D
~vtkImageVariance3D() override