Changeset 22722 for branches/cnb_branches/cnb_branch_20090215/psModules/src/objects/pmSourceVisual.c
- Timestamp:
- Mar 1, 2009, 3:52:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cnb_branches/cnb_branch_20090215/psModules/src/objects/pmSourceVisual.c
r21536 r22722 15 15 16 16 static int kapa1 = -1; 17 static bool plotPSF = true; 17 18 // static int kapa2 = -1; 18 19 // static int kapa3 = -1; 19 20 21 bool pmSourceVisualClose() { 22 if (kapa1 != -1) 23 KiiClose(kapa1); 24 return true; 25 } 26 20 27 bool pmSourcePlotPoints3D (int myKapa, Graphdata *graphdata, psVector *xn, psVector *yn, psVector *zn, float theta, float phi); 21 28 … … 27 34 Graphdata graphdata; 28 35 29 if (!pmVisualIsVisual() ) return true;36 if (!pmVisualIsVisual() || !plotPSF) return true; 30 37 31 38 if (kapa1 == -1) { … … 147 154 // pause and wait for user input: 148 155 // continue, save (provide name), ?? 149 char key[10]; 150 fprintf (stdout, "[c]ontinue? "); 151 if (!fgets(key, 8, stdin)) { 152 psWarning("Unable to read option"); 153 } 156 pmVisualAskUser(&plotPSF); 154 157 return true; 155 158 }
Note:
See TracChangeset
for help on using the changeset viewer.
