Powertek.Rt.PtBoundingBoxRtGrid Class Reference

PtBoundingBoxRtGrid, Bounding Box with Regular Grid. More...

Collaboration diagram for Powertek.Rt.PtBoundingBoxRtGrid:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 PtBoundingBoxRtGrid ()
void Clear ()
void BuildGridBox (PtRtMesh parentMesh, int gridSizeX, int gridSizeY, int gridSizeZ, PtRtGridAutoCalcMode autoCalcMode)
void BuildMasterBB ()
bool Overlaps (PtBoundingBoxRt bb)
void ShowBoundingBox ()
bool FindIntersect (int x, int y, PtRay ray, ref IntersectionInfo info, PtIntersectionMode mode)
bool IntersectTri (int x, int y, PtRay ray, ref IntersectionInfo info, PtIntersectionMode mode)

Properties

Vertex3f MinVertex [get, set]
Vertex3f MaxVertex [get, set]
PtBoundingBoxRts MasterBB [get]


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtBoundingBoxRtGrid.PtBoundingBoxRtGrid (  ) 


Member Function Documentation

void Powertek.Rt.PtBoundingBoxRtGrid.BuildGridBox ( PtRtMesh  parentMesh,
int  gridSizeX,
int  gridSizeY,
int  gridSizeZ,
PtRtGridAutoCalcMode  autoCalcMode 
)

Build Bounding Box and the Regular Grid.

Parameters:
parentMesh 
gridSizeX 
gridSizeY 
gridSizeZ 
autoCalcMode 

void Powertek.Rt.PtBoundingBoxRtGrid.BuildMasterBB (  ) 

Build the BB without the grid.

void Powertek.Rt.PtBoundingBoxRtGrid.Clear (  ) 

Clear.

bool Powertek.Rt.PtBoundingBoxRtGrid.FindIntersect ( int  x,
int  y,
PtRay  ray,
ref IntersectionInfo  info,
PtIntersectionMode  mode 
)

Find Intersection with a ray.

Parameters:
x 
y 
ray 
info 
mode 
Returns:

bool Powertek.Rt.PtBoundingBoxRtGrid.IntersectTri ( int  x,
int  y,
PtRay  ray,
ref IntersectionInfo  info,
PtIntersectionMode  mode 
)

Intersection with a triangle.

Parameters:
x 
y 
ray 
info 
mode 
Returns:

bool Powertek.Rt.PtBoundingBoxRtGrid.Overlaps ( PtBoundingBoxRt  bb  ) 

Check Overlapping with another BB.

Parameters:
bb 
Returns:

void Powertek.Rt.PtBoundingBoxRtGrid.ShowBoundingBox (  ) 

Show, Render BB.


Property Documentation

PtBoundingBoxRts Powertek.Rt.PtBoundingBoxRtGrid.MasterBB [get]

MasterBB.

Vertex3f Powertek.Rt.PtBoundingBoxRtGrid.MaxVertex [get, set]

MaxVertex.

Vertex3f Powertek.Rt.PtBoundingBoxRtGrid.MinVertex [get, set]

MinVertex.


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