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

dox/Rendering/vtkFiniteDifferenceGradientEstimator.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkFiniteDifferenceGradientEstimator.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 =========================================================================*/ 00016 00045 #ifndef __vtkFiniteDifferenceGradientEstimator_h 00046 #define __vtkFiniteDifferenceGradientEstimator_h 00047 00048 #include "vtkEncodedGradientEstimator.h" 00049 00050 class VTK_RENDERING_EXPORT vtkFiniteDifferenceGradientEstimator : public vtkEncodedGradientEstimator 00051 { 00052 public: 00053 vtkTypeRevisionMacro(vtkFiniteDifferenceGradientEstimator,vtkEncodedGradientEstimator); 00054 void PrintSelf( ostream& os, vtkIndent indent ); 00055 00058 static vtkFiniteDifferenceGradientEstimator *New(); 00059 00061 00063 vtkSetMacro( SampleSpacingInVoxels, int ); 00064 vtkGetMacro( SampleSpacingInVoxels, int ); 00066 00067 // The sample spacing between samples taken for the normal estimation 00068 int SampleSpacingInVoxels; 00069 00070 protected: 00071 vtkFiniteDifferenceGradientEstimator(); 00072 ~vtkFiniteDifferenceGradientEstimator(); 00073 00074 00076 void UpdateNormals( void ); 00077 private: 00078 vtkFiniteDifferenceGradientEstimator(const vtkFiniteDifferenceGradientEstimator&); // Not implemented. 00079 void operator=(const vtkFiniteDifferenceGradientEstimator&); // Not implemented. 00080 }; 00081 00082 00083 #endif