RayIterator.H
Classes
- RayIterator -- This class is used to iterate thru all rays in a SweepFile (full description)
Interface
- Public Members
- inline ~RayIterator()
- void First()
- void Next()
- int IsDone()
- RayC & CurrentItem()
- Protected Members
- RayIterator(SweepFile *theSweep, int numRays)
This class is used to iterate thru all rays in a SweepFile
Synopsis
rayI->First();
while (!rayI->IsDone()) {
ray = rayI->CurrentItem();
rayI->Next():
}
Used by:
Uses:
Member Description
Destructor, callable by anyone
set position to first ray
set position to next ray
return TRUE if done
return the current RayC
Only SweepFile
is allowed to use this constructor