00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _VFN_WX_ATOM_H_
00019 #define _VFN_WX_ATOM_H_
00020
00021 #include "wx/glcanvas.h"
00022 extern "C" {
00023 #include "GL/glu.h"
00024 }
00025
00026 #include "wxCryst/wxScatterer.h"
00027 #include "ObjCryst/Atom.h"
00028 namespace ObjCryst
00029 {
00031 class WXAtom: public WXScatterer
00032 {
00033 public:
00034 WXAtom(wxWindow *parent, Atom*);
00035 virtual void CrystUpdate();
00036 void OnChangeScattPow(wxCommandEvent & WXUNUSED(event));
00037 private:
00038 Atom* mpAtom;
00039 WXFieldChoice* mpFieldScattPower;
00040 DECLARE_EVENT_TABLE()
00041 };
00042
00043 }
00044
00045 #endif