- Cycle through each dimension of an RiSamplePattern
[
Math |
Source |
Search |
Keywords |
Summary | Ancestors | All Members | Descendants ]
- DESCRIPTION
- WARNINGS
- PATTERNS
Class Summary
class Ri1DSamplePatternIterator
{
}; // Ri1DSamplePatternIterator
DESCRIPTION
Cycle through each dimmension of an RiSamplePattern, this allows one
level of an algorithm to increment the sample counter, and another to
cycle through all the dimensions of a particular sample. Currently it only
seems useful to have the Iterator cycle through dimensions, but it is designed
to cycle through samples as well. The creator of the Iterator can worry about
hitting each sample no more than once if that is important.
WARNINGS
This is not a true iterator as it's interface consists of GetNext() which returns
the next 1D point and advances, and NextSample() which shifts down to the next sample
PATTERNS
Iterator (modified for cycling behavior)
Ri1DSamplePatternIterator(const RiSamplePattern &samples);
Default Constructor
Ri1DSamplePatternIterator(const RiSamplePattern &samples);
void NextSample();
Done with this sample, move on to the next one
void NextSample();
RiReal GetNext();
Get the next dimension of the current sample (and advance)
RiReal GetNext();
All Members
Ancestors
Class does not inherit from any other class.
Descendants
Class is not inherited by any others.
Generated from source by the Cocoon utilities on Fri Feb 25 15:15:37 2000
.