Skip to main content

GKS Based Graphics Programming in PROLOG

  • Conference paper

Part of the book series: EurographicSeminars ((FOCUS COMPUTER))

Abstract

It is evident that every computer language needs a graphics extension for the same reason as it needs input and output functions. Graphics may be seen as a powerful extension of the input and output facilities. This is even more evident for interactive languages like PROLOG. PROLOG is a computer language widely accepted for the purpose of symbolic computation. It is gaining popularity because of its simplicity and the new descriptive way of programming. A PROLOG program is a description of a problem in the form of some assertions and rules about how the solution may be inferred from the facts. It also provides some powerful data processing mechanisms, mainly relational data base facilities, tree searching with backtracking, and pattern matching. All these advantages make PROLOG suitable for many applications such as relational data bases, architectural design, natural language understanding and other AI fields. Most of the applications mentioned above also need computer graphics. Thus, integration of graphics into PROLOG can be seen as a step towards providing a more intelligent environment for these applications. The design of the graphics extension described in this paper is based on the principles and concepts of the Graphical Kernel System (GKS) [8], GKS provides all capabilities required by most of the PROLOG applications that produce computer generated pictures. It provides a suitable methodological framework for the creation of computer graphics programs because of its consistency, completeness, and compactness.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W.F. Clocksin and C.S. Mellish, Programming in PROLOG, Springer-Verlag, Berlin (1981).

    MATH  Google Scholar 

  2. R.E. Davis, “Logic Programming and Prolog: A Tutorial,” IEEE Software 2(5), pp.53–62 (September 1985).

    Article  Google Scholar 

  3. J. Encarnacao, “Incorporating knowledge engineering and computer graphics for efficient and user-friendly interactive graphics applications,” in Eurographics’85, ed. C. E. Vandoni, North-Holland, Amsterdam (1985).

    Google Scholar 

  4. J. Encarnacao, L.A. Messina, and Z.I. Markov, “Models and methods for decision support systems for evaluating and choosing CAD-Systems,” in IFIP W.G. 5.2. Working Conference on Design Theory for CAD, Tokyo, Japan (1985).

    Google Scholar 

  5. G. Enderle, K. Kansy, and G. Pfaff, Computer Graphics Programming: GKS, the Graphics Standard, Springer-Verlag, Heidelberg (1983).

    Google Scholar 

  6. Interface Computer GmbH, IF/PROLOG User’s Manual, 1984.

    Google Scholar 

  7. GTSGRAL, GKSGRAL User’s Manual, 1984.

    Google Scholar 

  8. ISO, “Information processing systems — Computer graphics — Graphical Kernel System (GKS) functional description,” ISO 7942, ISO Central Secretariat (August 1985).

    Google Scholar 

  9. S.M.P. Julien, “Graphical in Micro-PROLOG,” Research report DOC 8217, Imperial College-London (1982).

    Google Scholar 

  10. R. Kowalski, “Algorithm = Logic + Control,” Communications of the ACM 22(7), pp.424–436 (July 1979).

    Article  MATH  Google Scholar 

  11. P. Sykes and R. Krishnamurti, “A Proposal for a Prolog Binding to GKS,” Technical Report EdCAAD, University of Edinburgh (1985).

    Google Scholar 

Download references

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1987 EUROGRAPHICS The European Association for Computer Graphics

About this paper

Cite this paper

Huebner, W., Markov, Z.I. (1987). GKS Based Graphics Programming in PROLOG. In: Bono, P.R., Herman, I. (eds) GKS Theory and Practice. EurographicSeminars. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-72930-0_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-72930-0_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-72932-4

  • Online ISBN: 978-3-642-72930-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics