
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] |
| Powertek.Rt.PtBoundingBoxRtGrid.PtBoundingBoxRtGrid | ( | ) |
| void Powertek.Rt.PtBoundingBoxRtGrid.BuildGridBox | ( | PtRtMesh | parentMesh, | |
| int | gridSizeX, | |||
| int | gridSizeY, | |||
| int | gridSizeZ, | |||
| PtRtGridAutoCalcMode | autoCalcMode | |||
| ) |
Build Bounding Box and the Regular Grid.
| 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.
| x | ||
| y | ||
| ray | ||
| info | ||
| mode |
| bool Powertek.Rt.PtBoundingBoxRtGrid.IntersectTri | ( | int | x, | |
| int | y, | |||
| PtRay | ray, | |||
| ref IntersectionInfo | info, | |||
| PtIntersectionMode | mode | |||
| ) |
Intersection with a triangle.
| x | ||
| y | ||
| ray | ||
| info | ||
| mode |
| bool Powertek.Rt.PtBoundingBoxRtGrid.Overlaps | ( | PtBoundingBoxRt | bb | ) |
Check Overlapping with another BB.
| bb |
| void Powertek.Rt.PtBoundingBoxRtGrid.ShowBoundingBox | ( | ) |
Show, Render BB.
PtBoundingBoxRts Powertek.Rt.PtBoundingBoxRtGrid.MasterBB [get] |
MasterBB.
Vertex3f Powertek.Rt.PtBoundingBoxRtGrid.MaxVertex [get, set] |
MaxVertex.
Vertex3f Powertek.Rt.PtBoundingBoxRtGrid.MinVertex [get, set] |
MinVertex.
1.5.7.1