home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / pex / 416 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.6 KB  |  51 lines

  1. Path: sparky!uunet!mcsun!corton!irisa!laplate!chauffau
  2. From: chauffau@irisa.fr (Alain Chauffaut, Projet Siames, Bur. NB147, Tel. 7263)
  3. Newsgroups: comp.windows.x.pex
  4. Subject: Re: c++ and PHIGS
  5. Message-ID: <1992Jul28.081633.26652@irisa.fr>
  6. Date: 28 Jul 92 08:16:33 GMT
  7. References: <1992Jul23.162447.22379@news2.cis.umn.edu>
  8. Sender: news@irisa.fr
  9. Reply-To: chauffau@irisa.fr
  10. Organization: IRISA, Rennes, France
  11. Lines: 38
  12.  
  13. In article 22379@news2.cis.umn.edu, najafi@hood.ee.umn.edu (Hossein Lari-Najafi) writes:
  14. >>I am trying to use PHIGS for very simple animation in a c++ software
  15. >>package.  Since the PHIGS header files do not follow the sintax of
  16. >>c++, I am unable to integrate my c++ package and the PHIGS routins.
  17. >>
  18. >>I would very much appreciate any help in this regard.
  19. >>
  20. >>    * have used PHIGS in a c++ environment
  21.  
  22. In a current work -a mechanismes modelling system-, we mix C++, PHIGS et X11.
  23.  
  24. We use a french phigs version gphigs from
  25.  G5G SARL P.A. Chateau Rouquey                
  26.  BP 168 33708 MERIGNAC CEDEX (FRANCE)
  27.  
  28. We wrote a gphigs_C++.h to access phigs C functions from a C++ program:
  29.  
  30. extern "C"{
  31.     void  popph(Pchar*,Plong);
  32.     void  pclph();
  33.     void  popwk(Pint,Pchar*,Pint);
  34.     void  pclwk(Pint);
  35. ...
  36.  
  37.  
  38. >>    * or, have a simple animation package
  39.  
  40. For X11, we use the Sun XView toolkit (a contrib to the X11 MIT distribution).
  41. XView demos provide an example of animation using the unix signals.
  42.  
  43. ---
  44.  
  45.  
  46.     Alain CHAUFFAUT        |    Tel:    99 84 72 63
  47.     IRISA/INRIA de Rennes    |        (Standard 99 84 71 00)
  48.     Campus de Beaulieu    |    Fax:    99 38 38 32
  49.     35042 Rennes Cedex    |    Tlx:    950473F
  50.     FRANCE            |    @mail:    chauffau@irisa.irisa.fr
  51.