Updraft  1.0
Open source glider flight visualisation tool.
Updraft::IgcViewer::DefaultColoring Class Reference

Default coloring just adds together gradient and scaled info. More...

#include <colorings.h>

Inheritance diagram for Updraft::IgcViewer::DefaultColoring:
Collaboration diagram for Updraft::IgcViewer::DefaultColoring:

List of all members.

Public Member Functions

 DefaultColoring (const FixInfo *info, const Util::Gradient *gradient)
QColor color (int i)
 Return the color for vertex.

Protected Attributes

const FixInfoinfo
const Util::Gradientgradient

Detailed Description

Default coloring just adds together gradient and scaled info.


Constructor & Destructor Documentation


Member Function Documentation

QColor Updraft::IgcViewer::DefaultColoring::color ( int  i) [virtual]

Return the color for vertex.

Parameters:
iIndex of the fix.

Implements Updraft::IgcViewer::Coloring.

Reimplemented in Updraft::IgcViewer::LocalColoring, and Updraft::IgcViewer::SymmetricColoring.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines