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 
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 
vtkImageGradient::ThreadedRequestData
void ThreadedRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int threadId)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkImageGradient::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkThreadedImageAlgorithm
Generic filter that has one input..
Definition: vtkThreadedImageAlgorithm.h:37
vtkImageGradient::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkThreadedImageAlgorithm.h
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkImageGradient::RequestInformation
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageGradient::HandleBoundaries
int HandleBoundaries
Definition: vtkImageGradient.h:64
vtkImageGradient::vtkImageGradient
vtkImageGradient()
vtkImagingGeneralModule.h
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKIMAGINGGENERAL_EXPORT
#define VTKIMAGINGGENERAL_EXPORT
Definition: vtkImagingGeneralModule.h:15
vtkImageGradient::New
static vtkImageGradient * New()
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkImageGradient::~vtkImageGradient
~vtkImageGradient()
Definition: vtkImageGradient.h:62
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkImageGradient::Dimensionality
int Dimensionality
Definition: vtkImageGradient.h:65
vtkImageGradient::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkImageGradient
Computes the gradient vector.
Definition: vtkImageGradient.h:38