Powertek.Rt.PtBoundingBoxRt Class Reference

PtBoundingBoxRt. More...

List of all members.

Public Member Functions

 PtBoundingBoxRt ()
void InitBB (ref Vertex3f v1, ref Vertex3f v2, ref Vertex3f v3, ref Vertex3f v4)
void GenerateBoundingBox ()
void ShowCenterAndExtends ()
bool Intersect (PtBoundingBoxRt bb)
bool Overlaps (PtBoundingBoxRts bb)
float[] GetBoundingBoxVertices ()
void ShowBoundingBox ()
void ShowBoundingBoxSolid ()
bool Intersect (int x, int y, PtRay ray)
bool Intersect (int x, int y, PtRay ray, ref Vertex3f interSectionPoint)
bool Intersect (int x, int y, PtRay ray, ref IntersectionInfo info)
bool Intersect (int x, int y, PtRay ray, ref Vertex3f nearInterSectionPoint, ref Vertex3f farInterSectionPoint)
bool Intersect (Vertex3f a_V0, Vertex3f a_V1, Vertex3f a_V2)

Properties

Vertex3f MaxVertex [get, set]
Vertex3f MinVertex [get, set]
Vertex3f Size [get]


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtBoundingBoxRt.PtBoundingBoxRt (  ) 


Member Function Documentation

void Powertek.Rt.PtBoundingBoxRt.GenerateBoundingBox (  ) 

GenerateBoundingBox.

float [] Powertek.Rt.PtBoundingBoxRt.GetBoundingBoxVertices (  ) 

Return all corner vertices.

Returns:
72 * float

void Powertek.Rt.PtBoundingBoxRt.InitBB ( ref Vertex3f  v1,
ref Vertex3f  v2,
ref Vertex3f  v3,
ref Vertex3f  v4 
)

Init Bounding Box.

Parameters:
v1 
v2 
v3 
v4 

bool Powertek.Rt.PtBoundingBoxRt.Intersect ( Vertex3f  a_V0,
Vertex3f  a_V1,
Vertex3f  a_V2 
)

Intersect with Triangle, this will cover all possible cases...

Parameters:
a_V0 
a_V1 
a_V2 
Returns:

bool Powertek.Rt.PtBoundingBoxRt.Intersect ( int  x,
int  y,
PtRay  ray,
ref Vertex3f  nearInterSectionPoint,
ref Vertex3f  farInterSectionPoint 
)

Intersect with ray.

Parameters:
x 
y 
ray 
nearInterSectionPoint 
farInterSectionPoint 
Returns:

bool Powertek.Rt.PtBoundingBoxRt.Intersect ( int  x,
int  y,
PtRay  ray,
ref IntersectionInfo  info 
)

Intersect with ray.

Parameters:
x 
y 
ray 
info 
Returns:

bool Powertek.Rt.PtBoundingBoxRt.Intersect ( int  x,
int  y,
PtRay  ray,
ref Vertex3f  interSectionPoint 
)

Intersect with ray.

Parameters:
x 
y 
ray 
interSectionPoint 
Returns:

bool Powertek.Rt.PtBoundingBoxRt.Intersect ( int  x,
int  y,
PtRay  ray 
)

Intersect with ray.

Parameters:
x 
y 
ray 
Returns:

bool Powertek.Rt.PtBoundingBoxRt.Intersect ( PtBoundingBoxRt  bb  ) 

Intersect with another BB.

Parameters:
bb 
Returns:

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

Check if this overlaps another bb.

Parameters:
bb 
Returns:

void Powertek.Rt.PtBoundingBoxRt.ShowBoundingBox (  ) 

Show, Render BoundingBox, all coords are not opengl coords (so swapping of z is needed).

void Powertek.Rt.PtBoundingBoxRt.ShowBoundingBoxSolid (  ) 

Show, Render BoundingBox as a solid cube.

void Powertek.Rt.PtBoundingBoxRt.ShowCenterAndExtends (  ) 

ShowCenterAndExtends.


Property Documentation

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

MaxVertex.

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

MinVertex.

Vertex3f Powertek.Rt.PtBoundingBoxRt.Size [get]

Size.


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