CCD Class Reference
Manage continuous collision detection processes.
More...
#include <CCD.h>
List of all members.
Detailed Description
Manage continuous collision detection processes.
A CCD class. It maintain information for performing CCD.
- Author:
- Duksu Kim ( bluekds@tclab.kaist.ac.kr )
SGLAB, KAIST ( http://sglab.kaist.ac.kr )
- Version:
- 0.5
Member Function Documentation
Add a object to the collision test.
- Parameters:
-
| obj | The pointer indicating instance of object class which is added to the collision test. |
- Returns:
- The ID allocating to the object
int CCD::delObject |
( |
int |
objID |
) |
|
Delete a object from the collision test.
- Parameters:
-
| objID | ID of the object that will be removed from the collision test. |
- Returns:
- The number of objects in CCD
void CCD::nextFrame |
( |
void |
|
) |
|
Move to next frame if it has next frame.
Perform continuous collision detection
void CCD::readyCCD |
( |
UINT |
startFrame, |
|
|
UINT |
endFrame, |
|
|
UINT |
interpolation | |
|
) |
| | |
Ready to perform CCD
- Parameters:
-
| startFrame | The frame number of starting frame |
| endFrame | The frame number of final frame |
| interpolation | Set the number of in-between frame among two frames |
void CCD::setOutput |
( |
CCD_Output * |
output |
) |
[inline] |
Set the CCD_Ouput instance that is used for collect the result of CCD.
- Parameters:
-
void CCD::visualizeBVH |
( |
int |
level |
) |
|
If you want to visualize BVHs, you can call this method at the display part of openGL
- Parameters:
-
| level | The BV level which you want to see |
void CCD::visualizeObjects |
( |
void |
|
) |
|
If you want to visualize objects, you can call this method at the display part of openGL
The documentation for this class was generated from the following files:
- C:/Important Data/Office/SW_CCD/SW_CCD/CCD.h
- C:/Important Data/Office/SW_CCD/SW_CCD/CCD.cpp