Method |
Description |
BackToFrontLevoy (#) |
This function calculates the color for a single pixel. This function uses the Back To Front Levoy Algorithm. |
CalcPixel (#) |
This is a stub function which uses the selected algorithm to get a pixel color. |
CalculateNormals (#) |
This function uses the CalculateNormalVector function to calculate all normals for th dataset. |
CalculateNormalVector (#) |
This function calculates a normal vector for a single voxel. |
Create (+) |
This is the constructor of the TDataset class, it sets important default values. |
CreateHistogram (#) |
This function creates the Histogram of the volume data. These are stored within the instance, which is why no parameters are needed. |
Destroy (+) |
Destroys the calling instance. |
FrontToBackLevoy (#) |
This function calculates the color for a single pixel. This function uses the Front To Back Levoy Algorithm. |
GetDensity (#) |
This function returns the density value of a single voxel. |
GetInterpolatedDensity (#) |
This function returns the density for a given voxel position. the density is a trilinear interpolation of the 8 nearest density values. |
GetInterpolatedNormal (#) |
This function returns a normal vector for a given voxel position. the normal vector is a trilinear interpolation of the 8 nearest normal vectors. |
GetNearestDensity (#) |
This function rounds a voxel position and returns the density value for this position. |
GetNearestNormal (#) |
This function rounds a voxel position and returns the normal for this position. |
GetNormal (#) |
This function returns the normal for a given voxel position. |
GetPixelColor (#) |
This function returns the unlighted color for a voxel. |
GetRay (#) |
This function calculates a viewing ray for a single pixel. |
GetSize (#) |
This function returns the size of the volume dataset in density values |
LoadFromFile (+) |
This function loads volume data from a file. |
MaxIntensityProjection (#) |
This function calculates the color for a single pixel. This function uses the Maximum Intensity Projection Algorithm. |
MoveCamera (+) |
This function moves the camera by a given vector |
PCalcPixel (+) |
This function just uses CalcPixel to create a color value for a pixel. |
RenderToImage2D (+) |
This function renders a slice of the dataset to a 2D image. |
ResetColors (+) |
This function sets the transfer array to default values. All colors are linearly mapped to density values from transparent black to opaque white. |
Rotate (+) |
This function rotates the volume object in 3D space. |
SetColors (+) |
This function copies the transfer array to the instance |
SetupBoundingPlanes (#) |
This procedure sets up the bounding planes. These planes are used to clip the viewing rays against the volume object. |
ShadeVoxel (#) |
This function computes the shaded color values of a Pixel according to the Phong Lighting Model. |