34 #ifndef ANATOMIST_SURFACE_SHOWNORMALS_GUI_H
35 #define ANATOMIST_SURFACE_SHOWNORMALS_GUI_H
38 #include <anatomist/ui/ui_shownormals.h>
48 :
public QWidget,
public Ui::ShowNormals,
public Observer
83 std::set<AObject *> _objects;
86 std::set<AObject *> _initial;
virtual void update(const Observable *observable, void *args)
This method is called whenever the observed object is changed.
virtual ~NormalsObserver()
virtual void unregisterObservable(Observable *obs)
Called when an observable is destroyed, only called by Observable: don't use this function directly.
NormalsObserver(NormalsSettingsPanel *normpanel)
virtual void registerObservable(Observable *obs)
only called by Observable: don't use this function directly
void objectsChosen(const std::set< anatomist::AObject * > &objects)
virtual void update(const Observable *observable, void *args)
This method is called whenever the observed object is changed.
virtual ~NormalsSettingsPanel()
NormalsSettingsPanel(const std::set< AObject * > &objects, QWidget *parent=0)
void setLength(double value)
This class can be subclassed to represent an object that the programmer wants to have observed.
A class can implement the Observer interface when it wants to be informed of changes in observable ob...