Ignore:
Timestamp:
Jun 25, 2014 6:58:27 AM (9 years ago)
Author:
srkline
Message:

Added method to RealSpace? modeling to allow drawing a single cylidner with given center and arbitrary orientation.

Updated the Simulation help file to note that the simulation will work with a real space structure as the "model" input. In this way, there is no limitation on what can be simulated through SASCALC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Alpha/Tinker/FFT_Panel.ipf

    r942 r943  
    8989        SetVariable FFTSetVar_6,limits={0,0,0},value= FFT_Qmin,noedit= 1,live= 1 
    9090        Button FFTButton_0,pos={15,79},size={90,20},proc=FFT_MakeMatrixButtonProc,title="Make Matrix" 
    91         Button FFTButton_1,pos={14,157},size={90,20},proc=FFTMakeGizmoButtonProc,title="Make Gizmo" 
    92         Button FFTButton_2,pos={14,187},size={100,20},proc=FFTDrawSphereButtonProc,title="Draw Sphere" 
     91 
    9392        Button FFTButton_3,pos={14,265},size={70,20},proc=DoTheFFT_ButtonProc,title="Do FFT" 
    9493        Button FFTButton_4,pos={180,264},size={130,20},proc=FFT_PlotResultsButtonProc,title="Plot FFT Results" 
    95         Button FFTButton_5,pos={13,218},size={120,20},proc=FFTDrawZCylinderButtonProc,title="Draw Cylinder" 
     94         
     95        Button FFTButton_1,pos={14,150},size={90,20},proc=FFTMakeGizmoButtonProc,title="Make Gizmo" 
     96        Button FFTButton_2,pos={14,175},size={100,20},proc=FFTDrawSphereButtonProc,title="Draw Sphere" 
     97        Button FFTButton_5,pos={14,200},size={130,20},proc=FFTDrawZCylinderButtonProc,title="Draw XYZ Cylinder" 
     98        Button FFTButton_20,pos={14,225},size={130,20},proc=FFTDrawRotCylinderButton,title="Draw Rot Cylinder" 
     99         
    96100//      Button FFTButton_6,pos={134,79},size={90,20},proc=FFTEraseMatrixButtonProc,title="Erase Matrix" 
    97101        Button FFTButton_6a,pos={140,79},size={50,20},proc=FFTSaveMatrixButtonProc,title="Save" 
     
    126130 
    127131EndMacro 
     132 
     133// Save a matrix wave, plus the N, T, and solvent values in the wave note for reloading 
     134Function FFTDrawRotCylinderButton(ba) : ButtonControl 
     135        STRUCT WMButtonAction &ba 
     136         
     137        String win = ba.win 
     138 
     139        switch (ba.eventCode) 
     140                case 2: 
     141                        // click code here 
     142                        Execute "FFTDrawRotCylinder()" 
     143                         
     144                        break 
     145        endswitch 
     146 
     147        return 0 
     148End 
    128149 
    129150// Save a matrix wave, plus the N, T, and solvent values in the wave note for reloading 
Note: See TracChangeset for help on using the changeset viewer.