VTK  9.3.1
vtkImageSobel3D.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
16 #ifndef vtkImageSobel3D_h
17 #define vtkImageSobel3D_h
18 
20 #include "vtkImagingGeneralModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKIMAGINGGENERAL_EXPORT vtkImageSobel3D : public vtkImageSpatialAlgorithm
24 {
25 public:
26  static vtkImageSobel3D* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30 protected:
32  ~vtkImageSobel3D() override = default;
33 
34  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
35  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
36  int outExt[6], int id) override;
37  int RequestInformation(vtkInformation* request, vtkInformationVector** inputVector,
38  vtkInformationVector* outputVector) override;
39 
40 private:
41  vtkImageSobel3D(const vtkImageSobel3D&) = delete;
42  void operator=(const vtkImageSobel3D&) = delete;
43 };
44 
45 VTK_ABI_NAMESPACE_END
46 #endif
Store vtkAlgorithm input/output information.
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:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
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.
Computes a vector field using sobel functions.
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()