Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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
13 #define mitkColorSequenceRainbow_h
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
MitkDataTypesExtExports.h
mitk::ColorSequenceRainbow
Definition: mitkColorSequenceRainbow.h:20
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition: MitkDataTypesExtExports.h:15
mitk::Color
itk::RGBPixel< float > Color
Color Standard RGB color typedef (float)
Definition: mitkColorProperty.h:38
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ColorSequence
Interface for creating a sequence of nice/matching/appropriate/... colors.
Definition: mitkColorSequence.h:25
mitkColorSequence.h