/*=========================================================================

  Program:   Visualization Toolkit
  Module:    vtkDataSetGradient.h

  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
// .NAME vtkDataSetGradient - computes scalar field gradient
//
// .SECTION Description
// vtkDataSetGradient Computes per cell gradient of point scalar field
// or per point gradient of cell scalar field.
//
// .SECTION Thanks
// This file is part of the generalized Youngs material interface reconstruction algorithm contributed by
// CEA/DIF - Commissariat a l'Energie Atomique, Centre DAM Ile-De-France <br>
// BP12, F-91297 Arpajon, France. <br>
// Implementation by Thierry Carrard (CEA)


#ifndef __vtkDataSetGradient_h
#define __vtkDataSetGradient_h

#include "vtkDataSetAlgorithm.h"


class VTK_GRAPHICS_EXPORT vtkDataSetGradient : public vtkDataSetAlgorithm
{
public:
  static vtkDataSetGradient* New();
  vtkTypeRevisionMacro(vtkDataSetGradient,vtkDataSetAlgorithm);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // Set/Get the name of computed vector array.
  vtkSetStringMacro(ResultArrayName);
  vtkGetStringMacro(ResultArrayName);

protected:
  vtkDataSetGradient ();
  ~vtkDataSetGradient();

  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);

  char* ResultArrayName;

private:
  vtkDataSetGradient(const vtkDataSetGradient&); // Not implemented
  void operator=(const vtkDataSetGradient&); // Not implemented
};

#endif /* VTK_DATA_SET_GRADIENT_H */

