VTK  9.3.1
vtkImageLaplacian.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
18 #ifndef vtkImageLaplacian_h
19 #define vtkImageLaplacian_h
20 
21 #include "vtkImagingGeneralModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKIMAGINGGENERAL_EXPORT vtkImageLaplacian : public vtkThreadedImageAlgorithm
26 {
27 public:
28  static vtkImageLaplacian* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
36  vtkSetClampMacro(Dimensionality, int, 2, 3);
37  vtkGetMacro(Dimensionality, int);
39 
40 protected:
42  ~vtkImageLaplacian() override = default;
43 
45 
47  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
48  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
49  int outExt[6], int id) override;
50 
51 private:
52  vtkImageLaplacian(const vtkImageLaplacian&) = delete;
53  void operator=(const vtkImageLaplacian&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #endif
Store vtkAlgorithm input/output information.
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
Generic filter that has one input.
Computes divergence of gradient.
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.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.