#include <GradientEstimationSW.h>
Inheritance diagram for IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations.GradientEstimationSW:
namespace: IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations
Baseclass: IDVR.Interfaces.IGradientEstimation
This class provides methods to estimate the gradient either by central differences, or by 4d linear regression.
Public Member Functions | |
GradientEstimationSW (void) | |
Standard constuctor. | |
virtual float | calculate_NormalEstimation (unsigned short n_Column, unsigned short n_Row, unsigned short n_Depth, VolumeData *n_DataSet) __gc[] |
Calculates the gradient by central differendes. | |
virtual float | calculate_4DLinerRegressionEstimation (unsigned short n_Column, unsigned short n_Row, unsigned short n_Depth, VolumeData *n_DataSet) __gc[] |
Calculates the gradient by 4d inear regression. | |
__property double | get_scaleFactorDifferences (void) |
Returns the scale factor of central differences. | |
__property double | get_scaleFactorRegression (void) |
Returns the scale factor of 4d linear regression. | |
Static Public Attributes | |
static const char | BY_DIFFERENCES = 0 |
gradient estimation by central differences | |
static const char | BY_4DREGRESSION = 1 |
gradient estimation by 4d linear regression | |
Private Attributes | |
double | m_scaleFactorDifferences |
Maximum possible value of the gradient by central differences. | |
double | m_scaleFactorRegression |
Maximum possible value of the gradient by 4d linear regression. |
|
Standard constuctor.
|
|
Calculates the gradient by 4d inear regression.
|
|
Calculates the gradient by central differendes.
|
|
Returns the scale factor of central differences.
|
|
Returns the scale factor of 4d linear regression.
|