VTK  9.3.1
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
18 #ifndef vtkImageVariance3D_h
19 #define vtkImageVariance3D_h
20 
22 #include "vtkImagingGeneralModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
26 
27 class VTKIMAGINGGENERAL_EXPORT vtkImageVariance3D : public vtkImageSpatialAlgorithm
28 {
29 public:
30  static vtkImageVariance3D* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
38  void SetKernelSize(int size0, int size1, int size2);
39 
40 protected:
42  ~vtkImageVariance3D() override;
43 
45 
46  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
47  vtkInformationVector* outputVector) override;
48 
49  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
50  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
51  int outExt[6], int id) override;
52  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
53  vtkInformationVector* outputVector) override;
54 
55 private:
56  vtkImageVariance3D(const vtkImageVariance3D&) = delete;
57  void operator=(const vtkImageVariance3D&) = delete;
58 };
59 
60 VTK_ABI_NAMESPACE_END
61 #endif
Variance in a neighborhood.
Store vtkAlgorithm input/output information.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
Create a binary image of an ellipsoid.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageEllipsoidSource * Ellipse
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up, multiple threads will be spawned, and each thread will call this method.
Filters that operate on pixel neighborhoods.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSpatialAlgorithm * New()