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 =========================================================================*/
27 #ifndef vtkImageVariance3D_h
28 #define vtkImageVariance3D_h
29 
30 
31 #include "vtkImagingGeneralModule.h" // For export macro
33 
35 
36 class VTKIMAGINGGENERAL_EXPORT vtkImageVariance3D : public vtkImageSpatialAlgorithm
37 {
38 public:
39  static vtkImageVariance3D *New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
47  void SetKernelSize(int size0, int size1, int size2);
48 
49 protected:
51  ~vtkImageVariance3D() override;
52 
54 
55  int RequestInformation (vtkInformation *request,
56  vtkInformationVector **inputVector,
57  vtkInformationVector *outputVector) override;
58 
59  void ThreadedRequestData(vtkInformation *request,
60  vtkInformationVector **inputVector,
61  vtkInformationVector *outputVector,
62  vtkImageData ***inData, vtkImageData **outData,
63  int extent[6], int id) override;
64  int RequestData(vtkInformation *request,
65  vtkInformationVector **inputVector,
66  vtkInformationVector *outputVector) override;
67 
68 private:
69  vtkImageVariance3D(const vtkImageVariance3D&) = delete;
70  void operator=(const vtkImageVariance3D&) = delete;
71 };
72 
73 #endif
vtkThreadedImageAlgorithm::ThreadedRequestData
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,...
vtkImageSpatialAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageSpatialAlgorithm::New
static vtkImageSpatialAlgorithm * New()
vtkImageSpatialAlgorithm.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkImageVariance3D::Ellipse
vtkImageEllipsoidSource * Ellipse
Definition: vtkImageVariance3D.h:53
vtkX3D::extent
Definition: vtkX3D.h:345
vtkImageEllipsoidSource
Create a binary image of an ellipsoid.
Definition: vtkImageEllipsoidSource.h:30
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:34
vtkThreadedImageAlgorithm::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkImageSpatialAlgorithm::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageVariance3D
Variance in a neighborhood.
Definition: vtkImageVariance3D.h:36