VTK: Imaging/General/vtkImageRange3D.h Source File

| VTK 9.3.1

vtkImageRange3D.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
24 #ifndef vtkImageRange3D_h
25 #define vtkImageRange3D_h
26
27 #include "vtkImageSpatialAlgorithm.h"
28 #include "vtkImagingGeneralModule.h" // For export macro
29
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkImageEllipsoidSource;
32
33 class VTKIMAGINGGENERAL_EXPORT vtkImageRange3D : public vtkImageSpatialAlgorithm
34 {
35 public:
36 static vtkImageRange3D* New();
37 vtkTypeMacro(vtkImageRange3D, vtkImageSpatialAlgorithm);
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
44 void SetKernelSize(int size0, int size1, int size2);
45
46 protected:
47 vtkImageRange3D();
48 ~vtkImageRange3D() override;
49
50 vtkImageEllipsoidSource* Ellipse;
51
52 int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
53 vtkInformationVector* outputVector) override;
54 void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
55 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
56 int outExt[6], int id) override;
57 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
58 vtkInformationVector* outputVector) override;
59
60 private:
61 vtkImageRange3D(const vtkImageRange3D&) = delete;
62 void operator=(const vtkImageRange3D&) = delete;
63 };
64
65 VTK_ABI_NAMESPACE_END
66 #endif
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImageEllipsoidSource
Create a binary image of an ellipsoid.
Definition: vtkImageEllipsoidSource.h:32
vtkImageRange3D
Max - min of a circular neighborhood.
Definition: vtkImageRange3D.h:34
vtkImageRange3D::SetKernelSize
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
vtkImageRange3D::New
static vtkImageRange3D * New()
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,...
vtkImageRange3D::vtkImageRange3D
vtkImageRange3D()
vtkImageRange3D::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
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...
vtkImageRange3D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageRange3D::Ellipse
vtkImageEllipsoidSource * Ellipse
Definition: vtkImageRange3D.h:50
vtkImageRange3D::~vtkImageRange3D
~vtkImageRange3D() override
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:23
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkImageSpatialAlgorithm.h