IRdOBBTree Interface Reference
Inherits
IRsDataObject.
List of all members.
Detailed Description
IRdOBBTree interface provides access to object's collision shape data.
Member Function Documentation
| HRESULT IRdOBBTree::GetBBox |
( |
[in] IRdMatrixf * |
pMatrix, |
|
|
[out] RtFloat * |
box | |
|
) |
| | |
Return axis aligned box
- Parameters:
-
| pMateix | - transformation matrix from object coordinate to world coordinate |
| box | - bounding box {xmin, xmax,....,zmax} |
| HRESULT IRdOBBTree::SetOBBox |
( |
[in] RtOBBox * |
obbox |
) |
|
Load oriented bounding box
- Parameters:
-
| obbox | - oriented bounding box |
| HRESULT IRdOBBTree::TransformOBBox |
( |
[in] IRdMatrixf * |
matrix |
) |
|
Transform oriented bounding box
- Parameters:
-
| matrix | - transformation matrix |
| HRESULT IRdOBBTree::LockData |
( |
[out, retval] RtOBBox ** |
pObbTree |
) |
|
Return pointer to oriented bounding box, lock data object
- Parameters:
-
| pObbTree | - pointer to oriented bounding box |
| HRESULT IRdOBBTree::UnLockData |
( |
void |
|
) |
|
| HRESULT IRdOBBTree::SetMesh |
( |
[in] IRdMesh * |
pMesh |
) |
|
Load pointer to source mesh for oriented bounding box
- Parameters:
-
| HRESULT IRdOBBTree::GetMesh |
( |
[out] IRdMesh ** |
pMesh |
) |
|
Retrun source mesh of oriented bounding box
- Parameters:
-
| HRESULT IRdOBBTree::GetOBBox |
( |
[in] RtMatrixf * |
matrix, |
|
|
[out] RtFloat * |
box | |
|
) |
| | |
Return top oriented bounding box in local coordinate
- Parameters:
-