35 #ifndef ANATOMIST_WINDOW3D_WLIGHTMODEL_H
36 #define ANATOMIST_WINDOW3D_WLIGHTMODEL_H
43 struct LightModelWindow_PrivateData;
81 LightModelWindow_PrivateData *_pdat;
3D window, OpenGL rendering
Light model window for 3D windows.
void setTwoSide(bool state)
void sourceSpecularChanged()
virtual ~LightModelWindow()
void attenuationChanged(int)
void sourceAmbientChanged()
void sourceDiffuseChanged()
virtual void update(const anatomist::Observable *observable, void *arg)
This method is called whenever the observed object is changed.
void spotPositionChanged(int)
void spotDirectionChanged(int)
void enableTab(int tabid)
virtual void unregisterObservable(anatomist::Observable *)
Called when an observable is destroyed, only called by Observable: don't use this function directly.
void spotCutoffChanged(int)
LightModelWindow(AWindow3D *win)
void spotExponentChanged(int)
void setLocalViewer(bool state)
void modelBackgroundChanged()
void modelAmbientChanged()
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...