#include <manipulator.h>
This is a special storage class for hit records that keep track of which manipulator was hit.
When this data is logged with the system, the memory is owned and freed by the System.
Public Member Functions |
|
ManipExport | ManipHitData (Manipulator *pManip) |
ManipExport | ManipHitData () |
Default Constructor. |
|
virtual ManipExport ManipHitData * | Copy () |
This method allows you to copy the hit data.
|
|
ManipExport | ~ManipHitData () |
Destructor. |
|
Public Attributes |
|
Manipulator * | mpManip |
A pointer to the manipulator associated with
the hit data. |
|
int | mShapeIndex |
The index of the selected manipulator.
|
ManipExport ManipHitData | ( | Manipulator * | pManip | ) | [inline] |
pManip | A pointer to the manipulator to use. |
{ mpManip = pManip; mShapeIndex = -1; }
ManipExport ManipHitData | ( | ) | [inline] |
ManipExport ~ManipHitData | ( | ) | [inline] |
Destructor.
{}
virtual ManipExport ManipHitData* Copy | ( | ) | [virtual] |
This method allows you to copy the hit data.
By default returns:
return new ManipHitData(mpManip);
Reimplemented in SimpleManipHitData.
A pointer to the manipulator associated with the hit data.
int mShapeIndex |
The index of the selected manipulator.