VTK  9.0.1
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 =========================================================================*/
24 #ifndef vtkImageRange3D_h
25 #define vtkImageRange3D_h
26 
28 #include "vtkImagingGeneralModule.h" // For export macro
29 
31 
32 class VTKIMAGINGGENERAL_EXPORT vtkImageRange3D : public vtkImageSpatialAlgorithm
33 {
34 public:
35  static vtkImageRange3D* New();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
43  void SetKernelSize(int size0, int size1, int size2);
44 
45 protected:
47  ~vtkImageRange3D() override;
48 
50 
51  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
52  vtkInformationVector* outputVector) override;
53  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
54  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
55  int extent[6], int id) override;
56  int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
57  vtkInformationVector* outputVector) override;
58 
59 private:
60  vtkImageRange3D(const vtkImageRange3D&) = delete;
61  void operator=(const vtkImageRange3D&) = delete;
62 };
63 
64 #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:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageSpatialAlgorithm::New
static vtkImageSpatialAlgorithm * New()
vtkImageRange3D
Max - min of a circular neighborhood.
Definition: vtkImageRange3D.h:32
vtkImageSpatialAlgorithm.h
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::extent
@ extent
Definition: vtkX3D.h:351
vtkImageEllipsoidSource
Create a binary image of an ellipsoid.
Definition: vtkImageEllipsoidSource.h:30
vtkImageRange3D::Ellipse
vtkImageEllipsoidSource * Ellipse
Definition: vtkImageRange3D.h:49
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:33
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...