VTK  9.1.0
vtkImageRange3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageRange3D.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 =========================================================================*/
43 #ifndef vtkImageRange3D_h
44 #define vtkImageRange3D_h
45 
47 #include "vtkImagingGeneralModule.h" // For export macro
48 
50 
51 class VTKIMAGINGGENERAL_EXPORT vtkImageRange3D : public vtkImageSpatialAlgorithm
52 {
53 public:
54  static vtkImageRange3D* New();
56  void PrintSelf(ostream& os, vtkIndent indent) override;
57 
62  void SetKernelSize(int size0, int size1, int size2);
63 
64 protected:
66  ~vtkImageRange3D() override;
67 
69 
71  vtkInformationVector* outputVector) override;
73  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
74  int outExt[6], int id) override;
75  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
76  vtkInformationVector* outputVector) override;
77 
78 private:
79  vtkImageRange3D(const vtkImageRange3D&) = delete;
80  void operator=(const vtkImageRange3D&) = delete;
81 };
82 
83 #endif
vtkImageRange3D::~vtkImageRange3D
~vtkImageRange3D() override
vtkImageRange3D::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkImageRange3D::vtkImageRange3D
vtkImageRange3D()
vtkImageRange3D::New
static vtkImageRange3D * New()
vtkImageRange3D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkImageRange3D
Max - min of a circular neighborhood.
Definition: vtkImageRange3D.h:52
vtkImageSpatialAlgorithm.h
vtkImageRange3D::ThreadedRequestData
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,...
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkImageEllipsoidSource
Create a binary image of an ellipsoid.
Definition: vtkImageEllipsoidSource.h:140
vtkImageRange3D::Ellipse
vtkImageEllipsoidSource * Ellipse
Definition: vtkImageRange3D.h:68
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:34
vtkImageRange3D::SetKernelSize
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
vtkImageRange3D::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...