Node Level Hit Testing

If a plug-in wants to perform hit testing of nodes in the scene it may use the following methods of the Interface class.

The following code demonstrates the use of this method:

BOOL GenControlSelectionProcessor::HitTest(
   ViewExp *vpt, IPoint2 *p, int type, int flags )
{
   vpt->ClearCtrlHitList();
   ip->SubObHitTest(ip-> GetTime(),type,ip->GetCrossing(),flags,p,vpt);
   if (vpt->GetCtrlHitList().First())
   {
     return TRUE;
   }
   else
   {
     return FALSE;
   }
}