copasi API  0.1
Public Member Functions | Protected Attributes
CColorScale1 Class Reference

#include <CColorScale.h>

Inheritance diagram for CColorScale1:
CColorScale

List of all members.

Public Member Functions

 CColorScale1 ()
void setThreshold (const C_FLOAT64 &n)
virtual QColor getColor (const C_FLOAT64 &number)

Protected Attributes

C_FLOAT64 m1

Detailed Description

This returns white, if the absolute value of the number is smaller than the threshold. Otherwise if it is positive, the color is green, if negative red.


Constructor & Destructor Documentation

CColorScale1::CColorScale1 ( )

Member Function Documentation

QColor CColorScale1::getColor ( const C_FLOAT64 &  number) [virtual]

this method maps a number to a color.

Implements CColorScale.

void CColorScale1::setThreshold ( const C_FLOAT64 &  n) [inline]

Member Data Documentation

C_FLOAT64 CColorScale1::m1 [protected]

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