Updraft
1.0
Open source glider flight visualisation tool.
|
Default coloring just adds together gradient and scaled info. More...
#include <colorings.h>
Public Member Functions | |
DefaultColoring (const FixInfo *info, const Util::Gradient *gradient) | |
QColor | color (int i) |
Return the color for vertex. | |
Protected Attributes | |
const FixInfo * | info |
const Util::Gradient * | gradient |
Default coloring just adds together gradient and scaled info.
Updraft::IgcViewer::DefaultColoring::DefaultColoring | ( | const FixInfo * | info, |
const Util::Gradient * | gradient | ||
) |
QColor Updraft::IgcViewer::DefaultColoring::color | ( | int | i | ) | [virtual] |
Return the color for vertex.
i | Index of the fix. |
Implements Updraft::IgcViewer::Coloring.
Reimplemented in Updraft::IgcViewer::LocalColoring, and Updraft::IgcViewer::SymmetricColoring.
const Util::Gradient* Updraft::IgcViewer::DefaultColoring::gradient [protected] |
const FixInfo* Updraft::IgcViewer::DefaultColoring::info [protected] |