#include <wxCrystal.h>
Inheritance diagram for ObjCryst::WXCrystal::
Public Methods | |
WXCrystal (wxWindow *parent, Crystal *) | |
virtual void | CrystUpdate () |
Update the display, by getting new values from the object. New values should be grabbed from the object, and then a wxUpdateUI event should be posted (this for multi-thread, since only one thread should do graphical changes). | |
void | UpdateGL (const bool onlyIndependentAtoms=false, const double xMin=-.1, const double xMax=1.1, const double yMin=-.1, const double yMax=1.1, const double zMin=-.1, const double 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 |
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). | |
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... |