#include <iostream>#include <cstdlib>#include <unistd.h>#include <cmath>#include <fstream>#include <string>#include "cdl2.h"Go to the source code of this file.
Functions | |
| void | tvmInteractive (CDLPtr cdl) |
| Process commands interactively. More... | |
| void | tvmPrintHelp () |
| Print a help summary. More... | |
| void | NewMask (CDLPtr cdl, float slpos[][7]) |
| Setup the types of objects in a new mask. More... | |
| void | SortSlits (float slpos[][7]) |
| Sorts the slits according to their magnitude. More... | |
| void | CopySlits (float newpos[][7],float slpos[][7]) |
| Copies selected slits in one pos array into another. More... | |
| void | SortSlitsX (float slpos[][7]) |
| Sorts the slits according to their position. More... | |
| void | SortUsedSlitsX (float slposd[][7]) |
| Sorts the selected slits according to their position. More... | |
| void | CopyUsedSlits (float newpos[][7],float slpos[][7]) |
| Copies one pos array into another. More... | |
| void | SelectSlits (float slpos[][7]) |
| Find valid objects. More... | |
| float | GetValue (string text, float curval) |
| Read input from terminal. More... | |
| void | GetGlobals () |
| Enter the global data values. More... | |
|
|
Copies selected slits in one pos array into another. Small loop to copy selected data into new array. |
|
|
Copies one pos array into another. Small loop to copy data into new array. |
|
|
Enter the global data values. Sets up the global parameters, either at the start, or after a start over. |
|
|
Read input from terminal.
Read the input, allowing |
|
|
Setup the types of objects in a new mask. The first loop marks all finder objects, the second marks suggested targets and the third marks all other available objects. |
|
|
Find valid objects. Select objects which lie in the relevant magnitude and position ranges. |
|
|
Sorts the slits according to their magnitude. A very basic sorting routine to re-order the slpos array by magnitude. |
|
|
Sorts the slits according to their position. A very basic sorting routine to re-order the slpos array by y position. |
|
|
Sorts the selected slits according to their position. A very basic sorting routine to re-order the output array by y position. |
|
|
Process commands interactively. This is the main loop of the programee which handles the cursor commands in the ds9 window. |
|
|
Print a help summary. Prints help to the terminal, don't forget to add new commands here. |
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001