Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
mitkColorSequenceRainbow.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef MITKCOLORSEQUENCERAINBOW_H_URTESEINDEUTIGEKENNUNG_02
13 #define MITKCOLORSEQUENCERAINBOW_H_URTESEINDEUTIGEKENNUNG_02
14 
16 #include "mitkColorSequence.h"
17 
18 namespace mitk
19 {
21  {
22  public:
24  ~ColorSequenceRainbow() override;
25 
29  Color GetNextColor() override;
30 
34  void GoToBegin() override;
35 
36  private:
40  void InitColorList();
41 
45  mitk::Color m_Color;
46 
50  unsigned int m_ColorIndex;
51 
55  std::vector<Color> m_ColorList;
56  };
57 }
58 
59 #endif
#define MITKDATATYPESEXT_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
Inferface for creating a sequence of nice/matching/appropriate/... colors.