VTK  9.3.20240328
vtkImageVariance3D.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
37 #ifndef vtkImageVariance3D_h
38 #define vtkImageVariance3D_h
39 
41 #include "vtkImagingGeneralModule.h" // For export macro
42 
43 VTK_ABI_NAMESPACE_BEGIN
45 
46 class VTKIMAGINGGENERAL_EXPORT vtkImageVariance3D : public vtkImageSpatialAlgorithm
47 {
48 public:
51  void PrintSelf(ostream& os, vtkIndent indent) override;
52 
57  void SetKernelSize(int size0, int size1, int size2);
58 
59 protected:
61  ~vtkImageVariance3D() override;
62 
64 
66  vtkInformationVector* outputVector) override;
67 
69  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
70  int outExt[6], int id) override;
71  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
72  vtkInformationVector* outputVector) override;
73 
74 private:
75  vtkImageVariance3D(const vtkImageVariance3D&) = delete;
76  void operator=(const vtkImageVariance3D&) = delete;
77 };
78 
79 VTK_ABI_NAMESPACE_END
80 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:155
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.