Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef MITKCOLORSEQUENCERAINBOW_H_URTESEINDEUTIGEKENNUNG_02
17 #define MITKCOLORSEQUENCERAINBOW_H_URTESEINDEUTIGEKENNUNG_02
18 
20 #include "mitkColorSequence.h"
21 
22 namespace mitk
23 {
25  {
26  public:
28  virtual ~ColorSequenceRainbow();
29 
33  virtual Color GetNextColor() override;
34 
38  virtual void GoToBegin() override;
39 
40  private:
44  void InitColorList();
45 
49  mitk::Color m_Color;
50 
54  unsigned int m_ColorIndex;
55 
59  std::vector<Color> m_ColorList;
60  };
61 }
62 
63 #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.