Powertek.Rt.PtRay Class Reference

PtRay. More...

List of all members.

Public Member Functions

 PtRay ()
 PtRay (Vertex3f origin, Vertex3f direction)
void SetInverse ()

Static Public Member Functions

static PtRay CreateReflectionRay (Vertex3f intersectionPoint, Vertex3f currentRayDirection, Vertex3f normal)
static PtRay CreateReflectionRay (PtRay currentRay, IntersectionInfo info)
static PtRay CreateReflectionRay (PtRay currentRay, IntersectionInfo info, ref Vertex3f fr)
static bool IsTIR (PtRay currentRay, IntersectionInfo info)
static PtRay CreateRefractionRay (int x, int y, PtRay currentRay, IntersectionInfo info)
static PtRay CreateRefractionRay (int x, int y, PtRay currentRay, IntersectionInfo info, ref Vertex3f fr)

Public Attributes

Vertex3f Origin
Vertex3f Direction
Vertex3f InvDirection
int[] Sign = { 0, 0, 0}


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtRay.PtRay (  ) 

Powertek.Rt.PtRay.PtRay ( Vertex3f  origin,
Vertex3f  direction 
)

PtRay.

Parameters:
origin 
direction 


Member Function Documentation

static PtRay Powertek.Rt.PtRay.CreateReflectionRay ( PtRay  currentRay,
IntersectionInfo  info,
ref Vertex3f  fr 
) [static]

CreateReflectionRay.

Parameters:
currentRay 
info 
fr 
Returns:

Here is the call graph for this function:

static PtRay Powertek.Rt.PtRay.CreateReflectionRay ( PtRay  currentRay,
IntersectionInfo  info 
) [static]

this will create a reflection ray using the info.normal and ray direction depending depending on the intersectiontype > inner/outer intersection

Parameters:
currentRay 
info 
Returns:

Here is the call graph for this function:

static PtRay Powertek.Rt.PtRay.CreateReflectionRay ( Vertex3f  intersectionPoint,
Vertex3f  currentRayDirection,
Vertex3f  normal 
) [static]

CreateReflectionRay.

Parameters:
intersectionPoint 
currentRayDirection 
normal 
Returns:

Here is the call graph for this function:

static PtRay Powertek.Rt.PtRay.CreateRefractionRay ( int  x,
int  y,
PtRay  currentRay,
IntersectionInfo  info,
ref Vertex3f  fr 
) [static]

CreateRefractionRay.

Parameters:
x 
y 
currentRay 
info 
fr 
Returns:

Here is the call graph for this function:

static PtRay Powertek.Rt.PtRay.CreateRefractionRay ( int  x,
int  y,
PtRay  currentRay,
IntersectionInfo  info 
) [static]

CreateRefractionRay.

Parameters:
x 
y 
currentRay 
info 
Returns:

Here is the call graph for this function:

static bool Powertek.Rt.PtRay.IsTIR ( PtRay  currentRay,
IntersectionInfo  info 
) [static]

Check Total Inner Reflection.

Parameters:
currentRay 
info 
Returns:

void Powertek.Rt.PtRay.SetInverse (  ) 

Calculate and SetInverse to ray.


Member Data Documentation

Ray Direction.

Inverse Ray Direction.

Ray Origin.

int [] Powertek.Rt.PtRay.Sign = { 0, 0, 0}

Sign of Direction.


The documentation for this class was generated from the following file:

Generated on Thu Nov 20 04:45:49 2008 for Powertek.Rt, 1.0.0.60 by  doxygen 1.5.7.1