Using the Fortran and C APIs
The primary purpose of the Array Visualizer routines is to enable viewing
array data using the Array Viewer. Another set of routines allow the program
to control how the array data is viewed, display a different array,
and other functions. The routines can also save array data to an .AGL file.
Two sets of routines are provided for Fortran programmers:
- APIs for
Fortran Programmers: fagl Routines
This small set of routines start the Array Viewer, display an array, and perform
other major functions. The user of the Array Viewer interacts with Array Viewer
to perform certain tasks. The routine names have a prefix of fagl, such as
faglStartWatch.
- APIs
for Fortran Programmers: fav Routines
This comprehensive set of routines allows a program to control the
appearance of the Array Viewer window and perform actions that would
otherwise require user interaction. The routine
names have a prefix of fav, such as favStartViewer.
If you start the Array Viewer with favStartViewer, use of certain fagl routines like
faglHide, faglName, faglShow, and faglUpdate are ignored. Instead, use the
corresponding fav routines. For example, instead of using faglShow, use favSetArray.
Two sets of routines are provided for C/C++ programmers:
- APIs for C
Programmers: agl Routines
This small set of routines start the Array Viewer, display an array, and perform
other major functions. The user of the Array Viewer interacts with Array Viewer
to perform certain tasks.
The routine names have a prefix of agl, such as aglStartWatch, and can be
called from C or C++ programs.
- APIs for
C++ Programmers: CAViewer Routines
This comprehensive set of routines allows a program to control the
appearance of the Array Viewer window and perform actions that would
otherwise require user interaction. The routine names use the CAViewer
class and are usually called from C++ programs.
To find out more about the routines and how to use them, see: