• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Graphics/vtkGradientFilter.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 /*=========================================================================
00003 
00004   Program:   Visualization Toolkit
00005   Module:    $RCSfile: vtkGradientFilter.h,v $
00006 
00007   Copyright (c) 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 =========================================================================*/
00016 /*----------------------------------------------------------------------------
00017  Copyright (c) Sandia Corporation
00018  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00019 ----------------------------------------------------------------------------*/
00020 
00034 #ifndef __vtkGradientFilter_h
00035 #define __vtkGradientFilter_h
00036 
00037 #include "vtkDataSetAlgorithm.h"
00038 
00039 class VTK_GRAPHICS_EXPORT vtkGradientFilter : public vtkDataSetAlgorithm
00040 {
00041 public:
00042   vtkTypeRevisionMacro(vtkGradientFilter, vtkDataSetAlgorithm);
00043   virtual void PrintSelf(ostream &os, vtkIndent indent);
00044 
00045   static vtkGradientFilter *New();
00046 
00048 
00053   virtual void SetInputScalars(int fieldAssociation, const char *name);
00054   virtual void SetInputScalars(int fieldAssociation, int fieldAttributeType);
00056 
00058 
00060   vtkGetStringMacro(ResultArrayName);
00061   vtkSetStringMacro(ResultArrayName);
00063 
00065 
00071   vtkGetMacro(FasterApproximation, int);
00072   vtkSetMacro(FasterApproximation, int);
00073   vtkBooleanMacro(FasterApproximation, int);
00075 
00076 protected:
00077   vtkGradientFilter();
00078   ~vtkGradientFilter();
00079 
00080   virtual int RequestUpdateExtent(vtkInformation *,
00081                                   vtkInformationVector **,
00082                                   vtkInformationVector *);
00083   virtual int RequestData(vtkInformation *, vtkInformationVector **,
00084                           vtkInformationVector *);
00085 
00086   char *ResultArrayName;
00087 
00088   int FasterApproximation;
00089 
00090 private:
00091   vtkGradientFilter(const vtkGradientFilter &); // Not implemented
00092   void operator=(const vtkGradientFilter &);    // Not implemented
00093 };
00094 
00095 #endif //_vtkGradientFilter_h

Generated by  doxygen 1.7.1