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

vtkFiniteDifferenceGradientEstimator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkFiniteDifferenceGradientEstimator.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 =========================================================================*/
00015 
00053 #ifndef __vtkFiniteDifferenceGradientEstimator_h
00054 #define __vtkFiniteDifferenceGradientEstimator_h
00055 
00056 #include "vtkEncodedGradientEstimator.h"
00057 
00058 class VTK_RENDERING_EXPORT vtkFiniteDifferenceGradientEstimator : public vtkEncodedGradientEstimator
00059 {
00060 public:
00061   vtkTypeRevisionMacro(vtkFiniteDifferenceGradientEstimator,vtkEncodedGradientEstimator);
00062   void PrintSelf( ostream& os, vtkIndent indent );
00063 
00066   static vtkFiniteDifferenceGradientEstimator *New();
00067 
00069 
00071   vtkSetMacro( SampleSpacingInVoxels, int );
00072   vtkGetMacro( SampleSpacingInVoxels, int );
00074 
00075   // The sample spacing between samples taken for the normal estimation
00076   int SampleSpacingInVoxels;
00077 
00078 protected:
00079   vtkFiniteDifferenceGradientEstimator();
00080   ~vtkFiniteDifferenceGradientEstimator();
00081 
00082 
00084   void UpdateNormals( void );
00085 private:
00086   vtkFiniteDifferenceGradientEstimator(const vtkFiniteDifferenceGradientEstimator&);  // Not implemented.
00087   void operator=(const vtkFiniteDifferenceGradientEstimator&);  // Not implemented.
00088 }; 
00089 
00090 
00091 #endif