#include <wxCrystal.h>
Inheritance diagram for ObjCryst::WXCrystal::
Public Methods | |
WXCrystal (wxWindow *parent, Crystal *) | |
virtual void | CrystUpdate () |
Get new values to be displayed from the underlying object, and raise flag if an UI update is necessary. The actual GUI update is not made here. UpdateUI() should be called separately, from the main thread. | |
void | UpdateGL (const bool onlyIndependentAtoms=false, const REAL xMin=-.1, const REAL xMax=1.1, const REAL yMin=-.1, const REAL yMax=1.1, const REAL zMin=-.1, const REAL zMax=1.1) |
Update the OpenGL Display List. | |
int | GrabCrystalGLDisplayList () const |
Gets the integer index of the OpenGL display list. Wait, if necessary, for the list not to be used any more. When finished, ReleaseCrystalGLDisplayList() must be called. | |
void | ReleaseCrystalGLDisplayList () const |
bool | GLDisplayListIsLocked () const |
void | OnMenuCrystalGL (wxCommandEvent &WXUNUSED(event)) |
Create OpenGL Display of the Crystal Structure. | |
void | NotifyCrystalGLDelete () |
Tell this object that its 3D OpenGL display has been destroyed. | |
void | OnMenuSaveCIF (wxCommandEvent &WXUNUSED(event)) |
void | OnMenuSaveText (wxCommandEvent &WXUNUSED(event)) |
void | OnMenuAddScattPowAtom (wxCommandEvent &WXUNUSED(event)) |
void | OnMenuRemoveScattPow (wxCommandEvent &WXUNUSED(event)) |
void | OnMenuAddScatterer (wxCommandEvent &event) |
void | OnMenuRemoveScatterer (wxCommandEvent &WXUNUSED(event)) |
void | OnMenuAddAntiBumpDist (wxCommandEvent &WXUNUSED(event)) |
bool | OnChangeName (const int id) |
When a WXFieldName has been changed by the user, it is handled here. This returns true if the value has been handled (for inheritance purposes). | |
void | UpdateUI () |
Update the User Interface, if necessary. | |
Private Attributes | |
Crystal * | mpCrystal |
WXFieldRefPar * | mpFieldLatticeA |
Lattice. | |
WXFieldRefPar * | mpFieldLatticeB |
WXFieldRefPar * | mpFieldLatticeC |
WXFieldRefPar * | mpFieldLatticeAlpha |
WXFieldRefPar * | mpFieldLatticeBeta |
WXFieldRefPar * | mpFieldLatticeGamma |
WXFieldName * | mpFieldSpacegroup |
SpaceGroup. | |
WXRegistry< Scatterer > * | mpWXScattererRegistry |
Scatterers. | |
WXRegistry< ScatteringPower > * | mpWXScatteringPowerRegistry |
Scattering Powers. | |
unsigned int | mCrystalGLDisplayList |
OpenGL Display of the Crystal-Display List. Updated each time CrystUpdate() is called. | |
bool | mCrystalGLDisplayListIsLocked |
This is true when the display list is being used. | |
WXGLCrystalCanvas * | mpCrystalGL |
the frame in which the crystal is displayed. There can only be one... |