This file is the on line help file for the DrawFn3d program
The help is available for each menu via the PrintHelpMenu(s1,s2) routine in
graphgen.c file. String s1 must hold the file name of the help (this file) and
string s2 must hold the name of menu in CAPITAL LETTERS. Each menu help is
terminated by a $ sign as first char in line. Lines starts with * sign are
referred as headlines and printed in different color.
MAINMENU
* Main Menu
* Get Function
Enter loading function sub menu - F(u,v)
* Set Param
Enter Set Parameters sub menu - Set scaling modes, values, and sampling rate
* Redraw
Redraw the screen. Use it if auto scale is on to rescale the screen.
* Transform
Enter 3D transformation mode - allowes 3D scaling, rotating & translating.
*Save Function
Enter save function sub menu.
* Help
These notes
* Quit
Quit from the program.
$
GETFUNCTION
*Get Function Menu
*F(u,v) from user
Enter surface function as function of u,v. Also requested u,v domain (can be modified via Set Parameter submenu).
*F(u,v) from file
Enter surface function as function of u,v. Only surface file name (no extension) is required, and '.fun' extension is concat.
If however a file with the same name and '.mat' extension exists, it is loaded as the transformation matrix.
* Print Dir
Print content of current directory.
* Change Dir
Change to a new directory.
* Help
These notes
* Exit
Returns to main menu.
$
SETPARAM
* Set Param Menu
* Umin
Set new Umin value. Current value is shown.
* Umax
Set new Xmax value. Current value is shown.
* Vmin
Set new Vmin value. Current value is shown.
* Vmax
Set new Vmax value. Current value is shown.
*NumOfIsoLines
Set Number of iso line to draw along u or v (equal).
*NumOfSamples
Set Number of samples per one isoline drawing. Current value is shown.
*Double Buffer
Enable usage of double buffering in the transform menu.
* Help
These notes
* Exit
Returns to main menu
$
SAVEFUNCTION
*Save Function Menu
* F(u,v)
Save surface function as function of u,v. Only surface file name (no extension) is required, and '.fun' extension is concat. Note however that the matrix transformation is also saved with '.mat' extension.
* F(u,v) samples
Save row data of square grid (in u,v) space of x,y,z triples. Note however that the matrix transformation is also saved with '.mat' extension.
* F(u,v) polygons
Save polygonal data file. The output text file is combined of defined vertices and polygons (allways triangles) based on them. This file can be used to render the data. Note however that the matrix transformation is also saved with '.mat' extension.