00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkDataSetGradient.h 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 =========================================================================*/ 00029 #ifndef __vtkDataSetGradient_h 00030 #define __vtkDataSetGradient_h 00031 00032 #include "vtkDataSetAlgorithm.h" 00033 00034 00035 class VTK_GRAPHICS_EXPORT vtkDataSetGradient : public vtkDataSetAlgorithm 00036 { 00037 public: 00038 static vtkDataSetGradient* New(); 00039 vtkTypeMacro(vtkDataSetGradient,vtkDataSetAlgorithm); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 vtkSetStringMacro(ResultArrayName); 00045 vtkGetStringMacro(ResultArrayName); 00047 00048 protected: 00049 vtkDataSetGradient (); 00050 ~vtkDataSetGradient(); 00051 00052 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00053 00054 char* ResultArrayName; 00055 00056 private: 00057 vtkDataSetGradient(const vtkDataSetGradient&); // Not implemented 00058 void operator=(const vtkDataSetGradient&); // Not implemented 00059 }; 00060 00061 #endif /* VTK_DATA_SET_GRADIENT_H */ 00062