#include <SIM_Isect.h>
Public Types | |
| enum | simIsectInfoType { NONE, PRIM_EDGE_U, PRIM_UV, POINT } |
Public Member Functions | |
| simIsectInfo () | |
Static Public Member Functions | |
| static simIsectInfo | makeNone (int obj_id, const UT_Vector3 &position) |
| Named constructors. | |
| static simIsectInfo | makeEdgeU (int obj_id, const UT_Vector3 &position, int primId, int eid, fpreal u) |
| Named constructors. | |
| static simIsectInfo | makePrimUV (int obj_id, const UT_Vector3 &position, int primid, fpreal u, fpreal v) |
| Named constructors. | |
| static simIsectInfo | makePoint (int obj_id, const UT_Vector3 &position, int pointid) |
| Named constructors. | |
Public Attributes | |
| int | myObjectId |
| ID of object involved in the collision. | |
| UT_Vector3 | myPosition |
| World-space position of deepest point of intersection. | |
| enum SIM_Isect::simIsectInfo::simIsectInfoType | myType |
| union { | |
| struct { | |
| int myPrimitiveId | |
| int myEdgeId | |
| fpreal myU | |
| } myPEU | |
| struct { | |
| int myPrimitiveId | |
| fpreal myU | |
| fpreal myV | |
| } myPUV | |
| struct { | |
| int myPointId | |
| } myPt | |
| }; | |
Definition at line 29 of file SIM_Isect.h.
The following is a discriminating union describing an alternate representation of the deepest point of intersection
Definition at line 39 of file SIM_Isect.h.
| SIM_Isect::simIsectInfo::simIsectInfo | ( | ) | [inline] |
Definition at line 67 of file SIM_Isect.h.
| static simIsectInfo SIM_Isect::simIsectInfo::makeEdgeU | ( | int | obj_id, | |
| const UT_Vector3 & | position, | |||
| int | primId, | |||
| int | eid, | |||
| fpreal | u | |||
| ) | [inline, static] |
| static simIsectInfo SIM_Isect::simIsectInfo::makeNone | ( | int | obj_id, | |
| const UT_Vector3 & | position | |||
| ) | [inline, static] |
| static simIsectInfo SIM_Isect::simIsectInfo::makePoint | ( | int | obj_id, | |
| const UT_Vector3 & | position, | |||
| int | pointid | |||
| ) | [inline, static] |
| static simIsectInfo SIM_Isect::simIsectInfo::makePrimUV | ( | int | obj_id, | |
| const UT_Vector3 & | position, | |||
| int | primid, | |||
| fpreal | u, | |||
| fpreal | v | |||
| ) | [inline, static] |
| union { ... } |
Definition at line 52 of file SIM_Isect.h.
| struct { ... } SIM_Isect::simIsectInfo::myPEU |
Definition at line 63 of file SIM_Isect.h.
Definition at line 51 of file SIM_Isect.h.
| struct { ... } SIM_Isect::simIsectInfo::myPt |
| struct { ... } SIM_Isect::simIsectInfo::myPUV |
The following is a discriminating union describing an alternate representation of the deepest point of intersection
Definition at line 53 of file SIM_Isect.h.
Definition at line 59 of file SIM_Isect.h.
1.5.9