VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
29 #ifndef __vtkImageLaplacian_h
30 #define __vtkImageLaplacian_h
31 
32 
33 #include "vtkImagingGeneralModule.h" // For export macro
35 
36 class VTKIMAGINGGENERAL_EXPORT vtkImageLaplacian : public vtkThreadedImageAlgorithm
37 {
38 public:
39  static vtkImageLaplacian *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  vtkSetClampMacro(Dimensionality,int,2,3);
46  vtkGetMacro(Dimensionality,int);
48 
49 protected:
52 
53  int Dimensionality;
54 
55  virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **,
56  vtkInformationVector *);
57  void ThreadedRequestData(vtkInformation *request,
58  vtkInformationVector **inputVector,
59  vtkInformationVector *outputVector,
60  vtkImageData ***inData, vtkImageData **outData,
61  int outExt[6], int id);
62 
63 private:
64  vtkImageLaplacian(const vtkImageLaplacian&); // Not implemented.
65  void operator=(const vtkImageLaplacian&); // Not implemented.
66 };
67 
68 #endif
69 
70 
71 
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
Computes divergence of gradient.
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
static vtkAlgorithm * New()