VolVis
Content
Index
Previous (LoadFromFile)
Next (MoveCamera)

Member
  MaxIntensityProjection

Visibility
  PROTECTED

Related Class
  TDataSet

Description
 

This function calculates the color for a single pixel. This function uses the Maximum Intensity Projection Algorithm.
First, a view ray is calculated and clipped to the 6 bounding planes. Then the clipping points are sorted by the distance to the viewer.
Then a ray From the farthest to the nearest clipping point is shot and the voxel array is sampled with a specified step size.
The voxel with the largest alpha value will then be returned.


Source code
  function MaxIntensityProjection ( DisplaySize , PixelPos : TPoint ) : TRGBQuad

Parameters
 
Parameter Description
DisplaySize : TPoint the dimension of the canvas
PixelPos : TPoint the position of the pixel

Return
 
Types Description
TRGBQuad the color of the pixel

Links
  #UnderConstruction#

VolVis
Content
Index
Previous (LoadFromFile)
Next (MoveCamera)


Created with DelphiCodeToDoc. To obtain the latest revision, please see http://dephicodetodoc.sourceforge.net/
Under GNU GPL licence. Copyright (c) 2003 - TridenT.