FOX/ObjCryst++  1.10.X (development)
wxRadiation.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 #ifndef _VFN_WX_RADIATION_H_
21 #define _VFN_WX_RADIATION_H_
22 
23 #include "ObjCryst/wxCryst/wxRefinableObj.h"
24 #include "ObjCryst/ObjCryst/ScatteringData.h"
25 namespace ObjCryst
26 {
27 
30 {
31  public:
32  WXRadiation(wxWindow *parent, Radiation*);
33  virtual ~WXRadiation();
34  virtual void CrystUpdate(const bool updateUI=false,const bool mutexlock=false);
35  virtual void UpdateUI(const bool mutexlock=false);
36  virtual void OnUpdateUI(wxUpdateUIEvent & WXUNUSED(event));
37  private:
38  Radiation *mpRadiation;
39  WXFieldOption *mpFieldRadType;
40  WXFieldOption *mpFieldWavelengthType;
41  wxBoxSizer *mpSizer;
42  WXCrystObjBasicList mList;
43  DECLARE_EVENT_TABLE()
44 };
45 
46 }//namespace
47 
48 #endif
WX Class for Radiation.
Definition: wxRadiation.h:29
A List of WXCrystObjBasic.
Definition: wxCryst.h:196
WX representation of a RefObj option. This displays the names of the different choices.
virtual void UpdateUI(const bool mutexlock=false)
Update the User Interface, if necessary.
virtual void CrystUpdate(const bool updateUI=false, const bool mutexlock=false)
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessar...
Abstract base class for all objects in wxCryst.
Definition: wxCryst.h:127
The namespace which includes all objects (crystallographic and algorithmic) in ObjCryst++.
Definition: Atom.cpp:47
Class to define the radiation (type, monochromaticity, wavelength(s)) of an experiment.