NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Base class for objects that Listen to data storage for a specific property such as "visible". More...
Base class for objects that Listen to data storage for a specific property such as "visible".
This class is derived from itk::Object so we can use things like the ITK setter/getter macros, listening to Modified events via the Observer pattern etc.
Derived classes must implement OnPropertyChanged.
The event listening can be restricted to a set of renderers. It is the resposibility of the user of this class to remove the renderer from the DataStoragePropertyListener objects when the renderer is deleted.