TrackHitRecord Class Reference
 
 
 
TrackHitRecord Class Reference

#include <TrackHitRecord.h>

Inheritance diagram for TrackHitRecord:
MaxHeapOperators

Class Description

See also:
Class Animatable
Description:
When hit testing is done, this class has data members used to identify the key that was hit. The manner these are used is up to the developer. For example, the hit member may be used as an index into the table of keys. If a developer needed additional information, the flags could be used. The system does not use these itself - the developer just needs to establish a consistent way to recognize its own keys and tag them as hit.

There is a typedef that defines a table of these TrackHitRecords. It is defined as:

typedef Tab<TrackHitRecord> TrackHitTab;

Public Member Functions

  TrackHitRecord (DWORD h=0, DWORD f=0)

Public Attributes

DWORD  hit
DWORD  flags

Constructor & Destructor Documentation

TrackHitRecord ( DWORD  h = 0,
DWORD  f = 0 
) [inline]
Remarks:
Constructor. The data members are initialized to the values passed.
{hit=h;flags=f;}

Member Data Documentation