#include <InterpolationSW.h>
Inheritance diagram for IDVR.VolumeRenderer.SWVolumeRenderer.RenderCalculations.InterpolationSW:
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.
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 |
|
Standard constructor.
|
|
Interpolates the density.
|
|
Interpolates the objectID.
|