woo@pioneer.arc.nasa.gov (Alex Woo RAC) (05/30/90)
Does anyone (SGI?) have C++ class libraries for its gl and
4sight? How about class libraries for the workspace which
is reputed to be written in C++? The source isn't necessary
but documentation would be very valuable.
Alex
======================================================================
Alex Woo, MS 227-2 | woo@ames.arc.nasa.gov
NASA Ames Research Center | NASAMAIL ACWOO
Moffett Field, CA 94035 | {seismo,topaz,lll-crg,ucbvax}!
Phone: (415) 604-6010 | ames!pioneer!woo
======================================================================
{hplabs,hao,att,decwrl,allegra,tektronix,menlo70}!ames!pioneer!woo
======================================================================ciemo@bananapc.wpd.sgi.com (Dave Ciemiewicz) (05/31/90)
In article <50553@ames.arc.nasa.gov>, woo@pioneer.arc.nasa.gov (Alex Woo RAC) writes: > > Does anyone (SGI?) have C++ class libraries for its gl and > 4sight? How about class libraries for the workspace which > is reputed to be written in C++? The source isn't necessary > but documentation would be very valuable. > > Alex > > ====================================================================== > Alex Woo, MS 227-2 | woo@ames.arc.nasa.gov > NASA Ames Research Center | NASAMAIL ACWOO > Moffett Field, CA 94035 | {seismo,topaz,lll-crg,ucbvax}! > Phone: (415) 604-6010 | ames!pioneer!woo > ====================================================================== > {hplabs,hao,att,decwrl,allegra,tektronix,menlo70}!ames!pioneer!woo > ====================================================================== Inclusion of gl.h and linking to libgl{_s}.a should work just fine for the SGI C++ 1.0 (AT&T 1.2.1) translator. This includes the "mex" window system calls in the GL(TM) (winopen, etc) for creating and manipulating 4Sight windows. The 3.3 release of IRIX (coming soon to an IRIS near you if you need it) includes a version of gl.h which has full function prototypes which can be used with the C++ cfront translator and the vastly improved prototype features of the yet to be released IRIX 3.3 C compiler. The C and C++ interfaces to the GL are currently identical. The C++ toolkit used for implementing the WorkSpace(TM) in IRIX 3.2 and IRIX 3.3 is SGI internal. The API for this toolkit was functional yet not appropriate for external use. The lessons learned from this toolkit project are being applied to new development efforts inside many parts of SGI that will much more suited for external use. --- Ciemo