Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef MITKCOLORSEQUENCERAINBOW_H_URTESEINDEUTIGEKENNUNG_02
00018 #define MITKCOLORSEQUENCERAINBOW_H_URTESEINDEUTIGEKENNUNG_02
00019
00020 #include "mitkColorSequence.h"
00021 #include "MitkExtExports.h"
00022
00023 namespace mitk
00024 {
00025
00026 class MitkExt_EXPORT ColorSequenceRainbow : public ColorSequence
00027 {
00028 public:
00029 ColorSequenceRainbow();
00030 virtual ~ColorSequenceRainbow();
00031
00035 virtual Color GetNextColor();
00036
00040 virtual void GoToBegin();
00041
00042 private:
00046 void InitColorList();
00047
00051 mitk::Color m_Color;
00052
00056 unsigned int m_ColorIndex;
00057
00061 std::vector<Color> m_ColorList;
00062 };
00063
00064 }
00065
00066 #endif
00067
00068