FOX/ObjCryst++  1.10.X (development)
wxAtom.h
1 /* ObjCryst++ Object-Oriented Crystallographic Library
2  (c) 2000-2002 Vincent Favre-Nicolin vincefn@users.sourceforge.net
3  2000-2001 University of Geneva (Switzerland)
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19 /*
20 * header file for the RefinablePar and RefinableObj classes
21 *
22 * This is still in early development stages !! Not secure !
23 *
24 */
25 
26 #ifndef _VFN_WX_ATOM_H_
27 #define _VFN_WX_ATOM_H_
28 
29 #include "ObjCryst/wxCryst/wxScatterer.h"
30 #include "ObjCryst/ObjCryst/Atom.h"
31 namespace ObjCryst
32 {
34 class WXAtom: public WXScatterer
35 {
36  public:
37  WXAtom(wxWindow *parent, Atom*);
38  virtual ~WXAtom();
39  void OnChangeScattPow(wxCommandEvent & WXUNUSED(event));
40  virtual void UpdateUI(const bool mutexlock=false);
41  private:
42  Atom* mpAtom;
43  WXFieldChoice* mpFieldScattPower;
44  DECLARE_EVENT_TABLE()
45 };
46 
47 } //namespace
48 
49 #endif //_VFN_WX_ATOM_H_
Class to pick one choice...
Definition: wxCryst.h:482
The basic atom scatterer, in a crystal.
Definition: Atom.h:57
virtual void UpdateUI(const bool mutexlock=false)
Update the User Interface, if necessary.
Definition: wxAtom.cpp:87
wxCryst class for Atoms
Definition: wxAtom.h:34
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.
Definition: Atom.cpp:47
base wxCryst class for Scatterers
Definition: wxScatterer.h:35