gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
ColourWheel Class Reference

#include <colourWheel.H>

Public Member Functions

 ColourWheel (void)
 
 ~ColourWheel (void)
 
GdkColor * colourFromHeight (double height, double maxHeight)
 
GdkColor * black ()
 
GdkColor * white ()
 

Public Attributes

GdkColor colour
 
GdkColormap * rainbow
 

Private Member Functions

void allocColours (void)
 
void colourAlloc ()
 

Private Attributes

speakers spk
 
sources src
 
uint srcId
 

Static Private Attributes

static double factor =MAXANGLE/65535.0
 

Detailed Description

Examples:
colourWheelTest.C.

Definition at line 31 of file colourWheel.H.

Constructor & Destructor Documentation

◆ ColourWheel()

ColourWheel::ColourWheel ( void  )
inline

Definition at line 78 of file colourWheel.H.

Here is the call graph for this function:

◆ ~ColourWheel()

ColourWheel::~ColourWheel ( void  )
inline

Definition at line 95 of file colourWheel.H.

Member Function Documentation

◆ allocColours()

void ColourWheel::allocColours ( void  )
inlineprivate

Definition at line 32 of file colourWheel.H.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ black()

GdkColor* ColourWheel::black ( )
inline

Definition at line 112 of file colourWheel.H.

Here is the call graph for this function:

◆ colourAlloc()

void ColourWheel::colourAlloc ( )
inlineprivate

Definition at line 57 of file colourWheel.H.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ colourFromHeight()

GdkColor* ColourWheel::colourFromHeight ( double  height,
double  maxHeight 
)
inline

Definition at line 100 of file colourWheel.H.

Here is the call graph for this function:

◆ white()

GdkColor* ColourWheel::white ( )
inline

Definition at line 125 of file colourWheel.H.

Here is the call graph for this function:

Member Data Documentation

◆ colour

GdkColor ColourWheel::colour

Definition at line 75 of file colourWheel.H.

◆ factor

double ColourWheel::factor =MAXANGLE/65535.0
staticprivate

Definition at line 72 of file colourWheel.H.

◆ rainbow

GdkColormap* ColourWheel::rainbow

Definition at line 76 of file colourWheel.H.

◆ spk

speakers ColourWheel::spk
private

Definition at line 69 of file colourWheel.H.

◆ src

sources ColourWheel::src
private

Definition at line 70 of file colourWheel.H.

◆ srcId

uint ColourWheel::srcId
private

Definition at line 71 of file colourWheel.H.


The documentation for this class was generated from the following file:
gtkIOStream: ColourWheel Class Reference
GTK+ IOStream  Beta