🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.pex
Article #16

Re: c++ and PHIGS

#16
From: Alain Chauffaut, Projet Siames, ...
Date: Tue, 28 Jul 1992 08:16
38 lines
1667 bytes
In article 22379@news2.cis.umn.edu, najafi@hood.ee.umn.edu (Hossein Lari-Najafi) writes:
>>I am trying to use PHIGS for very simple animation in a c++ software
>>package.  Since the PHIGS header files do not follow the sintax of
>>c++, I am unable to integrate my c++ package and the PHIGS routins.
>>
>>I would very much appreciate any help in this regard.
>>
>>	* have used PHIGS in a c++ environment

In a current work -a mechanismes modelling system-, we mix C++, PHIGS et X11.

We use a french phigs version gphigs from
 G5G SARL P.A. Chateau Rouquey                
 BP 168 33708 MERIGNAC CEDEX (FRANCE)

We wrote a gphigs_C++.h to access phigs C functions from a C++ program:

extern "C"{
	void  popph(Pchar*,Plong);
	void  pclph();
	void  popwk(Pint,Pchar*,Pint);
	void  pclwk(Pint);
...


>>	* or, have a simple animation package

For X11, we use the Sun XView toolkit (a contrib to the X11 MIT distribution).
XView demos provide an example of animation using the unix signals.

---


	Alain CHAUFFAUT		|	Tel:	99 84 72 63
	IRISA/INRIA de Rennes	|		(Standard 99 84 71 00)
	Campus de Beaulieu	|	Fax:	99 38 38 32
	35042 Rennes Cedex	|	Tlx:	950473F
	FRANCE			|	@mail:	chauffau@irisa.irisa.fr
Technical Details
Message-ID: <1992Jul28.081633.26652@irisa.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!irisa!laplate!chauffau
References: <1992Jul23.162447.22379@news2.cis.umn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!irisa!laplate!chauffau
From: chauffau@irisa.fr (Alain Chauffaut, Projet Siames, Bur. NB147, Tel. 7263)
Newsgroups: comp.windows.x.pex
Subject: Re: c++ and PHIGS
Message-ID: <1992Jul28.081633.26652@irisa.fr>
Date: 28 Jul 92 08:16:33 GMT
References: <1992Jul23.162447.22379@news2.cis.umn.edu>
Sender: news@irisa.fr
Reply-To: chauffau@irisa.fr
Organization: IRISA, Rennes, France
Lines: 38