27#ifndef vtkFiniteDifferenceGradientEstimator_h
28#define vtkFiniteDifferenceGradientEstimator_h
31#include "vtkRenderingVolumeModule.h"
33VTK_ABI_NAMESPACE_BEGIN
52 vtkSetMacro(SampleSpacingInVoxels,
int);
53 vtkGetMacro(SampleSpacingInVoxels,
int);
Superclass for gradient estimation.
Use finite differences to estimate gradient.
vtkFiniteDifferenceGradientEstimator()
static vtkFiniteDifferenceGradientEstimator * New()
Construct a vtkFiniteDifferenceGradientEstimator with a SampleSpacingInVoxels of 1.
~vtkFiniteDifferenceGradientEstimator() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int SampleSpacingInVoxels
void UpdateNormals() override
Recompute the encoded normals and gradient magnitudes.
a simple class to control print indentation