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 
35 
37 {
38 public:
39  static vtkImageGradient *New();
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44 
45  vtkSetClampMacro(Dimensionality,int,2,3);
46  vtkGetMacro(Dimensionality,int);
48 
50 
54  vtkSetMacro(HandleBoundaries, int);
55  vtkGetMacro(HandleBoundaries, int);
56  vtkBooleanMacro(HandleBoundaries, int);
58 
59 protected:
62 
63  int HandleBoundaries;
65 
66  virtual int RequestInformation (vtkInformation*,
72  virtual int RequestData(vtkInformation*,
75 
79  vtkImageData*** inData,
80  vtkImageData** outData,
81  int outExt[6],
82  int threadId);
83 private:
84  vtkImageGradient(const vtkImageGradient&); // Not implemented.
85  void operator=(const vtkImageGradient&); // Not implemented.
86 };
87 
88 #endif
89 
90 
91