VTK
vtkFiniteDifferenceGradientEstimator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFiniteDifferenceGradientEstimator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
41 #ifndef vtkFiniteDifferenceGradientEstimator_h
42 #define vtkFiniteDifferenceGradientEstimator_h
43 
44 #include "vtkRenderingVolumeModule.h" // For export macro
46 
48 {
49 public:
51  void PrintSelf( ostream& os, vtkIndent indent );
52 
56 
58 
60  vtkSetMacro( SampleSpacingInVoxels, int );
61  vtkGetMacro( SampleSpacingInVoxels, int );
63 
64  // The sample spacing between samples taken for the normal estimation
66 
67 protected:
70 
71 
73 
74  void UpdateNormals( void );
75 private:
77  void operator=(const vtkFiniteDifferenceGradientEstimator&); // Not implemented.
78 };
80 
81 
82 #endif
Use finite differences to estimate gradient.
#define VTKRENDERINGVOLUME_EXPORT
virtual void UpdateNormals(void)=0
a simple class to control print indentation
Definition: vtkIndent.h:38
Superclass for gradient estimation.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()