Developer Documentation
|
#include <ACG/Utils/ColorGenerator.hh>
Public Member Functions | |
virtual Vec4f | generateNextColor ()=0 |
template<class OUTPUT_ITERATOR > | |
void | generateNextNColors (int n, OUTPUT_ITERATOR oit) |
The ColorGenerator interface provides a generic interface for color generators with different strategies.
Definition at line 62 of file ColorGenerator.hh.
|
pure virtual |
Implemented in ACG::HaltonColors, and ACG::HuePartitioningColors.
|
inline |
Put a bunch of colors into the output iterator.
Generates the same colors as if calling generateNextColor() n times.
Typically, you would use std::back_inserter(container) as the argument for oit.
n | How many colors to generate. |
oit | An output iterator. Should support "*oit++ = <Vec4f>;". |
Definition at line 85 of file ColorGenerator.hh.