Powertek.Rt.PtBoundingBoxRts Class Reference

PtBoundingBoxRts. More...

List of all members.

Public Member Functions

 PtBoundingBoxRts ()
 PtBoundingBoxRts (Vertex3f minVertex, Vertex3f maxVertex)
void GenerateBoundingBox ()
bool Intersect (PtBoundingBoxRt bb)
bool Overlaps (PtBoundingBoxRts bb)
bool Inside (Vertex3f v)
void ShowBoundingBox ()
bool Intersect (int x, int y, PtRay ray)
bool Intersect (int x, int y, PtRay ray, Vertex3f interSectionPoint)
bool Intersect (int x, int y, PtRay ray, ref IntersectionInfo info)
bool Intersect (int x, int y, ref PtRay ray, ref Vertex3f nearInterSectionPoint, ref Vertex3f farInterSectionPoint)
bool Intersect (int x, int y, PtRay ray, ref float nearIntersectionDistance, ref float farIntersectionDistance)
bool Intersect (PtRtTriangle tri)
bool Intersect (Vertex3f a_V0, Vertex3f a_V1, Vertex3f a_V2)

Properties

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


Detailed Description


Constructor & Destructor Documentation

Powertek.Rt.PtBoundingBoxRts.PtBoundingBoxRts (  ) 

Powertek.Rt.PtBoundingBoxRts.PtBoundingBoxRts ( Vertex3f  minVertex,
Vertex3f  maxVertex 
)

PtBoundingBoxRts.

Parameters:
minVertex 
maxVertex 


Member Function Documentation

void Powertek.Rt.PtBoundingBoxRts.GenerateBoundingBox (  ) 

GenerateBoundingBox, we need to set min/max vertex to init the bb.

bool Powertek.Rt.PtBoundingBoxRts.Inside ( Vertex3f  v  ) 

Check if a vertex is inside BB.

Parameters:
v 
Returns:

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

Intersection with Triangle.

Parameters:
a_V0 
a_V1 
a_V2 
Returns:

bool Powertek.Rt.PtBoundingBoxRts.Intersect ( PtRtTriangle  tri  ) 

Intersection with Triangle.

Parameters:
tri 
Returns:

bool Powertek.Rt.PtBoundingBoxRts.Intersect ( int  x,
int  y,
PtRay  ray,
ref float  nearIntersectionDistance,
ref float  farIntersectionDistance 
)

Intersect with Ray, this may be the fastest bb intersection.

Parameters:
x 
y 
ray 
nearIntersectionDistance 
farIntersectionDistance 
Returns:

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

Intersect with Ray.

Parameters:
x 
y 
ray 
nearInterSectionPoint 
farInterSectionPoint 
Returns:

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

Intersect with Ray.

Parameters:
x 
y 
ray 
info 
Returns:

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

Intersect with Ray.

Parameters:
x 
y 
ray 
interSectionPoint 
Returns:

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

Intersect with Ray.

Parameters:
x 
y 
ray 
Returns:

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

Check Intersection with another BB.

Parameters:
bb 
Returns:

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

Check Overlapping with another BB.

Parameters:
bb 
Returns:

void Powertek.Rt.PtBoundingBoxRts.ShowBoundingBox (  ) 

Render BB.


Property Documentation

Vertex3f Powertek.Rt.PtBoundingBoxRts.Center [get]

return Center Vertex

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

Return MaxVertex.

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

return MinVertex

Vertex3f Powertek.Rt.PtBoundingBoxRts.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