Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkColorSequence.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 mitkColorSequence_h
13 #define mitkColorSequence_h
14 
16 #include <mitkColorProperty.h>
17 
18 namespace mitk
19 {
29  {
30  public:
33 
35  virtual ~ColorSequence();
36 
42  virtual Color GetNextColor() = 0;
43 
47  virtual void GoToBegin() = 0;
48  };
49 }
50 
51 #endif
#define MITKDATATYPESEXT_EXPORT
Abstract interface for generating a sequence of distinguishable colors.
virtual Color GetNextColor()=0
Return the next color in the sequence.
virtual void GoToBegin()=0
Reset the sequence to the beginning.
ColorSequence()
Default constructor.
virtual ~ColorSequence()
Virtual destructor.
Find image slices visible on a given plane.
itk::RGBPixel< float > Color
Standard RGB color typedef using float components.