Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageGradientMagnitude.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageGradientMagnitude.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00048 #ifndef __vtkImageGradientMagnitude_h
    00049 #define __vtkImageGradientMagnitude_h
    00050
    00051
    00052 #include "vtkImageToImageFilter.h"
    00053
    00054 class VTK_IMAGING_EXPORT vtkImageGradientMagnitude : public vtkImageToImageFilter
    00055 {
    00056 public:
    00057   static vtkImageGradientMagnitude *New();
    00058   vtkTypeRevisionMacro(vtkImageGradientMagnitude,vtkImageToImageFilter);
    00059   void PrintSelf(ostream& os, vtkIndent indent);
    00060
    00062
    00064   vtkSetMacro(HandleBoundaries, int);
    00065   vtkGetMacro(HandleBoundaries, int);
    00066   vtkBooleanMacro(HandleBoundaries, int);
    00068
    00070
    00071   vtkSetClampMacro(Dimensionality,int,2,3);
    00072   vtkGetMacro(Dimensionality,int);
    00074
    00075 protected:
    00076   vtkImageGradientMagnitude();
    00077   ~vtkImageGradientMagnitude() {};
    00078
    00079   int HandleBoundaries;
    00080   int Dimensionality;
    00081
    00082   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
    00083   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
    00084   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
    00085   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00086                        int extent[6], int id);
    00087 private:
    00088   vtkImageGradientMagnitude(const vtkImageGradientMagnitude&);  // Not implemented.
    00089   void operator=(const vtkImageGradientMagnitude&);  // Not implemented.
    00090 };
    00091
    00092 #endif
    00093
    00094
    00095