VTK
vtkImageLaplacian.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageLaplacian.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 vtkImageLaplacian_h
28 #define vtkImageLaplacian_h
29 
30 
31 #include "vtkImagingGeneralModule.h" // For export macro
33 
34 class VTKIMAGINGGENERAL_EXPORT vtkImageLaplacian : public vtkThreadedImageAlgorithm
35 {
36 public:
37  static vtkImageLaplacian *New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
42 
45  vtkSetClampMacro(Dimensionality,int,2,3);
46  vtkGetMacro(Dimensionality,int);
48 
49 protected:
51  ~vtkImageLaplacian() override {}
52 
54 
56  vtkInformationVector *) override;
57  void ThreadedRequestData(vtkInformation *request,
58  vtkInformationVector **inputVector,
59  vtkInformationVector *outputVector,
60  vtkImageData ***inData, vtkImageData **outData,
61  int outExt[6], int id) override;
62 
63 private:
64  vtkImageLaplacian(const vtkImageLaplacian&) = delete;
65  void operator=(const vtkImageLaplacian&) = delete;
66 };
67 
68 #endif
69 
70 
71 
~vtkImageLaplacian() override
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:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
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,...
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.