VTK  9.1.0
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=========================================================================*/
46#ifndef vtkImageVariance3D_h
47#define vtkImageVariance3D_h
48
50#include "vtkImagingGeneralModule.h" // For export macro
51
53
54class VTKIMAGINGGENERAL_EXPORT vtkImageVariance3D : public vtkImageSpatialAlgorithm
55{
56public:
59 void PrintSelf(ostream& os, vtkIndent indent) override;
60
65 void SetKernelSize(int size0, int size1, int size2);
66
67protected:
70
72
74 vtkInformationVector* outputVector) override;
75
77 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
78 int outExt[6], int id) override;
79 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
80 vtkInformationVector* outputVector) override;
81
82private:
84 void operator=(const vtkImageVariance3D&) = delete;
85};
86
87#endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
Create a binary image of an ellipsoid.
Filters that operate on pixel neighborhoods.
Variance in a neighborhood.
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
static vtkImageVariance3D * New()
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageEllipsoidSource * Ellipse
~vtkImageVariance3D() override
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.