HitData Class Reference
 
 
 
HitData Class Reference

This reference page is linked to from the following overview topics: Object Plug-ins, Sub-Object Hit Testing.


#include <hitdata.h>

Inheritance diagram for HitData:
MaxHeapOperators ManipHitData MNDiagonalHitData PatchHitData PFHitData ShapeHitData SimpleManipHitData

Class Description

This class is used during sub-object hit testing to identify sub-object components.

If the 4 bytes available in the info data member of HitRecord are insufficient to identify the sub-object component an instance of this class can be created to contain the necessary data. Note, a plugin should derive from this class. Then an instance of the derived class is passed to the system, which then will be responsible for owning and freeing the memory. Therefore do not free the memory for this instance after passing it to the system.

See also:
Class HitRecord.

Public Member Functions

virtual  ~HitData ()

Constructor & Destructor Documentation

virtual ~HitData ( ) [inline, virtual]
Remarks:
Implemented by the Plug-In.

The virtual destructor allows the instance of HitData to be deleted when the HitRecord that points to it is deleted.
{}