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 77 void objectsChosen(
const std::set<anatomist::AObject *> & objects );
83 std::set<AObject *> _objects;
86 std::set<AObject *> _initial;
A class can implement the Observer interface when it wants to be informed of changes in observable ob...
This class can be subclassed to represent an object that the programmer wants to have observed...
NormalsObserver(NormalsSettingsPanel *normpanel)
void objectsChosen(const std::set< anatomist::AObject *> &objects)
NormalsSettingsPanel(const std::set< AObject *> &objects, QWidget *parent=0)
virtual void unregisterObservable(Observable *obs)
Called when an observable is destroyed, only called by Observable: don't use this function directly...
void setLength(double value)
virtual void update(const Observable *observable, void *args)
This method is called whenever the observed object is changed.
virtual ~NormalsObserver()
virtual ~NormalsSettingsPanel()
virtual void registerObservable(Observable *obs)
only called by Observable: don't use this function directly