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