VTK
dox
Rendering
Volume
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
42
#ifndef vtkFiniteDifferenceGradientEstimator_h
43
#define vtkFiniteDifferenceGradientEstimator_h
44
45
#include "vtkRenderingVolumeModule.h"
// For export macro
46
#include "
vtkEncodedGradientEstimator.h
"
47
48
class
VTKRENDERINGVOLUME_EXPORT
vtkFiniteDifferenceGradientEstimator
:
public
vtkEncodedGradientEstimator
49
{
50
public
:
51
vtkTypeMacro(
vtkFiniteDifferenceGradientEstimator
,
vtkEncodedGradientEstimator
);
52
void
PrintSelf
( ostream& os,
vtkIndent
indent );
53
58
static
vtkFiniteDifferenceGradientEstimator
*
New
();
59
61
65
vtkSetMacro
( SampleSpacingInVoxels,
int
);
66
vtkGetMacro( SampleSpacingInVoxels,
int
);
68
69
// The sample spacing between samples taken for the normal estimation
70
int
SampleSpacingInVoxels
;
71
72
protected
:
73
vtkFiniteDifferenceGradientEstimator
();
74
~
vtkFiniteDifferenceGradientEstimator
();
75
79
void
UpdateNormals
(
void
);
80
81
private
:
82
vtkFiniteDifferenceGradientEstimator
(
const
vtkFiniteDifferenceGradientEstimator
&) VTK_DELETE_FUNCTION;
83
void
operator=(
const
vtkFiniteDifferenceGradientEstimator
&) VTK_DELETE_FUNCTION;
84
};
85
86
87
#endif
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkFiniteDifferenceGradientEstimator
Use finite differences to estimate gradient.
Definition:
vtkFiniteDifferenceGradientEstimator.h:48
vtkEncodedGradientEstimator
Superclass for gradient estimation.
Definition:
vtkEncodedGradientEstimator.h:44
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkEncodedGradientEstimator::UpdateNormals
virtual void UpdateNormals(void)=0
vtkEncodedGradientEstimator.h
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkFiniteDifferenceGradientEstimator::SampleSpacingInVoxels
int SampleSpacingInVoxels
Definition:
vtkFiniteDifferenceGradientEstimator.h:66
vtkEncodedGradientEstimator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.16