VTK
vtkImageGradient.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageGradient.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 =========================================================================*/
31 #ifndef vtkImageGradient_h
32 #define vtkImageGradient_h
33 
34 #include "vtkImagingGeneralModule.h" // For export macro
36 
38 {
39 public:
40  static vtkImageGradient *New();
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45 
46  vtkSetClampMacro(Dimensionality,int,2,3);
47  vtkGetMacro(Dimensionality,int);
49 
51 
55  vtkSetMacro(HandleBoundaries, int);
56  vtkGetMacro(HandleBoundaries, int);
57  vtkBooleanMacro(HandleBoundaries, int);
59 
60 protected:
63 
66 
67  virtual int RequestInformation (vtkInformation*,
73  virtual int RequestData(vtkInformation*,
76 
80  vtkImageData*** inData,
81  vtkImageData** outData,
82  int outExt[6],
83  int threadId);
84 private:
85  vtkImageGradient(const vtkImageGradient&); // Not implemented.
86  void operator=(const vtkImageGradient&); // Not implemented.
87 };
88 
89 #endif
90 
91 
92 
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generic filter that has one input..
a simple class to control print indentation
Definition: vtkIndent.h:38
topologically and geometrically regular array of data
Definition: vtkImageData.h:44
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Computes the gradient vector.
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
#define VTKIMAGINGGENERAL_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()