Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members

IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations.GradientEstimationSW Class Reference

#include <GradientEstimationSW.h>

Inheritance diagram for IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations.GradientEstimationSW:

IDVR.Interfaces.IGradientEstimation List of all members.

Detailed Description

Class for the gradient estimation.

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.

Author:
Christopher Thurnher
Version:
1.0
Date:
02-19-2005


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.


Constructor & Destructor Documentation

GradientEstimationSW::GradientEstimationSW void   ) 
 

Standard constuctor.


Member Function Documentation

float GradientEstimationSW::calculate_4DLinerRegressionEstimation unsigned short  n_Column,
unsigned short  n_Row,
unsigned short  n_Depth,
VolumeData n_DataSet
[virtual]
 

Calculates the gradient by 4d inear regression.

Parameters:
n_Column column of the gradient.
n_Row row of the gradient.
n_Depth depth of the gradient.
n_DataSet the dataset.
Returns:
the estimated gradient.

float GradientEstimationSW::calculate_NormalEstimation unsigned short  n_Column,
unsigned short  n_Row,
unsigned short  n_Depth,
VolumeData n_DataSet
[virtual]
 

Calculates the gradient by central differendes.

Parameters:
n_Column column of the gradient.
n_Row row of the gradient.
n_Depth depth of the gradient.
n_DataSet the dataset.
Returns:
the estimated gradient.

double GradientEstimationSW::get_scaleFactorDifferences void   ) 
 

Returns the scale factor of central differences.

Returns:
The scale factor of central differences.

the scale factor of d linear regression double GradientEstimationSW::get_scaleFactorRegression void   ) 
 

Returns the scale factor of 4d linear regression.

Returns:
The scale factor of 4d linear regression.


The documentation for this class was generated from the following files:
Generated on Sat Apr 9 11:51:02 2005 for RayCaster wiht Importance Driven Volume Rendering (IDVR) by  doxygen 1.4.1