17 #ifndef mitkLevelWindowManager_h
18 #define mitkLevelWindowManager_h
63 void SetAutoTopMostImage(
bool autoTopMost, const
DataNode *removedNode =
nullptr);
65 void RecaluclateLevelWindowForSelectedComponent(const
itk::EventObject &);
75 void SetLevelWindow(const
LevelWindow &levelWindow);
92 void DataStorageAddedNode(const
DataNode *n =
nullptr);
101 void DataStorageRemovedNode(const
DataNode *removedNode =
nullptr);
104 void OnPropertyModified(const
itk::EventObject &e);
106 Image *GetCurrentImage();
115 int GetNumberOfObservers();
125 ~LevelWindowManager();
132 ObserverToPropertyMap
133 m_PropObserverToNode;
134 ObserverToPropertyMap
135 m_PropObserverToNode2;
136 ObserverToPropertyMap m_PropObserverToNode3;
137 ObserverToPropertyMap
139 m_PropObserverToNode4;
140 ObserverToPropertyMap
142 m_PropObserverToNode5;
145 void UpdateObservers();
146 void ClearPropObserverLists();
148 void CreatePropObserverLists();
153 unsigned long m_ObserverTag;
154 bool m_IsObserverTagSet;
155 unsigned long m_PropertyModifiedTag;
157 bool m_IsPropertyModifiedTagSet;
158 bool m_SettingImgForLvlWinProp;
Data management class that handles 'was created by' relations.
The LevelWindowProperty class Property for the mitk::LevelWindow.
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
static mitk::DataStorage::Pointer GetDataStorage()
std::pair< unsigned long, DataNode::Pointer > PropDataPair
The LevelWindow class Class to store level/window values.
Abstract base class for properties.
mitk::DataStorage::Pointer m_DataStorage
#define mitkClassMacroItkParent(className, SuperClassName)
Image class for storing images.
Provides access to the LevelWindowProperty object and LevelWindow of the "current" image...
std::map< PropDataPair, BaseProperty::Pointer > ObserverToPropertyMap
Class for nodes of the DataTree.