Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
12 #ifndef mitkLevelWindow_h
13 #define mitkLevelWindow_h
17 #include <nlohmann/json_fwd.hpp>
76 void ResetDefaultLevelWindow();
96 void SetWindowBounds(
ScalarType lowerBound,
ScalarType upperBound,
bool expandRangesIfNecessary =
true);
101 void SetToMaxWindowSize();
131 void ResetDefaultRangeMinMax();
151 void SetAuto(
const Image *image,
152 bool tryPicTags =
true,
153 bool guessByCentralSlice =
true,
154 unsigned selectedComponent = 0);
159 void SetToImageRange(
const Image *image);
166 void SetFixed(
bool fixed);
171 bool GetFixed()
const;
176 bool IsFixed()
const;
197 bool IsFloatingValues()
const;
202 void SetFloatingValues(
bool value);
261 inline void EnsureConsistency();
void to_json(nlohmann::json &j, const GenericLookupTable< T > &t)
Image class for storing images.
void from_json(const nlohmann::json &, GenericLookupTable< T > &)
Find image slices visible on a given plane.
MITKCORE_EXPORT bool operator!=(const InteractionEvent &a, const InteractionEvent &b)
The LevelWindow class Class to store level/window values.
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
ScalarType m_UpperWindowBound
ScalarType m_DefaultUpperBound
ScalarType m_DefaultLowerBound
ScalarType m_LowerWindowBound