GRF_DISPLAY_OPENGL
Display a GRF Graph Using OpenGL {#grf_display_opengl-display-a-grf-graph-using-opengl align="center"}
GRF_DISPLAY_OPENGL is a C++ program which reads a GRF file containing information about an abstract graph and displays a plot using OPENGL.
grf_display_opengl prefix
where
- prefix.grf is the GRF file.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
GRF_DISPLAY_OPENGL is available in a C++ version.
FERN_OPENGL, a C++ program which uses OpenGL to display the Barnsley fractal fern.
GRAFFITI, a dataset directory which contains 195 abstract graphs, with adjacency and embedding information, stored in the GRF format.
GRAPH_REPRESENTATION, a data directory of examples of ways of representing abstract mathematical graphs
GRF, a data directory which contains a description of the GRF format and some examples.
GRF_DISPLAY, a MATLAB program which reads a GRF file and displays a plot in the MATLAB graphics window.
GRF_IO, a C++ library which reads or writes a GRF file;
GRF_TO_EPS, a FORTRAN90 program which can make an encapsulated PostScript image of a GRF file.
GRF_TO_XYL, a FORTRAN90 program which converts information describing the adjacency and embedding of an abstract graph from GRF to XYL format.
PLOT_POINTS, a FORTRAN90 program which reads a file of point coordinates and makes a PostScript image of them.
SPHERE_XYZ_DISPLAY_OPENGL, a C++ program which reads XYZ information defining points in 3D, and displays a unit sphere and the points, using OpenGL.
XYL, a data directory which contains some examples of the XYL format for 2D points and lines.
XY_DISPLAY_OPENGL, a C++ program which reads an XY file of 2D point coordinates, and displays an image of those points using OpenGL.
XYF_DISPLAY_OPENGL, a C++ program which reads XYF information defining points and faces in 2D, and displays an image using OpenGL.
XYL_DISPLAY_OPENGL, a C++ program which reads XYL information defining points and lines in 2D, and displays an image using OpenGL.
- Edward Angel,
Interactive Computer Graphics, a Top-Down Approach with OpenGL,
Addison-Wesley, 2000,
ISBN: 0-201-38597-X,
LC: T385.A514. - Renate Kempf, Chris Frazier, editors,
OpenGL Reference Manual,
Fourth Edition,
Addison-Wesley, 2004,
ISBN: 032117383X,
LC: T385.O642 - Mason Woo, Jackie Neider, Tom Davis,
OpenGL Programming Guide,
Addison-Wesley, 1997,
ISBN: 0-201-46138-2,
LC: T385.N435 - Richard Wright, Michael Sweet,
OpenGL Superbible,
Third Edition,
Sams, 2004,
ISBN: 0672326019,
LC: T385.W73 - http://www.opengl.org/
The official OpenGL site.
- grf_display_opengl.cpp, the source code.
COXETER is the Coxeter graph.
- coxeter.grf, is a GRF file defining the Coxeter graph.
- coxeter.png, a PNG image of the plot.
- MAIN is the main program for GRF_DISPLAY_OPENGL.
- CH_EQI is true if two characters are equal, disregarding case.
- CH_TO_DIGIT returns the integer value of a base 10 digit.
- DISPLAY generates the graphics output.
- GRF_DATA_PRINT prints the data of a GRF file.
- GRF_DATA_READ reads the data of a GRF file.
- GRF_HEADER_PRINT prints the header of a GRF file.
- GRF_HEADER_READ reads the header of a GRF file.
- I4VEC_MAX returns the value of the maximum element in an I4VEC.
- I4VEC_MIN returns the value of the minimum element in an I4VEC.
- MYINIT initializes OpenGL state variables dealing with viewing and attributes.
- R8_MAX returns the maximum of two R8.
- R82VEC_MAX returns the maximum value in a R82VEC.
- R82VEC_MIN returns the minimum value in a R82VEC.
- S_CAT concatenates two strings to make a third string.
- S_LEN_TRIM returns the length of a string to the last nonblank.
- S_TO_I4 reads an I4 from a string.
- S_TO_I4VEC reads an I4VEC from a string.
- S_TO_R8 reads an R8 from a string.
- S_TO_R8VEC reads an R8VEC from a string.
- S_WORD_COUNT counts the number of "words" in a string.
- TIMESTAMP prints the current YMDHMS date as a time stamp.
- XYL_DATA_PRINT prints the data of an XYL file.
- XYL_HEADER_PRINT prints the header of an XYL file.
You can go up one level to the C++ source codes.
Last revised on 13 January 2009.