VolVis
Content
Index
Previous (GetPixelColor)
Next (GetSize)

Member
  GetRay

Visibility
  PROTECTED

Related Class
  TDataSet

Description
 

This function calculates a viewing ray for a single pixel.
This is done by creating a vector from the eye point passing through a normalized viewport in 3D space.
The ray is transformed to fit the current viewing angles an position.


Source code
  function GetRay ( DisplaySize , PixelPos : TPoint ) : TViewRay

Parameters
 
Parameter Description
DisplaySize : TPoint the dimensions of the output canvas in pixels
PixelPos : TPoint the pixel position for which the ray is calculated

Return
 
Types Description
TViewRay the viewing ray starting in the eye position and passing through the pixel in the view plane

Links
  #UnderConstruction#

VolVis
Content
Index
Previous (GetPixelColor)
Next (GetSize)


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