vtkImageGradient.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00042 #ifndef __vtkImageGradient_h
00043 #define __vtkImageGradient_h
00044
00045
00046 #include "vtkThreadedImageAlgorithm.h"
00047
00048 class VTK_IMAGING_EXPORT vtkImageGradient :
00049 public vtkThreadedImageAlgorithm
00050 {
00051 public:
00052 static vtkImageGradient *New();
00053 vtkTypeRevisionMacro(vtkImageGradient,vtkThreadedImageAlgorithm);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057
00058 vtkSetClampMacro(Dimensionality,int,2,3);
00059 vtkGetMacro(Dimensionality,int);
00061
00063
00065 vtkSetMacro(HandleBoundaries, int);
00066 vtkGetMacro(HandleBoundaries, int);
00067 vtkBooleanMacro(HandleBoundaries, int);
00069
00071
00074 vtkGetStringMacro(InputScalarsSelection);
00075 void SelectInputScalars(const char *fieldName)
00076 {this->SetInputScalarsSelection(fieldName);}
00078
00079 protected:
00080 vtkImageGradient();
00081 ~vtkImageGradient() {};
00082
00083 int HandleBoundaries;
00084 int Dimensionality;
00085
00086 void ExecuteInformation (vtkInformation *, vtkInformationVector *, vtkInformationVector *);
00087 void RequestUpdateExtent (vtkInformation *,
00088 vtkInformationVector *, vtkInformationVector *);
00089
00090 void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
00091 int extent[6], int id);
00092 private:
00093 vtkImageGradient(const vtkImageGradient&);
00094 void operator=(const vtkImageGradient&);
00095 };
00096
00097 #endif
00098
00099
00100