Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkStateMachineCondition.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 
13 #ifndef mitkStateMachineCondition_h
14 #define mitkStateMachineCondition_h
15 
16 #include <string>
17 
18 namespace mitk
19 {
48  {
49  public:
56  StateMachineCondition(const std::string &conditionName, const bool inverted);
57 
59 
64  std::string GetConditionName() const;
65 
70  bool IsInverted() const;
71 
72  private:
76  std::string m_ConditionName;
77 
81  bool m_Inverted;
82  };
83 
84 } // namespace mitk
85 
86 #endif
Represents a condition, that has to be fulfilled in order to execute a state machine transition after...
bool IsInverted() const
Check whether this condition is inverted.
StateMachineCondition(const std::string &conditionName, const bool inverted)
Construct a condition with the given name and inversion flag.
std::string GetConditionName() const
Return the string identifier of this condition.
Find image slices visible on a given plane.