35 #ifndef OPENMS_VISUAL_VISUALIZER_BASEVISUALIZER_H
36 #define OPENMS_VISUAL_VISUALIZER_BASEVISUALIZER_H
38 #include <OpenMS/config.h>
52 template <
typename ObjectType>
A base class for all visualizer classes.
Definition: BaseVisualizer.h:53
ObjectType * ptr_
Pointer to the object that is currently edited.
Definition: BaseVisualizer.h:69
ObjectType temp_
Copy of current object used to restore the original values.
Definition: BaseVisualizer.h:71
void load(ObjectType &o)
Loads the object that is to be edited.
Definition: BaseVisualizer.h:58
virtual void update_()
Updates the GUI from the temp_ variable.
Definition: BaseVisualizer.h:76