BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Three colours that are supplied sequentially. More...
#include <BDSColourWheel.hh>
Public Member Functions | |
G4Colour | Colour () |
Return current colour. | |
void | Spin () |
Iterate colour choice from RGB. | |
void | Reset () |
Start sequence again. | |
Private Attributes | |
std::list< G4Colour > | palette |
std::list< G4Colour >::const_iterator | colour_it |
Three colours that are supplied sequentially.
Definition at line 33 of file BDSColourWheel.hh.
BDSColourWheel::BDSColourWheel | ( | ) |
Definition at line 23 of file BDSColourWheel.cc.
BDSColourWheel::~BDSColourWheel | ( | ) |
Definition at line 31 of file BDSColourWheel.cc.
G4Colour BDSColourWheel::Colour | ( | ) |
Return current colour.
Definition at line 46 of file BDSColourWheel.cc.
Referenced by BDSMultilayerScreen::AddScreenLayer().
void BDSColourWheel::Reset | ( | ) |
Start sequence again.
Definition at line 41 of file BDSColourWheel.cc.
Referenced by Spin().
void BDSColourWheel::Spin | ( | ) |
Iterate colour choice from RGB.
Definition at line 34 of file BDSColourWheel.cc.
References Reset().
Referenced by BDSMultilayerScreen::AddScreenLayer().
|
private |
Definition at line 50 of file BDSColourWheel.hh.
|
private |
Definition at line 49 of file BDSColourWheel.hh.