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

# Imaging/vtkImageGradient.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageGradient.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 =========================================================================*/
    00046 #ifndef __vtkImageGradient_h
    00047 #define __vtkImageGradient_h
    00048
    00049
    00050 #include "vtkImageToImageFilter.h"
    00051
    00052 class VTK_IMAGING_EXPORT vtkImageGradient : public vtkImageToImageFilter
    00053 {
    00054 public:
    00055   static vtkImageGradient *New();
    00056   vtkTypeRevisionMacro(vtkImageGradient,vtkImageToImageFilter);
    00057   void PrintSelf(ostream& os, vtkIndent indent);
    00058
    00060
    00061   vtkSetClampMacro(Dimensionality,int,2,3);
    00062   vtkGetMacro(Dimensionality,int);
    00064
    00066
    00068   vtkSetMacro(HandleBoundaries, int);
    00069   vtkGetMacro(HandleBoundaries, int);
    00070   vtkBooleanMacro(HandleBoundaries, int);
    00072
    00073 protected:
    00074   vtkImageGradient();
    00075   ~vtkImageGradient() {};
    00076
    00077   int HandleBoundaries;
    00078   int Dimensionality;
    00079
    00080   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
    00081   void ComputeInputUpdateExtent(int inExt[6], int outExt[6]);
    00082   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
    00083   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00084                        int extent[6], int id);
    00085 private:
    00086   vtkImageGradient(const vtkImageGradient&);  // Not implemented.
    00087   void operator=(const vtkImageGradient&);  // Not implemented.
    00088 };
    00089
    00090 #endif
    00091
    00092
    00093