Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImageGradientMagnitude.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageGradientMagnitude.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00033 #ifndef __vtkImageGradientMagnitude_h
00034 #define __vtkImageGradientMagnitude_h
00035 
00036 
00037 #include "vtkThreadedImageAlgorithm.h"
00038 
00039 class VTK_IMAGING_EXPORT vtkImageGradientMagnitude : public vtkThreadedImageAlgorithm
00040 {
00041 public:
00042   static vtkImageGradientMagnitude *New();
00043   vtkTypeRevisionMacro(vtkImageGradientMagnitude,vtkThreadedImageAlgorithm);
00044   void PrintSelf(ostream& os, vtkIndent indent);
00045   
00047 
00049   vtkSetMacro(HandleBoundaries, int);
00050   vtkGetMacro(HandleBoundaries, int);
00051   vtkBooleanMacro(HandleBoundaries, int);
00053 
00055 
00056   vtkSetClampMacro(Dimensionality,int,2,3);
00057   vtkGetMacro(Dimensionality,int);
00059   
00060 protected:
00061   vtkImageGradientMagnitude();
00062   ~vtkImageGradientMagnitude() {};
00063 
00064   int HandleBoundaries;
00065   int Dimensionality;
00066 
00067   virtual int RequestInformation (vtkInformation*,
00068                                   vtkInformationVector**,
00069                                   vtkInformationVector*);
00070   virtual int RequestUpdateExtent(vtkInformation*,
00071                                   vtkInformationVector**,
00072                                   vtkInformationVector*);
00073 
00074   void ThreadedExecute (vtkImageData *inData, vtkImageData *outData,
00075                        int extent[6], int id);
00076 private:
00077   vtkImageGradientMagnitude(const vtkImageGradientMagnitude&);  // Not implemented.
00078   void operator=(const vtkImageGradientMagnitude&);  // Not implemented.
00079 };
00080 
00081 #endif
00082 
00083 
00084 

Generated on Mon Jan 21 23:07:29 2008 for VTK by  doxygen 1.4.3-20050530