Powertek.Rt.PtRtKdTree Class Reference

PtRtKdTree, Acceleration: CPU, GPU, Split Calculation: Regular, Geometric, SAH, Traversal: Stack, ShortStack, Restart, Intersection: Nearest, Any, Occluder. More...

Collaboration diagram for Powertek.Rt.PtRtKdTree:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static void Clear ()
static void Build (List< PtRtTriangle > triangles, KdTreeBuildOptions buildOptions, KdTreeTraversal traversalMode, PtRtKdTreeCalcMode calcMode, int maxDepth, int maxTrisPerLeaf, int stackSize, bool calcGPUTreeData)
static bool FindIntersect (int x, int y, PtRay ray, ref IntersectionInfo info, PtIntersectionMode mode)
static bool FindIntersectPacket (int x, int y, PtPacketRay ray, ref IntersectionInfo[] infos, PtIntersectionMode mode)
static void ShowAllNodes ()

Static Public Attributes

static List
< PtRtKdTreeSimpleNodeGPU
FinalNodeListGPU = new List<PtRtKdTreeSimpleNodeGPU>()


Detailed Description


Member Function Documentation

static void Powertek.Rt.PtRtKdTree.Build ( List< PtRtTriangle triangles,
KdTreeBuildOptions  buildOptions,
KdTreeTraversal  traversalMode,
PtRtKdTreeCalcMode  calcMode,
int  maxDepth,
int  maxTrisPerLeaf,
int  stackSize,
bool  calcGPUTreeData 
) [static]

Build Tree.

Parameters:
triangles 
buildOptions 
traversalMode 
calcMode 
maxDepth 
maxTrisPerLeaf 
stackSize 
calcGPUTreeData 

static void Powertek.Rt.PtRtKdTree.Clear (  )  [static]

Clear.

static bool Powertek.Rt.PtRtKdTree.FindIntersect ( int  x,
int  y,
PtRay  ray,
ref IntersectionInfo  info,
PtIntersectionMode  mode 
) [static]

Find Intersection with ray.

Parameters:
x 
y 
ray 
info 
mode 
Returns:

static bool Powertek.Rt.PtRtKdTree.FindIntersectPacket ( int  x,
int  y,
PtPacketRay  ray,
ref IntersectionInfo[]  infos,
PtIntersectionMode  mode 
) [static]

Find Intersection with ray.

Parameters:
x 
y 
ray 
infos 
mode 
Returns:

static void Powertek.Rt.PtRtKdTree.ShowAllNodes (  )  [static]

Render all nodes with OpenGL.


Member Data Documentation

gpu data


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

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