Powertek.Rt.IntersectionInfo Class Reference

IntersectionInfo. More...

Collaboration diagram for Powertek.Rt.IntersectionInfo:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 IntersectionInfo (float maxRenderDistance)
void InitIntersection (PtRay ray, bool smoothNormals)
void InitMaterials ()

Public Attributes

Vertex3f InterSectionPoint
Vertex3f Normal
PtRtTriangle Triangle
PtMaterial Mat
float Distance
Vertex3f currentShade
float U
float V
float Mu
float Mv
PtIntersectionType IntersectionType
Vertex3f MatColor
Vertex3f MatAmbientColor
Vertex3f MatDiffuseColor
Vertex3f MatSpecularColor
Vertex3f CombinedDiffuseColor


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.IntersectionInfo.IntersectionInfo ( float  maxRenderDistance  ) 

IntersectionInfo.

Parameters:
maxRenderDistance 


Member Function Documentation

void Powertek.Rt.IntersectionInfo.InitIntersection ( PtRay  ray,
bool  smoothNormals 
)

InitIntersection, Info.Distance and tri must be already assigned.

Parameters:
ray 
smoothNormals 

void Powertek.Rt.IntersectionInfo.InitMaterials (  ) 

InitMaterials.


Member Data Documentation

Combined Color at Intersection.

currentShade

Distance of Intersection.

InterSectionPoint.

Type of Intersection.

Material.

Material Ambient Color at Intersection.

Material Color at Intersection.

Material Diffuse Color at Intersection.

Material Specular Color at Intersection.

helperCoord assigned by TriIntersect (later needed for smooth normal and uv)

helperCoord assigned by TriIntersect (later needed for smooth normal and uv)

Normal, the normal can be smoothed so calc it only once.

Triangle.

Texture Mapping u Component.

Texture Mapping v Component.


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