VTK
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 =========================================================================*/
27 #ifndef vtkImageRange3D_h
28 #define vtkImageRange3D_h
29 
30 
31 #include "vtkImagingGeneralModule.h" // For export macro
33 
35 
36 class VTKIMAGINGGENERAL_EXPORT vtkImageRange3D : public vtkImageSpatialAlgorithm
37 {
38 public:
39  static vtkImageRange3D *New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
47  void SetKernelSize(int size0, int size1, int size2);
48 
49 protected:
51  ~vtkImageRange3D() override;
52 
54 
55  int RequestInformation (vtkInformation *request,
56  vtkInformationVector **inputVector,
57  vtkInformationVector *outputVector) override;
58  void ThreadedRequestData(vtkInformation *request,
59  vtkInformationVector **inputVector,
60  vtkInformationVector *outputVector,
61  vtkImageData ***inData, vtkImageData **outData,
62  int extent[6], int id) override;
63  int RequestData(vtkInformation *request,
64  vtkInformationVector **inputVector,
65  vtkInformationVector *outputVector) override;
66 
67 private:
68  vtkImageRange3D(const vtkImageRange3D&) = delete;
69  void operator=(const vtkImageRange3D&) = delete;
70 };
71 
72 #endif
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...
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
Max - min of a circular neighborhood.
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.
vtkImageEllipsoidSource * Ellipse
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()