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

IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations.InterpolationSW Class Reference

#include <InterpolationSW.h>

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

IDVR.Interfaces.IInterpolation List of all members.

Detailed Description

Class for the interpolation.

namespace: IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations

Baseclass: IDVR.Interfaces.IInterpolation

This class provides methods to interpolate the density and objectID of a given raysample. Interpolation can be done by trilinear interpolation or nearest neighbour.

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


Public Member Functions

 InterpolationSW (void)
 Standard constructor.
virtual unsigned short interpolate_Density (unsigned char intMode, RaySample *n_RaySample, VolumeData *n_DataSet, double x_down, double x_up, double y_down, double y_up, double z_down, double z_up)
 Interpolates the density.
virtual unsigned short interpolate_ObjectID (unsigned char intMode, RaySample *n_RaySample, VolumeData *n_DataSet, double x_down, double x_up, double y_down, double y_up, double z_down, double z_up)
 Interpolates the objectID.

Static Public Attributes

static const unsigned char BY_NEARESTNEIGHBOUR = 0
 interpolation by nearest neighbour
static const unsigned char BY_TRILINIEAR = 1
 trilinear interpolation


Constructor & Destructor Documentation

InterpolationSW::InterpolationSW void   ) 
 

Standard constructor.


Member Function Documentation

unsigned short InterpolationSW::interpolate_Density unsigned char  intMode,
RaySample n_RaySample,
VolumeData n_DataSet,
double  x_down,
double  x_up,
double  y_down,
double  y_up,
double  z_down,
double  z_up
[virtual]
 

Interpolates the density.

Parameters:
intMode the interpolation mode.
n_RaySample the given raysample.
n_DataSet the dataset.
x_down x-value round down.
x_up x-value round up.
y_down y-value round down.
y_up y-value round up.
z_down z-value round down.
z_up z-value round up.
Returns:
The interpolated value.

unsigned short InterpolationSW::interpolate_ObjectID unsigned char  intMode,
RaySample n_RaySample,
VolumeData n_DataSet,
double  x_down,
double  x_up,
double  y_down,
double  y_up,
double  z_down,
double  z_up
[virtual]
 

Interpolates the objectID.

Parameters:
intMode the interpolation mode.
n_RaySample the given raysample.
n_DataSet the dataset.
x_down x-value round down.
x_up x-value round up.
y_down y-value round down.
y_up y-value round up.
z_down z-value round down.
z_up z-value round up.
Returns:
The interpolated value.


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