- Timestamp:
- 10/09/07 07:03:27 (11 months ago)
- Location:
- misc/clouds
- Files:
-
- 2 modified
-
README.TXT (modified) (1 diff)
-
xyztn.pro (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
misc/clouds/README.TXT
r835 r838 51 51 IDL> xyztn, load='some_struct.sav' 52 52 53 Everything should be self-explanatory from the UI, except for the 54 StreamLines. StreamLines are set via a right-click, or by holding down the 55 middle mouse button and interactively dragging and setting them. On my 56 MacBook this is done via a two-fingered tap on the track-pad (right), or 57 holding down the Command (Apple) key (middle) and clicking and dragging 53 StreamLines: Set via a right-click, or by holding down the middle mouse 54 button and interactively dragging and setting them. On my MacBook this is 55 done via a two-fingered tap on the track-pad (right), or holding down the 56 Command (Apple) key (middle) and clicking and dragging 58 57 58 Scaling: Hold down shift, and drag up/down, or click higher/lower. The 59 higher up the screen you go, the larger the scaling. -
misc/clouds/xyztn.pro
r837 r838 690 690 END 691 691 END 692 692 693 693 ;; Iso level changed 694 694 'ISO_LEVEL': BEGIN … … 867 867 bHaveTransform = sState.oTrack->Update( sEvent, TRANSFORM=qmat ) 868 868 IF (bHaveTransform NE 0) THEN BEGIN 869 sState.oGroup->GetProperty, TRANSFORM=t 870 sState.oGroup->SetProperty, TRANSFORM=t#qmat 869 IF sEvent.modifiers eq 0 then begin 870 sState.oGroup->GetProperty, TRANSFORM=t 871 sState.oGroup->SetProperty, TRANSFORM=t#qmat 872 ENDIF ELSE IF sEvent.modifiers eq 1 then begin ; shift = scale 873 ;; help, sEvent, /st 874 sct = sEvent.y / 200. 875 transform = [[sct, 0, 0, 0.0], [0, sct, 0, 0.0], $ 876 [0, 0, sct, 0.0], [0, 0, 0, 1]] 877 sstate.oTop->SetProperty, transform=transform 878 ENDIF 871 879 bRedraw = 1 872 880 ENDIF … … 875 883 ;; Button press. 876 884 IF (sEvent.type EQ 0) THEN BEGIN 885 877 886 IF (sEvent.press EQ 4) THEN BEGIN ; Right mouse. 878 887 IF (xyztnDoStream(sEvent,sState,1)) THEN BEGIN … … 904 913 ENDIF 905 914 ENDIF 906 907 915 908 916 909 917 IF (sEvent.press EQ 1) THEN BEGIN ; other mouse button. 910 sState.btndown = 1b911 sState.oWindow->SetProperty, QUALITY=sState.dragq912 WIDGET_CONTROL, sState.wDraw, /DRAW_MOTION913 bRedraw = 1918 sState.btndown = 1b 919 sState.oWindow->SetProperty, QUALITY=sState.dragq 920 WIDGET_CONTROL, sState.wDraw, /DRAW_MOTION 921 bRedraw = 1 914 922 ENDIF 915 923 ;; Button release. … … 1235 1243 oView = OBJ_NEW('IDLgrView', PROJECTION=2,$ 1236 1244 VIEWPLANE_RECT=myview,COLOR=[50,50,70]) 1237 1245 1238 1246 ;; Create model. 1239 1247 oTop = OBJ_NEW('IDLgrModel') … … 1466 1474 oWindow: oWindow, $ 1467 1475 oView: oView, $ 1476 oTop: oTop, $ 1468 1477 oGroup: oGroup, $ 1469 1478 oCBTop: oCBTop, $
