Developer Documentation
|
#include <OpenFlipper/libs_required/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 55 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 78 of file ColorGenerator.hh.