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

vtkImageGradient.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageGradient.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 =========================================================================*/
00031 #ifndef __vtkImageGradient_h
00032 #define __vtkImageGradient_h
00033 
00034 #include "vtkThreadedImageAlgorithm.h"
00035 
00036 class VTK_IMAGING_EXPORT vtkImageGradient : public vtkThreadedImageAlgorithm
00037 {
00038 public:
00039   static vtkImageGradient *New();
00040   vtkTypeRevisionMacro(vtkImageGradient,vtkThreadedImageAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00045   vtkSetClampMacro(Dimensionality,int,2,3);
00046   vtkGetMacro(Dimensionality,int);
00048 
00050 
00054   vtkSetMacro(HandleBoundaries, int);
00055   vtkGetMacro(HandleBoundaries, int);
00056   vtkBooleanMacro(HandleBoundaries, int);
00058 
00059 protected:
00060   vtkImageGradient();
00061   ~vtkImageGradient() {};
00062 
00063   int HandleBoundaries;
00064   int Dimensionality;
00065 
00066   virtual int RequestInformation (vtkInformation*,
00067                                   vtkInformationVector**,
00068                                   vtkInformationVector*);
00069   virtual int RequestUpdateExtent(vtkInformation*,
00070                                   vtkInformationVector**,
00071                                   vtkInformationVector*);
00072 
00073   void ThreadedRequestData(vtkInformation*,
00074                            vtkInformationVector**,
00075                            vtkInformationVector*,
00076                            vtkImageData*** inData,
00077                            vtkImageData** outData,
00078                            int outExt[6],
00079                            int threadId);
00080 private:
00081   vtkImageGradient(const vtkImageGradient&);  // Not implemented.
00082   void operator=(const vtkImageGradient&);  // Not implemented.
00083 };
00084 
00085 #endif
00086 
00087 
00088 

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